Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 252607d

Browse files
Update FirebirdOrmLiteDialectProvider.cs
fixed: method ToUpdateRowStatement -> updateField=null
1 parent 0227142 commit 252607d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ServiceStack.OrmLite.Firebird/FirebirdOrmLiteDialectProvider.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,11 @@ public override string ToInsertRowStatement(IDbCommand dbCommand, object objWith
233233
}
234234

235235

236-
public override string ToUpdateRowStatement(object objWithProperties, ICollection<string> updateFields)
236+
public override string ToUpdateRowStatement(object objWithProperties, ICollection<string> updateFields=null)
237237
{
238+
if (updateFields == null)
239+
updateFields = new List<string>();
240+
238241
var sqlFilter = new StringBuilder();
239242
var sql = new StringBuilder();
240243
var tableType = objWithProperties.GetType();

0 commit comments

Comments
 (0)