コード例 #1
0
        public long InsertDealerAccounts(BODealerAccounts boItem)
        {
            try
            {
                Hashtable ht = new Hashtable();

                ht.Add("DealerID", boItem.DealerID1);
                ht.Add("ACode", boItem.ACode1);

                ht.Add("IsActive", boItem.IsActive1);
                ht.Add("CreatedBy", boItem.CreatedBy1);
                ht.Add("CreatedDate", boItem.CreatedDate1);
                ht.Add("UpdatedBy", boItem.UpdatedBy1);
                ht.Add("UpdatedDate", boItem.UpdatedDate1);



                return(Convert.ToInt64(idbutility.InsertData(ht, "spInsertACDealer")));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
コード例 #2
0
        public static long InsertDealerAccounts(BODealerAccounts boItem)
        {
            DADealerAccounts objDA = new DADealerAccounts();

            return(Convert.ToInt64(objDA.InsertDealerAccounts(boItem)));
        }