view Tools/DocGen/Content/Doc/Data/DbManagerVsAdo.htm @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
parents f990fcb411a9
children
line wrap: on
line source

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