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

            entity.orderno  = row.IsNull("orderno") ? 0 : row.Field <int>("orderno");
            entity.ordersuf = row.IsNull("ordersuf") ? 0 : row.Field <int>("ordersuf");
            return(entity);
        }
Esempio n. 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromOeipcreatequotesorder(ref DataRow row, Oeipcreatequotesorder entity)
 {
     row.SetField("orderno", entity.orderno);
     row.SetField("ordersuf", entity.ordersuf);
 }