view Tools/DocGen/Content/Doc/Data/DbManagerVsAdo.htm @ 5:f7d63a092920

Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author cin
date Tue, 10 Mar 2015 16:02:11 +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>