Mercurial > pub > bltoolkit
comparison Tools/Templates/MySqlDataModel.tt @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
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 #> |