Skip to content

Obsolete ForeignKeys.IsNotTransientSlow #3553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/NHibernate/Async/Engine/ForeignKeys.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
//------------------------------------------------------------------------------


using System;
using NHibernate.Id;
using NHibernate.Persister.Entity;
using NHibernate.Proxy;
Expand Down Expand Up @@ -152,6 +153,8 @@ private async Task<bool> IsNullifiableAsync(string entityName, object obj, Cance
/// <remarks>
/// Hit the database to make the determination.
/// </remarks>
// Since v5.6
[Obsolete("This method has no more usages and will be removed in a future version")]
public static async Task<bool> IsNotTransientSlowAsync(string entityName, object entity, ISessionImplementor session, CancellationToken cancellationToken)
{
cancellationToken.ThrowIfCancellationRequested();
Expand Down
3 changes: 3 additions & 0 deletions src/NHibernate/Engine/ForeignKeys.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using NHibernate.Id;
using NHibernate.Persister.Entity;
using NHibernate.Proxy;
Expand Down Expand Up @@ -151,6 +152,8 @@ private bool IsNullifiable(string entityName, object obj)
/// <remarks>
/// Hit the database to make the determination.
/// </remarks>
// Since v5.6
[Obsolete("This method has no more usages and will be removed in a future version")]
public static bool IsNotTransientSlow(string entityName, object entity, ISessionImplementor session)
{
return !IsTransientSlow(entityName, entity, session);
Expand Down
Loading