This interface is implemented by classes, which create the type mapping for a persistent type.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Interface ITypeMappingProvider |
| C# | |
|---|
public interface ITypeMappingProvider |
| Managed Extensions for C++ | |
|---|
public __gc __interface ITypeMappingProvider |
| C++/CLI | |
|---|
public interface class ITypeMappingProvider |
Example
The following example shows how to set a class that implements the ITypeMappingProvider.
| C# | Copy Code |
|---|
// Set the AttributeTypeMappingProvider that is creating the mapping by // inspecting the attriutes put on the persistent type's members. TypeMapping.Provider = new AttributeTypeMappingProvider(); |
Remarks
Requirements
Namespace: Chili.Opf3.Mapping.Providers
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Chili.Opf3 (in Chili.Opf3.dll)
See Also