Knight Data Access Layer
AutoMap Class Methods


KellermanSoftware.NetDataAccessLayer Namespace : AutoMap Class

For a list of all members of this type, see AutoMap members.

Public Methods
 NameDescription
Public Method Clear mappings for database  
Public Method Clear all cached mappings  
Public Method Create a generic mapping based on a class type  
Public Method Gets the associated tables for a type  
Public Method Return name of child foreign key if found, otherwise null.  
Public Method Get the first string column in the table  
Public Method Get a map for a specified class. If it does not exist in the ObjectMap it will be Auto Mapped.  
Public Method Return name of parent foreign key if found, otherwise null.  
Public Method Map SQL to a class  
Public Method Get a map for a specified table name from the database.  
Public Method Map all tables in the database  
Public Method Load the map into a Table List  
Public Method Load the an ObjectMap from a file and XML DeSerialize it  
Public Method Set the foreign key constraints for the tables  
Public Method Maps the indexes for tables.  
Public MethodOverloaded.  Create a map for each class that is in the passed in namespace  
Public Method Returns true if the object has been mapped  
Public Method XML Serialize the current ObjectMap and save it to a file  
Public Method Mark specified by name property as child  
Public Method Mark specified by name property as composition  
Public Method Set the default string length for string and char field types for the passed in table  
Public Method Mark specified by name property as parent  
Public Method Sort the tables with the roots appearing first  
Public Method Verify that the passed in object can be mapped to a table  
Public Method Verify that all the classes and properties in the passed namespace can be mapped to a table and columns  
Top
See Also

Reference

AutoMap Class
KellermanSoftware.NetDataAccessLayer Namespace