상속: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Create a new CompanyProduct object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="company">Initial value of the Company property.</param>
 /// <param name="product">Initial value of the Product property.</param>
 /// <param name="prouctsNumber">Initial value of the ProuctsNumber property.</param>
 public static CompanyProduct CreateCompanyProduct(global::System.Int32 id, global::System.Int32 company, global::System.Int32 product, global::System.Int32 prouctsNumber)
 {
     CompanyProduct companyProduct = new CompanyProduct();
     companyProduct.ID = id;
     companyProduct.Company = company;
     companyProduct.Product = product;
     companyProduct.ProuctsNumber = prouctsNumber;
     return companyProduct;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CompanyProducts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompanyProducts(CompanyProduct companyProduct)
 {
     base.AddObject("CompanyProducts", companyProduct);
 }