Exemplo n.º 1
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromSastpBase(ref DataRow row, SastpBase entity)
 {
     row.SetField("cono", entity.cono);
     row.SetField("processno", entity.processno);
     row.SetField("name", entity.name);
     row.SetField("prefix", entity.prefix);
     row.SetField("tempsfx", entity.tempsfx);
     row.SetField("reqsfx", entity.reqsfx);
     row.SetField("anssfx", entity.anssfx);
     row.SetField("bkusfx", entity.bkusfx);
     row.SetField("directory", entity.directory);
     row.SetField("unixrun", entity.unixrun);
     row.SetField("delay", entity.delay);
     row.SetField("timeout", entity.timeout);
     row.SetField("prauthcd", entity.prauthcd);
     row.SetField("salecd", entity.salecd);
     row.SetField("forcecd", entity.forcecd);
     row.SetField("retncd", entity.retncd);
     row.SetField("setlcd", entity.setlcd);
     row.SetField("transdt", entity.transdt);
     row.SetField("transtm", entity.transtm);
     row.SetField("operinit", entity.operinit);
     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("webauthfl", entity.webauthfl);
     row.SetField("numusers", entity.numusers);
     row.SetField("lastuser", entity.lastuser);
     row.SetField("chkdlcd", entity.chkdlcd);
     row.SetField("chkactcd", entity.chkactcd);
     row.SetField("chkothcd", entity.chkothcd);
     row.SetField("transproc", entity.transproc);
     row.SetField("purlevelno", entity.purlevelno);
     row.SetField("ipaddress", entity.ipaddress);
     row.SetField("portnum", entity.portnum);
     row.SetField("processortype", entity.processortype);
     row.SetField("processorhostsite", entity.processorhostsite);
     row.SetField("processorhostport", entity.processorhostport);
     row.SetField("processorpartnerid", entity.processorpartnerid);
     row.SetField("processorvendorid", entity.processorvendorid);
     row.SetField("processoruserid", entity.processoruserid);
     row.SetField("processoruserpw", entity.processoruserpw);
     row.SetField("flatfileencrypt", entity.flatfileencrypt);
     row.SetField("callingURL", entity.callingURL);
     row.SetField("responseURL", entity.responseURL);
     row.SetField("callingURLH5", entity.callingURLH5);
     row.SetField("sastpRowID", entity.rowID.ToByteArray());
 }
Exemplo n.º 2
0
 /// <summary>
 /// Build a minimal row from a class (key fields only)
 /// </summary>
 public static void BuildMinimalRow(ref DataRow row, SastpBase entity)
 {
     row.SetField("cono", entity.cono);
     row.SetField("processno", entity.processno);
     row.SetField("sastpRowID", entity.rowID.ToByteArray());
 }