Exemplo n.º 1
0
        public static Oeblanketlinessingle BuildOeblanketlinessingleFromRow(DataRow row)
        {
            Oeblanketlinessingle entity = new Oeblanketlinessingle();

            entity.transtype      = row.IsNull("transtype") ? string.Empty : row.Field <string>("transtype");
            entity.qtyremainlabel = row.IsNull("qtyremainlabel") ? string.Empty : row.Field <string>("qtyremainlabel");
            entity.qtyordlabel    = row.IsNull("qtyordlabel") ? string.Empty : row.Field <string>("qtyordlabel");
            return(entity);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Update a database row from a class
 /// </summary>
 public static void UpdateRowFromOeblanketlinessingle(ref DataRow row, Oeblanketlinessingle entity)
 {
     row.SetField("transtype", entity.transtype);
     row.SetField("qtyremainlabel", entity.qtyremainlabel);
     row.SetField("qtyordlabel", entity.qtyordlabel);
 }