view Tools/Templates/MSSqlDataModel.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\WCFAttributes.ttinclude"        #>
<#@ include file="$(SolutionDir)\Source\Templates\MSSql.ttinclude"                #>
<#@ include file="$(SolutionDir)\Source\Templates\PluralSingular.ttinclude"       #>
<#@ include file="$(SolutionDir)\Source\Templates\ValidationAttributes.ttinclude" #>
<#
	ConnectionString = "Server=.;Database=Northwind;Integrated Security=SSPI";

	DataContextName      = "MSSqlDataContext";
	BaseDataContextClass = "DataContext";
	Namespace            = "MSSqlDataModel";

	GenerateModel();
#>