示例#1
0
        public static Kpgrouplookupresults BuildKpgrouplookupresultsFromRow(DataRow row)
        {
            Kpgrouplookupresults entity = new Kpgrouplookupresults();

            entity.groupname = row.IsNull("groupname") ? string.Empty : row.Field <string>("groupname");
            entity.rowidKpsg = row.Field <byte[]>("rowid-kpsg").ToStringEncoded();
            return(entity);
        }
示例#2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromKpgrouplookupresults(ref DataRow row, Kpgrouplookupresults entity)
 {
     row.SetField("groupname", entity.groupname);
     row.SetField("rowid-kpsg", entity.rowidKpsg.ToByteArray());
 }