Mercurial > pub > bltoolkit
annotate Tools/Templates/PostgreSQLDataModel.tt @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
rev | line source |
---|---|
0 | 1 <#@ template language="C#" debug="True" hostspecific="True" #> |
2 <#@ output extension=".generated.cs" #> | |
3 <#@ assembly name="$(SolutionDir)\packages\Npgsql.2.0.12.1\lib\Net40\Npgsql.dll" #> | |
4 <#@ include file="$(SolutionDir)\Source\Templates\BLToolkit.ttinclude" #> | |
5 <#@ include file="$(SolutionDir)\Source\Templates\PostgreSql.ttinclude" #> | |
6 <#@ include file="$(SolutionDir)\Source\Templates\ValidationAttributes.ttinclude" #> | |
7 <# | |
8 GetConnectionObject = () => new Npgsql.NpgsqlConnection(); | |
9 ConnectionString = "Server=DBHost;Port=5432;Database=TestData;User Id=postgres;Password=TestPassword;"; | |
10 | |
11 DataContextName = "PostgreSqlDataContext"; | |
12 Namespace = "PostgreSqlDataModel"; | |
13 | |
14 GenerateModel(); | |
15 #> |