Name | Description | |
---|---|---|
![]() | AutoMap Constructor | Initialize with the database provider |
The following tables list the members exposed by AutoMap.
Name | Description | |
---|---|---|
![]() | AutoMap Constructor | Initialize with the database provider |
Name | Description | |
---|---|---|
![]() | DefaultPrimaryKeyName | Default primary key in the database. For an exact match with a class and database table, set to string.empty The default is TableNameId |
![]() | DefaultSchema | Specify the default schema or owner when using automatic mapping. Example: [MyDatabase].[dbo]. |
![]() | DefaultStringLength | The default string length when doing a CreateTableFromClass. The default is 50. |
![]() | FillInMaintenanceFields | If true, properties such as CreateDate, UpdateDate, CreateUser will be automatically filled in before saving The default is true |
![]() | MaintenanceFields | A list of the names maintenance fields that will be filled in automatically such as CreateDate, UpdateDate, CreateUser |
![]() | MappedTables | A list of mapped tables. |
![]() | ObjectMap | A map of types to database tables |
![]() | PluralTableNames | If true, make the table names plural. The default is True |
![]() | SetDefaults | If true, defaults will be set in the object before it is sent to the database. The default is true |
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 |