コード例 #1
0
 public override System.Collections.Generic.List <int> Accounts(int id)
 {
     CLAS.BankruptcyAccountRow             ahr = myBankruptcyAccountDT.FindByBAId(id);
     System.Collections.Generic.List <int> l   = new System.Collections.Generic.List <int>();
     l.Add(ahr.FileAccountID);
     return(l);
 }
コード例 #2
0
 protected override void BeforeUpdate(DataRow ddr)
 {
     CLAS.BankruptcyAccountRow dr = (CLAS.BankruptcyAccountRow)ddr;
     if (dr.RowState == DataRowState.Added && !dr.Include)
     {
         dr.Delete();
     }
 }
コード例 #3
0
        protected override void AfterAdd(DataRow dr)
        {
            CLAS.BankruptcyAccountRow abf = (CLAS.BankruptcyAccountRow)dr;
            string ObjectName             = this.myDT.TableName;

            abf.BAId   = this.myA.AtMng.PKIDGet(ObjectName, 1);
            abf.FileId = myA.FM.CurrentFileId;
        }