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

            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 UpdateRowFromIceanmaintupdatetrans(ref DataRow row, Iceanmaintupdatetrans entity)
 {
     row.SetField("icenh-rowid", entity.icenhRowid.ToByteArray());
     row.SetField("userfield", entity.userfield);
 }