Exemplo n.º 1
0
        public static Kpgrouplookupcriteria BuildKpgrouplookupcriteriaFromRow(DataRow row)
        {
            Kpgrouplookupcriteria entity = new Kpgrouplookupcriteria();

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