IValueConverterSelector Interface
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 registry of ValueConverterInfo that can be used to find the preferred converter to use to convert to and from a given model type to a type that the database provider supports.
public interface IValueConverterSelector
type IValueConverterSelector = interface
Public Interface IValueConverterSelector
- Derived
The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.
See EF Core value converters for more information and examples.
Select(Type, Type) |
Returns the list of ValueConverterInfo instances that can be used to convert the given model type. Converters nearer the front of the list should be used in preference to converters nearer the end. |
Производ | Верзије |
---|---|
Entity Framework Core | 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework повратне информације
Entity Framework је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: