public void Insert(string CustomerTypeID,string CustomerDesc) { Customerdemographic item = new Customerdemographic(); item.CustomerTypeID = CustomerTypeID; item.CustomerDesc = CustomerDesc; item.Save(UserName); }
public void Update(string CustomerTypeID,string CustomerDesc) { Customerdemographic item = new Customerdemographic(); item.MarkOld(); item.IsLoaded = true; item.CustomerTypeID = CustomerTypeID; item.CustomerDesc = CustomerDesc; item.Save(UserName); }