public ChangeSetEntry(object entity, DomainOperation operation, bool returnEntity = true, EntityUpdateFiledsInfo entityUpdateFiledsInfo = null) : this(0, entity, null, operation, returnEntity, entityUpdateFiledsInfo) { }
public ChangeSetEntry(int id, object entity, object originalEntity, DomainOperation operation, bool returnEntity = true, EntityUpdateFiledsInfo entityUpdateFiledsInfo = null) { if (entity == null) { throw new ArgumentNullException("entity"); } this._id = id; this._entity = entity; this.OriginalEntity = originalEntity; this.Operation = operation; ReturnEntity = returnEntity; EntityUpdateFiledsInfo = entityUpdateFiledsInfo; }