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

            entity.seqno           = row.IsNull("seqno") ? 0 : row.Field <int>("seqno");
            entity.pvShoplistRowid = row.Field <byte[]>("pv_shoplist-rowid").ToStringEncoded();
            return(entity);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromShoplistupdateprods(ref DataRow row, Shoplistupdateprods entity)
 {
     row.SetField("seqno", entity.seqno);
     row.SetField("pv_shoplist-rowid", entity.pvShoplistRowid.ToByteArray());
 }