Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserTopicLastActiv EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserTopicLastActiv(UserTopicLastActiv userTopicLastActiv)
 {
     base.AddObject("UserTopicLastActiv", userTopicLastActiv);
 }
Example #2
0
 /// <summary>
 /// Create a new UserTopicLastActiv object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="userActivLastTime">Initial value of the UserActivLastTime property.</param>
 /// <param name="topicId">Initial value of the TopicId property.</param>
 public static UserTopicLastActiv CreateUserTopicLastActiv(global::System.Guid userId, global::System.DateTime userActivLastTime, global::System.Int32 topicId)
 {
     UserTopicLastActiv userTopicLastActiv = new UserTopicLastActiv();
     userTopicLastActiv.UserId = userId;
     userTopicLastActiv.UserActivLastTime = userActivLastTime;
     userTopicLastActiv.TopicId = topicId;
     return userTopicLastActiv;
 }