Knight Data Access Layer
IAutoMap Interface Methods

KellermanSoftware.NetDataAccessLayer Namespace : IAutoMap Interface

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

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

Reference

IAutoMap Interface
KellermanSoftware.NetDataAccessLayer Namespace