public static Kpgrouplookupcriteria BuildKpgrouplookupcriteriaFromRow(DataRow row) { Kpgrouplookupcriteria entity = new Kpgrouplookupcriteria(); entity.groupname = row.IsNull("groupname") ? string.Empty : row.Field <string>("groupname"); return(entity); }
/// <summary> /// Update a database row from a class /// </summary> public static void UpdateRowFromKpgrouplookupcriteria(ref DataRow row, Kpgrouplookupcriteria entity) { row.SetField("groupname", entity.groupname); }