view Demo/WebServices/NorthwindDataService/DataContext.tt @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +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();
#>