예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CompanyTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompanyTypes(CompanyType companyType)
 {
     base.AddObject("CompanyTypes", companyType);
 }
예제 #2
0
 /// <summary>
 /// Create a new CompanyType object.
 /// </summary>
 /// <param name="companyTypeID">Initial value of the CompanyTypeID property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 public static CompanyType CreateCompanyType(global::System.Int32 companyTypeID, global::System.String type)
 {
     CompanyType companyType = new CompanyType();
     companyType.CompanyTypeID = companyTypeID;
     companyType.Type = type;
     return companyType;
 }