0
|
1 <#@ template language="C#" debug="True" hostspecific="True" #>
|
|
2 <#@ output extension=".generated.cs" #>
|
|
3 <#@ assembly name="$(SolutionDir)\packages\MySql.Data.6.6.4\lib\Net40\MySql.Data.dll" #>
|
|
4 <#@ include file="$(SolutionDir)\Source\Templates\BLToolkit.ttinclude" #>
|
|
5 <#@ include file="$(SolutionDir)\Source\Templates\MySql.ttinclude" #>
|
|
6 <#@ include file="$(SolutionDir)\Source\Templates\ValidationAttributes.ttinclude" #>
|
|
7 <#
|
|
8 GetConnectionObject = () => new MySql.Data.MySqlClient.MySqlConnection();
|
|
9 ConnectionString = "Server=DBHost;Port=3306;Database=testdata;Uid=root;Pwd=TestPassword;charset=utf8;";
|
|
10
|
|
11 DataContextName = "MySqlDataContext";
|
|
12 Namespace = "MySqlDataModel";
|
|
13
|
|
14 GenerateModel();
|
|
15 #>
|