view Tools/DocGen/Content/Doc/Data/DbManagerVsAdo.htm @ 1:8f65451dc28f

Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author cin
date Fri, 28 Mar 2014 01:04:56 +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>