public static PreValue CreateFromDataReader(IRecordsReader reader) { PreValue pv = new PreValue(); pv.Id = reader.GetGuid("id"); pv.Value = reader.GetString("value"); pv.Field = reader.GetGuid("field"); pv.SortOrder = reader.GetInt("sortorder"); return(pv); }
public static PreValue Create() { PreValue pv = new PreValue(); return(pv); }