Brunsker.AutoMapperProcedure
1.0.0
See the version list below for details.
dotnet add package Brunsker.AutoMapperProcedure --version 1.0.0
NuGet\Install-Package Brunsker.AutoMapperProcedure -Version 1.0.0
<PackageReference Include="Brunsker.AutoMapperProcedure" Version="1.0.0" />
paket add Brunsker.AutoMapperProcedure --version 1.0.0
#r "nuget: Brunsker.AutoMapperProcedure, 1.0.0"
// Install Brunsker.AutoMapperProcedure as a Cake Addin #addin nuget:?package=Brunsker.AutoMapperProcedure&version=1.0.0 // Install Brunsker.AutoMapperProcedure as a Cake Tool #tool nuget:?package=Brunsker.AutoMapperProcedure&version=1.0.0
Técnica para automatizar Parametrização de Procedures:
1º Deve-se utilizar o Atributo personalizado para passar o nome do da procedure, para identificar qual parâmetro de procedure pertencerá a qual propriedade:
Ex: [NameParamProcedure("pNOMECLIENTE")] public string Nome { get; set; }
//
2º Todas as classes de repositório devem herda da classe RepositoryBase , e apenas chamar seus métodos:
Ex: public async Task<PedidoToReturn> AddItemExistingOrcamento(PedidoAlterar orcamento) { return await ExecProcedureSingleResultAsync<PedidoToReturn, PedidoAlterar>(orcamento, "PK_BSEC_TELA_PEDIDOS.PROC_INC_ITEM_PEDIDO"); }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Dapper.Oracle (>= 2.0.3)
- Microsoft.VisualStudio.Azure.Containers.Tools.Targets (>= 1.17.0)
- Oracle.ManagedDataAccess.Core (>= 3.21.70)
- Swashbuckle.AspNetCore (>= 6.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.