view Tools/DocGen/Content/Doc/Data/DbManagerVsAdo.htm @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
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>