public void Insert(string SName, string SDesc) { var item = new LManufacture(); item.SName = SName; item.SDesc = SDesc; item.Save(UserName); }
public void Update(short Id, string SName, string SDesc) { var item = new LManufacture(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.SName = SName; item.SDesc = SDesc; item.Save(UserName); }
public bool Destroy(object Id) { return(LManufacture.Destroy(Id) == 1); }
public bool Delete(object Id) { return(LManufacture.Delete(Id) == 1); }