Name | Description | |
---|---|---|
ClearDatabaseMappings | Clear mappings for database | |
ClearMappings | Clear all cached mappings | |
CreateClassMap | Create a generic mapping based on a class type | |
GetAssociatedTables | Gets the associated tables for a type | |
GetChildKeyName | Return name of child foreign key if found, otherwise null. | |
GetFirstStringColumn | Get the first string column in the table | |
GetObjectMap | Get a map for a specified class. If it does not exist in the ObjectMap it will be Auto Mapped. | |
GetParentKeyName | Return name of parent foreign key if found, otherwise null. | |
GetSqlMap | Map SQL to a class | |
GetTableNameMap | Get a map for a specified table name from the database. | |
GetTablesMap | Map all tables in the database | |
LoadMapToTables | Load the map into a Table List | |
LoadObjectMap | Load the an ObjectMap from a file and XML DeSerialize it | |
MapForeignKeyConstraintsForTables | Set the foreign key constraints for the tables | |
MapIndexesForTables | Maps the indexes for tables. | |
MapTablesFromNamespace | Overloaded. Create a map for each class that is in the passed in namespace | |
ObjectMapExists | Returns true if the object has been mapped | |
SaveObjectMap | XML Serialize the current ObjectMap and save it to a file | |
SetChild | Mark specified by name property as child | |
SetComposition | Mark specified by name property as composition | |
SetDefaultStringLength | Set the default string length for string and char field types for the passed in table | |
SetParent | Mark specified by name property as parent | |
SortDependencies | Sort the tables with the roots appearing first | |
VerifyMap | Verify that the passed in object can be mapped to a table | |
VerifyNamespace | Verify that all the classes and properties in the passed namespace can be mapped to a table and columns |