Can the DynamicUpdate and SelectBeforeUpdate() methods be used?
We did a sample like below and it did not work. From the below sample, the
expectation is to update only the Tablecolumn1 by we could see the
Tablecolumn2 and 3 also updated.
We cannot use .NOT.UPDATE() as it stops any updates to the column on all
the cases.
public class EntityMap : ClassMap<Entity>
{
public EntityMap ()
{
Table("Table1");
LazyLoad();
DynamicUpdate();
SelectBeforeUpdate();
Map(x => x.EntityProperty1).Column("TableColumn1");
Map(x => x.EntityProperty2).Column("TableColumn2");
Map(x => x.EntityProperty3).Column("TableColumn3");
}
}
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/nhusers/-/SgLf29SbCJ4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.