Beispiel #1
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromSwswBase(ref DataRow row, SwswBase entity)
 {
     row.SetField("cono", entity.cono);
     row.SetField("operinit", entity.operinit);
     row.SetField("transdt", entity.transdt);
     row.SetField("transtm", entity.transtm);
     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("claimtype", entity.claimtype);
     row.SetField("descrip", entity.descrip);
     row.SetField("gldeptno1", entity.gldeptno1);
     row.SetField("gldeptno2", entity.gldeptno2);
     row.SetField("gldeptno3", entity.gldeptno3);
     row.SetField("gldeptno4", entity.gldeptno4);
     row.SetField("gldeptno5", entity.gldeptno5);
     row.SetField("gldeptno6", entity.gldeptno6);
     row.SetField("gldeptno7", entity.gldeptno7);
     row.SetField("gldeptno8", entity.gldeptno8);
     row.SetField("gldeptno9", entity.gldeptno9);
     row.SetField("gldeptno10", entity.gldeptno10);
     row.SetField("glacctno1", entity.glacctno1);
     row.SetField("glacctno2", entity.glacctno2);
     row.SetField("glacctno3", entity.glacctno3);
     row.SetField("glacctno4", entity.glacctno4);
     row.SetField("glacctno5", entity.glacctno5);
     row.SetField("glacctno6", entity.glacctno6);
     row.SetField("glacctno7", entity.glacctno7);
     row.SetField("glacctno8", entity.glacctno8);
     row.SetField("glacctno9", entity.glacctno9);
     row.SetField("glacctno10", entity.glacctno10);
     row.SetField("gldivno1", entity.gldivno1);
     row.SetField("gldivno2", entity.gldivno2);
     row.SetField("gldivno3", entity.gldivno3);
     row.SetField("gldivno4", entity.gldivno4);
     row.SetField("gldivno5", entity.gldivno5);
     row.SetField("gldivno6", entity.gldivno6);
     row.SetField("gldivno7", entity.gldivno7);
     row.SetField("gldivno8", entity.gldivno8);
     row.SetField("gldivno9", entity.gldivno9);
     row.SetField("gldivno10", entity.gldivno10);
     row.SetField("glsubno1", entity.glsubno1);
     row.SetField("glsubno2", entity.glsubno2);
     row.SetField("glsubno3", entity.glsubno3);
     row.SetField("glsubno4", entity.glsubno4);
     row.SetField("glsubno5", entity.glsubno5);
     row.SetField("glsubno6", entity.glsubno6);
     row.SetField("glsubno7", entity.glsubno7);
     row.SetField("glsubno8", entity.glsubno8);
     row.SetField("glsubno9", entity.glsubno9);
     row.SetField("glsubno10", entity.glsubno10);
     row.SetField("transproc", entity.transproc);
     row.SetField("swswRowID", 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, SwswBase entity)
 {
     row.SetField("cono", entity.cono);
     row.SetField("claimtype", entity.claimtype);
     row.SetField("swswRowID", entity.rowID.ToByteArray());
 }