/// <summary>
 /// Create a new RolePrivilegeMap object.
 /// </summary>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="privilegeId">Initial value of the PrivilegeId property.</param>
 public static RolePrivilegeMap CreateRolePrivilegeMap(global::System.Int64 roleId, global::System.Int64 privilegeId)
 {
     RolePrivilegeMap rolePrivilegeMap = new RolePrivilegeMap();
     rolePrivilegeMap.RoleId = roleId;
     rolePrivilegeMap.PrivilegeId = privilegeId;
     return rolePrivilegeMap;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the RolePrivilegeMaps EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRolePrivilegeMaps(RolePrivilegeMap rolePrivilegeMap)
 {
     base.AddObject("RolePrivilegeMaps", rolePrivilegeMap);
 }