Beispiel #1
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromOeaiBase(ref DataRow row, OeaiBase entity)
 {
     row.SetField("oper2", entity.oper2);
     row.SetField("currproc1", entity.currproc1);
     row.SetField("currproc2", entity.currproc2);
     row.SetField("currproc3", entity.currproc3);
     row.SetField("currproc4", entity.currproc4);
     row.SetField("currproc5", entity.currproc5);
     row.SetField("currproc6", entity.currproc6);
     row.SetField("currproc7", entity.currproc7);
     row.SetField("currproc8", entity.currproc8);
     row.SetField("currproc9", entity.currproc9);
     row.SetField("currproc10", entity.currproc10);
     row.SetField("currproc11", entity.currproc11);
     row.SetField("currproc12", entity.currproc12);
     row.SetField("currproc13", entity.currproc13);
     row.SetField("currproc14", entity.currproc14);
     row.SetField("currproc15", entity.currproc15);
     row.SetField("currproc16", entity.currproc16);
     row.SetField("currproc17", entity.currproc17);
     row.SetField("currproc18", entity.currproc18);
     row.SetField("currproc19", entity.currproc19);
     row.SetField("currproc20", entity.currproc20);
     row.SetField("transdt", entity.transdt);
     row.SetField("transtm", entity.transtm);
     row.SetField("operinit", entity.operinit);
     row.SetField("cono", entity.cono);
     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("transproc", entity.transproc);
     row.SetField("oeaiRowID", entity.rowID.ToByteArray());
 }
Beispiel #2
0
 /// <summary>
 /// Build a minimal row from a class (key fields only)
 /// </summary>
 public static void BuildMinimalRow(ref DataRow row, OeaiBase entity)
 {
     row.SetField("oper2", entity.oper2);
     row.SetField("cono", entity.cono);
     row.SetField("oeaiRowID", entity.rowID.ToByteArray());
 }