Esempio n. 1
0
        public static Pdemimportnewfilesingle BuildPdemimportnewfilesingleFromRow(DataRow row)
        {
            Pdemimportnewfilesingle entity = new Pdemimportnewfilesingle();

            entity.cColLabels = row.IsNull("cColLabels") ? string.Empty : row.Field <string>("cColLabels");
            entity.userfield  = row.IsNull("userfield") ? string.Empty : row.Field <string>("userfield");
            return(entity);
        }
Esempio n. 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromPdemimportnewfilesingle(ref DataRow row, Pdemimportnewfilesingle entity)
 {
     row.SetField("cColLabels", entity.cColLabels);
     row.SetField("userfield", entity.userfield);
 }