/// <summary> /// Deprecated Method for adding a new object to the Likes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLikes(Likes likes) { base.AddObject("Likes", likes); }
/// <summary> /// Create a new Likes 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 Likes CreateLikes(global::System.Int32 id, global::System.Int32 boardsImagesMappingID, global::System.Int32 userID) { Likes likes = new Likes(); likes.ID = id; likes.BoardsImagesMappingID = boardsImagesMappingID; likes.UserID = userID; return likes; }