DbExtensions Namespace
DbExtensions is a data-access framework with a strong focus on query composition, granularity and code aesthetics. Database is the entry point of the DbExtensions API.
Classes
|
Class |
Description |
|
AssociationAttribute |
Designates a property to represent a database association, such as a foreign key relationship. |
|
ChangeConflictException |
An exception that is thrown when a concurrency violation is encountered while saving to the database. A concurrency violation occurs when an unexpected number of rows are affected during save. This is usually because the data in the database has been modified since it was loaded into memory. |
|
ColumnAttribute |
Associates a property with a column in a database table. |
|
ComplexPropertyAttribute |
Designates a property as a complex property that groups columns of a table that share the same base name. |
|
Database |
Provides simple data access using SqlSet, SqlBuilder and SqlTable<TEntity>. |
|
DatabaseConfiguration |
Holds configuration options that customize the behavior of Database. This class cannot be instantiated, to get an instance use the Configuration property. |
|
Extensions |
Provides extension methods for common ADO.NET objects. |
|
SQL |
Provides a set of static (Shared in Visual Basic) methods to create SqlBuilder instances. |
|
SqlBuilder |
Represents a mutable SQL string. |
|
SqlCommandBuilder<TEntity> |
Generates SQL commands for annotated classes. This class cannot be instantiated, to get an instance use the CommandBuilder or CommandBuilder properties. |
|
SqlSet |
Represents an immutable, connected SQL query. This class cannot be instantiated, to get an instance use the From(String) method. |
|
SqlSet<TResult> |
Represents an immutable, connected SQL query that maps to TResult objects. This class cannot be instantiated, to get an instance use the From<TResult>(String) method. |
|
SqlTable |
A non-generic version of SqlTable<TEntity> which can be used when the type of the entity is not known at build time. This class cannot be instantiated, to get an instance use the Table(Type) method. |
|
SqlTable<TEntity> |
A SqlSet<TResult> that provides CRUD (Create, Read, Update, Delete) operations for annotated classes. This class cannot be instantiated, to get an instance use the Table<TEntity>() method. |
|
TableAttribute |
Designates a class as an entity class that is associated with a database table. |
Enumerations
|
Enumeration |
Description |
|
AutoSync |
Used to specify for during INSERT and UPDATE operations when a data member should be read back after the operation completes. |