Esempio n. 1
0
 /// <summary>
 /// Build a minimal row from a class (key fields only)
 /// </summary>
 public static void BuildMinimalRow(ref DataRow row, OeaoBase entity)
 {
     row.SetField("cono", entity.cono);
     row.SetField("oeaoRowID", entity.rowID.ToByteArray());
 }
Esempio n. 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromOeaoBase(ref DataRow row, OeaoBase entity)
 {
     row.SetField("cono", entity.cono);
     row.SetField("oeassnty", entity.oeassnty);
     row.SetField("begordno", entity.begordno);
     row.SetField("nextordno", entity.nextordno);
     row.SetField("endordno", entity.endordno);
     row.SetField("user1", entity.user1);
     row.SetField("user2", entity.user2);
     row.SetField("user3", entity.user3);
     row.SetField("user4", entity.user4);
     row.SetField("user5", entity.user5);
     row.SetField("user6", entity.user6);
     row.SetField("user7", entity.user7);
     row.SetField("user8", entity.user8);
     row.SetField("user9", entity.user9);
     row.SetField("ebuyoutdir", entity.ebuyoutdir);
     row.SetField("promoprcdflt", entity.promoprcdflt);
     row.SetField("credduedtfl", entity.credduedtfl);
     row.SetField("lndtentfl", entity.lndtentfl);
     row.SetField("operinit", entity.operinit);
     row.SetField("transdt", entity.transdt);
     row.SetField("transtm", entity.transtm);
     row.SetField("incval", entity.incval);
     row.SetField("transproc", entity.transproc);
     row.SetField("ccholdauthcd", entity.ccholdauthcd);
     row.SetField("ccholdfailcd", entity.ccholdfailcd);
     row.SetField("ccholdaddrcd", entity.ccholdaddrcd);
     row.SetField("ccseconds", entity.ccseconds);
     row.SetField("ccsecondsbp", entity.ccsecondsbp);
     row.SetField("ccretries", entity.ccretries);
     row.SetField("ccretriesbp", entity.ccretriesbp);
     row.SetField("ccbatchminutes", entity.ccbatchminutes);
     row.SetField("ccbatchsize", entity.ccbatchsize);
     row.SetField("shiptender", entity.shiptender);
     row.SetField("certifiedprompt", entity.certifiedprompt);
     row.SetField("certifiedprint", entity.certifiedprint);
     row.SetField("authdefaultfl", entity.authdefaultfl);
     row.SetField("promptcreatecardfl", entity.promptcreatecardfl);
     row.SetField("lostbusreasonfl", entity.lostbusreasonfl);
     row.SetField("synccrmarscfl", entity.synccrmarscfl);
     row.SetField("synccrmarssfl", entity.synccrmarssfl);
     row.SetField("synccrmapssfl", entity.synccrmapssfl);
     row.SetField("synccrmapsvfl", entity.synccrmapsvfl);
     row.SetField("synccrmcontactsfl", entity.synccrmcontactsfl);
     row.SetField("synccrmcmspfl", entity.synccrmcmspfl);
     row.SetField("synccrmsmsnfl", entity.synccrmsmsnfl);
     row.SetField("syncmddarscfl", entity.syncmddarscfl);
     row.SetField("syncmddicscfl", entity.syncmddicscfl);
     row.SetField("syncmddarssfl", entity.syncmddarssfl);
     row.SetField("syncmddicspfl", entity.syncmddicspfl);
     row.SetField("syncmddcontactsfl", entity.syncmddcontactsfl);
     row.SetField("syncmddcmspfl", entity.syncmddcmspfl);
     row.SetField("syncmddoeehfl", entity.syncmddoeehfl);
     row.SetField("oedolholdty", entity.oedolholdty);
     row.SetField("oemrgholdty", entity.oemrgholdty);
     row.SetField("apinvtolminamt", entity.apinvtolminamt);
     row.SetField("emoemarginty", entity.emoemarginty);
     row.SetField("dnrwttiety", entity.dnrwttiety);
     row.SetField("multlvlcntrfl", entity.multlvlcntrfl);
     row.SetField("multlvlprcfl", entity.multlvlprcfl);
     row.SetField("multlvlrebty", entity.multlvlrebty);
     row.SetField("multlvlprodfl", entity.multlvlprodfl);
     row.SetField("oeaoRowID", entity.rowID.ToByteArray());
 }