/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the CompanyNatures EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompanyNatures(CompanyNatures companyNatures) { base.AddObject("CompanyNatures", companyNatures); }