annotate 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
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 #>