Beispiel #1
0
        public static Oeblanketdeletecriteria BuildOeblanketdeletecriteriaFromRow(DataRow row)
        {
            Oeblanketdeletecriteria entity = new Oeblanketdeletecriteria();

            entity.secure      = row.IsNull("secure") ? 0 : row.Field <int>("secure");
            entity.customparam = row.IsNull("customparam") ? string.Empty : row.Field <string>("customparam");
            return(entity);
        }
Beispiel #2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromOeblanketdeletecriteria(ref DataRow row, Oeblanketdeletecriteria entity)
 {
     row.SetField("secure", entity.secure);
     row.SetField("customparam", entity.customparam);
 }