Exemple #1
0
 protected override void OnSetRow(DomainUser domainUser, DomainRowInfo[] rows, SignatureDate signatureDate)
 {
     this.template.SignatureDateProvider = new InternalSignatureDateProvider(signatureDate);
     foreach (var item in rows)
     {
         CremaDomainUtility.SetFieldsForce(this.view, item.Keys, item.Fields);
     }
     this.template.AcceptChanges();
 }
Exemple #2
0
 protected override void OnSetRow(DomainMember domainMember, DomainRowInfo[] rows, SignatureDate signatureDate)
 {
     this.dataType.BeginLoadData();
     try
     {
         foreach (var item in rows)
         {
             CremaDomainUtility.SetFieldsForce(this.view, item.Keys, item.Fields);
         }
     }
     finally
     {
         this.dataType.EndLoadData();
     }
     this.dataType.ModificationInfo = signatureDate;
     this.dataType.AcceptChanges();
 }
Exemple #3
0
 protected override void OnSetRow(DomainUser domainUser, DomainRowInfo[] rows, SignatureDate signatureDate)
 {
     this.dataSet.BeginLoad();
     try
     {
         foreach (var item in rows)
         {
             var view = this.views[item.TableName];
             CremaDomainUtility.SetFieldsForce(view, item.Keys, item.Fields);
             this.tables[view].ContentsInfo = signatureDate;
         }
     }
     finally
     {
         this.dataSet.EndLoad();
     }
     this.dataSet.AcceptChanges();
 }