/// <summary> /// Create a new ProductName object. /// </summary> /// <param name="productNameID">Initial value of the ProductNameID property.</param> /// <param name="name">Initial value of the Name property.</param> public static ProductName CreateProductName(global::System.Int64 productNameID, global::System.String name) { ProductName productName = new ProductName(); productName.ProductNameID = productNameID; productName.Name = name; return productName; }
/// <summary> /// Deprecated Method for adding a new object to the ProductNames EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductNames(ProductName productName) { base.AddObject("ProductNames", productName); }