public void RegCleanObjects(object sender, DirtyObjsInfoEventArgs e) { var objs = e.DirtyObjs; foreach (var obj in objs) { if (!_dirtyObjects.ContainsKey(obj)) { var cloneObj = new EntityStruct(obj.Key, (EntityBase)obj.Value.Clone()); _dirtyObjects.Add(obj, cloneObj); } } }
public RemoveObjInfoEventArgs(EntityStruct obj) { RemovedObj = obj; }
public UpdateObjsInfoEventArgs(BinaryExpression exp, EntityStruct obj) { UpdateObjs.Add(exp, obj); }
public AddObjInfoEventArgs(EntityStruct obj) { InsertedObj = obj; }