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

            entity.glsfrowid = row.Field <byte[]>("glsfrowid").ToStringEncoded();
            entity.userfield = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }
示例#2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromGlsfdeletecriteria(ref DataRow row, Glsfdeletecriteria entity)
 {
     row.SetField("glsfrowid", entity.glsfrowid.ToByteArray());
     row.SetField("userfield", entity.userfield);
 }