Mercurial > pub > bltoolkit
view Tools/Templates/PostgreSQLDataModel.tt @ 4:f757da6161a1
!bug 100 + 2h fixed gregression
author | cin |
---|---|
date | Sun, 24 Aug 2014 17:57:42 +0400 |
parents | f990fcb411a9 |
children |
line wrap: on
line source
<#@ template language="C#" debug="True" hostspecific="True" #> <#@ output extension=".generated.cs" #> <#@ assembly name="$(SolutionDir)\packages\Npgsql.2.0.12.1\lib\Net40\Npgsql.dll" #> <#@ include file="$(SolutionDir)\Source\Templates\BLToolkit.ttinclude" #> <#@ include file="$(SolutionDir)\Source\Templates\PostgreSql.ttinclude" #> <#@ include file="$(SolutionDir)\Source\Templates\ValidationAttributes.ttinclude" #> <# GetConnectionObject = () => new Npgsql.NpgsqlConnection(); ConnectionString = "Server=DBHost;Port=5432;Database=TestData;User Id=postgres;Password=TestPassword;"; DataContextName = "PostgreSqlDataContext"; Namespace = "PostgreSqlDataModel"; GenerateModel(); #>