Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Alphabetical_list_of_products EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAlphabetical_list_of_products(Alphabetical_list_of_product alphabetical_list_of_product)
 {
     base.AddObject("Alphabetical_list_of_products", alphabetical_list_of_product);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Alphabetical_list_of_product object.
 /// </summary>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="productName">Initial value of the ProductName property.</param>
 /// <param name="discontinued">Initial value of the Discontinued property.</param>
 /// <param name="categoryName">Initial value of the CategoryName property.</param>
 public static Alphabetical_list_of_product CreateAlphabetical_list_of_product(global::System.Int32 productID, global::System.String productName, global::System.Boolean discontinued, global::System.String categoryName)
 {
     Alphabetical_list_of_product alphabetical_list_of_product = new Alphabetical_list_of_product();
     alphabetical_list_of_product.ProductID = productID;
     alphabetical_list_of_product.ProductName = productName;
     alphabetical_list_of_product.Discontinued = discontinued;
     alphabetical_list_of_product.CategoryName = categoryName;
     return alphabetical_list_of_product;
 }