public static IQueryable <WsFederationClaimMap> ClaimMapping(this IWsFederationConfigurationDbContext wsFederationConfigurationDatabaseContext) { return(wsFederationConfigurationDatabaseContext.ThrowIfNull().RelyingParties.Include(relyingParty => relyingParty.ClaimMapping).SelectMany(relyingParty => relyingParty.ClaimMapping)); }
private static DbContext Casted(this IWsFederationConfigurationDbContext wsFederationConfigurationDatabaseContext) { return((DbContext)wsFederationConfigurationDatabaseContext.ThrowIfNull()); }