Ejemplo n.º 1
0
        public static Iceanmaintretrievetrans BuildIceanmaintretrievetransFromRow(DataRow row)
        {
            Iceanmaintretrievetrans entity = new Iceanmaintretrievetrans();

            entity.icenhRowid = row.Field <byte[]>("icenh-rowid").ToStringEncoded();
            entity.userfield  = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromIceanmaintretrievetrans(ref DataRow row, Iceanmaintretrievetrans entity)
 {
     row.SetField("icenh-rowid", entity.icenhRowid.ToByteArray());
     row.SetField("userfield", entity.userfield);
 }