Refactoring namespaces

develop
Tom Pipinic 2 years ago
parent 8aea377d60
commit 7b6068e108

@ -0,0 +1,226 @@
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true
# C# files
[*.cs]
#### Core EditorConfig Options ####
# Indentation and spacing
indent_size = 4
indent_style = tab
tab_width = 4
# New line preferences
end_of_line = crlf
insert_final_newline = false
#### .NET Coding Conventions ####
# Organize usings
dotnet_separate_import_directive_groups = false
dotnet_sort_system_directives_first = true
file_header_template = unset
# this. and Me. preferences
dotnet_style_qualification_for_event = false
dotnet_style_qualification_for_field = false
dotnet_style_qualification_for_method = false
dotnet_style_qualification_for_property = false
# Language keywords vs BCL types preferences
dotnet_style_predefined_type_for_locals_parameters_members = true
dotnet_style_predefined_type_for_member_access = true
# Parentheses preferences
dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity
dotnet_style_parentheses_in_other_binary_operators = always_for_clarity
dotnet_style_parentheses_in_other_operators = never_if_unnecessary
dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity
# Modifier preferences
dotnet_style_require_accessibility_modifiers = for_non_interface_members
# Expression-level preferences
dotnet_style_coalesce_expression = true
dotnet_style_collection_initializer = true
dotnet_style_explicit_tuple_names = true
dotnet_style_namespace_match_folder = true
dotnet_style_null_propagation = true
dotnet_style_object_initializer = true
dotnet_style_operator_placement_when_wrapping = beginning_of_line
dotnet_style_prefer_auto_properties = true
dotnet_style_prefer_compound_assignment = true
dotnet_style_prefer_conditional_expression_over_assignment = true
dotnet_style_prefer_conditional_expression_over_return = true
dotnet_style_prefer_foreach_explicit_cast_in_source = when_strongly_typed
dotnet_style_prefer_inferred_anonymous_type_member_names = true
dotnet_style_prefer_inferred_tuple_names = true
dotnet_style_prefer_is_null_check_over_reference_equality_method = true
dotnet_style_prefer_simplified_boolean_expressions = true
dotnet_style_prefer_simplified_interpolation = true
# Field preferences
dotnet_style_readonly_field = true
# Parameter preferences
dotnet_code_quality_unused_parameters = all
# Suppression preferences
dotnet_remove_unnecessary_suppression_exclusions = none
# New line preferences
dotnet_style_allow_multiple_blank_lines_experimental = false
dotnet_style_allow_statement_immediately_after_block_experimental = false
#### C# Coding Conventions ####
# var preferences
csharp_style_var_elsewhere = true
csharp_style_var_for_built_in_types = true
csharp_style_var_when_type_is_apparent = true
# Expression-bodied members
csharp_style_expression_bodied_accessors = true
csharp_style_expression_bodied_constructors = false
csharp_style_expression_bodied_indexers = true
csharp_style_expression_bodied_lambdas = true
csharp_style_expression_bodied_local_functions = false
csharp_style_expression_bodied_methods = false
csharp_style_expression_bodied_operators = false
csharp_style_expression_bodied_properties = true
# Pattern matching preferences
csharp_style_pattern_matching_over_as_with_null_check = true
csharp_style_pattern_matching_over_is_with_cast_check = true
csharp_style_prefer_extended_property_pattern = true
csharp_style_prefer_not_pattern = true
csharp_style_prefer_pattern_matching = true
csharp_style_prefer_switch_expression = true
# Null-checking preferences
csharp_style_conditional_delegate_call = true
# Modifier preferences
csharp_prefer_static_local_function = true
csharp_preferred_modifier_order = public,private,protected,internal,file,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,required,volatile,async
csharp_style_prefer_readonly_struct = true
# Code-block preferences
csharp_prefer_braces = when_multiline
csharp_prefer_simple_using_statement = true
csharp_style_namespace_declarations = file_scoped
csharp_style_prefer_method_group_conversion = true
csharp_style_prefer_top_level_statements = true
# Expression-level preferences
csharp_prefer_simple_default_expression = true
csharp_style_deconstructed_variable_declaration = true
csharp_style_implicit_object_creation_when_type_is_apparent = true
csharp_style_inlined_variable_declaration = true
csharp_style_prefer_index_operator = true
csharp_style_prefer_local_over_anonymous_function = true
csharp_style_prefer_null_check_over_type_check = true
csharp_style_prefer_range_operator = true
csharp_style_prefer_tuple_swap = true
csharp_style_prefer_utf8_string_literals = true
csharp_style_throw_expression = true
csharp_style_unused_value_assignment_preference = discard_variable
csharp_style_unused_value_expression_statement_preference = discard_variable
# 'using' directive preferences
csharp_using_directive_placement = outside_namespace
# New line preferences
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
csharp_style_allow_embedded_statements_on_same_line_experimental = false
#### C# Formatting Rules ####
# New line preferences
csharp_new_line_before_catch = true
csharp_new_line_before_else = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_open_brace = all
csharp_new_line_between_query_expression_clauses = true
# Indentation preferences
csharp_indent_block_contents = true
csharp_indent_braces = false
csharp_indent_case_contents = true
csharp_indent_case_contents_when_block = true
csharp_indent_labels = one_less_than_current
csharp_indent_switch_labels = true
# Space preferences
csharp_space_after_cast = false
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
csharp_space_after_keywords_in_control_flow_statements = true
csharp_space_after_semicolon_in_for_statement = true
csharp_space_around_binary_operators = before_and_after
csharp_space_around_declaration_statements = false
csharp_space_before_colon_in_inheritance_clause = true
csharp_space_before_comma = false
csharp_space_before_dot = false
csharp_space_before_open_square_brackets = false
csharp_space_before_semicolon_in_for_statement = false
csharp_space_between_empty_square_brackets = false
csharp_space_between_method_call_empty_parameter_list_parentheses = false
csharp_space_between_method_call_name_and_opening_parenthesis = false
csharp_space_between_method_call_parameter_list_parentheses = false
csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
csharp_space_between_method_declaration_name_and_open_parenthesis = false
csharp_space_between_method_declaration_parameter_list_parentheses = false
csharp_space_between_parentheses = false
csharp_space_between_square_brackets = false
# Wrapping preferences
csharp_preserve_single_line_blocks = true
csharp_preserve_single_line_statements = false
#### Naming styles ####
# Naming rules
dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion
dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface
dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i
dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.types_should_be_pascal_case.symbols = types
dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case
dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case
# Symbol specifications
dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =
# Naming styles
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Connected.Logistics.Documents</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Connected.Common\Connected.Common.Model\Connected.Common.Model.csproj" />
<ProjectReference Include="..\..\Connected.Customers\Connected.Contacts.Types.Model\Connected.Contacts.Types.Model.csproj" />
</ItemGroup>
</Project>

@ -1,4 +1,4 @@
namespace Logistics.Documents;
namespace Connected.Logistics.Documents;
public static class DocumentUrls
{
public const string Receives = "/logistics/documents/receives";

@ -1,6 +1,6 @@
using Common.Documents;
using Connected.Common.Documents;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
public interface IReceiveDocument : IDocument<int>
{

@ -1,9 +1,9 @@
using System.Collections.Immutable;
using Common.Documents;
using Connected.Annotations;
using Connected.Common.Documents;
using Connected.ServiceModel;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <summary>
/// Represents service for the <see cref="IReceiveDocument"/> document.
/// </summary>

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
public interface IReceiveItem : IEntityContainer<long>
{

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <summary>
/// Represents connected (many-to-many) entity between <see cref="IReceivePostingDocument"/>
/// and <see cref="IReceiveItem"/>.

@ -1,6 +1,6 @@
using Common.Documents;
using Connected.Common.Documents;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
public interface IReceivePostingDocument : IDocument<int>
{

@ -1,10 +1,10 @@
using System.Collections.Immutable;
using Common.Documents;
using Connected.Annotations;
using Connected.Common.Documents;
using Connected.Notifications;
using Connected.ServiceModel;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <summary>
/// Represents service for the <see cref="IReceivePostingDocument"/> document.

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
public interface IReceivePostingItem : IPrimaryKey<long>
{
int Document { get; init; }

@ -1,9 +1,9 @@
using System.ComponentModel.DataAnnotations;
using Common.Documents;
using Connected.Annotations;
using Connected.Common.Documents;
using Connected.ServiceModel;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <summary>
/// The arguments used when inserting a new <see cref="IReceiveItem"/> item
/// via <see cref="IReceiveDocumentService"/> service.

@ -1,9 +1,9 @@
using System.ComponentModel.DataAnnotations;
using Common.Documents;
using Connected.Annotations;
using Connected.Common.Documents;
using Connected.ServiceModel;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
public sealed class InsertReceivePostingDocumentArgs : InsertDocumentArgs
{
[MinValue(1)]

@ -1,9 +1,8 @@
using Connected;
using Connected.Annotations;
using Connected.Annotations;
[assembly: MicroService(MicroServiceType.Service)]
namespace Logistics.Types;
namespace Connected.Logistics.Documents;
internal sealed class Bootstrapper : Startup
{
}

@ -7,11 +7,11 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Common\Common.Model\Common.Model.csproj" />
<ProjectReference Include="..\..\Common\Common\Common.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Entities\Connected.Entities.csproj" />
<ProjectReference Include="..\Logistics.Documents.Model\Logistics.Documents.Model.csproj" />
<ProjectReference Include="..\Logistics.Types.Model\Logistics.Types.Model.csproj" />
<ProjectReference Include="..\..\Connected.Common\Connected.Common.Model\Connected.Common.Model.csproj" />
<ProjectReference Include="..\..\Connected.Common\Connected.Common\Connected.Common.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Entities\Connected.Entities.csproj" />
<ProjectReference Include="..\Connected.Logistics.Documents.Model\Connected.Logistics.Documents.Model.csproj" />
<ProjectReference Include="..\Connected.Logistics.Types.Model\Connected.Logistics.Types.Model.csproj" />
</ItemGroup>
<ItemGroup>

@ -1,9 +1,9 @@
using Common.Documents;
using Connected.Annotations;
using Connected.Annotations;
using Connected.Common.Documents;
using Connected.Entities.Annotations;
using Logistics.Types;
using Connected.Logistics.Types;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <inheritdoc cref="IReceiveDocument"/>
[Table(Schema = Domain.Code)]

@ -6,7 +6,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
internal sealed class ReceiveDocumentItemOps
{
public sealed class Insert : ServiceFunction<InsertReceiveItemArgs, long>
@ -117,10 +117,10 @@ internal sealed class ReceiveDocumentItemOps
&& string.Equals(f.EntityId, Arguments.EntityId, StringComparison.OrdinalIgnoreCase), async (f) =>
{
return await (from e in Storage.Open<ReceiveItem>()
where e.Document == Arguments.Document
&& string.Equals(e.Entity, Arguments.Entity, StringComparison.OrdinalIgnoreCase)
&& string.Equals(e.EntityId, Arguments.EntityId, StringComparison.OrdinalIgnoreCase)
select e).AsEntity();
where e.Document == Arguments.Document
&& string.Equals(e.Entity, Arguments.Entity, StringComparison.OrdinalIgnoreCase)
&& string.Equals(e.EntityId, Arguments.EntityId, StringComparison.OrdinalIgnoreCase)
select e).AsEntity();
});
}
}

@ -6,7 +6,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
internal sealed class ReceiveDocumentOps
{
public sealed class Delete : ServiceAction<PrimaryKeyArgs<int>>

@ -1,11 +1,11 @@
using System.Collections.Immutable;
using Common.Documents;
using Connected.Common.Documents;
using Connected.Entities;
using Connected.ServiceModel;
using ItemOps = Logistics.Documents.Receive.ReceiveDocumentItemOps;
using Ops = Logistics.Documents.Receive.ReceiveDocumentOps;
using ItemOps = Connected.Logistics.Documents.Receive.ReceiveDocumentItemOps;
using Ops = Connected.Logistics.Documents.Receive.ReceiveDocumentOps;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <inheritdoc cref="IReceiveDocumentService"/>
internal sealed class ReceiveDocumentService : DocumentService<int, long>, IReceiveDocumentService
{

@ -1,10 +1,10 @@
using Common;
using Connected.Annotations;
using Connected.Annotations;
using Connected.Common;
using Connected.Entities;
using Connected.Entities.Annotations;
using Logistics.Types;
using Connected.Logistics.Types;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <inheritdoc cref="IReceiveItem"/>
[Table(Schema = CommonSchemas.DocumentSchema)]

@ -1,9 +1,9 @@
using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
using Logistics.Types;
using Connected.Logistics.Types;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <inheritdoc cref="IReceivePlannedItem"/>
[Table(Schema = Domain.Code)]
internal sealed record ReceivePlannedItem : ConsistentEntity<long>, IReceivePlannedItem

@ -7,7 +7,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
internal sealed class ReceivePlannedItemsOps
{
public sealed class Query : ServiceFunction<PrimaryKeyArgs<int>, ImmutableList<IReceivePlannedItem>>

@ -1,9 +1,9 @@
using Common.Documents;
using Connected.Annotations;
using Connected.Annotations;
using Connected.Common.Documents;
using Connected.Entities.Annotations;
using Logistics.Types;
using Connected.Logistics.Types;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <inheritdoc cref="IReceivePostingDocument"/>
[Table(Schema = Domain.Code)]
internal sealed record ReceivePostingDocument : Document<int>, IReceivePostingDocument

@ -6,7 +6,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
internal sealed class ReceivePostingDocumentOps
{
public sealed class Delete : ServiceAction<PrimaryKeyArgs<int>>

@ -1,13 +1,13 @@
using System.Collections.Immutable;
using Common.Documents;
using Connected.Common.Documents;
using Connected.Entities;
using Connected.Notifications;
using Connected.ServiceModel;
using ItemOps = Logistics.Documents.Receive.ReceivePostingItemOps;
using Ops = Logistics.Documents.Receive.ReceivePostingDocumentOps;
using PlannedOps = Logistics.Documents.Receive.ReceivePlannedItemsOps;
using ItemOps = Connected.Logistics.Documents.Receive.ReceivePostingItemOps;
using Ops = Connected.Logistics.Documents.Receive.ReceivePostingDocumentOps;
using PlannedOps = Connected.Logistics.Documents.Receive.ReceivePlannedItemsOps;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
internal sealed class ReceivePostingDocumentService : DocumentService<int, long>, IReceivePostingDocumentService
{
public event ServiceEventHandler<PrimaryKeyEventArgs<long>> PlannedItemUpdated;

@ -1,9 +1,9 @@
using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
using Logistics.Types;
using Connected.Logistics.Types;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
/// <inheritdoc cref="IReceivePostingItem"/>
[Table(Schema = Domain.Code)]
internal sealed record ReceivePostingItem : ConsistentEntity<long>, IReceivePostingItem

@ -6,7 +6,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
internal sealed class ReceivePostingItemOps
{
public sealed class Insert : ServiceFunction<InsertReceivePostingItemArgs, long>

@ -1,13 +1,13 @@
using Common.Documents;
using System.ComponentModel.DataAnnotations;
using Connected.Annotations;
using Connected.Common.Documents;
using Connected.Contacts.Types;
using Connected.Data;
using Connected.Logistics.Types.Warehouses;
using Connected.Security.Identity;
using Connected.Validation;
using Contacts.Types;
using Logistics.Types.Warehouses;
using System.ComponentModel.DataAnnotations;
namespace Logistics.Documents.Receive;
namespace Connected.Logistics.Documents.Receive;
[Priority(0)]
internal sealed class InsertReceiveDocumentValidator : InsertDocumentValidator<InsertReceiveDocumentArgs>

@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Logistics.Documents {
namespace Connected.Logistics.Documents {
using System;
@ -39,7 +39,7 @@ namespace Logistics.Documents {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Logistics.Documents.SR", typeof(SR).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Connected.Logistics.Documents.SR", typeof(SR).Assembly);
resourceMan = temp;
}
return resourceMan;

@ -1,9 +1,8 @@
using Connected;
using Connected.Annotations;
using Connected.Annotations;
[assembly: MicroService(MicroServiceType.Process)]
namespace Logistics.Documents;
namespace Connected.Logistics.Documents;
internal sealed class Bootstrapper : Startup
{

@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Connected.Logistics.Documents</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Connected.Common\Connected.Common\Connected.Common.csproj" />
<ProjectReference Include="..\..\Connected\Connected\Connected.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Data\Connected.Data.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Entities\Connected.Entities.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Hosting\Connected.Hosting.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Runtime\Connected.Runtime.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Services\Connected.Services.csproj" />
<ProjectReference Include="..\Connected.Logistics.Documents.Model\Connected.Logistics.Documents.Model.csproj" />
<ProjectReference Include="..\Connected.Logistics.Stock.Model\Connected.Logistics.Stock.Model.csproj" />
<ProjectReference Include="..\Connected.Logistics.Types.Model\Connected.Logistics.Types.Model.csproj" />
</ItemGroup>
</Project>

@ -1,11 +1,11 @@
using Connected.Middleware.Annotations;
using Connected.Logistics.Documents.Receive;
using Connected.Middleware.Annotations;
using Connected.Notifications;
using Connected.Notifications.Events;
using Connected.ServiceModel;
using Logistics.Documents.Receive;
using Microsoft.Extensions.Logging;
namespace Logistics.Documents.Listeners;
namespace Connected.Logistics.Documents.Listeners;
[Middleware<IReceivePostingDocumentService>(nameof(IReceivePostingDocumentService.PlannedItemUpdated))]
internal sealed class PlannedItemListener : EventListener<PrimaryKeyEventArgs<long>>
{

@ -1,12 +1,12 @@
using Connected.Middleware.Annotations;
using Connected.Logistics.Documents.Receive;
using Connected.Logistics.Stock;
using Connected.Logistics.Types.Serials;
using Connected.Middleware.Annotations;
using Connected.Notifications;
using Connected.Notifications.Events;
using Logistics.Documents.Receive;
using Logistics.Stock;
using Logistics.Types.Serials;
using Microsoft.Extensions.Logging;
namespace Logistics.Documents.Listeners;
namespace Connected.Logistics.Documents.Listeners;
/// <summary>
/// Represents the event listener to the <see cref="IReceivePostingDocumentService"/> Updated event.
/// </summary>

@ -1,11 +1,11 @@
using Connected.Middleware.Annotations;
using Connected.Logistics.Documents.Receive;
using Connected.Middleware.Annotations;
using Connected.Notifications;
using Connected.Notifications.Events;
using Connected.ServiceModel;
using Logistics.Documents.Receive;
using Microsoft.Extensions.Logging;
namespace Logistics.Documents.Listeners;
namespace Connected.Logistics.Documents.Listeners;
[Middleware<IReceiveDocumentService>(nameof(IReceiveDocumentService.ItemUpdated))]
internal sealed class ReceiveItemListener : EventListener<PrimaryKeyEventArgs<long>>
{

@ -1,10 +1,10 @@
using Connected.Data.DataProtection;
using Connected.Data.EntityProtection;
using Connected.Logistics.Documents.Receive;
using Connected.Middleware;
using Connected.ServiceModel;
using Logistics.Documents.Receive;
namespace Logistics.Documents.Protection;
namespace Connected.Logistics.Documents.Protection;
internal sealed class ReceiveProtector : MiddlewareComponent, IEntityProtector<IReceiveDocument>
{
public ReceiveProtector(IReceiveDocumentService documents)

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Stock.Aggregations;
namespace Connected.Logistics.Stock.Aggregations;
public interface IStockAggregation : IPrimaryKey<long>
{
long Stock { get; init; }

@ -4,7 +4,7 @@
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Logistics.Stock</RootNamespace>
<RootNamespace>Connected.Logistics.Stock</RootNamespace>
</PropertyGroup>
<ItemGroup>

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
/// <summary>
/// The stock descriptor which describes what kind of entity it
/// represents. The entity could be Product, Semi product or any

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
/// <summary>
/// Represents a single stock item.
/// </summary>

@ -3,7 +3,7 @@ using Connected.Annotations;
using Connected.Notifications;
using Connected.ServiceModel;
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
/// <summary>
/// Represents the service which manipulates with stock items.
/// </summary>

@ -1,7 +1,7 @@
using Connected.Annotations;
using Connected.ServiceModel;
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
/// <summary>
/// Represents the arguments when updating the stock items.
/// </summary>

@ -1,4 +1,4 @@
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
public static class StockUrls
{
public const string Stock = "/logistics/stock";

@ -1,9 +1,8 @@
using Connected;
using Connected.Annotations;
using Connected.Annotations;
[assembly: MicroService(MicroServiceType.Service)]
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
internal sealed class Bootstrapper : Startup
{
}

@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Connected\Connected\Connected.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Runtime\Connected.Runtime.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Services\Connected.Services.csproj" />
<ProjectReference Include="..\Connected.Logistics.Stock.Model\Connected.Logistics.Stock.Model.csproj" />
<ProjectReference Include="..\Connected.Logistics.Types.Model\Connected.Logistics.Types.Model.csproj" />
</ItemGroup>
</Project>

@ -1,9 +1,9 @@
using Connected.Collections.Queues;
using Connected.Logistics.Types.WarehouseLocations;
using Connected.Middleware;
using Logistics.Types.WarehouseLocations;
using Microsoft.Extensions.Logging;
namespace Logistics.Stock.Services;
namespace Connected.Logistics.Stock.Services;
internal sealed class StockAggregator : MiddlewareComponent, IQueueClient<PrimaryKeyQueueArgs<long>>
{
public StockAggregator(ILogger<StockAggregator> logger, IWarehouseLocationService locations, IStockService stock)

@ -1,9 +1,9 @@
using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
using Logistics.Types;
using Connected.Logistics.Types;
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
[Table(Schema = Domain.Code)]
internal sealed record Stock : ConsistentEntity<long>, IStock
{

@ -1,9 +1,9 @@
using Connected.Annotations;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
using Logistics.Types;
using Connected.Logistics.Types;
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
/// <inheritdoc cref="IStockItem"/>
[Table(Schema = Domain.Code)]
internal sealed record StockItem : ConsistentEntity<long>, IStockItem

@ -2,15 +2,15 @@
using Connected.Collections.Queues;
using Connected.Entities;
using Connected.Entities.Storage;
using Connected.Logistics.Stock.Services;
using Connected.Logistics.Types.Serials;
using Connected.Logistics.Types.WarehouseLocations;
using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
using Connected.Threading;
using Logistics.Stock.Services;
using Logistics.Types.Serials;
using Logistics.Types.WarehouseLocations;
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
internal sealed class StockOps
{
public const string StockQueue = "Stock";

@ -2,7 +2,7 @@
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Stock;
namespace Connected.Logistics.Stock;
internal sealed class StockService : EntityService<long>, IStockService
{
public StockService(IContext context) : base(context)

@ -4,7 +4,7 @@
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Logistics.Types</RootNamespace>
<RootNamespace>Connected.Logistics.Types</RootNamespace>
</PropertyGroup>
<ItemGroup>

@ -1,4 +1,4 @@
namespace Logistics.Types;
namespace Connected.Logistics.Types;
public static class Domain
{
public const string Name = "Logistics";

@ -1,4 +1,4 @@
namespace Logistics.Types;
namespace Connected.Logistics.Types;
public static class LogisticsUrls
{
public const string Warehouses = "/logistics/types/warehouses";

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Types.Packaging;
namespace Connected.Logistics.Types.Packaging;
public interface IPacking : IPrimaryKey<int>
{
string Ean { get; init; }

@ -3,7 +3,7 @@ using Connected.Annotations;
using Connected.Notifications;
using Connected.ServiceModel;
namespace Logistics.Types.Packaging;
namespace Connected.Logistics.Types.Packaging;
[Service]
[ServiceUrl(LogisticsUrls.Packing)]

@ -2,7 +2,7 @@
using Connected.Data;
using Connected.ServiceModel;
namespace Logistics.Types.Packaging;
namespace Connected.Logistics.Types.Packaging;
public sealed class InsertPackingArgs : EntityArgs
{
[Required, MaxLength(32)]

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Types.Serials;
namespace Connected.Logistics.Types.Serials;
/// <summary>
/// Represents a serial number in the logistic environment.
/// </summary>

@ -3,7 +3,7 @@ using Connected.Annotations;
using Connected.Notifications;
using Connected.ServiceModel;
namespace Logistics.Types.Serials;
namespace Connected.Logistics.Types.Serials;
/// <summary>
/// The service for manipulating with serials. A <see cref="ISerial"/> is a fundamental
/// entity used by labeling and traceability systems.

@ -3,7 +3,7 @@ using Connected.Annotations;
using Connected.Data;
using Connected.ServiceModel;
namespace Logistics.Types.Serials;
namespace Connected.Logistics.Types.Serials;
/// <summary>
/// Arguments used when inserting a new serial number.
/// </summary>

@ -1,7 +1,6 @@
using Connected.Data;
using Logistics.Types.Warehouses;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
/// <summary>
/// Represents a physical or logical location inside a <see cref="IWarehouse"/>.
/// </summary>

@ -2,9 +2,8 @@
using Connected.Annotations;
using Connected.Notifications;
using Connected.ServiceModel;
using Logistics.Types.Warehouses;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
[Service]
[ServiceUrl(LogisticsUrls.WarehouseLocations)]
public interface IWarehouseLocationService : IServiceNotifications<int>

@ -3,7 +3,7 @@ using Connected.Annotations;
using Connected.Data;
using Connected.ServiceModel;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
public sealed class InsertWarehouseLocationArgs : Dto
{
public int? Parent { get; set; }

@ -1,6 +1,6 @@
using Connected.Data;
namespace Logistics.Types.Warehouses;
namespace Connected.Logistics.Types.Warehouses;
public interface IWarehouse : IPrimaryKey<int>
{

@ -3,7 +3,7 @@ using Connected.Annotations;
using Connected.Notifications;
using Connected.ServiceModel;
namespace Logistics.Types.Warehouses;
namespace Connected.Logistics.Types.Warehouses;
[Service]
[ServiceUrl(LogisticsUrls.Warehouses)]

@ -1,8 +1,8 @@
using Connected.Data;
using System.ComponentModel.DataAnnotations;
using Connected.Data;
using Connected.ServiceModel;
using System.ComponentModel.DataAnnotations;
namespace Logistics.Types.Warehouses;
namespace Connected.Logistics.Types.Warehouses;
public class InsertWarehouseArgs : Dto
{
[Required, MaxLength(128)]

@ -1,9 +1,8 @@
using Connected;
using Connected.Annotations;
using Connected.Annotations;
[assembly: MicroService(MicroServiceType.Service)]
namespace Logistics.Documents;
namespace Connected.Logistics.Types;
internal sealed class Bootstrapper : Startup
{
}

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Connected.Framework\Connected.Entities\Connected.Entities.csproj" />
<ProjectReference Include="..\..\Connected.Framework\Connected.Services\Connected.Services.csproj" />
<ProjectReference Include="..\Connected.Logistics.Types.Model\Connected.Logistics.Types.Model.csproj" />
</ItemGroup>
</Project>

@ -3,7 +3,7 @@ using Connected.Data;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
namespace Logistics.Types.Packaging;
namespace Connected.Logistics.Types.Packaging;
[Table(Schema = Domain.Code)]
internal sealed record Packing : ConsistentEntity<int>, IPacking

@ -6,7 +6,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Types.Packaging;
namespace Connected.Logistics.Types.Packaging;
internal sealed class PackingOps
{
public sealed class Delete : ServiceAction<PrimaryKeyArgs<int>>
@ -75,7 +75,7 @@ internal sealed class PackingOps
protected override async Task<ImmutableList<IPacking>?> OnInvoke()
{
return await (from e in Storage.Open<Packing>()
select e).WithArguments(Arguments).AsEntities<IPacking>();
select e).WithArguments(Arguments).AsEntities<IPacking>();
}
}
@ -91,8 +91,8 @@ internal sealed class PackingOps
protected override async Task<ImmutableList<IPacking>> OnInvoke()
{
return await (from e in Storage.Open<Packing>()
where Arguments.IdList.Any(f => f == e.Id)
select e).AsEntities<IPacking>();
where Arguments.IdList.Any(f => f == e.Id)
select e).AsEntities<IPacking>();
}
}
@ -112,8 +112,8 @@ internal sealed class PackingOps
return await Cache.Get<IPacking>(Packing.EntityKey, Arguments.Id, async (f) =>
{
return await (from e in Storage.Open<Packing>()
where e.Id == Arguments.Id
select e).AsEntity();
where e.Id == Arguments.Id
select e).AsEntity();
});
}
}
@ -134,8 +134,8 @@ internal sealed class PackingOps
return await Cache.Get<IPacking>(Packing.EntityKey, f => string.Equals(f.Ean, Arguments.Ean, StringComparison.OrdinalIgnoreCase), async (f) =>
{
return await (from e in Storage.Open<Packing>()
where string.Equals(e.Ean, Arguments.Ean, StringComparison.OrdinalIgnoreCase)
select e).AsEntity();
where string.Equals(e.Ean, Arguments.Ean, StringComparison.OrdinalIgnoreCase)
select e).AsEntity();
});
}
}

@ -2,9 +2,9 @@
using Connected.Entities;
using Connected.ServiceModel;
using Connected.Services;
using Ops = Logistics.Types.Packaging.PackingOps;
using Ops = Connected.Logistics.Types.Packaging.PackingOps;
namespace Logistics.Types.Packaging;
namespace Connected.Logistics.Types.Packaging;
internal sealed class PackingService : EntityService<int>, IPackingService
{
public PackingService(IContext context) : base(context)

@ -1,7 +1,7 @@
using Connected.Middleware;
using Connected.Validation;
namespace Logistics.Types.Packaging;
namespace Connected.Logistics.Types.Packaging;
internal sealed class InsertPackingValidator : MiddlewareComponent, IValidator<InsertPackingArgs>
{
public InsertPackingValidator(IPackingService packingService)

@ -4,7 +4,7 @@ using Connected.Data;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
namespace Logistics.Types.Serials;
namespace Connected.Logistics.Types.Serials;
/// <inheritdoc cref="ISerial"/>
[Table(Schema = Domain.Code)]
internal sealed record Serial : ConsistentEntity<long>, ISerial

@ -6,7 +6,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Types.Serials;
namespace Connected.Logistics.Types.Serials;
internal sealed class SerialOps
{
/// <inheritdoc cref="ISerialService.Delete(PrimaryKeyArgs{long})"/>
@ -95,7 +95,7 @@ internal sealed class SerialOps
* For non cached entities query always hits the storage.
*/
return await (from e in Storage.Open<Serial>()
select e).WithArguments(Arguments).AsEntities<ISerial>();
select e).WithArguments(Arguments).AsEntities<ISerial>();
}
}
/// <inheritdoc cref="ISerialService.Query(PrimaryKeyListArgs{long})"/>
@ -111,8 +111,8 @@ internal sealed class SerialOps
protected override async Task<ImmutableList<ISerial>> OnInvoke()
{
return await (from e in Storage.Open<Serial>()
where Arguments.IdList.Any(f => f == e.Id)
select e).AsEntities<ISerial>();
where Arguments.IdList.Any(f => f == e.Id)
select e).AsEntities<ISerial>();
}
}
/// <inheritdoc cref="ISerialService.Select(PrimaryKeyArgs{long})"/>
@ -141,8 +141,8 @@ internal sealed class SerialOps
* Doesn't exist in the cache. Let's do the storage action.
*/
return await (from e in Storage.Open<Serial>()
where e.Id == Arguments.Id
select e).AsEntity();
where e.Id == Arguments.Id
select e).AsEntity();
});
}
}
@ -163,8 +163,8 @@ internal sealed class SerialOps
return await Cache.Get<ISerial>(Serial.EntityKey, f => string.Equals(f.Value, Arguments.Value, StringComparison.OrdinalIgnoreCase), async (f) =>
{
return await (from e in Storage.Open<Serial>()
where string.Equals(e.Value, Arguments.Value, StringComparison.OrdinalIgnoreCase)
select e).AsEntity();
where string.Equals(e.Value, Arguments.Value, StringComparison.OrdinalIgnoreCase)
select e).AsEntity();
});
}
}

@ -2,9 +2,9 @@
using Connected.Entities;
using Connected.ServiceModel;
using Connected.Services;
using Ops = Logistics.Types.Serials.SerialOps;
using Ops = Connected.Logistics.Types.Serials.SerialOps;
namespace Logistics.Types.Serials;
namespace Connected.Logistics.Types.Serials;
/// <inheritdoc cref="ISerialService"/>
internal sealed class SerialService : EntityService<long>, ISerialService
{

@ -1,7 +1,7 @@
using Connected.Middleware;
using Connected.Validation;
namespace Logistics.Types.Serials;
namespace Connected.Logistics.Types.Serials;
internal sealed class InsertSerialValidator : MiddlewareComponent, IValidator<InsertSerialArgs>
{
public InsertSerialValidator(ISerialService serials)

@ -4,7 +4,7 @@ using Connected.Data;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
/// <inheritdoc cref="IWarehouseLocation"/>
internal sealed record WarehouseLocation : ConsistentEntity<int>, IWarehouseLocation
{

@ -1,7 +1,7 @@
using Connected.Entities.Caching;
using Logistics.Types.Warehouses;
using Connected.Logistics.Types.Warehouses;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
internal interface IWarehouseLocationCache : IEntityCacheClient<WarehouseLocation, int> { }
/// <summary>
/// Cache for the <see cref="WarehouseLocation"/> entity.

@ -6,7 +6,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
internal sealed class WarehouseLocationOps
{
public sealed class Delete : ServiceAction<PrimaryKeyArgs<int>>
@ -75,7 +75,7 @@ internal sealed class WarehouseLocationOps
protected override async Task<ImmutableList<IWarehouseLocation>> OnInvoke()
{
return await (from e in Locations
select e).WithArguments(Arguments).AsEntities<IWarehouseLocation>();
select e).WithArguments(Arguments).AsEntities<IWarehouseLocation>();
}
}
@ -91,8 +91,8 @@ internal sealed class WarehouseLocationOps
protected override async Task<ImmutableList<IWarehouseLocation>> OnInvoke()
{
return await (from e in Locations
where e.Warehouse == Arguments.Warehouse
select e).WithArguments(Arguments).AsEntities<IWarehouseLocation>();
where e.Warehouse == Arguments.Warehouse
select e).WithArguments(Arguments).AsEntities<IWarehouseLocation>();
}
}
@ -108,9 +108,9 @@ internal sealed class WarehouseLocationOps
protected override async Task<ImmutableList<IWarehouseLocation>> OnInvoke()
{
return await (from e in Locations
where e.Warehouse == Arguments.Warehouse
&& (Arguments.Parent is null || e.Parent == Arguments.Parent)
select e).WithArguments(Arguments).AsEntities<IWarehouseLocation>();
where e.Warehouse == Arguments.Warehouse
&& (Arguments.Parent is null || e.Parent == Arguments.Parent)
select e).WithArguments(Arguments).AsEntities<IWarehouseLocation>();
}
}
@ -126,8 +126,8 @@ internal sealed class WarehouseLocationOps
protected override async Task<ImmutableList<IWarehouseLocation>> OnInvoke()
{
return await (from e in Locations
where Arguments.IdList.Any(f => f == e.Id)
select e).AsEntities<IWarehouseLocation>();
where Arguments.IdList.Any(f => f == e.Id)
select e).AsEntities<IWarehouseLocation>();
}
}
@ -143,8 +143,8 @@ internal sealed class WarehouseLocationOps
protected override async Task<IWarehouseLocation?> OnInvoke()
{
return await (from e in Locations
where e.Id == Arguments.Id
select e).AsEntity();
where e.Id == Arguments.Id
select e).AsEntity();
}
}
@ -160,8 +160,8 @@ internal sealed class WarehouseLocationOps
protected override async Task<IWarehouseLocation?> OnInvoke()
{
return await (from e in Locations
where string.Equals(e.Code, Arguments.Code, StringComparison.OrdinalIgnoreCase)
select e).AsEntity();
where string.Equals(e.Code, Arguments.Code, StringComparison.OrdinalIgnoreCase)
select e).AsEntity();
}
}

@ -4,7 +4,7 @@ using Connected.Entities;
using Connected.Middleware;
using Connected.Validation;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
internal class WarehouseLocationProtection : MiddlewareComponent, IEntityProtector<IWarehouseLocation>
{
public WarehouseLocationProtection(IWarehouseLocationCache cache)

@ -2,9 +2,9 @@
using Connected.Entities;
using Connected.ServiceModel;
using Connected.Services;
using Ops = Logistics.Types.WarehouseLocations.WarehouseLocationOps;
using Ops = Connected.Logistics.Types.WarehouseLocations.WarehouseLocationOps;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
internal sealed class WarehouseLocationService : EntityService<int>, IWarehouseLocationService
{
public WarehouseLocationService(IContext context) : base(context)

@ -1,9 +1,9 @@
using Connected.Entities;
using Connected.Logistics.Types.Warehouses;
using Connected.Middleware;
using Connected.Validation;
using Logistics.Types.Warehouses;
namespace Logistics.Types.WarehouseLocations;
namespace Connected.Logistics.Types.WarehouseLocations;
internal sealed class InsertWarehouseLocationValidation : MiddlewareComponent, IValidator<InsertWarehouseLocationArgs>
{
public InsertWarehouseLocationValidation(IWarehouseLocationCache cache, IWarehouseService warehouses)

@ -3,7 +3,7 @@ using Connected.Data;
using Connected.Entities.Annotations;
using Connected.Entities.Consistency;
namespace Logistics.Types.Warehouses;
namespace Connected.Logistics.Types.Warehouses;
/// <inheritdoc cref="IWarehouse"/>
[Table(Schema = Domain.Code)]
internal sealed record Warehouse : ConsistentEntity<int>, IWarehouse

@ -1,6 +1,6 @@
using Connected.Entities.Caching;
namespace Logistics.Types.Warehouses;
namespace Connected.Logistics.Types.Warehouses;
internal interface IWarehouseCache : IEntityCacheClient<Warehouse, int> { }
/// <summary>

@ -6,7 +6,7 @@ using Connected.Notifications.Events;
using Connected.ServiceModel;
using Connected.Services;
namespace Logistics.Types.Warehouses;
namespace Connected.Logistics.Types.Warehouses;
internal sealed class WarehouseOps
{
public sealed class Delete : ServiceAction<PrimaryKeyArgs<int>>

@ -2,9 +2,9 @@
using Connected.Entities;
using Connected.ServiceModel;
using Connected.Services;
using Ops = Logistics.Types.Warehouses.WarehouseOps;
using Ops = Connected.Logistics.Types.Warehouses.WarehouseOps;
namespace Logistics.Types.Warehouses;
namespace Connected.Logistics.Types.Warehouses;
/// <inheritdoc cref="IWarehouseService"/>
internal sealed class WarehouseService : EntityService<int>, IWarehouseService
{

@ -2,7 +2,7 @@
using Connected.Middleware;
using Connected.Validation;
namespace Logistics.Types.Warehouses;
namespace Connected.Logistics.Types.Warehouses;
internal sealed class InsertWarehouseValidator : MiddlewareComponent, IValidator<InsertWarehouseArgs>
{
public InsertWarehouseValidator(IWarehouseCache cache)

@ -3,45 +3,45 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.4.32916.344
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Logistics.Types.Model", "Logistics.Types.Model\Logistics.Types.Model.csproj", "{A673CACA-8A88-4AE1-B6C4-E31CED477981}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Logistics.Types.Model", "Connected.Logistics.Types.Model\Connected.Logistics.Types.Model.csproj", "{A673CACA-8A88-4AE1-B6C4-E31CED477981}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Logistics.Documents.Model", "Logistics.Documents.Model\Logistics.Documents.Model.csproj", "{BCB56C1C-253F-4BB8-88A2-06653ED3E232}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Logistics.Documents.Model", "Connected.Logistics.Documents.Model\Connected.Logistics.Documents.Model.csproj", "{BCB56C1C-253F-4BB8-88A2-06653ED3E232}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Dependencies", "Dependencies", "{04C7CB0E-A6E1-4CCC-AF76-B199137278B7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Logistics.Processes.Receive", "Logistics.Processes.Receive\Logistics.Processes.Receive.csproj", "{9EB45FF3-4910-4FEA-9553-97410C350AB9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Logistics.Processes.Receive", "Connected.Logistics.Processes.Receive\Connected.Logistics.Processes.Receive.csproj", "{9EB45FF3-4910-4FEA-9553-97410C350AB9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common", "..\Common\Common\Common.csproj", "{A4BF05CA-F790-4296-8647-18CEB1801637}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Common", "..\Connected.Common\Connected.Common\Connected.Common.csproj", "{A4BF05CA-F790-4296-8647-18CEB1801637}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.Model", "..\Common\Common.Model\Common.Model.csproj", "{652D8B33-1485-43DD-9BDA-EE8103C2E0C8}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Common.Model", "..\Connected.Common\Connected.Common.Model\Connected.Common.Model.csproj", "{652D8B33-1485-43DD-9BDA-EE8103C2E0C8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected", "..\Connected\Connected\Connected.csproj", "{6D40EEF9-9DB8-4755-B307-485523B1E3EF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Logistics.Documents", "Logistics.Documents\Logistics.Documents.csproj", "{D808FC0D-355C-41D9-8560-DF99A963CA6A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Logistics.Documents", "Connected.Logistics.Documents\Connected.Logistics.Documents.csproj", "{D808FC0D-355C-41D9-8560-DF99A963CA6A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Hosting", "..\Framework\Connected.Hosting\Connected.Hosting.csproj", "{1F47C7C9-45F7-469B-9B96-442DE2B3B0C5}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Contacts.Types.Model", "..\Connected.Customers\Connected.Contacts.Types.Model\Connected.Contacts.Types.Model.csproj", "{67EF282C-7CDE-4D85-A628-001306629762}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Runtime", "..\Framework\Connected.Runtime\Connected.Runtime.csproj", "{AB5E17FA-335D-4495-B7C7-4E4F1D6E2AE4}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.ServiceModel", "..\Connected.Framework.ServiceModel\Connected.ServiceModel\Connected.ServiceModel.csproj", "{6332E9A7-9EE8-4979-94AF-D297E4BBEA26}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Data", "..\Framework\Connected.Data\Connected.Data.csproj", "{BF03B6D3-849F-4095-9AB1-3D493075A8AC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Logistics.Stock.Model", "Connected.Logistics.Stock.Model\Connected.Logistics.Stock.Model.csproj", "{415704FB-3DCA-41F9-A2D1-0FB72D346532}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Services", "..\Framework\Connected.Services\Connected.Services.csproj", "{F0E8C988-991B-4E2C-B1E1-0917685B7F70}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Logistics.Stock", "Connected.Logistics.Stock\Connected.Logistics.Stock.csproj", "{8C4B2009-1DF6-4358-ABED-64E1F6076CCD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Middleware", "..\Framework\Connected.Middleware\Connected.Middleware.csproj", "{B8008838-C74C-4CD9-9248-B04005037EC9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Logistics.Types", "Connected.Logistics.Types\Connected.Logistics.Types.csproj", "{A7B4FE4C-9D04-41FC-B036-78FAB6B15899}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Validation", "..\Framework\Connected.Validation\Connected.Validation.csproj", "{7BECE4B3-14A8-4CC1-BD96-E830EB453941}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Data", "..\connected.framework\Connected.Data\Connected.Data.csproj", "{39BE3D38-7D70-4EAF-B249-26E973CB3C58}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contacts.Types.Model", "..\Customers\Contacts.Types.Model\Contacts.Types.Model.csproj", "{67EF282C-7CDE-4D85-A628-001306629762}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Entities", "..\connected.framework\Connected.Entities\Connected.Entities.csproj", "{3CAD2F7F-2C32-44E0-A632-907D020FD511}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.ServiceModel", "..\Framework.ServiceModel\Connected.ServiceModel\Connected.ServiceModel.csproj", "{6332E9A7-9EE8-4979-94AF-D297E4BBEA26}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Hosting", "..\connected.framework\Connected.Hosting\Connected.Hosting.csproj", "{ACEE4A52-F398-4149-92F2-0AF80E9B0923}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Logistics.Stock.Model", "Logistics.Stock.Model\Logistics.Stock.Model.csproj", "{415704FB-3DCA-41F9-A2D1-0FB72D346532}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Middleware", "..\connected.framework\Connected.Middleware\Connected.Middleware.csproj", "{349FCD5A-9E47-49BA-8DC2-59E76E99141B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Entities", "..\Framework\Connected.Entities\Connected.Entities.csproj", "{0EA01172-88E4-4B29-B553-B71F4EAEF844}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Runtime", "..\connected.framework\Connected.Runtime\Connected.Runtime.csproj", "{43AA67F4-177C-43C9-B34F-A9B780A0278B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logistics.Stock", "Logistics.Stock\Logistics.Stock.csproj", "{8C4B2009-1DF6-4358-ABED-64E1F6076CCD}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Services", "..\connected.framework\Connected.Services\Connected.Services.csproj", "{69A42F1E-A8FF-4F9A-8036-E53DA8BB7F0C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logistics.Types", "Logistics.Types\Logistics.Types.csproj", "{A7B4FE4C-9D04-41FC-B036-78FAB6B15899}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Connected.Validation", "..\connected.framework\Connected.Validation\Connected.Validation.csproj", "{1A4834EB-3E24-43F8-8205-E2F2A68D0B54}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -77,30 +77,6 @@ Global
{D808FC0D-355C-41D9-8560-DF99A963CA6A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D808FC0D-355C-41D9-8560-DF99A963CA6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D808FC0D-355C-41D9-8560-DF99A963CA6A}.Release|Any CPU.Build.0 = Release|Any CPU
{1F47C7C9-45F7-469B-9B96-442DE2B3B0C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1F47C7C9-45F7-469B-9B96-442DE2B3B0C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1F47C7C9-45F7-469B-9B96-442DE2B3B0C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1F47C7C9-45F7-469B-9B96-442DE2B3B0C5}.Release|Any CPU.Build.0 = Release|Any CPU
{AB5E17FA-335D-4495-B7C7-4E4F1D6E2AE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AB5E17FA-335D-4495-B7C7-4E4F1D6E2AE4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AB5E17FA-335D-4495-B7C7-4E4F1D6E2AE4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AB5E17FA-335D-4495-B7C7-4E4F1D6E2AE4}.Release|Any CPU.Build.0 = Release|Any CPU
{BF03B6D3-849F-4095-9AB1-3D493075A8AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BF03B6D3-849F-4095-9AB1-3D493075A8AC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BF03B6D3-849F-4095-9AB1-3D493075A8AC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BF03B6D3-849F-4095-9AB1-3D493075A8AC}.Release|Any CPU.Build.0 = Release|Any CPU
{F0E8C988-991B-4E2C-B1E1-0917685B7F70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F0E8C988-991B-4E2C-B1E1-0917685B7F70}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F0E8C988-991B-4E2C-B1E1-0917685B7F70}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F0E8C988-991B-4E2C-B1E1-0917685B7F70}.Release|Any CPU.Build.0 = Release|Any CPU
{B8008838-C74C-4CD9-9248-B04005037EC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8008838-C74C-4CD9-9248-B04005037EC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8008838-C74C-4CD9-9248-B04005037EC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8008838-C74C-4CD9-9248-B04005037EC9}.Release|Any CPU.Build.0 = Release|Any CPU
{7BECE4B3-14A8-4CC1-BD96-E830EB453941}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7BECE4B3-14A8-4CC1-BD96-E830EB453941}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7BECE4B3-14A8-4CC1-BD96-E830EB453941}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7BECE4B3-14A8-4CC1-BD96-E830EB453941}.Release|Any CPU.Build.0 = Release|Any CPU
{67EF282C-7CDE-4D85-A628-001306629762}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{67EF282C-7CDE-4D85-A628-001306629762}.Debug|Any CPU.Build.0 = Debug|Any CPU
{67EF282C-7CDE-4D85-A628-001306629762}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -113,10 +89,6 @@ Global
{415704FB-3DCA-41F9-A2D1-0FB72D346532}.Debug|Any CPU.Build.0 = Debug|Any CPU
{415704FB-3DCA-41F9-A2D1-0FB72D346532}.Release|Any CPU.ActiveCfg = Release|Any CPU
{415704FB-3DCA-41F9-A2D1-0FB72D346532}.Release|Any CPU.Build.0 = Release|Any CPU
{0EA01172-88E4-4B29-B553-B71F4EAEF844}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0EA01172-88E4-4B29-B553-B71F4EAEF844}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0EA01172-88E4-4B29-B553-B71F4EAEF844}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0EA01172-88E4-4B29-B553-B71F4EAEF844}.Release|Any CPU.Build.0 = Release|Any CPU
{8C4B2009-1DF6-4358-ABED-64E1F6076CCD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C4B2009-1DF6-4358-ABED-64E1F6076CCD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C4B2009-1DF6-4358-ABED-64E1F6076CCD}.Release|Any CPU.ActiveCfg = Release|Any CPU
@ -125,6 +97,34 @@ Global
{A7B4FE4C-9D04-41FC-B036-78FAB6B15899}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A7B4FE4C-9D04-41FC-B036-78FAB6B15899}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A7B4FE4C-9D04-41FC-B036-78FAB6B15899}.Release|Any CPU.Build.0 = Release|Any CPU
{39BE3D38-7D70-4EAF-B249-26E973CB3C58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{39BE3D38-7D70-4EAF-B249-26E973CB3C58}.Debug|Any CPU.Build.0 = Debug|Any CPU
{39BE3D38-7D70-4EAF-B249-26E973CB3C58}.Release|Any CPU.ActiveCfg = Release|Any CPU
{39BE3D38-7D70-4EAF-B249-26E973CB3C58}.Release|Any CPU.Build.0 = Release|Any CPU
{3CAD2F7F-2C32-44E0-A632-907D020FD511}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3CAD2F7F-2C32-44E0-A632-907D020FD511}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3CAD2F7F-2C32-44E0-A632-907D020FD511}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3CAD2F7F-2C32-44E0-A632-907D020FD511}.Release|Any CPU.Build.0 = Release|Any CPU
{ACEE4A52-F398-4149-92F2-0AF80E9B0923}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ACEE4A52-F398-4149-92F2-0AF80E9B0923}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ACEE4A52-F398-4149-92F2-0AF80E9B0923}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ACEE4A52-F398-4149-92F2-0AF80E9B0923}.Release|Any CPU.Build.0 = Release|Any CPU
{349FCD5A-9E47-49BA-8DC2-59E76E99141B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{349FCD5A-9E47-49BA-8DC2-59E76E99141B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{349FCD5A-9E47-49BA-8DC2-59E76E99141B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{349FCD5A-9E47-49BA-8DC2-59E76E99141B}.Release|Any CPU.Build.0 = Release|Any CPU
{43AA67F4-177C-43C9-B34F-A9B780A0278B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{43AA67F4-177C-43C9-B34F-A9B780A0278B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{43AA67F4-177C-43C9-B34F-A9B780A0278B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{43AA67F4-177C-43C9-B34F-A9B780A0278B}.Release|Any CPU.Build.0 = Release|Any CPU
{69A42F1E-A8FF-4F9A-8036-E53DA8BB7F0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{69A42F1E-A8FF-4F9A-8036-E53DA8BB7F0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{69A42F1E-A8FF-4F9A-8036-E53DA8BB7F0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{69A42F1E-A8FF-4F9A-8036-E53DA8BB7F0C}.Release|Any CPU.Build.0 = Release|Any CPU
{1A4834EB-3E24-43F8-8205-E2F2A68D0B54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1A4834EB-3E24-43F8-8205-E2F2A68D0B54}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1A4834EB-3E24-43F8-8205-E2F2A68D0B54}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1A4834EB-3E24-43F8-8205-E2F2A68D0B54}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -133,15 +133,15 @@ Global
{A4BF05CA-F790-4296-8647-18CEB1801637} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{652D8B33-1485-43DD-9BDA-EE8103C2E0C8} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{6D40EEF9-9DB8-4755-B307-485523B1E3EF} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{1F47C7C9-45F7-469B-9B96-442DE2B3B0C5} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{AB5E17FA-335D-4495-B7C7-4E4F1D6E2AE4} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{BF03B6D3-849F-4095-9AB1-3D493075A8AC} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{F0E8C988-991B-4E2C-B1E1-0917685B7F70} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{B8008838-C74C-4CD9-9248-B04005037EC9} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{7BECE4B3-14A8-4CC1-BD96-E830EB453941} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{67EF282C-7CDE-4D85-A628-001306629762} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{6332E9A7-9EE8-4979-94AF-D297E4BBEA26} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{0EA01172-88E4-4B29-B553-B71F4EAEF844} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{39BE3D38-7D70-4EAF-B249-26E973CB3C58} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{3CAD2F7F-2C32-44E0-A632-907D020FD511} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{ACEE4A52-F398-4149-92F2-0AF80E9B0923} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{349FCD5A-9E47-49BA-8DC2-59E76E99141B} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{43AA67F4-177C-43C9-B34F-A9B780A0278B} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{69A42F1E-A8FF-4F9A-8036-E53DA8BB7F0C} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
{1A4834EB-3E24-43F8-8205-E2F2A68D0B54} = {04C7CB0E-A6E1-4CCC-AF76-B199137278B7}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FC558A1B-D7D9-4869-9589-1877A5E64720}

@ -1,13 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Common\Common.Model\Common.Model.csproj" />
</ItemGroup>
</Project>

@ -1,15 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Logistics.Documents</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Common\Common.Model\Common.Model.csproj" />
<ProjectReference Include="..\..\Customers\Contacts.Types.Model\Contacts.Types.Model.csproj" />
</ItemGroup>
</Project>

@ -1,23 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Logistics.Documents</RootNamespace>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Common\Common\Common.csproj" />
<ProjectReference Include="..\..\Connected\Connected\Connected.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Data\Connected.Data.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Entities\Connected.Entities.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Hosting\Connected.Hosting.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Runtime\Connected.Runtime.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Services\Connected.Services.csproj" />
<ProjectReference Include="..\Logistics.Documents.Model\Logistics.Documents.Model.csproj" />
<ProjectReference Include="..\Logistics.Stock.Model\Logistics.Stock.Model.csproj" />
<ProjectReference Include="..\Logistics.Types.Model\Logistics.Types.Model.csproj" />
</ItemGroup>
</Project>

@ -1,17 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Connected\Connected\Connected.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Runtime\Connected.Runtime.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Services\Connected.Services.csproj" />
<ProjectReference Include="..\Logistics.Stock.Model\Logistics.Stock.Model.csproj" />
<ProjectReference Include="..\Logistics.Types.Model\Logistics.Types.Model.csproj" />
</ItemGroup>
</Project>

@ -1,15 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Framework\Connected.Entities\Connected.Entities.csproj" />
<ProjectReference Include="..\..\Framework\Connected.Services\Connected.Services.csproj" />
<ProjectReference Include="..\Logistics.Types.Model\Logistics.Types.Model.csproj" />
</ItemGroup>
</Project>
Loading…
Cancel
Save