/// <summary>
 /// Deprecated Method for adding a new object to the RolesInTree EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRolesInTree(RolesInTree rolesInTree)
 {
     base.AddObject("RolesInTree", rolesInTree);
 }
 /// <summary>
 /// Create a new RolesInTree object.
 /// </summary>
 /// <param name="rolesInTreeId">Initial value of the RolesInTreeId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="parentRoleId">Initial value of the ParentRoleId property.</param>
 public static RolesInTree CreateRolesInTree(global::System.Int32 rolesInTreeId, global::System.Guid roleId, global::System.Guid parentRoleId)
 {
     RolesInTree rolesInTree = new RolesInTree();
     rolesInTree.RolesInTreeId = rolesInTreeId;
     rolesInTree.RoleId = roleId;
     rolesInTree.ParentRoleId = parentRoleId;
     return rolesInTree;
 }