Checks conformity between the logical schema of in memory data of a given Domain and it's physical counterpart in the Database.
If there are errors, an exception is thrown with the error message returned from the Database.
Namespace: Aspectize.CoreAssembly: AspectizeDAL (in AspectizeDAL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
void CheckPhysicalSchema<Domain>() where Domain : new(), INamespace |
| Visual Basic |
|---|
Sub CheckPhysicalSchema(Of Domain As {New, INamespace}) |
Type Parameters
- Domain
- The Domain provider
Examples
dm.CheckPhysicalSchema<AdventureWorks.Production.DomainProvider>();
dm.CheckPhysicalSchema(Of AdventureWorks.Production.DomainProvider)()