Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CompaniesViews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompaniesViews(CompaniesView companiesView)
 {
     base.AddObject("CompaniesViews", companiesView);
 }
Example #2
0
 /// <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;
 }