public override void saveParents(IModelObject mo)
        {
            AccountBankInfo thisMo = ( AccountBankInfo)mo;

            //**** Parent Association:bank
            if ((thisMo.PrBank != null) && (thisMo.PrBank.NeedsSave))
            {
                CsModelMappers.BankDBMapper mappervar = new CsModelMappers.BankDBMapper(this.dbConn);
                mappervar.save(thisMo.PrBank);
                thisMo.PrBankId = thisMo.PrBank.PrBANKID;
            }
        }
 public override void saveParents(IModelObject mo )
 {
     AccountBankInfo thisMo  = ( AccountBankInfo)mo;
     //**** Parent Association:bank
     if ((thisMo.PrBank!=null) && (thisMo.PrBank.NeedsSave)) {
     CsModelMappers.BankDBMapper mappervar = new CsModelMappers.BankDBMapper(this.dbConn);
     mappervar.save(thisMo.PrBank);
     thisMo.PrBankId = thisMo.PrBank.PrBANKID;
     }
 }