public void Update(int Id,string Name,string Description) { Articlecategory item = new Articlecategory(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.Name = Name; item.Description = Description; item.Save(UserName); }
public void Insert(string Name,string Description,bool? Deleted,DateTime? Createdon,DateTime? Modifiedon,string Createdby,string Modifiedby) { Articlecategory item = new Articlecategory(); item.Name = Name; item.Description = Description; item.Deleted = Deleted; item.Createdon = Createdon; item.Modifiedon = Modifiedon; item.Createdby = Createdby; item.Modifiedby = Modifiedby; item.Save(UserName); }
public void Update(int Id,string Name,string Description,bool? Deleted,DateTime? Createdon,DateTime? Modifiedon,string Createdby,string Modifiedby) { Articlecategory item = new Articlecategory(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.Name = Name; item.Description = Description; item.Deleted = Deleted; item.Createdon = Createdon; item.Modifiedon = Modifiedon; item.Createdby = Createdby; item.Modifiedby = Modifiedby; item.Save(UserName); }