IManifestTokenResolver Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A service for getting a provider manifest token given a connection. The DefaultManifestTokenResolver class is used by default and makes use of the underlying provider to get the token which often involves opening the connection. A different implementation can be used instead by adding an IDbDependencyResolver to DbConfiguration that may use any information in the connection to return the token. For example, if the connection is known to point to a SQL Server 2008 database then "2008" can be returned without opening the connection.
public interface IManifestTokenResolver
type IManifestTokenResolver = interface
Public Interface IManifestTokenResolver
- Derived
Methods
ResolveManifestToken(DbConnection) |
Returns the manifest token to use for the given connection. |
Applies to
Entity Framework