% title # SqlQuery customization 1 %> <% group # Abstract accessor attributes %>
This example demonstrates how to create a custom attribute which allows specifying more than one SQL query for different data providers.
CustomSqlQuery1.cs <% ..\..\..\HowTo\DataAccess\CustomSqlQuery1.cs %> Person.cs <% ..\..\..\HowTo\DataAccess\Person.cs %> Gender.cs <% ..\..\..\HowTo\DataAccess\Gender.cs %> App.config <% Doc\Data\App.config %> Create.sql script