Skip to content

Commit

Permalink
Changed path separator to / to be compatible on Windows and Linux as …
Browse files Browse the repository at this point in the history
…per Issue #66. (#68)
  • Loading branch information
chullybun authored Aug 12, 2020
1 parent f013fb9 commit 563190c
Show file tree
Hide file tree
Showing 22 changed files with 82 additions and 76 deletions.
2 changes: 1 addition & 1 deletion tools/Beef.CodeGen.Core/Beef.CodeGen.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>Beef.CodeGen</RootNamespace>
<Version>3.1.19</Version>
<Version>3.1.20</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<ApplicationIcon />
<StartupObject />
Expand Down
3 changes: 3 additions & 0 deletions tools/Beef.CodeGen.Core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Represents the **NuGet** versions.

## v3.1.20
- *Fixed*: Issue [66](https://github.com/Avanade/Beef/issues/63) fixed. Changed the path separator to be `/` so that is compatible on Windows and Linux. By using `/` this matches the `Path.AltDirectorySeparatorChar`(https://docs.microsoft.com/en-us/dotnet/api/system.io.path.altdirectoryseparatorchar) for Windows and `Path.DirectorySeparatorChar`(https://docs.microsoft.com/en-us/dotnet/api/system.io.path.directoryseparatorchar) for Linux, making it universally compatible.

## v3.1.19
- *Enhancment:* Request [62](https://github.com/Avanade/Beef/issues/62) applied. Generate a non-zero exit code when detecting updated files if none are expected. E.g. if executing the code generation as part of build pipeline.

Expand Down
6 changes: 3 additions & 3 deletions tools/Beef.CodeGen.Core/CodeGenConsoleWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private enum CommandType
/// <param name="apiName">The Web API name.</param>
/// <param name="outDir">The output path/directory.</param>
/// <returns>The <see cref="CodeGenConsoleWrapper"/> instance.</returns>
public static CodeGenConsoleWrapper Create(string company, string appName, string apiName = "Api", string outDir = ".\\..")
public static CodeGenConsoleWrapper Create(string company, string appName, string apiName = "Api", string outDir = "./..")
{
return new CodeGenConsoleWrapper(new Assembly[] { Assembly.GetCallingAssembly() }, company, appName, apiName, outDir);
}
Expand All @@ -93,7 +93,7 @@ public static CodeGenConsoleWrapper Create(string company, string appName, strin
/// <param name="apiName">The Web API name.</param>
/// <param name="outDir">The output path/directory.</param>
/// <returns>The <see cref="CodeGenConsoleWrapper"/> instance.</returns>
public static CodeGenConsoleWrapper Create(Assembly[] assemblies, string company, string appName, string apiName = "Api", string outDir = ".\\..")
public static CodeGenConsoleWrapper Create(Assembly[] assemblies, string company, string appName, string apiName = "Api", string outDir = "./..")
{
return new CodeGenConsoleWrapper(assemblies, company, appName, apiName, outDir);
}
Expand All @@ -106,7 +106,7 @@ public static CodeGenConsoleWrapper Create(Assembly[] assemblies, string company
/// <param name="apiName">The Web API name.</param>
/// <param name="outDir">The output path/directory.</param>
/// <param name="assemblies">Optional list of assemblies to probe for resources.</param>
private CodeGenConsoleWrapper(Assembly[] assemblies, string company, string appName, string apiName = "Api", string outDir = ".\\..")
private CodeGenConsoleWrapper(Assembly[] assemblies, string company, string appName, string apiName = "Api", string outDir = "./..")
{
Company = Check.NotEmpty(company, nameof(company));
AppName = Check.NotEmpty(appName, nameof(appName));
Expand Down
2 changes: 1 addition & 1 deletion tools/Beef.CodeGen.Core/Scripts/DataModelOnly.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef -->
<Script LoaderType="Beef.CodeGen.Loaders.EntityConfigLoader, Beef.CodeGen.Core">
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data\Model" IsDataModel="true" EntityScope="Common" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data/Model" IsDataModel="true" EntityScope="Common" />
</Script>
24 changes: 12 additions & 12 deletions tools/Beef.CodeGen.Core/Scripts/Database.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef -->
<Script LoaderType="Beef.CodeGen.Loaders.TableConfigLoader, Beef.CodeGen.Core">
<Generate Template="DbSpTableGet_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbSpTableCreate_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbSpTableUpdate_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbSpTableUpsert_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbSpTableDelete_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbSpTableMerge_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbSpTableGetByArgs_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbVwTable_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbUdtTableList_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database\Schema" />
<Generate Template="DbTvpTable_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\" />
<Generate Template="DbEfTableModel_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="DbEfModelBuilderExtensions_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="DbSpTableGet_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbSpTableCreate_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbSpTableUpdate_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbSpTableUpsert_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbSpTableDelete_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbSpTableMerge_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbSpTableGetByArgs_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbVwTable_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbUdtTableList_sql.xml" OutDir="{{Company}}.{{AppDir}}.Database/Schema" />
<Generate Template="DbTvpTable_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/" />
<Generate Template="DbEfTableModel_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="DbEfModelBuilderExtensions_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
</Script>
10 changes: 5 additions & 5 deletions tools/Beef.CodeGen.Core/Scripts/EntityBusiness.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef -->
<Script LoaderType="Beef.CodeGen.Loaders.EntityConfigLoader, Beef.CodeGen.Core">
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Entities" EntityScope="Common" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Entities" EntityScope="Business" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Entities" EntityScope="Common" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Entities" EntityScope="Business" />

<Generate Template="IEntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="EntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="EntityDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\DataSvc" />
<Generate Template="IEntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="EntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="EntityDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/DataSvc" />
<Generate Template="IEntityManager_cs.xml" OutDir="{{Company}}.{{AppName}}.Business" />
<Generate Template="EntityManager_cs.xml" OutDir="{{Company}}.{{AppName}}.Business" />
</Script>
2 changes: 1 addition & 1 deletion tools/Beef.CodeGen.Core/Scripts/EntityOnly.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef -->
<Script LoaderType="Beef.CodeGen.Loaders.EntityConfigLoader, Beef.CodeGen.Core">
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Entities" EntityScope="Common" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Entities" EntityScope="Common" />
</Script>
28 changes: 14 additions & 14 deletions tools/Beef.CodeGen.Core/Scripts/EntityWebApiCoreAgent.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef -->
<Script LoaderType="Beef.CodeGen.Loaders.EntityConfigLoader, Beef.CodeGen.Core">
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Entities" EntityScope="Common" HelpText="Common\Entities" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Entities" EntityScope="Business" HelpText="Business\Entities" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data\Model" ModelFromEntity="true" IsDataModel="true" HelpText="Business\Data\Model" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Entities" EntityScope="Common" HelpText="Common/Entities" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Entities" EntityScope="Business" HelpText="Business/Entities" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data/Model" ModelFromEntity="true" IsDataModel="true" HelpText="Business/Data/Model" />

<Generate Template="IEntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" HelpText="Business\Data" />
<Generate Template="EntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" HelpText="Business\Data" />
<Generate Template="EntityDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\DataSvc" HelpText="Business\DataSvc" />
<Generate Template="IEntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" HelpText="Business/Data" />
<Generate Template="EntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" HelpText="Business/Data" />
<Generate Template="EntityDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/DataSvc" HelpText="Business/DataSvc" />
<Generate Template="IEntityManager_cs.xml" OutDir="{{Company}}.{{AppName}}.Business" HelpText="Business" />
<Generate Template="EntityManager_cs.xml" OutDir="{{Company}}.{{AppName}}.Business" HelpText="Business" />

<Generate Template="EntityWebApiCoreController_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}\Controllers" EntityScope="Common" HelpText="Api\Controllers" />
<Generate Template="EntityWebApiAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents" EntityScope="Common" HelpText="Common\Agents" />
<Generate Template="EntityWebApiServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents\ServiceAgents" EntityScope="Common" HelpText="Common\Agents\ServiceAgents" />
<Generate Template="EntityWebApiCoreController_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}/Controllers" EntityScope="Common" HelpText="Api/Controllers" />
<Generate Template="EntityWebApiAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents" EntityScope="Common" HelpText="Common/Agents" />
<Generate Template="EntityWebApiServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents/ServiceAgents" EntityScope="Common" HelpText="Common/Agents/ServiceAgents" />

<Generate Template="Grpc_proto.xml" OutDir="{{Company}}.{{AppName}}.Common\Grpc" EntityScope="Common" HelpText="Common\Grpc" />
<Generate Template="GrpcTransformers_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Grpc" EntityScope="Common" HelpText="Common\Grpc" />
<Generate Template="EntityGrpcService_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}\Grpc" EntityScope="Common" HelpText="Api\Grpc" />
<Generate Template="EntityGrpcAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Grpc" EntityScope="Common" HelpText="Common\Grpc" />
<Generate Template="EntityGrpcServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Grpc\ServiceAgents" EntityScope="Common" HelpText="Common\Grpc\ServiceAgents" />
<Generate Template="Grpc_proto.xml" OutDir="{{Company}}.{{AppName}}.Common/Grpc" EntityScope="Common" HelpText="Common/Grpc" />
<Generate Template="GrpcTransformers_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Grpc" EntityScope="Common" HelpText="Common/Grpc" />
<Generate Template="EntityGrpcService_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}/Grpc" EntityScope="Common" HelpText="Api/Grpc" />
<Generate Template="EntityGrpcAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Grpc" EntityScope="Common" HelpText="Common/Grpc" />
<Generate Template="EntityGrpcServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Grpc/ServiceAgents" EntityScope="Common" HelpText="Common/Grpc/ServiceAgents" />
</Script>
20 changes: 10 additions & 10 deletions tools/Beef.CodeGen.Core/Scripts/RefDataCore.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef -->
<Script LoaderType="Beef.CodeGen.Loaders.EntityConfigLoader, Beef.CodeGen.Core">
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Entities" EntityScope="Common" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Entities" EntityScope="Business" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Entities" EntityScope="Common" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Entities" EntityScope="Business" />

<Generate Template="ReferenceData_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Entities" />
<Generate Template="IReferenceDataData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="ReferenceDataData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="ReferenceDataDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\DataSvc" />
<Generate Template="ReferenceData_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Entities" />
<Generate Template="IReferenceDataData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="ReferenceDataData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="ReferenceDataDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/DataSvc" />
<Generate Template="ReferenceDataProvider_cs.xml" OutDir="{{Company}}.{{AppName}}.Business" />
<Generate Template="ReferenceDataWebApiCoreController_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}\Controllers" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents\ServiceAgents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiAgentProvider_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiCoreController_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}/Controllers" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents/ServiceAgents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiAgentProvider_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents" EntityScope="Common" />
</Script>
34 changes: 17 additions & 17 deletions tools/Beef.CodeGen.Core/Scripts/RefDataCoreCrud.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef -->
<Script LoaderType="Beef.CodeGen.Loaders.EntityConfigLoader, Beef.CodeGen.Core">
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Entities" EntityScope="Common" HelpText="Common\Entities" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Entities" EntityScope="Business" HelpText="Business\Entities" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data\Model" ModelFromEntity="true" IsDataModel="true" HelpText="Business\Data\Model" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Entities" EntityScope="Common" HelpText="Common/Entities" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Entities" EntityScope="Business" HelpText="Business/Entities" />
<Generate Template="Entity_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data/Model" ModelFromEntity="true" IsDataModel="true" HelpText="Business/Data/Model" />

<Generate Template="ReferenceData_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Entities" />
<Generate Template="IReferenceDataData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="ReferenceDataData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="ReferenceDataDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\DataSvc" />
<Generate Template="ReferenceData_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Entities" />
<Generate Template="IReferenceDataData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="ReferenceDataData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="ReferenceDataDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/DataSvc" />
<Generate Template="ReferenceDataProvider_cs.xml" OutDir="{{Company}}.{{AppName}}.Business" />
<Generate Template="ReferenceDataWebApiCoreController_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}\Controllers" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents\ServiceAgents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiAgentProvider_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiCoreController_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}/Controllers" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents/ServiceAgents" EntityScope="Common" />
<Generate Template="ReferenceDataWebApiAgentProvider_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents" EntityScope="Common" />

<Generate Template="IEntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="EntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\Data" />
<Generate Template="EntityDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business\DataSvc" />
<Generate Template="IEntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="EntityData_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/Data" />
<Generate Template="EntityDataSvc_cs.xml" OutDir="{{Company}}.{{AppName}}.Business/DataSvc" />
<Generate Template="IEntityManager_cs.xml" OutDir="{{Company}}.{{AppName}}.Business" />
<Generate Template="EntityManager_cs.xml" OutDir="{{Company}}.{{AppName}}.Business" />

<Generate Template="EntityWebApiCoreController_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}\Controllers" EntityScope="Common" />
<Generate Template="EntityWebApiCoreController_cs.xml" OutDir="{{Company}}.{{AppName}}.{{ApiName}}/Controllers" EntityScope="Common" />

<Generate Template="EntityWebApiAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents" EntityScope="Common" />
<Generate Template="EntityWebApiServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common\Agents\ServiceAgents" EntityScope="Common" />
<Generate Template="EntityWebApiAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents" EntityScope="Common" />
<Generate Template="EntityWebApiServiceAgent_cs.xml" OutDir="{{Company}}.{{AppName}}.Common/Agents/ServiceAgents" EntityScope="Common" />
</Script>
Loading

0 comments on commit 563190c

Please sign in to comment.