EntityConnectionExtensions.ToSqlUpdateById method

namespace: Serenity.Data   assemblySerenity.Net.Entity

Converts the entity to an SqlUpdate object by ID setting only the assigned fields.

public static SqlUpdate ToSqlUpdateById(this IIdRow row)
parameter description
row The row with field values to set in new record (must be in TrackAssignments mode).

Return Value

SqlUpdate object

Exceptions

exception condition
ArgumentNullException row is null

See Also