예제 #1
0
 /// <summary>
 /// Create a new vProductAndDescription object.
 /// </summary>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="productModel">Initial value of the ProductModel property.</param>
 /// <param name="cultureID">Initial value of the CultureID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static vProductAndDescription CreatevProductAndDescription(global::System.Int32 productID, global::System.String name, global::System.String productModel, global::System.String cultureID, global::System.String description)
 {
     vProductAndDescription vProductAndDescription = new vProductAndDescription();
     vProductAndDescription.ProductID = productID;
     vProductAndDescription.Name = name;
     vProductAndDescription.ProductModel = productModel;
     vProductAndDescription.CultureID = cultureID;
     vProductAndDescription.Description = description;
     return vProductAndDescription;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vProductAndDescriptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovProductAndDescriptions(vProductAndDescription vProductAndDescription)
 {
     base.AddObject("vProductAndDescriptions", vProductAndDescription);
 }