public void Insert(int Fileid, int Fieldid, int?Codeid, string Storedvalue, bool?Deleted, DateTime?Createdon, DateTime?Modifiedon, string Createdby, string Modifiedby) { Formrecord item = new Formrecord(); item.Fileid = Fileid; item.Fieldid = Fieldid; item.Codeid = Codeid; item.Storedvalue = Storedvalue; item.Deleted = Deleted; item.Createdon = Createdon; item.Modifiedon = Modifiedon; item.Createdby = Createdby; item.Modifiedby = Modifiedby; item.Save(UserName); }
/// <summary> /// Creates a new Formrecord with the required values and appropriate defaults /// </summary> /// <returns></returns> public static Formrecord CreateNew(int fileid, int fieldid) { Formrecord record = new Formrecord(); record.Fieldid = fieldid; record.Fileid = fileid; record.Deleted = false; record.Save(Utility.GetActiveUsername()); return record; }
/// <summary> /// Creates a new Formrecord with the required values and appropriate defaults /// </summary> /// <returns></returns> public static Formrecord CreateNew(int fileid, int fieldid) { Formrecord record = new Formrecord(); record.Fieldid = fieldid; record.Fileid = fileid; record.Deleted = false; record.Save(Utility.GetActiveUsername()); return(record); }
public void Insert(int Fileid,int Fieldid,int? Codeid,string Storedvalue,bool? Deleted,DateTime? Createdon,DateTime? Modifiedon,string Createdby,string Modifiedby) { Formrecord item = new Formrecord(); item.Fileid = Fileid; item.Fieldid = Fieldid; item.Codeid = Codeid; item.Storedvalue = Storedvalue; item.Deleted = Deleted; item.Createdon = Createdon; item.Modifiedon = Modifiedon; item.Createdby = Createdby; item.Modifiedby = Modifiedby; item.Save(UserName); }