view Tools/DocGen/Content/Doc/DataAccess/CustomSqlQuery1.htm @ 5:f7d63a092920

Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author cin
date Tue, 10 Mar 2015 16:02:11 +0300
parents f990fcb411a9
children
line wrap: on
line source

<% title # SqlQuery customization 1 %>
<% group # Abstract accessor attributes %>

<p class='j'>
This example demonstrates how to create a custom attribute 
which allows specifying more than one SQL query for different data providers.
</p>

CustomSqlQuery1.cs
<% ..\..\..\HowTo\DataAccess\CustomSqlQuery1.cs %>
<a name='Person'></a>
Person.cs
<% ..\..\..\HowTo\DataAccess\Person.cs %>
Gender.cs
<% ..\..\..\HowTo\DataAccess\Gender.cs %>
App.config
<% Doc\Data\App.config %>
<a href="../Data/CreateSql.htm">Create.sql script</a>