annotate HowTo/DataAccess/Sql/Sql.xml @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author |
cin |
date |
Tue, 10 Mar 2015 16:02:11 +0300 |
parents |
f990fcb411a9 |
children |
|
rev |
line source |
0
|
1 <?xml version="1.0" encoding="utf-8" ?>
|
|
2 <sql>
|
|
3 <query id="1">SELECT * FROM Person WHERE LastName = @lastName</query>
|
|
4 <query id="2">SELECT * FROM Person WHERE {0} = @value</query>
|
|
5 <query id="3">SELECT TOP {0} * FROM Person WHERE LastName = @lastName</query>
|
|
6 <query id="4">SELECT @id as PersonID</query>
|
|
7 </sql>
|