Exemple #1
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromSasogetoperlistcrit(ref DataRow row, Sasogetoperlistcrit entity)
 {
     row.SetField("operinit", entity.operinit);
     row.SetField("whse", entity.whse);
     row.SetField("profile", entity.profile);
     row.SetField("userfield", entity.userfield);
 }
Exemple #2
0
        public static Sasogetoperlistcrit BuildSasogetoperlistcritFromRow(DataRow row)
        {
            Sasogetoperlistcrit entity = new Sasogetoperlistcrit();

            entity.operinit  = row.IsNull("operinit") ? string.Empty : row.Field <string>("operinit");
            entity.whse      = row.IsNull("whse") ? string.Empty : row.Field <string>("whse");
            entity.profile   = row.IsNull("profile") ? string.Empty : row.Field <string>("profile");
            entity.userfield = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }