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); }
public bool Destroy(object CustomerTypeID) { return(CustomerDemographic.Destroy(CustomerTypeID) == 1); }