Ejemplo n.º 1
0
 public IDeleteable <T> EnableDiffLogEvent(object businessData = null)
 {
     diffModel = new DiffLogModel();
     this.IsEnableDiffLogEvent = true;
     diffModel.BusinessData    = businessData;
     diffModel.DiffType        = DiffType.delete;
     return(this);
 }
Ejemplo n.º 2
0
 public IInsertable <T> EnableDiffLogEvent(object businessData = null)
 {
     Check.Exception(this.InsertObjs.HasValue() && this.InsertObjs.Count() > 1, "DiffLog does not support batch operations");
     diffModel = new DiffLogModel();
     this.IsEnableDiffLogEvent = true;
     diffModel.BusinessData    = businessData;
     diffModel.DiffType        = DiffType.insert;
     return(this);
 }