/// <summary>
 /// Deprecated Method for adding a new object to the ObjectContextOrders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToObjectContextOrders(ObjectContextOrder objectContextOrder)
 {
     base.AddObject("ObjectContextOrders", objectContextOrder);
 }
 /// <summary>
 /// Create a new ObjectContextOrder object.
 /// </summary>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="customerId">Initial value of the CustomerId property.</param>
 /// <param name="orderCreated">Initial value of the OrderCreated property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="product_Id">Initial value of the Product_Id property.</param>
 /// <param name="customer_Id">Initial value of the Customer_Id property.</param>
 public static ObjectContextOrder CreateObjectContextOrder(global::System.Int32 productId, global::System.Int32 customerId, global::System.DateTime orderCreated, global::System.Int32 amount, global::System.Int32 product_Id, global::System.Int32 customer_Id)
 {
     ObjectContextOrder objectContextOrder = new ObjectContextOrder();
     objectContextOrder.ProductId = productId;
     objectContextOrder.CustomerId = customerId;
     objectContextOrder.OrderCreated = orderCreated;
     objectContextOrder.Amount = amount;
     objectContextOrder.Product_Id = product_Id;
     objectContextOrder.Customer_Id = customer_Id;
     return objectContextOrder;
 }
Esempio n. 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ObjectContextOrders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToObjectContextOrders(ObjectContextOrder objectContextOrder)
 {
     base.AddObject("ObjectContextOrders", objectContextOrder);
 }