public long InsertPBML_SDM_SalesInvoice(BOPBML_SDM_SalesInvoice boItem) { try { Hashtable ht = new Hashtable(); ht.Add("DealerID", boItem.DealerID1); ht.Add("SRID", boItem.SRID1); return(Convert.ToInt64(idbutility.InsertData(ht, "spInsertDealerSRConfig"))); } catch (Exception ex) { throw ex; } }
public static long InsertPBML_SDM_SalesInvoice(BOPBML_SDM_SalesInvoice boItem) { DAPBML_SDM_SalesInvoice objDA = new DAPBML_SDM_SalesInvoice(); return(Convert.ToInt64(objDA.InsertPBML_SDM_SalesInvoice(boItem))); }