예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Comments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToComments(Comments comments)
 {
     base.AddObject("Comments", comments);
 }
예제 #2
0
 /// <summary>
 /// Create a new Comments object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="boardsImagesMappingID">Initial value of the BoardsImagesMappingID property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 public static Comments CreateComments(global::System.Int32 id, global::System.Int32 boardsImagesMappingID, global::System.Int32 userID)
 {
     Comments comments = new Comments();
     comments.ID = id;
     comments.BoardsImagesMappingID = boardsImagesMappingID;
     comments.UserID = userID;
     return comments;
 }