/// <summary> /// Deprecated Method for adding a new object to the CompaniesViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompaniesViews(CompaniesView companiesView) { base.AddObject("CompaniesViews", companiesView); }
/// <summary> /// Create a new CompaniesView object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> public static CompaniesView CreateCompaniesView(global::System.Int32 id, global::System.String name) { CompaniesView companiesView = new CompaniesView(); companiesView.id = id; companiesView.name = name; return companiesView; }