Пример #1
0
 /// <summary>
 /// Create a new VC_UserToNews object.
 /// </summary>
 /// <param name="userToNews_Id">Initial value of the UserToNews_Id property.</param>
 /// <param name="newsCategory_Id">Initial value of the NewsCategory_Id property.</param>
 /// <param name="user_Id">Initial value of the User_Id property.</param>
 /// <param name="created_TS">Initial value of the Created_TS property.</param>
 /// <param name="updated_TS">Initial value of the Updated_TS property.</param>
 public static VC_UserToNews CreateVC_UserToNews(global::System.Int32 userToNews_Id, global::System.Int32 newsCategory_Id, global::System.Int32 user_Id, global::System.DateTime created_TS, global::System.DateTime updated_TS)
 {
     VC_UserToNews vC_UserToNews = new VC_UserToNews();
     vC_UserToNews.UserToNews_Id = userToNews_Id;
     vC_UserToNews.NewsCategory_Id = newsCategory_Id;
     vC_UserToNews.User_Id = user_Id;
     vC_UserToNews.Created_TS = created_TS;
     vC_UserToNews.Updated_TS = updated_TS;
     return vC_UserToNews;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VC_UserToNews EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVC_UserToNews(VC_UserToNews vC_UserToNews)
 {
     base.AddObject("VC_UserToNews", vC_UserToNews);
 }