Skip to content

Commit

Permalink
Typo and minor layout fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebeaton committed Feb 9, 2017
1 parent 0f4b91d commit 1b2f3b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Massive.Shared.cs
Expand Up @@ -368,7 +368,7 @@ public virtual object Scalar(string sql, params object[] args)


/// <summary>
/// Returns and OpenConnection
/// Returns an OpenConnection
/// </summary>
public virtual DbConnection OpenConnection()
{
Expand Down Expand Up @@ -942,7 +942,7 @@ public virtual DbCommand CreateUpdateWhereCommand(dynamic expando, string where
var val = item.Value;
if(!item.Key.Equals(PrimaryKeyField, StringComparison.OrdinalIgnoreCase))
{
if (item.Value == null)
if(item.Value == null)
{
fieldSetFragments.Add(string.Format("{0} = NULL", item.Key));
}
Expand All @@ -954,7 +954,7 @@ public virtual DbCommand CreateUpdateWhereCommand(dynamic expando, string where
}
}
}
if (fieldSetFragments.Count > 0)
if(fieldSetFragments.Count > 0)
{
result.CommandText = string.Format(updateQueryPattern, TableName, string.Join(", ", fieldSetFragments.ToArray()));
}
Expand Down Expand Up @@ -1119,7 +1119,7 @@ private int PerformSave(bool allSavesAreInserts, params object[] toSave)
return result;
}


/// <summary>
/// Executes the database command specified
/// </summary>
Expand Down

0 comments on commit 1b2f3b9

Please sign in to comment.