IProviderDataTypeRegistry
Namespace: MJCZone.DapperMatic.Providers
Assembly: MJCZone.DapperMatic
Summary
Defines methods for retrieving available data types for a database provider.
abstract public
Note: This is an interface that defines a contract. Look for implementing classes in the same or related namespaces.
Contents
Methods (4)
Methods
GetAvailableDataTypes
Gets all available data types for the provider.
IEnumerable<DataTypeInfo> GetAvailableDataTypes(bool includeAdvanced)Parameters
- includeAdvanced (bool) - If true, includes advanced/specialized types; otherwise, only common types.
Returns
Type: IEnumerable<DataTypeInfo>
A collection of available data types.
GetDataTypeByName
Gets a specific data type by name.
DataTypeInfo? GetDataTypeByName(string typeName)Parameters
- typeName (string) - The name of the data type to retrieve.
Returns
Type: DataTypeInfo?
The data type information, or null if not found.
GetDataTypesForCategory
Gets all data types for a specific category.
IEnumerable<DataTypeInfo> GetDataTypesForCategory(DataTypeCategory category)Parameters
- category (DataTypeCategory) - The category to filter by.
Returns
Type: IEnumerable<DataTypeInfo>
A collection of data types in the specified category.
GetAvailableCategories
Gets the categories that have data types.
IEnumerable<DataTypeCategory> GetAvailableCategories()Returns
Type: IEnumerable<DataTypeCategory>
A collection of categories that contain data types.