Пример #1
0
 /// <summary>
 /// Create a new INV_DIAMONDS_INVENTORY object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="diamondid">Initial value of the diamondid property.</param>
 /// <param name="supplier_code">Initial value of the supplier_code property.</param>
 /// <param name="inventory_code">Initial value of the inventory_code property.</param>
 /// <param name="shape">Initial value of the shape property.</param>
 /// <param name="weight">Initial value of the weight property.</param>
 /// <param name="color">Initial value of the color property.</param>
 /// <param name="clarity">Initial value of the clarity property.</param>
 /// <param name="depth">Initial value of the depth property.</param>
 /// <param name="table">Initial value of the table property.</param>
 /// <param name="fluorescence">Initial value of the fluorescence property.</param>
 /// <param name="length">Initial value of the length property.</param>
 /// <param name="width">Initial value of the width property.</param>
 /// <param name="height">Initial value of the height property.</param>
 /// <param name="symmetrical">Initial value of the symmetrical property.</param>
 /// <param name="polish">Initial value of the polish property.</param>
 /// <param name="grindle">Initial value of the grindle property.</param>
 /// <param name="culet">Initial value of the culet property.</param>
 /// <param name="crown">Initial value of the crown property.</param>
 /// <param name="cut">Initial value of the cut property.</param>
 /// <param name="listprice">Initial value of the listprice property.</param>
 /// <param name="percaratprice">Initial value of the percaratprice property.</param>
 /// <param name="totalprice">Initial value of the totalprice property.</param>
 /// <param name="report">Initial value of the report property.</param>
 /// <param name="reportimg">Initial value of the reportimg property.</param>
 /// <param name="report_number">Initial value of the report_number property.</param>
 public static INV_DIAMONDS_INVENTORY CreateINV_DIAMONDS_INVENTORY(global::System.Int32 id, global::System.Int64 diamondid, global::System.Int32 supplier_code, global::System.String inventory_code, global::System.Int32 shape, global::System.Decimal weight, global::System.Int32 color, global::System.Int32 clarity, global::System.Decimal depth, global::System.Decimal table, global::System.Int32 fluorescence, global::System.Decimal length, global::System.Decimal width, global::System.Decimal height, global::System.Int32 symmetrical, global::System.Int32 polish, global::System.String grindle, global::System.Int32 culet, global::System.Int32 crown, global::System.Int32 cut, global::System.Decimal listprice, global::System.Decimal percaratprice, global::System.Decimal totalprice, global::System.Int32 report, global::System.String reportimg, global::System.String report_number)
 {
     INV_DIAMONDS_INVENTORY iNV_DIAMONDS_INVENTORY = new INV_DIAMONDS_INVENTORY();
     iNV_DIAMONDS_INVENTORY.id = id;
     iNV_DIAMONDS_INVENTORY.diamondid = diamondid;
     iNV_DIAMONDS_INVENTORY.supplier_code = supplier_code;
     iNV_DIAMONDS_INVENTORY.inventory_code = inventory_code;
     iNV_DIAMONDS_INVENTORY.shape = shape;
     iNV_DIAMONDS_INVENTORY.weight = weight;
     iNV_DIAMONDS_INVENTORY.color = color;
     iNV_DIAMONDS_INVENTORY.clarity = clarity;
     iNV_DIAMONDS_INVENTORY.depth = depth;
     iNV_DIAMONDS_INVENTORY.table = table;
     iNV_DIAMONDS_INVENTORY.fluorescence = fluorescence;
     iNV_DIAMONDS_INVENTORY.length = length;
     iNV_DIAMONDS_INVENTORY.width = width;
     iNV_DIAMONDS_INVENTORY.height = height;
     iNV_DIAMONDS_INVENTORY.symmetrical = symmetrical;
     iNV_DIAMONDS_INVENTORY.polish = polish;
     iNV_DIAMONDS_INVENTORY.grindle = grindle;
     iNV_DIAMONDS_INVENTORY.culet = culet;
     iNV_DIAMONDS_INVENTORY.crown = crown;
     iNV_DIAMONDS_INVENTORY.cut = cut;
     iNV_DIAMONDS_INVENTORY.listprice = listprice;
     iNV_DIAMONDS_INVENTORY.percaratprice = percaratprice;
     iNV_DIAMONDS_INVENTORY.totalprice = totalprice;
     iNV_DIAMONDS_INVENTORY.report = report;
     iNV_DIAMONDS_INVENTORY.reportimg = reportimg;
     iNV_DIAMONDS_INVENTORY.report_number = report_number;
     return iNV_DIAMONDS_INVENTORY;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the INV_DIAMONDS_INVENTORY EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToINV_DIAMONDS_INVENTORY(INV_DIAMONDS_INVENTORY iNV_DIAMONDS_INVENTORY)
 {
     base.AddObject("INV_DIAMONDS_INVENTORY", iNV_DIAMONDS_INVENTORY);
 }