public void Update(int Id, int Formid, string Name, string Metadata, bool?Deleted, DateTime?Createdon, DateTime?Modifiedon, string Createdby, string Modifiedby) { Formfield item = new Formfield(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.Formid = Formid; item.Name = Name; item.Metadata = Metadata; item.Deleted = Deleted; item.Createdon = Createdon; item.Modifiedon = Modifiedon; item.Createdby = Createdby; item.Modifiedby = Modifiedby; item.Save(UserName); }
public void Insert(int Formid, string Name, string Metadata, bool?Deleted, DateTime?Createdon, DateTime?Modifiedon, string Createdby, string Modifiedby) { Formfield item = new Formfield(); item.Formid = Formid; item.Name = Name; item.Metadata = Metadata; item.Deleted = Deleted; item.Createdon = Createdon; item.Modifiedon = Modifiedon; item.Createdby = Createdby; item.Modifiedby = Modifiedby; item.Save(UserName); }
public bool Destroy(object Id) { return(Formfield.Destroy(Id) == 1); }
public bool Delete(object Id) { return(Formfield.Delete(Id) == 1); }