Esempio n. 1
0
 /// <summary>
 /// Build a minimal row from a class (key fields only)
 /// </summary>
 public static void BuildMinimalRow(ref DataRow row, EmpmstBase entity)
 {
     row.SetField("empNum", entity.empNum);
     row.SetField("empmstRowID", entity.rowID.ToByteArray());
     row.SetField("rowpointer", entity.rowpointer);
 }
Esempio n. 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromEmpmstBase(ref DataRow row, EmpmstBase entity)
 {
     row.SetField("co_num", entity.coNum);
     row.SetField("wh_num", entity.whNum);
     row.SetField("emp_num", entity.empNum);
     row.SetField("password", entity.password);
     row.SetField("emp_name", entity.empName);
     row.SetField("dept_num", entity.deptNum);
     row.SetField("shf_num", entity.shfNum);
     row.SetField("emp_title", entity.empTitle);
     row.SetField("rf_logon", entity.rfLogon);
     row.SetField("rf_receipt", entity.rfReceipt);
     row.SetField("rf_putaway", entity.rfPutaway);
     row.SetField("rf_move", entity.rfMove);
     row.SetField("rf_stk_move", entity.rfStkMove);
     row.SetField("rf_stk_adj", entity.rfStkAdj);
     row.SetField("rf_pick", entity.rfPick);
     row.SetField("rf_pack", entity.rfPack);
     row.SetField("rf_ship", entity.rfShip);
     row.SetField("rf_inventory", entity.rfInventory);
     row.SetField("rpt_mst", entity.rptMst);
     row.SetField("cmp_mst", entity.cmpMst);
     row.SetField("wh_mst", entity.whMst);
     row.SetField("dep_mst", entity.depMst);
     row.SetField("shf_mst", entity.shfMst);
     row.SetField("emp_mst", entity.empMst);
     row.SetField("bin_mst", entity.binMst);
     row.SetField("itm_mst", entity.itmMst);
     row.SetField("inv_mst", entity.invMst);
     row.SetField("vnd_mst", entity.vndMst);
     row.SetField("param_mst", entity.paramMst);
     row.SetField("stn_mst", entity.stnMst);
     row.SetField("adj_mst", entity.adjMst);
     row.SetField("cyc_num", entity.cycNum);
     row.SetField("uom_mst", entity.uomMst);
     row.SetField("cyc_mst", entity.cycMst);
     row.SetField("physical", entity.physical);
     row.SetField("carrier_mst", entity.carrierMst);
     row.SetField("cust_mst", entity.custMst);
     row.SetField("ord_mst", entity.ordMst);
     row.SetField("stg_mst", entity.stgMst);
     row.SetField("sys_setup", entity.sysSetup);
     row.SetField("inventory_control", entity.inventoryControl);
     row.SetField("custom_data1", entity.customData1);
     row.SetField("custom_data2", entity.customData2);
     row.SetField("custom_data3", entity.customData3);
     row.SetField("custom_data4", entity.customData4);
     row.SetField("custom_data5", entity.customData5);
     row.SetField("row_status", entity.rowStatus);
     row.SetField("util_mst", entity.utilMst);
     row.SetField("zone_pick_fl", entity.zonePickFl);
     row.SetField("rush_wh_zone", entity.rushWhZone);
     row.SetField("emp_printer", entity.empPrinter);
     row.SetField("trans_user", entity.transUser);
     row.SetField("trans_date", entity.transDate);
     row.SetField("trans_proc", entity.transProc);
     row.SetField("rf_picksort", entity.rfPicksort);
     row.SetField("disc_mastfl", entity.discMastfl);
     row.SetField("repl_mastfl", entity.replMastfl);
     row.SetField("packlist_mastfl", entity.packlistMastfl);
     row.SetField("online_logonfl", entity.onlineLogonfl);
     row.SetField("rf_login_cnt", entity.rfLoginCnt);
     row.SetField("online_adminfl", entity.onlineAdminfl);
     row.SetField("rf_adminfl", entity.rfAdminfl);
     row.SetField("rfnotesfl", entity.rfnotesfl);
     row.SetField("pwlastchgdt", entity.pwlastchgdt);
     row.SetField("pwprevious1", entity.pwprevious1);
     row.SetField("pwprevious2", entity.pwprevious2);
     row.SetField("pwprevious3", entity.pwprevious3);
     row.SetField("pwprevious4", entity.pwprevious4);
     row.SetField("pwprevious5", entity.pwprevious5);
     row.SetField("pwprevious6", entity.pwprevious6);
     row.SetField("pwprevious7", entity.pwprevious7);
     row.SetField("pwprevious8", entity.pwprevious8);
     row.SetField("pwprevious9", entity.pwprevious9);
     row.SetField("pwprevious10", entity.pwprevious10);
     row.SetField("pwchangefl", entity.pwchangefl);
     row.SetField("rfdelorddtlfl", entity.rfdelorddtlfl);
     row.SetField("rowpointer", entity.rowpointer);
     row.SetField("transdttmz", entity.transdttmz);
     row.SetField("empmstRowID", entity.rowID.ToByteArray());
 }