why 0.16 change interface of basicmapping.IsUpdatable?

Sep 12, 2009 at 5:07 PM
Edited Sep 12, 2009 at 5:10 PM

I need instance parameter to judge if member is be changed. so i can update only changed fields.

please add this parameter fo method

protected override bool IsUpdatable(MappingEntity entity, MemberInfo member, object instance).

sorry for this title. because i have add it in v0.15.

Sep 12, 2009 at 5:16 PM

sqlformatter.cs visitinsert mothod

replace this.Write(ca.Column.Name);

 to

this.WriteColumnName(ca.Column.Name);

 

otherwise, sql will be invalid if column name is keyword.