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(); }
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(); }
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(); }