When you buy this book you support this site! - Thank You for your support!
Written by: kchristo Friday, July 13, 2012
public static bool IgnorePropertyChange(this IEntityObject entity) { return entity.Details.EntityState == EntityState.Unchanged || entity.Details.EntityState == EntityState.Discarded || entity.Details.EntityState == EntityState.Deleted;}
partial void ScheduledEndDate_Changed() { if (this.IgnorePropertyChange()) return; . . .}
0 comment(s) so far...