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 #>
|