diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..fc2933b --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/Connected.Logistics.Documents.Model/Connected.Logistics.Documents.Model.csproj b/Connected.Logistics.Documents.Model/Connected.Logistics.Documents.Model.csproj new file mode 100644 index 0000000..5a740a7 --- /dev/null +++ b/Connected.Logistics.Documents.Model/Connected.Logistics.Documents.Model.csproj @@ -0,0 +1,15 @@ + + + + net7.0 + enable + enable + Connected.Logistics.Documents + + + + + + + + diff --git a/Logistics.Documents.Model/DocumentUrls.cs b/Connected.Logistics.Documents.Model/DocumentUrls.cs similarity index 69% rename from Logistics.Documents.Model/DocumentUrls.cs rename to Connected.Logistics.Documents.Model/DocumentUrls.cs index 8399bd6..9ecbefa 100644 --- a/Logistics.Documents.Model/DocumentUrls.cs +++ b/Connected.Logistics.Documents.Model/DocumentUrls.cs @@ -1,4 +1,4 @@ -namespace Logistics.Documents; +namespace Connected.Logistics.Documents; public static class DocumentUrls { public const string Receives = "/logistics/documents/receives"; diff --git a/Logistics.Documents.Model/Receive/IReceiveDocument.cs b/Connected.Logistics.Documents.Model/Receive/IReceiveDocument.cs similarity index 69% rename from Logistics.Documents.Model/Receive/IReceiveDocument.cs rename to Connected.Logistics.Documents.Model/Receive/IReceiveDocument.cs index 505ccd5..5aac392 100644 --- a/Logistics.Documents.Model/Receive/IReceiveDocument.cs +++ b/Connected.Logistics.Documents.Model/Receive/IReceiveDocument.cs @@ -1,6 +1,6 @@ -using Common.Documents; +using Connected.Common.Documents; -namespace Logistics.Documents.Receive; +namespace Connected.Logistics.Documents.Receive; public interface IReceiveDocument : IDocument { diff --git a/Logistics.Documents.Model/Receive/IReceiveDocumentService.cs b/Connected.Logistics.Documents.Model/Receive/IReceiveDocumentService.cs similarity index 97% rename from Logistics.Documents.Model/Receive/IReceiveDocumentService.cs rename to Connected.Logistics.Documents.Model/Receive/IReceiveDocumentService.cs index 51769fc..c37418f 100644 --- a/Logistics.Documents.Model/Receive/IReceiveDocumentService.cs +++ b/Connected.Logistics.Documents.Model/Receive/IReceiveDocumentService.cs @@ -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; /// /// Represents service for the document. /// diff --git a/Logistics.Documents.Model/Receive/IReceiveItem.cs b/Connected.Logistics.Documents.Model/Receive/IReceiveItem.cs similarity index 78% rename from Logistics.Documents.Model/Receive/IReceiveItem.cs rename to Connected.Logistics.Documents.Model/Receive/IReceiveItem.cs index ac65f35..2632d50 100644 --- a/Logistics.Documents.Model/Receive/IReceiveItem.cs +++ b/Connected.Logistics.Documents.Model/Receive/IReceiveItem.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Documents.Receive; +namespace Connected.Logistics.Documents.Receive; public interface IReceiveItem : IEntityContainer { diff --git a/Logistics.Documents.Model/Receive/IReceivePlannedItem.cs b/Connected.Logistics.Documents.Model/Receive/IReceivePlannedItem.cs similarity index 96% rename from Logistics.Documents.Model/Receive/IReceivePlannedItem.cs rename to Connected.Logistics.Documents.Model/Receive/IReceivePlannedItem.cs index 1062895..f968adb 100644 --- a/Logistics.Documents.Model/Receive/IReceivePlannedItem.cs +++ b/Connected.Logistics.Documents.Model/Receive/IReceivePlannedItem.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Documents.Receive; +namespace Connected.Logistics.Documents.Receive; /// /// Represents connected (many-to-many) entity between /// and . diff --git a/Logistics.Documents.Model/Receive/IReceivePostingDocument.cs b/Connected.Logistics.Documents.Model/Receive/IReceivePostingDocument.cs similarity index 64% rename from Logistics.Documents.Model/Receive/IReceivePostingDocument.cs rename to Connected.Logistics.Documents.Model/Receive/IReceivePostingDocument.cs index 7c9ee6a..3b131c0 100644 --- a/Logistics.Documents.Model/Receive/IReceivePostingDocument.cs +++ b/Connected.Logistics.Documents.Model/Receive/IReceivePostingDocument.cs @@ -1,6 +1,6 @@ -using Common.Documents; +using Connected.Common.Documents; -namespace Logistics.Documents.Receive; +namespace Connected.Logistics.Documents.Receive; public interface IReceivePostingDocument : IDocument { diff --git a/Logistics.Documents.Model/Receive/IReceivePostingDocumentService.cs b/Connected.Logistics.Documents.Model/Receive/IReceivePostingDocumentService.cs similarity index 97% rename from Logistics.Documents.Model/Receive/IReceivePostingDocumentService.cs rename to Connected.Logistics.Documents.Model/Receive/IReceivePostingDocumentService.cs index 4570da2..b606842 100644 --- a/Logistics.Documents.Model/Receive/IReceivePostingDocumentService.cs +++ b/Connected.Logistics.Documents.Model/Receive/IReceivePostingDocumentService.cs @@ -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; /// /// Represents service for the document. diff --git a/Logistics.Documents.Model/Receive/IReceivePostingItem.cs b/Connected.Logistics.Documents.Model/Receive/IReceivePostingItem.cs similarity index 80% rename from Logistics.Documents.Model/Receive/IReceivePostingItem.cs rename to Connected.Logistics.Documents.Model/Receive/IReceivePostingItem.cs index 2208b1b..4392c73 100644 --- a/Logistics.Documents.Model/Receive/IReceivePostingItem.cs +++ b/Connected.Logistics.Documents.Model/Receive/IReceivePostingItem.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Documents.Receive; +namespace Connected.Logistics.Documents.Receive; public interface IReceivePostingItem : IPrimaryKey { int Document { get; init; } diff --git a/Logistics.Documents.Model/Receive/ReceiveDocumentArgs.cs b/Connected.Logistics.Documents.Model/Receive/ReceiveDocumentArgs.cs similarity index 94% rename from Logistics.Documents.Model/Receive/ReceiveDocumentArgs.cs rename to Connected.Logistics.Documents.Model/Receive/ReceiveDocumentArgs.cs index 3ba22da..117a252 100644 --- a/Logistics.Documents.Model/Receive/ReceiveDocumentArgs.cs +++ b/Connected.Logistics.Documents.Model/Receive/ReceiveDocumentArgs.cs @@ -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; /// /// The arguments used when inserting a new item /// via service. diff --git a/Logistics.Documents.Model/Receive/ReceivePostingDocumentArgs.cs b/Connected.Logistics.Documents.Model/Receive/ReceivePostingDocumentArgs.cs similarity index 95% rename from Logistics.Documents.Model/Receive/ReceivePostingDocumentArgs.cs rename to Connected.Logistics.Documents.Model/Receive/ReceivePostingDocumentArgs.cs index caf6ff2..743de48 100644 --- a/Logistics.Documents.Model/Receive/ReceivePostingDocumentArgs.cs +++ b/Connected.Logistics.Documents.Model/Receive/ReceivePostingDocumentArgs.cs @@ -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)] diff --git a/Logistics.Types/Bootstrapper.cs b/Connected.Logistics.Documents/Bootstrapper.cs similarity index 57% rename from Logistics.Types/Bootstrapper.cs rename to Connected.Logistics.Documents/Bootstrapper.cs index 3b4624f..5e30c54 100644 --- a/Logistics.Types/Bootstrapper.cs +++ b/Connected.Logistics.Documents/Bootstrapper.cs @@ -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 { } diff --git a/Logistics.Documents/Logistics.Documents.csproj b/Connected.Logistics.Documents/Connected.Logistics.Documents.csproj similarity index 53% rename from Logistics.Documents/Logistics.Documents.csproj rename to Connected.Logistics.Documents/Connected.Logistics.Documents.csproj index 5d23c40..1e0d2fe 100644 --- a/Logistics.Documents/Logistics.Documents.csproj +++ b/Connected.Logistics.Documents/Connected.Logistics.Documents.csproj @@ -7,11 +7,11 @@ - - - - - + + + + + diff --git a/Logistics.Documents/Receive/ReceiveDocument.cs b/Connected.Logistics.Documents/Receive/ReceiveDocument.cs similarity index 82% rename from Logistics.Documents/Receive/ReceiveDocument.cs rename to Connected.Logistics.Documents/Receive/ReceiveDocument.cs index 166aa55..053408e 100644 --- a/Logistics.Documents/Receive/ReceiveDocument.cs +++ b/Connected.Logistics.Documents/Receive/ReceiveDocument.cs @@ -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; /// [Table(Schema = Domain.Code)] diff --git a/Logistics.Documents/Receive/ReceiveDocumentItemOps.cs b/Connected.Logistics.Documents/Receive/ReceiveDocumentItemOps.cs similarity index 93% rename from Logistics.Documents/Receive/ReceiveDocumentItemOps.cs rename to Connected.Logistics.Documents/Receive/ReceiveDocumentItemOps.cs index 8880089..e2ffe96 100644 --- a/Logistics.Documents/Receive/ReceiveDocumentItemOps.cs +++ b/Connected.Logistics.Documents/Receive/ReceiveDocumentItemOps.cs @@ -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 @@ -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() - 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(); }); } } diff --git a/Logistics.Documents/Receive/ReceiveDocumentOps.cs b/Connected.Logistics.Documents/Receive/ReceiveDocumentOps.cs similarity index 98% rename from Logistics.Documents/Receive/ReceiveDocumentOps.cs rename to Connected.Logistics.Documents/Receive/ReceiveDocumentOps.cs index f2e7d19..4860d4a 100644 --- a/Logistics.Documents/Receive/ReceiveDocumentOps.cs +++ b/Connected.Logistics.Documents/Receive/ReceiveDocumentOps.cs @@ -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> diff --git a/Logistics.Documents/Receive/ReceiveDocumentService.cs b/Connected.Logistics.Documents/Receive/ReceiveDocumentService.cs similarity index 93% rename from Logistics.Documents/Receive/ReceiveDocumentService.cs rename to Connected.Logistics.Documents/Receive/ReceiveDocumentService.cs index d91e410..85f44ee 100644 --- a/Logistics.Documents/Receive/ReceiveDocumentService.cs +++ b/Connected.Logistics.Documents/Receive/ReceiveDocumentService.cs @@ -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; /// internal sealed class ReceiveDocumentService : DocumentService, IReceiveDocumentService { diff --git a/Logistics.Documents/Receive/ReceiveItem.cs b/Connected.Logistics.Documents/Receive/ReceiveItem.cs similarity index 81% rename from Logistics.Documents/Receive/ReceiveItem.cs rename to Connected.Logistics.Documents/Receive/ReceiveItem.cs index 93b0bc5..f90b844 100644 --- a/Logistics.Documents/Receive/ReceiveItem.cs +++ b/Connected.Logistics.Documents/Receive/ReceiveItem.cs @@ -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; /// [Table(Schema = CommonSchemas.DocumentSchema)] diff --git a/Logistics.Documents/Receive/ReceivePlannedItem.cs b/Connected.Logistics.Documents/Receive/ReceivePlannedItem.cs similarity index 90% rename from Logistics.Documents/Receive/ReceivePlannedItem.cs rename to Connected.Logistics.Documents/Receive/ReceivePlannedItem.cs index 0f72ea3..c2aad0e 100644 --- a/Logistics.Documents/Receive/ReceivePlannedItem.cs +++ b/Connected.Logistics.Documents/Receive/ReceivePlannedItem.cs @@ -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; /// [Table(Schema = Domain.Code)] internal sealed record ReceivePlannedItem : ConsistentEntity, IReceivePlannedItem diff --git a/Logistics.Documents/Receive/ReceivePlannedItemsOps.cs b/Connected.Logistics.Documents/Receive/ReceivePlannedItemsOps.cs similarity index 98% rename from Logistics.Documents/Receive/ReceivePlannedItemsOps.cs rename to Connected.Logistics.Documents/Receive/ReceivePlannedItemsOps.cs index bc01e6e..301bda6 100644 --- a/Logistics.Documents/Receive/ReceivePlannedItemsOps.cs +++ b/Connected.Logistics.Documents/Receive/ReceivePlannedItemsOps.cs @@ -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, ImmutableList> diff --git a/Logistics.Documents/Receive/ReceivePostingDocument.cs b/Connected.Logistics.Documents/Receive/ReceivePostingDocument.cs similarity index 81% rename from Logistics.Documents/Receive/ReceivePostingDocument.cs rename to Connected.Logistics.Documents/Receive/ReceivePostingDocument.cs index 879e4e6..9a7acaf 100644 --- a/Logistics.Documents/Receive/ReceivePostingDocument.cs +++ b/Connected.Logistics.Documents/Receive/ReceivePostingDocument.cs @@ -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; /// [Table(Schema = Domain.Code)] internal sealed record ReceivePostingDocument : Document, IReceivePostingDocument diff --git a/Logistics.Documents/Receive/ReceivePostingDocumentOps.cs b/Connected.Logistics.Documents/Receive/ReceivePostingDocumentOps.cs similarity index 98% rename from Logistics.Documents/Receive/ReceivePostingDocumentOps.cs rename to Connected.Logistics.Documents/Receive/ReceivePostingDocumentOps.cs index edfbc4d..84c2f18 100644 --- a/Logistics.Documents/Receive/ReceivePostingDocumentOps.cs +++ b/Connected.Logistics.Documents/Receive/ReceivePostingDocumentOps.cs @@ -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> diff --git a/Logistics.Documents/Receive/ReceivePostingDocumentService.cs b/Connected.Logistics.Documents/Receive/ReceivePostingDocumentService.cs similarity index 89% rename from Logistics.Documents/Receive/ReceivePostingDocumentService.cs rename to Connected.Logistics.Documents/Receive/ReceivePostingDocumentService.cs index 23602dd..0681332 100644 --- a/Logistics.Documents/Receive/ReceivePostingDocumentService.cs +++ b/Connected.Logistics.Documents/Receive/ReceivePostingDocumentService.cs @@ -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, IReceivePostingDocumentService { public event ServiceEventHandler> PlannedItemUpdated; diff --git a/Logistics.Documents/Receive/ReceivePostingItem.cs b/Connected.Logistics.Documents/Receive/ReceivePostingItem.cs similarity index 90% rename from Logistics.Documents/Receive/ReceivePostingItem.cs rename to Connected.Logistics.Documents/Receive/ReceivePostingItem.cs index 91070b1..2333b78 100644 --- a/Logistics.Documents/Receive/ReceivePostingItem.cs +++ b/Connected.Logistics.Documents/Receive/ReceivePostingItem.cs @@ -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; /// [Table(Schema = Domain.Code)] internal sealed record ReceivePostingItem : ConsistentEntity, IReceivePostingItem diff --git a/Logistics.Documents/Receive/ReceivePostingItemOps.cs b/Connected.Logistics.Documents/Receive/ReceivePostingItemOps.cs similarity index 97% rename from Logistics.Documents/Receive/ReceivePostingItemOps.cs rename to Connected.Logistics.Documents/Receive/ReceivePostingItemOps.cs index 33bbc57..081d3a8 100644 --- a/Logistics.Documents/Receive/ReceivePostingItemOps.cs +++ b/Connected.Logistics.Documents/Receive/ReceivePostingItemOps.cs @@ -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 diff --git a/Logistics.Documents/Receive/Validators.cs b/Connected.Logistics.Documents/Receive/Validators.cs similarity index 89% rename from Logistics.Documents/Receive/Validators.cs rename to Connected.Logistics.Documents/Receive/Validators.cs index c905217..845bdee 100644 --- a/Logistics.Documents/Receive/Validators.cs +++ b/Connected.Logistics.Documents/Receive/Validators.cs @@ -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 diff --git a/Logistics.Documents/SR.Designer.cs b/Connected.Logistics.Documents/SR.Designer.cs similarity index 95% rename from Logistics.Documents/SR.Designer.cs rename to Connected.Logistics.Documents/SR.Designer.cs index 4dfda94..007bb52 100644 --- a/Logistics.Documents/SR.Designer.cs +++ b/Connected.Logistics.Documents/SR.Designer.cs @@ -8,7 +8,7 @@ // //------------------------------------------------------------------------------ -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; diff --git a/Logistics.Documents/SR.resx b/Connected.Logistics.Documents/SR.resx similarity index 100% rename from Logistics.Documents/SR.resx rename to Connected.Logistics.Documents/SR.resx diff --git a/Logistics.Processes.Receive/Bootstrapper.cs b/Connected.Logistics.Processes.Receive/Bootstrapper.cs similarity index 56% rename from Logistics.Processes.Receive/Bootstrapper.cs rename to Connected.Logistics.Processes.Receive/Bootstrapper.cs index d0d9837..cce6268 100644 --- a/Logistics.Processes.Receive/Bootstrapper.cs +++ b/Connected.Logistics.Processes.Receive/Bootstrapper.cs @@ -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 { diff --git a/Connected.Logistics.Processes.Receive/Connected.Logistics.Processes.Receive.csproj b/Connected.Logistics.Processes.Receive/Connected.Logistics.Processes.Receive.csproj new file mode 100644 index 0000000..a3b0cdf --- /dev/null +++ b/Connected.Logistics.Processes.Receive/Connected.Logistics.Processes.Receive.csproj @@ -0,0 +1,23 @@ + + + + net7.0 + enable + enable + Connected.Logistics.Documents + + + + + + + + + + + + + + + + diff --git a/Logistics.Processes.Receive/Listeners/PlannedItemListener.cs b/Connected.Logistics.Processes.Receive/Listeners/PlannedItemListener.cs similarity index 94% rename from Logistics.Processes.Receive/Listeners/PlannedItemListener.cs rename to Connected.Logistics.Processes.Receive/Listeners/PlannedItemListener.cs index ecd04ca..b427a5d 100644 --- a/Logistics.Processes.Receive/Listeners/PlannedItemListener.cs +++ b/Connected.Logistics.Processes.Receive/Listeners/PlannedItemListener.cs @@ -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(nameof(IReceivePostingDocumentService.PlannedItemUpdated))] internal sealed class PlannedItemListener : EventListener> { diff --git a/Logistics.Processes.Receive/Listeners/PostingItemListener.cs b/Connected.Logistics.Processes.Receive/Listeners/PostingItemListener.cs similarity index 92% rename from Logistics.Processes.Receive/Listeners/PostingItemListener.cs rename to Connected.Logistics.Processes.Receive/Listeners/PostingItemListener.cs index 764a242..4625373 100644 --- a/Logistics.Processes.Receive/Listeners/PostingItemListener.cs +++ b/Connected.Logistics.Processes.Receive/Listeners/PostingItemListener.cs @@ -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; /// /// Represents the event listener to the Updated event. /// diff --git a/Logistics.Processes.Receive/Listeners/ReceiveItemListener.cs b/Connected.Logistics.Processes.Receive/Listeners/ReceiveItemListener.cs similarity index 88% rename from Logistics.Processes.Receive/Listeners/ReceiveItemListener.cs rename to Connected.Logistics.Processes.Receive/Listeners/ReceiveItemListener.cs index 8bcd5fa..7247d62 100644 --- a/Logistics.Processes.Receive/Listeners/ReceiveItemListener.cs +++ b/Connected.Logistics.Processes.Receive/Listeners/ReceiveItemListener.cs @@ -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(nameof(IReceiveDocumentService.ItemUpdated))] internal sealed class ReceiveItemListener : EventListener> { diff --git a/Logistics.Processes.Receive/Protection/ReceiveProtector.cs b/Connected.Logistics.Processes.Receive/Protection/ReceiveProtector.cs similarity index 86% rename from Logistics.Processes.Receive/Protection/ReceiveProtector.cs rename to Connected.Logistics.Processes.Receive/Protection/ReceiveProtector.cs index a0fa3c2..479557d 100644 --- a/Logistics.Processes.Receive/Protection/ReceiveProtector.cs +++ b/Connected.Logistics.Processes.Receive/Protection/ReceiveProtector.cs @@ -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 { public ReceiveProtector(IReceiveDocumentService documents) diff --git a/Logistics.Resources.Model/Logistics.Resources.Model.csproj b/Connected.Logistics.Resources.Model/Connected.Logistics.Resources.Model.csproj similarity index 100% rename from Logistics.Resources.Model/Logistics.Resources.Model.csproj rename to Connected.Logistics.Resources.Model/Connected.Logistics.Resources.Model.csproj diff --git a/Logistics.Stock.Model/Aggregations/IStockAggregation.cs b/Connected.Logistics.Stock.Model/Aggregations/IStockAggregation.cs similarity index 78% rename from Logistics.Stock.Model/Aggregations/IStockAggregation.cs rename to Connected.Logistics.Stock.Model/Aggregations/IStockAggregation.cs index e8897a5..da44471 100644 --- a/Logistics.Stock.Model/Aggregations/IStockAggregation.cs +++ b/Connected.Logistics.Stock.Model/Aggregations/IStockAggregation.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Stock.Aggregations; +namespace Connected.Logistics.Stock.Aggregations; public interface IStockAggregation : IPrimaryKey { long Stock { get; init; } diff --git a/Logistics.Stock.Model/Logistics.Stock.Model.csproj b/Connected.Logistics.Stock.Model/Connected.Logistics.Stock.Model.csproj similarity index 83% rename from Logistics.Stock.Model/Logistics.Stock.Model.csproj rename to Connected.Logistics.Stock.Model/Connected.Logistics.Stock.Model.csproj index 2ec6125..846ca6e 100644 --- a/Logistics.Stock.Model/Logistics.Stock.Model.csproj +++ b/Connected.Logistics.Stock.Model/Connected.Logistics.Stock.Model.csproj @@ -4,7 +4,7 @@ net7.0 enable enable - Logistics.Stock + Connected.Logistics.Stock diff --git a/Logistics.Stock.Model/IStock.cs b/Connected.Logistics.Stock.Model/IStock.cs similarity index 95% rename from Logistics.Stock.Model/IStock.cs rename to Connected.Logistics.Stock.Model/IStock.cs index ed13e9b..7dea3c4 100644 --- a/Logistics.Stock.Model/IStock.cs +++ b/Connected.Logistics.Stock.Model/IStock.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Stock; +namespace Connected.Logistics.Stock; /// /// The stock descriptor which describes what kind of entity it /// represents. The entity could be Product, Semi product or any diff --git a/Logistics.Stock.Model/IStockItem.cs b/Connected.Logistics.Stock.Model/IStockItem.cs similarity index 96% rename from Logistics.Stock.Model/IStockItem.cs rename to Connected.Logistics.Stock.Model/IStockItem.cs index e261f0c..08cbd49 100644 --- a/Logistics.Stock.Model/IStockItem.cs +++ b/Connected.Logistics.Stock.Model/IStockItem.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Stock; +namespace Connected.Logistics.Stock; /// /// Represents a single stock item. /// diff --git a/Logistics.Stock.Model/IStockService.cs b/Connected.Logistics.Stock.Model/IStockService.cs similarity index 97% rename from Logistics.Stock.Model/IStockService.cs rename to Connected.Logistics.Stock.Model/IStockService.cs index c1c81af..2d557b8 100644 --- a/Logistics.Stock.Model/IStockService.cs +++ b/Connected.Logistics.Stock.Model/IStockService.cs @@ -3,7 +3,7 @@ using Connected.Annotations; using Connected.Notifications; using Connected.ServiceModel; -namespace Logistics.Stock; +namespace Connected.Logistics.Stock; /// /// Represents the service which manipulates with stock items. /// diff --git a/Logistics.Stock.Model/StockArgs.cs b/Connected.Logistics.Stock.Model/StockArgs.cs similarity index 95% rename from Logistics.Stock.Model/StockArgs.cs rename to Connected.Logistics.Stock.Model/StockArgs.cs index 5511b5e..0035d4b 100644 --- a/Logistics.Stock.Model/StockArgs.cs +++ b/Connected.Logistics.Stock.Model/StockArgs.cs @@ -1,7 +1,7 @@ using Connected.Annotations; using Connected.ServiceModel; -namespace Logistics.Stock; +namespace Connected.Logistics.Stock; /// /// Represents the arguments when updating the stock items. /// diff --git a/Logistics.Stock.Model/StockUrls.cs b/Connected.Logistics.Stock.Model/StockUrls.cs similarity index 67% rename from Logistics.Stock.Model/StockUrls.cs rename to Connected.Logistics.Stock.Model/StockUrls.cs index 8dd7a61..7752254 100644 --- a/Logistics.Stock.Model/StockUrls.cs +++ b/Connected.Logistics.Stock.Model/StockUrls.cs @@ -1,4 +1,4 @@ -namespace Logistics.Stock; +namespace Connected.Logistics.Stock; public static class StockUrls { public const string Stock = "/logistics/stock"; diff --git a/Logistics.Stock/Bootstrapper.cs b/Connected.Logistics.Stock/Bootstrapper.cs similarity index 57% rename from Logistics.Stock/Bootstrapper.cs rename to Connected.Logistics.Stock/Bootstrapper.cs index 1f1a08f..42dbfa0 100644 --- a/Logistics.Stock/Bootstrapper.cs +++ b/Connected.Logistics.Stock/Bootstrapper.cs @@ -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 { } diff --git a/Connected.Logistics.Stock/Connected.Logistics.Stock.csproj b/Connected.Logistics.Stock/Connected.Logistics.Stock.csproj new file mode 100644 index 0000000..e5e33ba --- /dev/null +++ b/Connected.Logistics.Stock/Connected.Logistics.Stock.csproj @@ -0,0 +1,17 @@ + + + + net7.0 + enable + enable + + + + + + + + + + + diff --git a/Logistics.Stock/Services/StockAggregator.cs b/Connected.Logistics.Stock/Services/StockAggregator.cs similarity index 93% rename from Logistics.Stock/Services/StockAggregator.cs rename to Connected.Logistics.Stock/Services/StockAggregator.cs index a97a184..b7aac88 100644 --- a/Logistics.Stock/Services/StockAggregator.cs +++ b/Connected.Logistics.Stock/Services/StockAggregator.cs @@ -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> { public StockAggregator(ILogger logger, IWarehouseLocationService locations, IStockService stock) diff --git a/Logistics.Stock/Stock.cs b/Connected.Logistics.Stock/Stock.cs similarity index 90% rename from Logistics.Stock/Stock.cs rename to Connected.Logistics.Stock/Stock.cs index 3416c3a..a8c1cf9 100644 --- a/Logistics.Stock/Stock.cs +++ b/Connected.Logistics.Stock/Stock.cs @@ -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, IStock { diff --git a/Logistics.Stock/StockItem.cs b/Connected.Logistics.Stock/StockItem.cs similarity index 90% rename from Logistics.Stock/StockItem.cs rename to Connected.Logistics.Stock/StockItem.cs index 22a7d0e..40fbd68 100644 --- a/Logistics.Stock/StockItem.cs +++ b/Connected.Logistics.Stock/StockItem.cs @@ -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 StockItem : ConsistentEntity, IStockItem diff --git a/Logistics.Stock/StockOps.cs b/Connected.Logistics.Stock/StockOps.cs similarity index 97% rename from Logistics.Stock/StockOps.cs rename to Connected.Logistics.Stock/StockOps.cs index 1c3937f..9d8317a 100644 --- a/Logistics.Stock/StockOps.cs +++ b/Connected.Logistics.Stock/StockOps.cs @@ -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"; diff --git a/Logistics.Stock/StockService.cs b/Connected.Logistics.Stock/StockService.cs similarity index 95% rename from Logistics.Stock/StockService.cs rename to Connected.Logistics.Stock/StockService.cs index c817ca2..6b0c739 100644 --- a/Logistics.Stock/StockService.cs +++ b/Connected.Logistics.Stock/StockService.cs @@ -2,7 +2,7 @@ using Connected.ServiceModel; using Connected.Services; -namespace Logistics.Stock; +namespace Connected.Logistics.Stock; internal sealed class StockService : EntityService, IStockService { public StockService(IContext context) : base(context) diff --git a/Logistics.Types.Model/Logistics.Types.Model.csproj b/Connected.Logistics.Types.Model/Connected.Logistics.Types.Model.csproj similarity index 83% rename from Logistics.Types.Model/Logistics.Types.Model.csproj rename to Connected.Logistics.Types.Model/Connected.Logistics.Types.Model.csproj index f1c3e5f..81b9ba6 100644 --- a/Logistics.Types.Model/Logistics.Types.Model.csproj +++ b/Connected.Logistics.Types.Model/Connected.Logistics.Types.Model.csproj @@ -4,7 +4,7 @@ net7.0 enable enable - Logistics.Types + Connected.Logistics.Types diff --git a/Logistics.Types.Model/Domain.cs b/Connected.Logistics.Types.Model/Domain.cs similarity index 72% rename from Logistics.Types.Model/Domain.cs rename to Connected.Logistics.Types.Model/Domain.cs index ef026af..5395bb3 100644 --- a/Logistics.Types.Model/Domain.cs +++ b/Connected.Logistics.Types.Model/Domain.cs @@ -1,4 +1,4 @@ -namespace Logistics.Types; +namespace Connected.Logistics.Types; public static class Domain { public const string Name = "Logistics"; diff --git a/Logistics.Types.Model/LogisticsUrls.cs b/Connected.Logistics.Types.Model/LogisticsUrls.cs similarity index 88% rename from Logistics.Types.Model/LogisticsUrls.cs rename to Connected.Logistics.Types.Model/LogisticsUrls.cs index fabc472..bada1a8 100644 --- a/Logistics.Types.Model/LogisticsUrls.cs +++ b/Connected.Logistics.Types.Model/LogisticsUrls.cs @@ -1,4 +1,4 @@ -namespace Logistics.Types; +namespace Connected.Logistics.Types; public static class LogisticsUrls { public const string Warehouses = "/logistics/types/warehouses"; diff --git a/Logistics.Types.Model/Packaging/IPacking.cs b/Connected.Logistics.Types.Model/Packaging/IPacking.cs similarity index 89% rename from Logistics.Types.Model/Packaging/IPacking.cs rename to Connected.Logistics.Types.Model/Packaging/IPacking.cs index 455d458..8868ce8 100644 --- a/Logistics.Types.Model/Packaging/IPacking.cs +++ b/Connected.Logistics.Types.Model/Packaging/IPacking.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Types.Packaging; +namespace Connected.Logistics.Types.Packaging; public interface IPacking : IPrimaryKey { string Ean { get; init; } diff --git a/Logistics.Types.Model/Packaging/IPackingService.cs b/Connected.Logistics.Types.Model/Packaging/IPackingService.cs similarity index 96% rename from Logistics.Types.Model/Packaging/IPackingService.cs rename to Connected.Logistics.Types.Model/Packaging/IPackingService.cs index b493413..9ceffb2 100644 --- a/Logistics.Types.Model/Packaging/IPackingService.cs +++ b/Connected.Logistics.Types.Model/Packaging/IPackingService.cs @@ -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)] diff --git a/Logistics.Types.Model/Packaging/PackingArgs.cs b/Connected.Logistics.Types.Model/Packaging/PackingArgs.cs similarity index 95% rename from Logistics.Types.Model/Packaging/PackingArgs.cs rename to Connected.Logistics.Types.Model/Packaging/PackingArgs.cs index 8d4fc53..4cb5d55 100644 --- a/Logistics.Types.Model/Packaging/PackingArgs.cs +++ b/Connected.Logistics.Types.Model/Packaging/PackingArgs.cs @@ -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)] diff --git a/Logistics.Types.Model/Serials/ISerial.cs b/Connected.Logistics.Types.Model/Serials/ISerial.cs similarity index 97% rename from Logistics.Types.Model/Serials/ISerial.cs rename to Connected.Logistics.Types.Model/Serials/ISerial.cs index d234688..f1a6962 100644 --- a/Logistics.Types.Model/Serials/ISerial.cs +++ b/Connected.Logistics.Types.Model/Serials/ISerial.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Types.Serials; +namespace Connected.Logistics.Types.Serials; /// /// Represents a serial number in the logistic environment. /// diff --git a/Logistics.Types.Model/Serials/ISerialService.cs b/Connected.Logistics.Types.Model/Serials/ISerialService.cs similarity index 98% rename from Logistics.Types.Model/Serials/ISerialService.cs rename to Connected.Logistics.Types.Model/Serials/ISerialService.cs index 0a89efb..a5771e0 100644 --- a/Logistics.Types.Model/Serials/ISerialService.cs +++ b/Connected.Logistics.Types.Model/Serials/ISerialService.cs @@ -3,7 +3,7 @@ using Connected.Annotations; using Connected.Notifications; using Connected.ServiceModel; -namespace Logistics.Types.Serials; +namespace Connected.Logistics.Types.Serials; /// /// The service for manipulating with serials. A is a fundamental /// entity used by labeling and traceability systems. diff --git a/Logistics.Types.Model/Serials/SerialArgs.cs b/Connected.Logistics.Types.Model/Serials/SerialArgs.cs similarity index 97% rename from Logistics.Types.Model/Serials/SerialArgs.cs rename to Connected.Logistics.Types.Model/Serials/SerialArgs.cs index 38b402b..bf9dbe7 100644 --- a/Logistics.Types.Model/Serials/SerialArgs.cs +++ b/Connected.Logistics.Types.Model/Serials/SerialArgs.cs @@ -3,7 +3,7 @@ using Connected.Annotations; using Connected.Data; using Connected.ServiceModel; -namespace Logistics.Types.Serials; +namespace Connected.Logistics.Types.Serials; /// /// Arguments used when inserting a new serial number. /// diff --git a/Logistics.Types.Model/WarehouseLocations/IWarehouseLocation.cs b/Connected.Logistics.Types.Model/WarehouseLocations/IWarehouseLocation.cs similarity index 92% rename from Logistics.Types.Model/WarehouseLocations/IWarehouseLocation.cs rename to Connected.Logistics.Types.Model/WarehouseLocations/IWarehouseLocation.cs index 690d8b0..9593336 100644 --- a/Logistics.Types.Model/WarehouseLocations/IWarehouseLocation.cs +++ b/Connected.Logistics.Types.Model/WarehouseLocations/IWarehouseLocation.cs @@ -1,7 +1,6 @@ using Connected.Data; -using Logistics.Types.Warehouses; -namespace Logistics.Types.WarehouseLocations; +namespace Connected.Logistics.Types.WarehouseLocations; /// /// Represents a physical or logical location inside a . /// diff --git a/Logistics.Types.Model/WarehouseLocations/IWarehouseLocationService.cs b/Connected.Logistics.Types.Model/WarehouseLocations/IWarehouseLocationService.cs similarity index 93% rename from Logistics.Types.Model/WarehouseLocations/IWarehouseLocationService.cs rename to Connected.Logistics.Types.Model/WarehouseLocations/IWarehouseLocationService.cs index 2e2d3c6..fcfe8c8 100644 --- a/Logistics.Types.Model/WarehouseLocations/IWarehouseLocationService.cs +++ b/Connected.Logistics.Types.Model/WarehouseLocations/IWarehouseLocationService.cs @@ -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 diff --git a/Logistics.Types.Model/WarehouseLocations/WarehouseLocationArgs.cs b/Connected.Logistics.Types.Model/WarehouseLocations/WarehouseLocationArgs.cs similarity index 95% rename from Logistics.Types.Model/WarehouseLocations/WarehouseLocationArgs.cs rename to Connected.Logistics.Types.Model/WarehouseLocations/WarehouseLocationArgs.cs index ac6681b..8c7d181 100644 --- a/Logistics.Types.Model/WarehouseLocations/WarehouseLocationArgs.cs +++ b/Connected.Logistics.Types.Model/WarehouseLocations/WarehouseLocationArgs.cs @@ -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; } diff --git a/Logistics.Types.Model/Warehouses/IWarehouse.cs b/Connected.Logistics.Types.Model/Warehouses/IWarehouse.cs similarity index 77% rename from Logistics.Types.Model/Warehouses/IWarehouse.cs rename to Connected.Logistics.Types.Model/Warehouses/IWarehouse.cs index 5fdfb7b..a106ab6 100644 --- a/Logistics.Types.Model/Warehouses/IWarehouse.cs +++ b/Connected.Logistics.Types.Model/Warehouses/IWarehouse.cs @@ -1,6 +1,6 @@ using Connected.Data; -namespace Logistics.Types.Warehouses; +namespace Connected.Logistics.Types.Warehouses; public interface IWarehouse : IPrimaryKey { diff --git a/Logistics.Types.Model/Warehouses/IWarehouseService.cs b/Connected.Logistics.Types.Model/Warehouses/IWarehouseService.cs similarity index 95% rename from Logistics.Types.Model/Warehouses/IWarehouseService.cs rename to Connected.Logistics.Types.Model/Warehouses/IWarehouseService.cs index 9bb8cea..f18a9cf 100644 --- a/Logistics.Types.Model/Warehouses/IWarehouseService.cs +++ b/Connected.Logistics.Types.Model/Warehouses/IWarehouseService.cs @@ -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)] diff --git a/Logistics.Types.Model/Warehouses/WarehouseArgs.cs b/Connected.Logistics.Types.Model/Warehouses/WarehouseArgs.cs similarity index 82% rename from Logistics.Types.Model/Warehouses/WarehouseArgs.cs rename to Connected.Logistics.Types.Model/Warehouses/WarehouseArgs.cs index 79acb79..16c0093 100644 --- a/Logistics.Types.Model/Warehouses/WarehouseArgs.cs +++ b/Connected.Logistics.Types.Model/Warehouses/WarehouseArgs.cs @@ -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)] diff --git a/Logistics.Documents/Bootstrapper.cs b/Connected.Logistics.Types/Bootstrapper.cs similarity index 56% rename from Logistics.Documents/Bootstrapper.cs rename to Connected.Logistics.Types/Bootstrapper.cs index a6ee44b..8c97b10 100644 --- a/Logistics.Documents/Bootstrapper.cs +++ b/Connected.Logistics.Types/Bootstrapper.cs @@ -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 { } diff --git a/Connected.Logistics.Types/Connected.Logistics.Types.csproj b/Connected.Logistics.Types/Connected.Logistics.Types.csproj new file mode 100644 index 0000000..208e995 --- /dev/null +++ b/Connected.Logistics.Types/Connected.Logistics.Types.csproj @@ -0,0 +1,15 @@ + + + + net7.0 + enable + enable + + + + + + + + + diff --git a/Logistics.Types/Packaging/Packing.cs b/Connected.Logistics.Types/Packaging/Packing.cs similarity index 95% rename from Logistics.Types/Packaging/Packing.cs rename to Connected.Logistics.Types/Packaging/Packing.cs index 63a70fc..9bad403 100644 --- a/Logistics.Types/Packaging/Packing.cs +++ b/Connected.Logistics.Types/Packaging/Packing.cs @@ -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, IPacking diff --git a/Logistics.Types/Packaging/PackingOps.cs b/Connected.Logistics.Types/Packaging/PackingOps.cs similarity index 92% rename from Logistics.Types/Packaging/PackingOps.cs rename to Connected.Logistics.Types/Packaging/PackingOps.cs index 6c6f170..c5e9169 100644 --- a/Logistics.Types/Packaging/PackingOps.cs +++ b/Connected.Logistics.Types/Packaging/PackingOps.cs @@ -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> @@ -75,7 +75,7 @@ internal sealed class PackingOps protected override async Task?> OnInvoke() { return await (from e in Storage.Open() - select e).WithArguments(Arguments).AsEntities(); + select e).WithArguments(Arguments).AsEntities(); } } @@ -91,8 +91,8 @@ internal sealed class PackingOps protected override async Task> OnInvoke() { return await (from e in Storage.Open() - where Arguments.IdList.Any(f => f == e.Id) - select e).AsEntities(); + where Arguments.IdList.Any(f => f == e.Id) + select e).AsEntities(); } } @@ -112,8 +112,8 @@ internal sealed class PackingOps return await Cache.Get(Packing.EntityKey, Arguments.Id, async (f) => { return await (from e in Storage.Open() - 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(Packing.EntityKey, f => string.Equals(f.Ean, Arguments.Ean, StringComparison.OrdinalIgnoreCase), async (f) => { return await (from e in Storage.Open() - where string.Equals(e.Ean, Arguments.Ean, StringComparison.OrdinalIgnoreCase) - select e).AsEntity(); + where string.Equals(e.Ean, Arguments.Ean, StringComparison.OrdinalIgnoreCase) + select e).AsEntity(); }); } } diff --git a/Logistics.Types/Packaging/PackingService.cs b/Connected.Logistics.Types/Packaging/PackingService.cs similarity index 92% rename from Logistics.Types/Packaging/PackingService.cs rename to Connected.Logistics.Types/Packaging/PackingService.cs index 355d077..8f5a17a 100644 --- a/Logistics.Types/Packaging/PackingService.cs +++ b/Connected.Logistics.Types/Packaging/PackingService.cs @@ -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, IPackingService { public PackingService(IContext context) : base(context) diff --git a/Logistics.Types/Packaging/PackingValidation.cs b/Connected.Logistics.Types/Packaging/PackingValidation.cs similarity index 95% rename from Logistics.Types/Packaging/PackingValidation.cs rename to Connected.Logistics.Types/Packaging/PackingValidation.cs index bd68ad4..d2578d1 100644 --- a/Logistics.Types/Packaging/PackingValidation.cs +++ b/Connected.Logistics.Types/Packaging/PackingValidation.cs @@ -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 { public InsertPackingValidator(IPackingService packingService) diff --git a/Logistics.Types/Serials/Serial.cs b/Connected.Logistics.Types/Serials/Serial.cs similarity index 96% rename from Logistics.Types/Serials/Serial.cs rename to Connected.Logistics.Types/Serials/Serial.cs index 2484de3..38d24d6 100644 --- a/Logistics.Types/Serials/Serial.cs +++ b/Connected.Logistics.Types/Serials/Serial.cs @@ -4,7 +4,7 @@ using Connected.Data; using Connected.Entities.Annotations; using Connected.Entities.Consistency; -namespace Logistics.Types.Serials; +namespace Connected.Logistics.Types.Serials; /// [Table(Schema = Domain.Code)] internal sealed record Serial : ConsistentEntity, ISerial diff --git a/Logistics.Types/Serials/SerialOps.cs b/Connected.Logistics.Types/Serials/SerialOps.cs similarity index 94% rename from Logistics.Types/Serials/SerialOps.cs rename to Connected.Logistics.Types/Serials/SerialOps.cs index 67e54c4..9210ed1 100644 --- a/Logistics.Types/Serials/SerialOps.cs +++ b/Connected.Logistics.Types/Serials/SerialOps.cs @@ -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 { /// @@ -95,7 +95,7 @@ internal sealed class SerialOps * For non cached entities query always hits the storage. */ return await (from e in Storage.Open() - select e).WithArguments(Arguments).AsEntities(); + select e).WithArguments(Arguments).AsEntities(); } } /// @@ -111,8 +111,8 @@ internal sealed class SerialOps protected override async Task> OnInvoke() { return await (from e in Storage.Open() - where Arguments.IdList.Any(f => f == e.Id) - select e).AsEntities(); + where Arguments.IdList.Any(f => f == e.Id) + select e).AsEntities(); } } /// @@ -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() - 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(Serial.EntityKey, f => string.Equals(f.Value, Arguments.Value, StringComparison.OrdinalIgnoreCase), async (f) => { return await (from e in Storage.Open() - where string.Equals(e.Value, Arguments.Value, StringComparison.OrdinalIgnoreCase) - select e).AsEntity(); + where string.Equals(e.Value, Arguments.Value, StringComparison.OrdinalIgnoreCase) + select e).AsEntity(); }); } } diff --git a/Logistics.Types/Serials/SerialService.cs b/Connected.Logistics.Types/Serials/SerialService.cs similarity index 95% rename from Logistics.Types/Serials/SerialService.cs rename to Connected.Logistics.Types/Serials/SerialService.cs index ccae6e5..f62f5e2 100644 --- a/Logistics.Types/Serials/SerialService.cs +++ b/Connected.Logistics.Types/Serials/SerialService.cs @@ -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; /// internal sealed class SerialService : EntityService, ISerialService { diff --git a/Logistics.Types/Serials/SerialValidation.cs b/Connected.Logistics.Types/Serials/SerialValidation.cs similarity index 91% rename from Logistics.Types/Serials/SerialValidation.cs rename to Connected.Logistics.Types/Serials/SerialValidation.cs index b60b44c..3a5c847 100644 --- a/Logistics.Types/Serials/SerialValidation.cs +++ b/Connected.Logistics.Types/Serials/SerialValidation.cs @@ -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 { public InsertSerialValidator(ISerialService serials) diff --git a/Logistics.Types/WarehouseLocations/WarehouseLocation.cs b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocation.cs similarity index 95% rename from Logistics.Types/WarehouseLocations/WarehouseLocation.cs rename to Connected.Logistics.Types/WarehouseLocations/WarehouseLocation.cs index 98275c2..483b192 100644 --- a/Logistics.Types/WarehouseLocations/WarehouseLocation.cs +++ b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocation.cs @@ -4,7 +4,7 @@ using Connected.Data; using Connected.Entities.Annotations; using Connected.Entities.Consistency; -namespace Logistics.Types.WarehouseLocations; +namespace Connected.Logistics.Types.WarehouseLocations; /// internal sealed record WarehouseLocation : ConsistentEntity, IWarehouseLocation { diff --git a/Logistics.Types/WarehouseLocations/WarehouseLocationCache.cs b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationCache.cs similarity index 81% rename from Logistics.Types/WarehouseLocations/WarehouseLocationCache.cs rename to Connected.Logistics.Types/WarehouseLocations/WarehouseLocationCache.cs index 75c254b..19c01fa 100644 --- a/Logistics.Types/WarehouseLocations/WarehouseLocationCache.cs +++ b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationCache.cs @@ -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 { } /// /// Cache for the entity. diff --git a/Logistics.Types/WarehouseLocations/WarehouseLocationOps.cs b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationOps.cs similarity index 87% rename from Logistics.Types/WarehouseLocations/WarehouseLocationOps.cs rename to Connected.Logistics.Types/WarehouseLocations/WarehouseLocationOps.cs index 897845b..bed6fda 100644 --- a/Logistics.Types/WarehouseLocations/WarehouseLocationOps.cs +++ b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationOps.cs @@ -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> @@ -75,7 +75,7 @@ internal sealed class WarehouseLocationOps protected override async Task> OnInvoke() { return await (from e in Locations - select e).WithArguments(Arguments).AsEntities(); + select e).WithArguments(Arguments).AsEntities(); } } @@ -91,8 +91,8 @@ internal sealed class WarehouseLocationOps protected override async Task> OnInvoke() { return await (from e in Locations - where e.Warehouse == Arguments.Warehouse - select e).WithArguments(Arguments).AsEntities(); + where e.Warehouse == Arguments.Warehouse + select e).WithArguments(Arguments).AsEntities(); } } @@ -108,9 +108,9 @@ internal sealed class WarehouseLocationOps protected override async Task> 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(); + where e.Warehouse == Arguments.Warehouse + && (Arguments.Parent is null || e.Parent == Arguments.Parent) + select e).WithArguments(Arguments).AsEntities(); } } @@ -126,8 +126,8 @@ internal sealed class WarehouseLocationOps protected override async Task> OnInvoke() { return await (from e in Locations - where Arguments.IdList.Any(f => f == e.Id) - select e).AsEntities(); + where Arguments.IdList.Any(f => f == e.Id) + select e).AsEntities(); } } @@ -143,8 +143,8 @@ internal sealed class WarehouseLocationOps protected override async Task 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 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(); } } diff --git a/Logistics.Types/WarehouseLocations/WarehouseLocationProtection.cs b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationProtection.cs similarity index 93% rename from Logistics.Types/WarehouseLocations/WarehouseLocationProtection.cs rename to Connected.Logistics.Types/WarehouseLocations/WarehouseLocationProtection.cs index 99fa5b3..b7fe4c9 100644 --- a/Logistics.Types/WarehouseLocations/WarehouseLocationProtection.cs +++ b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationProtection.cs @@ -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 { public WarehouseLocationProtection(IWarehouseLocationCache cache) diff --git a/Logistics.Types/WarehouseLocations/WarehouseLocationService.cs b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationService.cs similarity index 93% rename from Logistics.Types/WarehouseLocations/WarehouseLocationService.cs rename to Connected.Logistics.Types/WarehouseLocations/WarehouseLocationService.cs index d0412e6..0f1f92b 100644 --- a/Logistics.Types/WarehouseLocations/WarehouseLocationService.cs +++ b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationService.cs @@ -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, IWarehouseLocationService { public WarehouseLocationService(IContext context) : base(context) diff --git a/Logistics.Types/WarehouseLocations/WarehouseLocationValidation.cs b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationValidation.cs similarity index 96% rename from Logistics.Types/WarehouseLocations/WarehouseLocationValidation.cs rename to Connected.Logistics.Types/WarehouseLocations/WarehouseLocationValidation.cs index 1eb5274..3c16496 100644 --- a/Logistics.Types/WarehouseLocations/WarehouseLocationValidation.cs +++ b/Connected.Logistics.Types/WarehouseLocations/WarehouseLocationValidation.cs @@ -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 { public InsertWarehouseLocationValidation(IWarehouseLocationCache cache, IWarehouseService warehouses) diff --git a/Logistics.Types/Warehouses/Warehouse.cs b/Connected.Logistics.Types/Warehouses/Warehouse.cs similarity index 93% rename from Logistics.Types/Warehouses/Warehouse.cs rename to Connected.Logistics.Types/Warehouses/Warehouse.cs index 0fcaed5..1a6a8c1 100644 --- a/Logistics.Types/Warehouses/Warehouse.cs +++ b/Connected.Logistics.Types/Warehouses/Warehouse.cs @@ -3,7 +3,7 @@ using Connected.Data; using Connected.Entities.Annotations; using Connected.Entities.Consistency; -namespace Logistics.Types.Warehouses; +namespace Connected.Logistics.Types.Warehouses; /// [Table(Schema = Domain.Code)] internal sealed record Warehouse : ConsistentEntity, IWarehouse diff --git a/Logistics.Types/Warehouses/WarehouseCache.cs b/Connected.Logistics.Types/Warehouses/WarehouseCache.cs similarity index 88% rename from Logistics.Types/Warehouses/WarehouseCache.cs rename to Connected.Logistics.Types/Warehouses/WarehouseCache.cs index d260ef0..ac0dc4c 100644 --- a/Logistics.Types/Warehouses/WarehouseCache.cs +++ b/Connected.Logistics.Types/Warehouses/WarehouseCache.cs @@ -1,6 +1,6 @@ using Connected.Entities.Caching; -namespace Logistics.Types.Warehouses; +namespace Connected.Logistics.Types.Warehouses; internal interface IWarehouseCache : IEntityCacheClient { } /// diff --git a/Logistics.Types/Warehouses/WarehouseOps.cs b/Connected.Logistics.Types/Warehouses/WarehouseOps.cs similarity index 98% rename from Logistics.Types/Warehouses/WarehouseOps.cs rename to Connected.Logistics.Types/Warehouses/WarehouseOps.cs index c06b6f6..cabed4c 100644 --- a/Logistics.Types/Warehouses/WarehouseOps.cs +++ b/Connected.Logistics.Types/Warehouses/WarehouseOps.cs @@ -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> diff --git a/Logistics.Types/Warehouses/WarehouseService.cs b/Connected.Logistics.Types/Warehouses/WarehouseService.cs similarity index 94% rename from Logistics.Types/Warehouses/WarehouseService.cs rename to Connected.Logistics.Types/Warehouses/WarehouseService.cs index b27c711..b7fde0f 100644 --- a/Logistics.Types/Warehouses/WarehouseService.cs +++ b/Connected.Logistics.Types/Warehouses/WarehouseService.cs @@ -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; /// internal sealed class WarehouseService : EntityService, IWarehouseService { diff --git a/Logistics.Types/Warehouses/WarehouseValidation.cs b/Connected.Logistics.Types/Warehouses/WarehouseValidation.cs similarity index 95% rename from Logistics.Types/Warehouses/WarehouseValidation.cs rename to Connected.Logistics.Types/Warehouses/WarehouseValidation.cs index 00c9d41..155bd1f 100644 --- a/Logistics.Types/Warehouses/WarehouseValidation.cs +++ b/Connected.Logistics.Types/Warehouses/WarehouseValidation.cs @@ -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 { public InsertWarehouseValidator(IWarehouseCache cache) diff --git a/Logistics.sln b/Connected.Logistics.sln similarity index 56% rename from Logistics.sln rename to Connected.Logistics.sln index 029d5dd..4f816dd 100644 --- a/Logistics.sln +++ b/Connected.Logistics.sln @@ -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} diff --git a/Logistics.Documents.Model/Logistics - Backup.Documents.Model.csproj b/Logistics.Documents.Model/Logistics - Backup.Documents.Model.csproj deleted file mode 100644 index dfee375..0000000 --- a/Logistics.Documents.Model/Logistics - Backup.Documents.Model.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - net7.0 - enable - enable - - - - - - - diff --git a/Logistics.Documents.Model/Logistics.Documents.Model.csproj b/Logistics.Documents.Model/Logistics.Documents.Model.csproj deleted file mode 100644 index b5ed163..0000000 --- a/Logistics.Documents.Model/Logistics.Documents.Model.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - net7.0 - enable - enable - Logistics.Documents - - - - - - - - diff --git a/Logistics.Processes.Receive/Logistics.Processes.Receive.csproj b/Logistics.Processes.Receive/Logistics.Processes.Receive.csproj deleted file mode 100644 index fbce098..0000000 --- a/Logistics.Processes.Receive/Logistics.Processes.Receive.csproj +++ /dev/null @@ -1,23 +0,0 @@ - - - - net7.0 - enable - enable - Logistics.Documents - - - - - - - - - - - - - - - - diff --git a/Logistics.Stock/Logistics.Stock.csproj b/Logistics.Stock/Logistics.Stock.csproj deleted file mode 100644 index a93d2af..0000000 --- a/Logistics.Stock/Logistics.Stock.csproj +++ /dev/null @@ -1,17 +0,0 @@ - - - - net7.0 - enable - enable - - - - - - - - - - - diff --git a/Logistics.Types/Logistics.Types.csproj b/Logistics.Types/Logistics.Types.csproj deleted file mode 100644 index c196cdb..0000000 --- a/Logistics.Types/Logistics.Types.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - net7.0 - enable - enable - - - - - - - - -