Skip to content

Commit 7b20d20

Browse files
committed
Fix CI compiler error
1 parent 680347e commit 7b20d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/IStatelessSessionBuilder.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static class StatelessSessionBuilderExtensions
1313
/// Provides tenant configuration required for multi-tenancy
1414
/// <seealso cref="Cfg.Environment.MultiTenancy"/>
1515
/// </summary>
16-
public static T TenantConfiguration<T>(this T builder, TenantConfiguration tenantConfig) where T: IStatelessSessionBuilder
16+
public static IStatelessSessionBuilder TenantConfiguration(this IStatelessSessionBuilder builder, TenantConfiguration tenantConfig)
1717
{
1818
ReflectHelper.CastOrThrow<ISessionCreationOptionsWithMultiTenancy>(builder, "multi tenancy").TenantConfiguration = tenantConfig;
1919
return builder;

0 commit comments

Comments
 (0)