/// <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(Like like) { base.AddObject("Likes", like); }
/// <summary> /// Create a new Like object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static Like CreateLike(global::System.Int32 id) { Like like = new Like(); like.Id = id; return like; }