mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2026-08-15 18:44:57 +00:00
Removed V1 support
This commit is contained in:
-15
@@ -120,20 +120,6 @@ namespace EntityFrameworkCore.Projectables.Infrastructure.Internal
|
||||
debugInfo["Projectables:CompatibilityMode"] = Extension._compatibilityMode.ToString();
|
||||
}
|
||||
|
||||
#if EFPROJECTABLES1
|
||||
public override long GetServiceProviderHashCode()
|
||||
{
|
||||
var hashCode = nameof(ProjectionOptionsExtension).GetHashCode();
|
||||
|
||||
var extension = (ProjectionOptionsExtension)Extension;
|
||||
|
||||
hashCode ^= extension._compatibilityMode.GetHashCode();
|
||||
|
||||
return hashCode;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if EFPROJECTABLES2
|
||||
public override int GetServiceProviderHashCode()
|
||||
{
|
||||
var hashCode = new HashCode();
|
||||
@@ -146,7 +132,6 @@ namespace EntityFrameworkCore.Projectables.Infrastructure.Internal
|
||||
|
||||
public override bool ShouldUseSameServiceProvider(DbContextOptionsExtensionInfo other)
|
||||
=> other is ExtensionInfo otherInfo && Extension._compatibilityMode == otherInfo.Extension._compatibilityMode;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user