refactor(Contracts.Repositories): Verschieben Sie es in die Anwendungsschicht, um die Anforderungen einer sauberen Architektur zu erfüllen.
This commit is contained in:
parent
a954a24888
commit
22e4b4f54f
4
scripts/GetProfile.sql
Normal file
4
scripts/GetProfile.sql
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
--PROFILES
|
||||||
|
select * from FNMWF_GET_PROFILES (1) --USER_ID
|
||||||
|
--PROFILE_OBJECTS
|
||||||
|
SELECT * FROM [FNMWF_GET_PROFILE_OBJECTS] (1,1) --USERID, PROFILE_ID
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using DigitalData.Core.Abstractions.Infrastructure;
|
using DigitalData.Core.Abstractions.Infrastructure;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Contracts
|
namespace WorkFlow.Application.Contracts.Repositories
|
||||||
{
|
{
|
||||||
public interface IConfigRepository : ICRUDRepository<Config, int>
|
public interface IConfigRepository : ICRUDRepository<Config, int>
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using DigitalData.Core.Abstractions.Infrastructure;
|
using DigitalData.Core.Abstractions.Infrastructure;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Contracts
|
namespace WorkFlow.Application.Contracts.Repositories
|
||||||
{
|
{
|
||||||
public interface IProfileControlsTFRepository : ICRUDRepository<ProfileControlsTF, int>
|
public interface IProfileControlsTFRepository : ICRUDRepository<ProfileControlsTF, int>
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using DigitalData.Core.Abstractions.Infrastructure;
|
using DigitalData.Core.Abstractions.Infrastructure;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Contracts
|
namespace WorkFlow.Application.Contracts.Repositories
|
||||||
{
|
{
|
||||||
public interface IProfileObjStateRepository : ICRUDRepository<ProfileObjState, int>
|
public interface IProfileObjStateRepository : ICRUDRepository<ProfileObjState, int>
|
||||||
{
|
{
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
namespace WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
|
public interface IProfileRepository
|
||||||
|
{
|
||||||
|
}
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using DigitalData.Core.Abstractions.Infrastructure;
|
using DigitalData.Core.Abstractions.Infrastructure;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Contracts
|
namespace WorkFlow.Application.Contracts.Repositories
|
||||||
{
|
{
|
||||||
public interface IStateRepository : ICRUDRepository<State, int>
|
public interface IStateRepository : ICRUDRepository<State, int>
|
||||||
{
|
{
|
||||||
@ -4,7 +4,7 @@ using DigitalData.Core.Application;
|
|||||||
using WorkFlow.Application.Contracts;
|
using WorkFlow.Application.Contracts;
|
||||||
using WorkFlow.Application.DTO.Config;
|
using WorkFlow.Application.DTO.Config;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
using WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Application.Services;
|
namespace WorkFlow.Application.Services;
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ using DigitalData.Core.DTO;
|
|||||||
using WorkFlow.Application.Contracts;
|
using WorkFlow.Application.Contracts;
|
||||||
using WorkFlow.Application.DTO.ProfileControlsTF;
|
using WorkFlow.Application.DTO.ProfileControlsTF;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
using WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Application.Services
|
namespace WorkFlow.Application.Services
|
||||||
{
|
{
|
||||||
|
|||||||
@ -5,7 +5,7 @@ using DigitalData.Core.DTO;
|
|||||||
using WorkFlow.Application.Contracts;
|
using WorkFlow.Application.Contracts;
|
||||||
using WorkFlow.Application.DTO.ProfileObjState;
|
using WorkFlow.Application.DTO.ProfileObjState;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
using WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Application.Services;
|
namespace WorkFlow.Application.Services;
|
||||||
|
|
||||||
|
|||||||
@ -4,7 +4,7 @@ using DigitalData.Core.Application;
|
|||||||
using WorkFlow.Application.Contracts;
|
using WorkFlow.Application.Contracts;
|
||||||
using WorkFlow.Application.DTO.State;
|
using WorkFlow.Application.DTO.State;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
using WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Application.Services;
|
namespace WorkFlow.Application.Services;
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +0,0 @@
|
|||||||
namespace WorkFlow.Infrastructure.Contracts;
|
|
||||||
|
|
||||||
public interface IProfileRepository
|
|
||||||
{
|
|
||||||
}
|
|
||||||
@ -1,6 +1,5 @@
|
|||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
|
||||||
using WorkFlow.Infrastructure.Repositories;
|
using WorkFlow.Infrastructure.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure
|
namespace WorkFlow.Infrastructure
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
using DigitalData.Core.Abstractions.Infrastructure;
|
using DigitalData.Core.Abstractions.Infrastructure;
|
||||||
using DigitalData.Core.Infrastructure;
|
using DigitalData.Core.Infrastructure;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Repositories
|
namespace WorkFlow.Infrastructure.Repositories
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
using DigitalData.Core.Infrastructure;
|
using DigitalData.Core.Infrastructure;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
using WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Repositories
|
namespace WorkFlow.Infrastructure.Repositories
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
using DigitalData.Core.Infrastructure;
|
using DigitalData.Core.Infrastructure;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
using WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Repositories;
|
namespace WorkFlow.Infrastructure.Repositories;
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
using WorkFlow.Infrastructure.Contracts;
|
using WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Repositories;
|
namespace WorkFlow.Infrastructure.Repositories;
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using DigitalData.Core.Abstractions.Infrastructure;
|
using DigitalData.Core.Abstractions.Infrastructure;
|
||||||
using DigitalData.Core.Infrastructure;
|
using DigitalData.Core.Infrastructure;
|
||||||
using WorkFlow.Domain.Entities;
|
using WorkFlow.Domain.Entities;
|
||||||
using WorkFlow.Infrastructure.Contracts;
|
using WorkFlow.Application.Contracts.Repositories;
|
||||||
|
|
||||||
namespace WorkFlow.Infrastructure.Repositories;
|
namespace WorkFlow.Infrastructure.Repositories;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user