Exemplo n.º 1
0
        public static Shoplistupdatecriteria BuildShoplistupdatecriteriaFromRow(DataRow row)
        {
            Shoplistupdatecriteria entity = new Shoplistupdatecriteria();

            entity.proc     = row.IsNull("proc") ? string.Empty : row.Field <string>("proc");
            entity.hdrrowid = row.Field <byte[]>("hdrrowid").ToStringEncoded();
            return(entity);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromShoplistupdatecriteria(ref DataRow row, Shoplistupdatecriteria entity)
 {
     row.SetField("proc", entity.proc);
     row.SetField("hdrrowid", entity.hdrrowid.ToByteArray());
 }