Example #1
0
        public static Poblanketdeletecriteria BuildPoblanketdeletecriteriaFromRow(DataRow row)
        {
            Poblanketdeletecriteria entity = new Poblanketdeletecriteria();

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