Mercurial > pub > bltoolkit
view Demo/WebServices/NorthwindDataService/DataContext.tt @ 6:11b6da379593
Исправлена странная ошибка при использовании OfType<...>().Where(...)
author | cin |
---|---|
date | Mon, 05 Dec 2016 05:50:52 +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(); #>