Mercurial > pub > bltoolkit
view Demo/WebServices/NorthwindDataService/DataContext.tt @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author | cin |
---|---|
date | Fri, 28 Mar 2014 01:04:56 +0400 |
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(); #>