Example #1
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromSassmBase(ref DataRow row, SassmBase entity)
 {
     row.SetField("currproc", entity.currproc);
     row.SetField("frametitle", entity.frametitle);
     row.SetField("menutitle", entity.menutitle);
     row.SetField("callproc", entity.callproc);
     row.SetField("exitproc", entity.exitproc);
     row.SetField("menuproc", entity.menuproc);
     row.SetField("menupos", entity.menupos);
     row.SetField("securpos", entity.securpos);
     row.SetField("operinit", entity.operinit);
     row.SetField("transdt", entity.transdt);
     row.SetField("transtm", entity.transtm);
     row.SetField("ringtitle", entity.ringtitle);
     row.SetField("osproc", entity.osproc);
     row.SetField("ourproc", entity.ourproc);
     row.SetField("standardty", entity.standardty);
     row.SetField("gginfo", entity.gginfo);
     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("functy", entity.functy);
     row.SetField("inqproc1", entity.inqproc1);
     row.SetField("inqproc2", entity.inqproc2);
     row.SetField("inqproc3", entity.inqproc3);
     row.SetField("inqproc4", entity.inqproc4);
     row.SetField("inqproc5", entity.inqproc5);
     row.SetField("inqproc6", entity.inqproc6);
     row.SetField("inqproc7", entity.inqproc7);
     row.SetField("inqtitle1", entity.inqtitle1);
     row.SetField("inqtitle2", entity.inqtitle2);
     row.SetField("inqtitle3", entity.inqtitle3);
     row.SetField("inqtitle4", entity.inqtitle4);
     row.SetField("inqtitle5", entity.inqtitle5);
     row.SetField("inqtitle6", entity.inqtitle6);
     row.SetField("inqtitle7", entity.inqtitle7);
     row.SetField("inqtype1", entity.inqtype1);
     row.SetField("inqtype2", entity.inqtype2);
     row.SetField("inqtype3", entity.inqtype3);
     row.SetField("inqtype4", entity.inqtype4);
     row.SetField("inqtype5", entity.inqtype5);
     row.SetField("inqtype6", entity.inqtype6);
     row.SetField("inqtype7", entity.inqtype7);
     row.SetField("trmgrlang", entity.trmgrlang);
     row.SetField("transproc", entity.transproc);
     row.SetField("sassmRowID", entity.rowID.ToByteArray());
 }
Example #2
0
 /// <summary>
 /// Build a minimal row from a class (key fields only)
 /// </summary>
 public static void BuildMinimalRow(ref DataRow row, SassmBase entity)
 {
     row.SetField("currproc", entity.currproc);
     row.SetField("trmgrlang", entity.trmgrlang);
     row.SetField("sassmRowID", entity.rowID.ToByteArray());
 }