/// <summary> /// Returns a value indicating whether all of the options used in <see cref="GetServiceProviderHashCode" /> /// are the same as in the given extension. /// </summary> /// <param name="other">The other extension.</param> /// <returns>A value indicating whether all of the options that require a new service provider are the same.</returns> public override bool ShouldUseSameServiceProvider(DbContextOptionsExtensionInfo other) => other is RelationalExtensionInfo;
/// <summary> /// Returns a value indicating whether all of the options used in <see cref="GetServiceProviderHashCode"/> /// are the same as in the given extension. /// </summary> /// <param name="other"> The other extension. </param> /// <returns> A value indicating whether all of the options that require a new service provider are the same. </returns> public abstract bool ShouldUseSameServiceProvider(DbContextOptionsExtensionInfo other);