EntityConnectionExtensions.ToSqlInsert method

namespace: Serenity.Data   assemblySerenity.Net.Entity

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

public static SqlInsert ToSqlInsert(this IRow row)
parameter description
row The row with field values to set in new record (must be in TrackAssignments mode).

Return Value

SqlInsert object

Exceptions

exception condition
ArgumentNullException row is null

See Also