Exemplo n.º 1
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromSaeiextendaction(ref DataRow row, Saeiextendaction entity)
 {
     row.SetField("actionseqno", entity.actionseqno);
     row.SetField("actionmess", entity.actionmess);
     row.SetField("transtm", entity.transtm);
     row.SetField("userfield", entity.userfield);
 }
Exemplo n.º 2
0
        public static Saeiextendaction BuildSaeiextendactionFromRow(DataRow row)
        {
            Saeiextendaction entity = new Saeiextendaction();

            entity.actionseqno = row.IsNull("actionseqno") ? 0 : row.Field <int>("actionseqno");
            entity.actionmess  = row.IsNull("actionmess") ? string.Empty : row.Field <string>("actionmess");
            entity.transtm     = row.IsNull("transtm") ? string.Empty : row.Field <string>("transtm");
            entity.userfield   = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }