Exemplo n.º 1
0
 /// <summary>
 /// Create a new UserGroup object.
 /// </summary>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="groupID">Initial value of the GroupID property.</param>
 public static UserGroup CreateUserGroup(global::System.String userID, global::System.Int32 groupID)
 {
     UserGroup userGroup = new UserGroup();
     userGroup.UserID = userID;
     userGroup.GroupID = groupID;
     return userGroup;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserGroups(UserGroup userGroup)
 {
     base.AddObject("UserGroups", userGroup);
 }