Skip to content

Commit

Permalink
Fix CI compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
bahusoid committed Apr 10, 2019
1 parent 680347e commit 7b20d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NHibernate/IStatelessSessionBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static class StatelessSessionBuilderExtensions
/// Provides tenant configuration required for multi-tenancy
/// <seealso cref="Cfg.Environment.MultiTenancy"/>
/// </summary>
public static T TenantConfiguration<T>(this T builder, TenantConfiguration tenantConfig) where T: IStatelessSessionBuilder
public static IStatelessSessionBuilder TenantConfiguration(this IStatelessSessionBuilder builder, TenantConfiguration tenantConfig)
{
ReflectHelper.CastOrThrow<ISessionCreationOptionsWithMultiTenancy>(builder, "multi tenancy").TenantConfiguration = tenantConfig;
return builder;
Expand Down

0 comments on commit 7b20d20

Please sign in to comment.