示例#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);
        }
示例#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());
 }