20 lines
974 B
Plaintext
20 lines
974 B
Plaintext
<#@ template language="C#" debug="True" hostSpecific="True" #>
|
|
<#@ output extension=".generated.cs" #>
|
|
<#@ include file="$(LinqToDBT4MySqlTemplatesDirectory)LinqToDB.MySql.Tools.ttinclude" #>
|
|
<#@ include file="$(LinqToDBT4MySqlTemplatesDirectory)PluralizationService.ttinclude" #>
|
|
<# //@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.MySql.Tools.ttinclude" #>
|
|
<# //@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
|
|
<#
|
|
|
|
NamespaceName = "DataModels";
|
|
|
|
// to configure GetSchemaOptions properties, add them here, before load metadata call
|
|
|
|
LoadMySqlMetadata("srvbo", "UserService", "UserDbAdmin", "12345678");
|
|
// LoadMySqlMetadata(string connectionString);
|
|
|
|
// to adjust loaded database model before generation, add your code here, after load metadata, but before GenerateModel() call
|
|
EnableNullableReferenceTypes = true;
|
|
GenerateModel();
|
|
#>
|