view HowTo/DataAccess/Sql/Sql.xml @ 5:f7d63a092920

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

<?xml version="1.0" encoding="utf-8" ?>
<sql>
	<query id="1">SELECT * FROM Person WHERE LastName = @lastName</query>
	<query id="2">SELECT * FROM Person WHERE {0} = @value</query>
	<query id="3">SELECT TOP {0} * FROM Person WHERE LastName = @lastName</query>
	<query id="4">SELECT @id as PersonID</query>
</sql>