Ejemplo n.º 1
0
 /// <summary>
 /// Build a minimal row from a class (key fields only)
 /// </summary>
 public static void BuildMinimalRow(ref DataRow row, SasaBase entity)
 {
     row.SetField("sasaRowID", entity.rowID.ToByteArray());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromSasaBase(ref DataRow row, SasaBase entity)
 {
     row.SetField("licensedt", entity.licensedt);
     row.SetField("secure", entity.secure);
     row.SetField("timeout", entity.timeout);
     row.SetField("begwtno", entity.begwtno);
     row.SetField("endwtno", entity.endwtno);
     row.SetField("nextwtno", entity.nextwtno);
     row.SetField("checkdig", entity.checkdig);
     row.SetField("modapfl", entity.modapfl);
     row.SetField("modarfl", entity.modarfl);
     row.SetField("modibfl", entity.modibfl);
     row.SetField("modcmfl", entity.modcmfl);
     row.SetField("modglfl", entity.modglfl);
     row.SetField("modicfl", entity.modicfl);
     row.SetField("modkpfl", entity.modkpfl);
     row.SetField("modoefl", entity.modoefl);
     row.SetField("modoifl", entity.modoifl);
     row.SetField("modpofl", entity.modpofl);
     row.SetField("colddir", entity.colddir);
     row.SetField("modvtfl", entity.modvtfl);
     row.SetField("randdproduct", entity.randdproduct);
     row.SetField("modwtfl", entity.modwtfl);
     row.SetField("modwmfl", entity.modwmfl);
     row.SetField("modedfl", entity.modedfl);
     row.SetField("monitorfl", entity.monitorfl);
     row.SetField("operinit", entity.operinit);
     row.SetField("user1", entity.user1);
     row.SetField("transdt", entity.transdt);
     row.SetField("user2", entity.user2);
     row.SetField("transtm", entity.transtm);
     row.SetField("user3", entity.user3);
     row.SetField("user4", entity.user4);
     row.SetField("modsvfl", entity.modsvfl);
     row.SetField("user5", entity.user5);
     row.SetField("oimcmfl", entity.oimcmfl);
     row.SetField("user6", entity.user6);
     row.SetField("oimcmreqfl", entity.oimcmreqfl);
     row.SetField("user7", entity.user7);
     row.SetField("licenseto", entity.licenseto);
     row.SetField("user8", entity.user8);
     row.SetField("rdcustno", entity.rdcustno);
     row.SetField("user9", entity.user9);
     row.SetField("licenseno", entity.licenseno);
     row.SetField("cmupdarfl", entity.cmupdarfl);
     row.SetField("cmupdcmfl", entity.cmupdcmfl);
     row.SetField("cmtbcontact", entity.cmtbcontact);
     row.SetField("cmprostype", entity.cmprostype);
     row.SetField("cmcreatefmar", entity.cmcreatefmar);
     row.SetField("oimpyfl", entity.oimpyfl);
     row.SetField("docdir", entity.docdir);
     row.SetField("modpmfl", entity.modpmfl);
     row.SetField("nousers", entity.nousers);
     row.SetField("modbpfl", entity.modbpfl);
     row.SetField("sysdir", entity.sysdir);
     row.SetField("custnofl", entity.custnofl);
     row.SetField("modprfl", entity.modprfl);
     row.SetField("modtqfl", entity.modtqfl);
     row.SetField("modslfl", entity.modslfl);
     row.SetField("modisfl", entity.modisfl);
     row.SetField("modvafl", entity.modvafl);
     row.SetField("modbafl", entity.modbafl);
     row.SetField("modswfl", entity.modswfl);
     row.SetField("modrsfl", entity.modrsfl);
     row.SetField("forcelogin", entity.forcelogin);
     row.SetField("modwlfl", entity.modwlfl);
     row.SetField("modogfl", entity.modogfl);
     row.SetField("transproc", entity.transproc);
     row.SetField("modjmfl", entity.modjmfl);
     row.SetField("graceperiod", entity.graceperiod);
     row.SetField("modotfl", entity.modotfl);
     row.SetField("ptxwhse", entity.ptxwhse);
     row.SetField("ptxcono", entity.ptxcono);
     row.SetField("pwmaxdays", entity.pwmaxdays);
     row.SetField("pwmindays", entity.pwmindays);
     row.SetField("pwmaxlength", entity.pwmaxlength);
     row.SetField("pwminlength", entity.pwminlength);
     row.SetField("pwminnumeric", entity.pwminnumeric);
     row.SetField("pwminspecial", entity.pwminspecial);
     row.SetField("pwminprev", entity.pwminprev);
     row.SetField("pwmaxattempt", entity.pwmaxattempt);
     row.SetField("pwmaxlogins", entity.pwmaxlogins);
     row.SetField("pwminalpha", entity.pwminalpha);
     row.SetField("ptxfeewhse", entity.ptxfeewhse);
     row.SetField("forceconosepfl", entity.forceconosepfl);
     row.SetField("ccenccodeold", entity.ccenccodeold.ToByteArray());
     row.SetField("ccenccodenew", entity.ccenccodenew.ToByteArray());
     row.SetField("ccmstrseqold", entity.ccmstrseqold);
     row.SetField("ccmstrseqnew", entity.ccmstrseqnew);
     row.SetField("sasaRowID", entity.rowID.ToByteArray());
 }