Skip to content

Commit b3e94af

Browse files
committed
Formatting.
1 parent 0b5ee73 commit b3e94af

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Provider/src/EntityFramework.Firebird/SqlGen/SqlGenerator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,18 +347,18 @@ private string GenerateFunctionSql(DbFunctionCommandTree tree, out CommandType c
347347
//string userSchemaName = (string)function.MetadataProperties["Schema"].Value;
348348
var userFuncName = (string)function.MetadataProperties["StoreFunctionNameAttribute"].Value;
349349

350-
if (String.IsNullOrEmpty(userCommandText))
350+
if (string.IsNullOrEmpty(userCommandText))
351351
{
352352
// build a quoted description of the function
353353
commandType = CommandType.StoredProcedure;
354354

355355
// if the schema name is not explicitly given, it is assumed to be the metadata namespace
356356
/// No schema in FB
357-
//string schemaName = String.IsNullOrEmpty(userSchemaName) ?
357+
//string schemaName = string.IsNullOrEmpty(userSchemaName) ?
358358
// function.NamespaceName : userSchemaName;
359359

360360
// if the function store name is not explicitly given, it is assumed to be the metadata name
361-
var functionName = String.IsNullOrEmpty(userFuncName) ?
361+
var functionName = string.IsNullOrEmpty(userFuncName) ?
362362
function.Name : userFuncName;
363363

364364
// quote elements of function text
@@ -3413,7 +3413,7 @@ bool IsCompatible(SqlSelectStatement result, DbExpressionKind expressionKind)
34133413
/// <returns></returns>
34143414
internal static string QuoteIdentifier(string name)
34153415
{
3416-
Debug.Assert(!String.IsNullOrEmpty(name));
3416+
Debug.Assert(!string.IsNullOrEmpty(name));
34173417
// We assume that the names are not quoted to begin with.
34183418
return "\"" + name.Replace("\"", "\"\"") + "\"";
34193419
}

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbCommandBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public override string QuotePrefix
117117
get { return base.QuotePrefix; }
118118
set
119119
{
120-
if (String.IsNullOrEmpty(value))
120+
if (string.IsNullOrEmpty(value))
121121
{
122122
base.QuotePrefix = value;
123123
}
@@ -136,7 +136,7 @@ public override string QuoteSuffix
136136
get { return base.QuoteSuffix; }
137137
set
138138
{
139-
if (String.IsNullOrEmpty(value))
139+
if (string.IsNullOrEmpty(value))
140140
{
141141
base.QuoteSuffix = value;
142142
}

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbDataAdapter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ protected override int Update(DataRow[] dataRows, DataTableMapping tableMapping)
367367
if ((parameter.Direction == ParameterDirection.Output ||
368368
parameter.Direction == ParameterDirection.ReturnValue ||
369369
parameter.Direction == ParameterDirection.InputOutput) &&
370-
!String.IsNullOrEmpty(parameter.SourceColumn))
370+
!string.IsNullOrEmpty(parameter.SourceColumn))
371371
{
372372
DataColumn column = null;
373373

@@ -493,7 +493,7 @@ private void UpdateParameterValues(
493493
{
494494
// Process only input parameters
495495
if ((parameter.Direction == ParameterDirection.Input || parameter.Direction == ParameterDirection.InputOutput) &&
496-
!String.IsNullOrEmpty(parameter.SourceColumn))
496+
!string.IsNullOrEmpty(parameter.SourceColumn))
497497
{
498498
DataColumn column = null;
499499

Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbDataReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public override DataTable GetSchemaTable()
303303

304304
_schemaTable.Rows.Add(schemaRow);
305305

306-
if (!String.IsNullOrEmpty(_fields[i].Relation) && currentTable != _fields[i].Relation)
306+
if (!string.IsNullOrEmpty(_fields[i].Relation) && currentTable != _fields[i].Relation)
307307
{
308308
tableCount++;
309309
currentTable = _fields[i].Relation;

0 commit comments

Comments
 (0)