Exemple #1
0
        protected override void AfterAdd(DataRow dr)
        {
            ActivityConfig.OfficeMandateRow omr = (ActivityConfig.OfficeMandateRow)dr;
            string ObjectName = this.myOfficeMandateDT.TableName;

            omr.Id = this.myA.AtMng.PKIDGet(ObjectName, 1);
        }
Exemple #2
0
 private void New()
 {
     ActivityConfig.OfficeMandateRow omr = (ActivityConfig.OfficeMandateRow)AtMng.acMng.GetOfficeMandate().Add(null);
     officeMandateBindingSource.Position = officeMandateBindingSource.Find("Id", omr.Id);
 }