Manual for DBFramework V3.8 Author: kenly
DBFramework
Preface....................................................................................................................2
Chapter 1. Architecture..........................................................................................3
1.1 High-level architecture.............................................................................3
1.2 Primary class diagrams ............................................................................4
GatewayBase......................................................................................4
SqlViewGateway................................................................................4
OleViewGateway...............................................................................4
TableGatewayBase.............................................................................4
SqlTableGateway...............................................................................4
OleTableGateway...............................................................................4
1.3 Interacting with Gateway.........................................................................6
Chapter 2. Quickstart with DBFramework............................................................7
2.1 Creating persistent class...........................................................................7
2.2 Using persistent object (RAUD)............................................................16
Chapter 3. O/R Mapping......................................................................................17
3.1 TableAttribute ........................................................................................17
3.2 ColumnAttribute ....................................................................................17
3.3 RelationAttribute....................................................................................18
Chapter 4. Transactions........................................................................................19
4.1 Transaction within a table......................................................................19
4.2 GatewaySession.....................................................................................19
4.3 BizSession..............................................................................................20
Chapter 5. Criteria Queries ..................................................................................21
5.1 Narrowing the result set.........................................................................22
5.2 Expression..............................................................................................23
5.3 Ordering the results................................................................................24
Chapter 6. Practices .............................................................................................24
6.1 Calling a stored procedure.....................................................................24
6.2 Lazy load................................................................................................25
6.3 Load Relation.........................................................................................25
6.4 Mapping between object(s) and database table .....................................26
Of 26
1
评论5
最新资源