private static string GetDatabaseValue(DatabaseValue value) { var stringValue = value.Value; if (value.GenericSqlDataType == GenericSqlDataType.String) { stringValue = $"'{stringValue}'"; } return(stringValue); }
internal static string CreateEqualityClause(string key, DatabaseValue value) { var databaseValue = GetDatabaseValue(value); return(key + " = " + databaseValue); }