示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ToWatches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToToWatches(ToWatch toWatch)
 {
     base.AddObject("ToWatches", toWatch);
 }
示例#2
0
 /// <summary>
 /// Create a new ToWatch object.
 /// </summary>
 /// <param name="userUsername">Initial value of the UserUsername property.</param>
 /// <param name="movieId">Initial value of the MovieId property.</param>
 /// <param name="comment">Initial value of the Comment property.</param>
 public static ToWatch CreateToWatch(global::System.String userUsername, global::System.Int32 movieId, global::System.String comment)
 {
     ToWatch toWatch = new ToWatch();
     toWatch.UserUsername = userUsername;
     toWatch.MovieId = movieId;
     toWatch.Comment = comment;
     return toWatch;
 }