Browse Source
Update Mapperly mapper placeholders in templates
pull/23632/head
maliming
5 months ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
8 changed files with
72 additions and
40 deletions
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/ObjectMapping/MyProjectNameMappers.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/ObjectMapping/MyProjectNameMappers.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server.Mongo/ObjectMapping/MyProjectNameMappers.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/ObjectMapping/MyProjectNameMappers.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/ObjectMapping/MyProjectNameMappers.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/ObjectMapping/MyProjectNameMappers.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/ObjectMapping/MyProjectNameMappers.cs
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/ObjectMapping/MyProjectNameMappers.cs
|
|
|
@ -3,8 +3,12 @@ using Volo.Abp.Mapperly; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.ObjectMapping; |
|
|
|
|
|
|
|
[Mapper] |
|
|
|
public partial class MyProjectNameMappers |
|
|
|
{ |
|
|
|
/* Create your Mapperly object mappings here */ |
|
|
|
} |
|
|
|
// This file is a placeholder for Mapperly mappers.
|
|
|
|
// Add your mapper classes here following the pattern:
|
|
|
|
// [Mapper]
|
|
|
|
// public partial class SourceToDestinationMapper : MapperBase<Source, Destination>
|
|
|
|
// {
|
|
|
|
// public override partial Destination Map(Source source);
|
|
|
|
// public override partial void Map(Source source, Destination destination);
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@ -3,8 +3,12 @@ using Volo.Abp.Mapperly; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.ObjectMapping; |
|
|
|
|
|
|
|
[Mapper] |
|
|
|
public partial class MyProjectNameMappers |
|
|
|
{ |
|
|
|
/* Create your Mapperly object mappings here */ |
|
|
|
} |
|
|
|
// This file is a placeholder for Mapperly mappers.
|
|
|
|
// Add your mapper classes here following the pattern:
|
|
|
|
// [Mapper]
|
|
|
|
// public partial class SourceToDestinationMapper : MapperBase<Source, Destination>
|
|
|
|
// {
|
|
|
|
// public override partial Destination Map(Source source);
|
|
|
|
// public override partial void Map(Source source, Destination destination);
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@ -3,8 +3,12 @@ using Volo.Abp.Mapperly; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.ObjectMapping; |
|
|
|
|
|
|
|
[Mapper] |
|
|
|
public partial class MyProjectNameMappers |
|
|
|
{ |
|
|
|
/* Create your Mapperly object mappings here */ |
|
|
|
} |
|
|
|
// This file is a placeholder for Mapperly mappers.
|
|
|
|
// Add your mapper classes here following the pattern:
|
|
|
|
// [Mapper]
|
|
|
|
// public partial class SourceToDestinationMapper : MapperBase<Source, Destination>
|
|
|
|
// {
|
|
|
|
// public override partial Destination Map(Source source);
|
|
|
|
// public override partial void Map(Source source, Destination destination);
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@ -3,8 +3,12 @@ using Volo.Abp.Mapperly; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.ObjectMapping; |
|
|
|
|
|
|
|
[Mapper] |
|
|
|
public partial class MyProjectNameMappers |
|
|
|
{ |
|
|
|
/* Create your Mapperly object mappings here */ |
|
|
|
} |
|
|
|
// This file is a placeholder for Mapperly mappers.
|
|
|
|
// Add your mapper classes here following the pattern:
|
|
|
|
// [Mapper]
|
|
|
|
// public partial class SourceToDestinationMapper : MapperBase<Source, Destination>
|
|
|
|
// {
|
|
|
|
// public override partial Destination Map(Source source);
|
|
|
|
// public override partial void Map(Source source, Destination destination);
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@ -3,8 +3,12 @@ using Volo.Abp.Mapperly; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.ObjectMapping; |
|
|
|
|
|
|
|
[Mapper] |
|
|
|
public partial class MyProjectNameMappers |
|
|
|
{ |
|
|
|
/* Create your Mapperly object mappings here */ |
|
|
|
} |
|
|
|
// This file is a placeholder for Mapperly mappers.
|
|
|
|
// Add your mapper classes here following the pattern:
|
|
|
|
// [Mapper]
|
|
|
|
// public partial class SourceToDestinationMapper : MapperBase<Source, Destination>
|
|
|
|
// {
|
|
|
|
// public override partial Destination Map(Source source);
|
|
|
|
// public override partial void Map(Source source, Destination destination);
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@ -3,8 +3,12 @@ using Volo.Abp.Mapperly; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.ObjectMapping; |
|
|
|
|
|
|
|
[Mapper] |
|
|
|
public partial class MyProjectNameMappers |
|
|
|
{ |
|
|
|
/* Create your Mapperly object mappings here */ |
|
|
|
} |
|
|
|
// This file is a placeholder for Mapperly mappers.
|
|
|
|
// Add your mapper classes here following the pattern:
|
|
|
|
// [Mapper]
|
|
|
|
// public partial class SourceToDestinationMapper : MapperBase<Source, Destination>
|
|
|
|
// {
|
|
|
|
// public override partial Destination Map(Source source);
|
|
|
|
// public override partial void Map(Source source, Destination destination);
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@ -3,8 +3,12 @@ using Volo.Abp.Mapperly; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.ObjectMapping; |
|
|
|
|
|
|
|
[Mapper] |
|
|
|
public partial class MyProjectNameMappers |
|
|
|
{ |
|
|
|
/* Create your Mapperly object mappings here */ |
|
|
|
} |
|
|
|
// This file is a placeholder for Mapperly mappers.
|
|
|
|
// Add your mapper classes here following the pattern:
|
|
|
|
// [Mapper]
|
|
|
|
// public partial class SourceToDestinationMapper : MapperBase<Source, Destination>
|
|
|
|
// {
|
|
|
|
// public override partial Destination Map(Source source);
|
|
|
|
// public override partial void Map(Source source, Destination destination);
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@ -3,8 +3,12 @@ using Volo.Abp.Mapperly; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.ObjectMapping; |
|
|
|
|
|
|
|
[Mapper] |
|
|
|
public partial class MyProjectNameMappers |
|
|
|
{ |
|
|
|
/* Create your Mapperly object mappings here */ |
|
|
|
} |
|
|
|
// This file is a placeholder for Mapperly mappers.
|
|
|
|
// Add your mapper classes here following the pattern:
|
|
|
|
// [Mapper]
|
|
|
|
// public partial class SourceToDestinationMapper : MapperBase<Source, Destination>
|
|
|
|
// {
|
|
|
|
// public override partial Destination Map(Source source);
|
|
|
|
// public override partial void Map(Source source, Destination destination);
|
|
|
|
// }
|
|
|
|
|
|
|
|
|