Knight Data Access Layer
IObjectCrud Interface Members
Properties  Methods 

KellermanSoftware.NetDataAccessLayer Namespace : IObjectCrud Interface

The following tables list the members exposed by IObjectCrud.

Public Properties
 NameDescription
 Property Set to intercept an object after a record is deleted  
 Property Set to intercept an object after a record is inserted  
 Property Set to intercept an objet after it is read  
 Property Set to intercept an object after a record is updated  
 Property Set to intercept an object before a record is deleted  
 Property Set to intercept an object before a record is inserted  
 Property Set to intercept an object before a record is updated  
Top
Public Methods
 NameDescription
 Method Get the number of records in a table  
 Method Create a table in the database based on the passed class  
 Method Create a table in the database for each class that is in the passed in namespace  
 MethodOverloaded.  Delete the corresponding record in the database  
 Method Delete an object by the primary key  
 MethodOverloaded.  Delete an object by the primary key and all its children  
 Method Create the SQL needed to create all the tables for the namespace  
 Method Create the SQL needed to upgrade all the tables for the namespace  
 Method Generate SQL to upgrade a single table  
 Method Generates SQL for upgrading a list of the passed tables  
 Method Load a child or a parent by the property name lambda  
 Method Get the maximum for the primary key for an object type  
 Method Get the object map for the passed class  
 Method Insert a record into the database  
 MethodOverloaded.  Load the passed sql into a list of objects  
 MethodOverloaded.  Load all the records from a table into a class list  
 MethodOverloaded.  Load all the records from a table and its children and parents into a class list  
 Method Load records based on a column into a class list  
 Method Same as LoadByColumn except it loads the children  
 MethodOverloaded.  Load a list of objects from a stored procedure  
 MethodOverloaded.  Load a list of objects from a stored procedure with all children  
 MethodOverloaded.  Return a list of items with the primary key and the first string column ordered by the first string column  
 MethodOverloaded.  Load a single object by the passed parameters  
 MethodOverloaded.  Load a page of records  
 MethodOverloaded.  Load Top N Records  
 MethodOverloaded.  Load entities matching the passed in where clause  
 MethodOverloaded.  Load all the records from a table and its children and parents into a class list  
 MethodOverloaded.  Inserts, Updates or Deletes a record in the table  
 MethodOverloaded.  Save an object with its parent and children  
 MethodOverloaded.  Search for records based on the passed in search object  
 Method Count the number of records for a search  
 Method Set the foreign primaryKey of the child object to the primary key of the parent object  
 MethodOverloaded.  Setup the current database to work with classes from the passed in namespace  
 Method Synchronize table structure for each class that is in the passed in namespace  
 Method Synchronize table structure with the specified by typeparam class  
 Method Create/Update a table and fill with values from an enum.  
 Method Update a record in the database  
Top
See Also

Reference

IObjectCrud Interface
KellermanSoftware.NetDataAccessLayer Namespace