Example #1
0
        public static Glinquiryrevalsubcriteria BuildGlinquiryrevalsubcriteriaFromRow(DataRow row)
        {
            Glinquiryrevalsubcriteria entity = new Glinquiryrevalsubcriteria();

            entity.rowidGletv = row.Field <byte[]>("rowid-gletv").ToStringEncoded();
            entity.userfield  = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }
Example #2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromGlinquiryrevalsubcriteria(ref DataRow row, Glinquiryrevalsubcriteria entity)
 {
     row.SetField("rowid-gletv", entity.rowidGletv.ToByteArray());
     row.SetField("userfield", entity.userfield);
 }