Class CloudStorageTypeMappingSource
- Namespace
- CloudStorageORM.Infrastructure
- Assembly
- CloudStorageORM.dll
public class CloudStorageTypeMappingSource : TypeMappingSource, ITypeMappingSource
- Inheritance
-
CloudStorageTypeMappingSource
- Implements
- Inherited Members
Constructors
CloudStorageTypeMappingSource(TypeMappingSourceDependencies, CloudStorageOptions)
public CloudStorageTypeMappingSource(TypeMappingSourceDependencies dependencies, CloudStorageOptions cloudOptions)
Parameters
dependenciesTypeMappingSourceDependenciescloudOptionsCloudStorageOptions
Methods
FindMapping(in TypeMappingInfo)
Overridden by database providers to find a type mapping for the given info.
protected override CoreTypeMapping? FindMapping(in TypeMappingInfo mappingInfo)
Parameters
mappingInfoTypeMappingInfoThe mapping info to use to create the mapping.
Returns
- CoreTypeMapping
The type mapping, or null if none could be found.
Remarks
The mapping info is populated with as much information about the required type mapping as is available. Use all the information necessary to create the best mapping. Return null if no mapping is available.