Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserRelation EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserRelation(UserRelation userRelation)
 {
     base.AddObject("UserRelation", userRelation);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new UserRelation object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static UserRelation CreateUserRelation(global::System.Int32 id)
 {
     UserRelation userRelation = new UserRelation();
     userRelation.Id = id;
     return userRelation;
 }