/// <summary>
 /// Deprecated Method for adding a new object to the PermissionRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPermissionRoles(PermissionRole permissionRole)
 {
     base.AddObject("PermissionRoles", permissionRole);
 }
 /// <summary>
 /// Create a new PermissionRole object.
 /// </summary>
 /// <param name="permissionId">Initial value of the PermissionId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="changed">Initial value of the Changed property.</param>
 public static PermissionRole CreatePermissionRole(global::System.Int32 permissionId, global::System.Int32 roleId, global::System.DateTime created, global::System.DateTime changed)
 {
     PermissionRole permissionRole = new PermissionRole();
     permissionRole.PermissionId = permissionId;
     permissionRole.RoleId = roleId;
     permissionRole.Created = created;
     permissionRole.Changed = changed;
     return permissionRole;
 }