You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jean-Pierre Bachmann edited this page Mar 30, 2019
·
1 revision
Yet Anther ORM consists of multiple Features that are ether directly related to Database queries or can be used without the need for it.
Direct DbAccessLayer methods
There are several method in the DbAccessLayer for Selecting, Updating, Deleting, Refreshing Entities. All theese methods are designed to be as fast as possible but have litte not no configuration abilities. So if you are in need of fast selecting certain items or want to do quick stuff with your database, this might be the right way:
Example:
Select an Entity
dbAccess.Select<T>(); //selects all T dbAccess.Select<T>(primaryKey); //selects one entity with that primary key dbAccess.Select<T>(factoryArguments); //invokes a query factory on the entity (s.u)
Factory Methods
WIP
Query
WIP
LocalDb
WIP
DbConfig
The DbConfig is a Reflection based Cache that caches the configuration of entities and relations in ether an instance based mode or global. It can be used seperatly.