annotate Tools/Templates/MySqlDataModel.tt @ 3:1ef98bd70424

!bug 100 +3h Исправление проблемы BLToolkit + mono 3.4
author cin
date Fri, 22 Aug 2014 17:34:46 +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 <#@ assembly name="$(SolutionDir)\packages\MySql.Data.6.6.4\lib\Net40\MySql.Data.dll" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 <#@ include file="$(SolutionDir)\Source\Templates\BLToolkit.ttinclude" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 <#@ include file="$(SolutionDir)\Source\Templates\MySql.ttinclude" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 <#@ include file="$(SolutionDir)\Source\Templates\ValidationAttributes.ttinclude" #>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 <#
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 GetConnectionObject = () => new MySql.Data.MySqlClient.MySqlConnection();
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 ConnectionString = "Server=DBHost;Port=3306;Database=testdata;Uid=root;Pwd=TestPassword;charset=utf8;";
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 DataContextName = "MySqlDataContext";
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 Namespace = "MySqlDataModel";
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14 GenerateModel();
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 #>