Пример #1
0
 public static IQueryable <WsFederationClaimMap> ClaimMapping(this IWsFederationConfigurationDbContext wsFederationConfigurationDatabaseContext)
 {
     return(wsFederationConfigurationDatabaseContext.ThrowIfNull().RelyingParties.Include(relyingParty => relyingParty.ClaimMapping).SelectMany(relyingParty => relyingParty.ClaimMapping));
 }
Пример #2
0
 private static DbContext Casted(this IWsFederationConfigurationDbContext wsFederationConfigurationDatabaseContext)
 {
     return((DbContext)wsFederationConfigurationDatabaseContext.ThrowIfNull());
 }