view Tools/Templates/PostgreSQLDataModel.tt @ 9:1e85f66cf767 default tip

update bltoolkit
author nickolay
date Thu, 05 Apr 2018 20:53:26 +0300
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();
#>