public int UpdateRecord(
DataRow row,
RecordRestriction? restriction = null
)
Public Function UpdateRecord (
row As DataRow,
Optional restriction As RecordRestriction = Nothing
) As Integer
public:
virtual int UpdateRecord(
DataRow^ row,
RecordRestriction^ restriction = nullptr
) sealed
function UpdateRecord(row, restriction);
Record restriction is only used for custom update expressions or in cases where modeled table has no defined primary keys.
If any of the restriction parameters reference a table field that is modeled with either an EncryptDataAttribute or FieldDataTypeAttribute, then the function GetInterpretedFieldValue(String, Object) will need to be called, replacing the target parameter with the returned value so that the field value will be properly set prior to executing the database function.