RelationalOptionsExtension.RelationalExtensionInfo Class
Definition
Information/metadata for a RelationalOptionsExtension.
protected abstract class RelationalOptionsExtension.RelationalExtensionInfo : Microsoft.EntityFrameworkCore.Infrastructure.DbContextOptionsExtensionInfo
Protected MustInherit Class RelationalOptionsExtension.RelationalExtensionInfo
Inherits DbContextOptionsExtensionInfo
- Inheritance
Constructors
RelationalOptionsExtension.RelationalExtensionInfo(IDbContextOptionsExtension) |
Creates a new RelationalOptionsExtension.RelationalExtensionInfo instance containing info/metadata for the given extension. |
Properties
Extension |
The extension for which this instance contains metadata. |
IsDatabaseProvider |
True, since this is a database provider base class. |
LogFragment |
A message fragment for logging typically containing information about any useful non-default options that have been configured. |
Methods
GetServiceProviderHashCode() |
Returns a hash code created from any options that would cause a new IServiceProvider to be needed. Most extensions do not have any such options and should return zero. |
PopulateDebugInfo(IDictionary<String,String>) |
Populates a dictionary of information that may change between uses of the
extension such that it can be compared to a previous configuration for
this option and differences can be logged. The dictionary key should be prefixed by the
extension name. For example, |