ITypeMappingSourcePlugin 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.
Represents a plugin type mapping source.
public interface ITypeMappingSourcePlugin
type ITypeMappingSourcePlugin = interface
Public Interface ITypeMappingSourcePlugin
Remarks
The service lifetime is Singleton and multiple registrations are allowed. This means a single instance of each service is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.
See Implementation of database providers and extensions for more information and examples.
Methods
FindMapping(TypeMappingInfo) |
Finds a type mapping for the given info. |
Applies to
Entity Framework