コード例 #1
0
 /// <summary>
 /// Build a minimal row from a class (key fields only)
 /// </summary>
 public static void BuildMinimalRow(ref DataRow row, WhZoneBase entity)
 {
     row.SetField("coNum", entity.coNum);
     row.SetField("whNum", entity.whNum);
     row.SetField("pickSequence", entity.pickSequence);
     row.SetField("wh_zoneRowID", entity.rowID.ToByteArray());
 }
コード例 #2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromWhZoneBase(ref DataRow row, WhZoneBase entity)
 {
     row.SetField("co_num", entity.coNum);
     row.SetField("wh_num", entity.whNum);
     row.SetField("wh_zone", entity.whZone);
     row.SetField("first_aisle", entity.firstAisle);
     row.SetField("last_aisle", entity.lastAisle);
     row.SetField("zone_desc", entity.zoneDesc);
     row.SetField("zone_type", entity.zoneType);
     row.SetField("control_pick_area", entity.controlPickArea);
     row.SetField("pick_sequence", entity.pickSequence);
     row.SetField("carousel_type", entity.carouselType);
     row.SetField("allow_putaway", entity.allowPutaway);
     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("allow_eod_cycle", entity.allowEodCycle);
     row.SetField("putaway_sequence", entity.putawaySequence);
     row.SetField("trans_user", entity.transUser);
     row.SetField("trans_date", entity.transDate);
     row.SetField("trans_proc", entity.transProc);
     row.SetField("allow_picking", entity.allowPicking);
     row.SetField("wh_zoneRowID", entity.rowID.ToByteArray());
 }