/// <summary> /// Read object data from a single row. /// </summary> /// <example> /// SingleLineBulkEntity: reads entity fields. /// BulkError: reads error fields. /// BulkEntityIdentifier: reads identifier fields (Id, status etc.). /// </example> /// <param name="values"></param> internal virtual void ReadFromRowValues(RowValues values) { throw new NotSupportedException(); }
/// <summary> /// Writes object data to a single row. /// </summary> /// <example> /// SingleLineBulkEntity: writes entity fields. /// BulkEntityIdentifier: writes identifier fields (Id, status etc.) /// </example> /// <param name="values"></param> /// <param name="excludeReadonlyData"></param> internal virtual void WriteToRowValues(RowValues values, bool excludeReadonlyData) { throw new NotSupportedException(); }
internal override void ReadFromRowValues(RowValues values) { values.ConvertToEntity(this, Mappings); }