/// <summary>
 /// Deprecated Method for adding a new object to the RoleResources EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRoleResources(RoleResource roleResource)
 {
     base.AddObject("RoleResources", roleResource);
 }
 /// <summary>
 /// Create a new RoleResource object.
 /// </summary>
 /// <param name="roleResourceId">Initial value of the RoleResourceId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="resourceId">Initial value of the ResourceId property.</param>
 public static RoleResource CreateRoleResource(global::System.Int32 roleResourceId, global::System.Int32 roleId, global::System.Int32 resourceId)
 {
     RoleResource roleResource = new RoleResource();
     roleResource.RoleResourceId = roleResourceId;
     roleResource.RoleId = roleId;
     roleResource.ResourceId = resourceId;
     return roleResource;
 }