public bool SKEN_InsertData(D_SKENDelivery_Entity dskend) { string sp = "D_SKEN_InsertData"; Dictionary <string, ValuePair> dic = new Dictionary <string, ValuePair> { { "@VendorCD", new ValuePair { value1 = SqlDbType.VarChar, value2 = dskend.VendorCD } }, { "@xmlSKENDelivery", new ValuePair { value1 = SqlDbType.VarChar, value2 = dskend.xml1 } }, { "@xmlSKENDeliveryDetails", new ValuePair { value1 = SqlDbType.VarChar, value2 = dskend.xml2 } }, { "@Operator", new ValuePair { value1 = SqlDbType.VarChar, value2 = dskend.UpdateOperator } }, }; UseTransaction = true; return(InsertUpdateDeleteData(dic, sp)); }
public bool SKEN_InsertData(D_SKENDelivery_Entity dskend) { dskend.xml1 = DataTableToXml(dskend.dt1); dskend.xml2 = DataTableToXml(dskend.dt2); return(dskenDelivery_dl.SKEN_InsertData(dskend)); }