view Tools/DocGen/Content/Doc/Data/DbManagerVsAdo.htm @ 3:1ef98bd70424

!bug 100 +3h Исправление проблемы BLToolkit + mono 3.4
author cin
date Fri, 22 Aug 2014 17:34:46 +0400
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>