Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Likes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLikes(Like like)
 {
     base.AddObject("Likes", like);
 }
Ejemplo n.º 2
0
 /// <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;
 }