public void Update(CustomerSLSalePrice obj) { using (DCC dcc = DBMLFty.Dcc) { DALFty.Create <CustomerSLSalePriceDAL>().Update(dcc, obj); dcc.Save(); } }
public void Update(DCC dcc, CustomerSLSalePrice obj) { dcc.CustomerSLSalePrice.Attach(obj); dcc.Refresh(System.Data.Linq.RefreshMode.KeepCurrentValues, obj); }
public void Insert(DCC dcc, CustomerSLSalePrice obj) { dcc.CustomerSLSalePrice.InsertOnSubmit(obj); }