Mercurial > pub > bltoolkit
view Demo/WebServices/NorthwindDataService/DataContext.tt @ 5:f7d63a092920
Исправлено условие Where в тех случаях, когда репозитарий не является генериком
author | cin |
---|---|
date | Tue, 10 Mar 2015 16:02:11 +0300 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
<#@ template language="C#" debug="True" hostspecific="True" #> <#@ output extension=".generated.cs" #> <#@ include file="$(SolutionDir)\Source\Templates\BLToolkit.ttinclude" #> <#@ include file="$(SolutionDir)\Source\Templates\MSSql.ttinclude" #> <#@ include file="$(SolutionDir)\Source\Templates\PluralSingular.ttinclude" #> <# ConnectionString = "Server=.;Database=Northwind;Integrated Security=SSPI"; Namespace = "NorthwindDS"; LoadMetadata(); Tables["Products"].Columns["Discontinued"].Attributes.Add("MapField(IsInheritanceDiscriminator=true)"); GenerateModel(); #>