| 
0
 | 
     1 <% title # Compare DbManager with ADO.NET %>
 | 
| 
 | 
     2 <% order # 1 %>
 | 
| 
 | 
     3 <p class="j">
 | 
| 
 | 
     4 This example contains two demos to demonstrate the difference between <b>ADO.NET</b> and <b>BLToolkit</b>.
 | 
| 
 | 
     5 The <b>AdoDemo</b> represents a typical data access method which takes one parameter and
 | 
| 
 | 
     6 returns a list of objects. All routine mapping work is done manually inside the method.
 | 
| 
 | 
     7 </p>
 | 
| 
 | 
     8 AdoDemo.cs
 | 
| 
 | 
     9 <% ..\..\..\HowTo\Data\AdoDemo.cs %>
 | 
| 
 | 
    10 <p class="j">
 | 
| 
 | 
    11 The <b>DbManagerDemo</b> does the same work performed by <b>BLToolkit.DbManager</b>.
 | 
| 
 | 
    12 </p>
 | 
| 
 | 
    13 DbManagerDemo.cs
 | 
| 
 | 
    14 <% ..\..\..\HowTo\Data\DbManagerDemo.cs %>
 | 
| 
 | 
    15 App.config
 | 
| 
 | 
    16 <% Doc\Data\App1.config %>
 | 
| 
 | 
    17 <a href="CreateSql.htm">Create.sql script</a>
 |