コード例 #1
0
 /// <summary>
 /// Create a new CompanyNatures object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="nature">Initial value of the Nature property.</param>
 public static CompanyNatures CreateCompanyNatures(global::System.Int32 id, global::System.String nature)
 {
     CompanyNatures companyNatures = new CompanyNatures();
     companyNatures.Id = id;
     companyNatures.Nature = nature;
     return companyNatures;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CompanyNatures EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompanyNatures(CompanyNatures companyNatures)
 {
     base.AddObject("CompanyNatures", companyNatures);
 }