public virtual EntityHistoryEventInfo CreateEvent(EntityChangesInfo change) { var changeSet = new EntityChangesInfo<E, T>() { DateTime = change.DateTime, }; if (change.Entity != null) changeSet.Entity = (E)change.Entity; if (change.NewValue != null) changeSet.NewValue = (T)change.NewValue; if (change.OldValue != null) changeSet.OldValue = (T)change.OldValue; return CreateEvent(changeSet); }
public virtual EntityHistoryEventInfo CreateEvent(EntityChangesInfo<E,T> change) { throw new System.NotImplementedException(); }