Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PostsViews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPostsViews(PostsView postsView)
 {
     base.AddObject("PostsViews", postsView);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new PostsView object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="companies_id">Initial value of the companies_id property.</param>
 /// <param name="users_id">Initial value of the users_id property.</param>
 /// <param name="descryption">Initial value of the descryption property.</param>
 /// <param name="title">Initial value of the title property.</param>
 /// <param name="date_creation">Initial value of the date_creation property.</param>
 /// <param name="date_last_view">Initial value of the date_last_view property.</param>
 /// <param name="boss_rating">Initial value of the boss_rating property.</param>
 /// <param name="atmosphere_rating">Initial value of the atmosphere_rating property.</param>
 /// <param name="social_rating">Initial value of the social_rating property.</param>
 /// <param name="salary_rating">Initial value of the salary_rating property.</param>
 public static PostsView CreatePostsView(global::System.Int32 id, global::System.Int32 companies_id, global::System.Guid users_id, global::System.String descryption, global::System.String title, global::System.DateTime date_creation, global::System.DateTime date_last_view, global::System.Double boss_rating, global::System.Double atmosphere_rating, global::System.Double social_rating, global::System.Double salary_rating)
 {
     PostsView postsView = new PostsView();
     postsView.id = id;
     postsView.companies_id = companies_id;
     postsView.users_id = users_id;
     postsView.descryption = descryption;
     postsView.title = title;
     postsView.date_creation = date_creation;
     postsView.date_last_view = date_last_view;
     postsView.boss_rating = boss_rating;
     postsView.atmosphere_rating = atmosphere_rating;
     postsView.social_rating = social_rating;
     postsView.salary_rating = salary_rating;
     return postsView;
 }