annotate Demo/WebServices/NorthwindDataService/DataContext.tt @ 4:f757da6161a1

!bug 100 + 2h fixed gregression
author cin
date Sun, 24 Aug 2014 17:57:42 +0400
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 <#@ template language="C#" debug="True" hostspecific="True" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2 <#@ output extension=".generated.cs" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 <#@ include file="$(SolutionDir)\Source\Templates\BLToolkit.ttinclude" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 <#@ include file="$(SolutionDir)\Source\Templates\MSSql.ttinclude" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 <#@ include file="$(SolutionDir)\Source\Templates\PluralSingular.ttinclude" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 <#
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 ConnectionString = "Server=.;Database=Northwind;Integrated Security=SSPI";
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 Namespace = "NorthwindDS";
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 LoadMetadata();
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 Tables["Products"].Columns["Discontinued"].Attributes.Add("MapField(IsInheritanceDiscriminator=true)");
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 GenerateModel();
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 #>