QuoteReplyTopic: Customizing SaveChanges() Posted: 25-Sep-2012 at 11:51am
This is actually supported in 0.57 ( and higher) versions. We are in the process of documenting it now and will probably complete the documentation before the end of the week.
But for now, the basic idea is to subclass the EFContextProvider and override either or both of the following methods 1) BeforeSaveEntity 2) BeforeSaveEntities
A simple scaffolding is shown below.
public class NorthwindContextProvider: EFContextProvider<NorthwindIBContext_CF> {
public override bool BeforeSaveEntity(EntityInfo entityInfo) { return true; }
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum