diff --git a/README.md b/README.md index b9657cf3..10cdef5f 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ ## Code Quality -[![Codacy Badge](https://app.codacy.com/project/badge/Grade/f6d787f9a2fe4116a7a8a0043489ba67)](https://www.codacy.com/gh/guibranco/Sankhya-SDK-dotnet/dashboard?utm_source=github.com&utm_medium=referral&utm_content=guibranco/Sankhya-SDK-dotnet&utm_campaign=Badge_Grade) -[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/f6d787f9a2fe4116a7a8a0043489ba67)](https://www.codacy.com/gh/guibranco/Sankhya-SDK-dotnet/dashboard?utm_source=github.com&utm_medium=referral&utm_content=guibranco/Sankhya-SDK-dotnet&utm_campaign=Badge_Coverage) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/f6d787f9a2fe4116a7a8a0043489ba67)](https://app.codacy.com/gh/guibranco/Sankhya-SDK-dotnet/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) +[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/f6d787f9a2fe4116a7a8a0043489ba67)](https://app.codacy.com/gh/guibranco/Sankhya-SDK-dotnet/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage) [![codecov](https://codecov.io/gh/guibranco/Sankhya-SDK-dotnet/branch/main/graph/badge.svg)](https://codecov.io/gh/guibranco/Sankhya-SDK-dotnet) [![CodeFactor](https://www.codefactor.io/repository/github/guibranco/Sankhya-SDK-dotnet/badge)](https://www.codefactor.io/repository/github/guibranco/Sankhya-SDK-dotnet) diff --git a/Src/Sankhya/Attributes/EntityAttribute.cs b/Src/Sankhya/Attributes/EntityAttribute.cs index d172d1e3..f22a8c50 100644 --- a/Src/Sankhya/Attributes/EntityAttribute.cs +++ b/Src/Sankhya/Attributes/EntityAttribute.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; + namespace Sankhya.Attributes; /// diff --git a/Src/Sankhya/Attributes/EntityCustomDataAttribute.cs b/Src/Sankhya/Attributes/EntityCustomDataAttribute.cs index c13810cb..9f8cc5f4 100644 --- a/Src/Sankhya/Attributes/EntityCustomDataAttribute.cs +++ b/Src/Sankhya/Attributes/EntityCustomDataAttribute.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; + namespace Sankhya.Attributes; /// diff --git a/Src/Sankhya/Attributes/EntityElementAttribute.cs b/Src/Sankhya/Attributes/EntityElementAttribute.cs index 6db163c6..508deca3 100644 --- a/Src/Sankhya/Attributes/EntityElementAttribute.cs +++ b/Src/Sankhya/Attributes/EntityElementAttribute.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; + namespace Sankhya.Attributes; /// diff --git a/Src/Sankhya/Attributes/EntityIgnoreAttribute.cs b/Src/Sankhya/Attributes/EntityIgnoreAttribute.cs index e4b054c6..59be1fdb 100644 --- a/Src/Sankhya/Attributes/EntityIgnoreAttribute.cs +++ b/Src/Sankhya/Attributes/EntityIgnoreAttribute.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; + namespace Sankhya.Attributes; /// diff --git a/Src/Sankhya/Attributes/EntityKeyAttribute.cs b/Src/Sankhya/Attributes/EntityKeyAttribute.cs index dce7538d..1a5b9d4d 100644 --- a/Src/Sankhya/Attributes/EntityKeyAttribute.cs +++ b/Src/Sankhya/Attributes/EntityKeyAttribute.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; + namespace Sankhya.Attributes; /// diff --git a/Src/Sankhya/Attributes/EntityReferenceAttribute.cs b/Src/Sankhya/Attributes/EntityReferenceAttribute.cs index 2188d252..3f76c152 100644 --- a/Src/Sankhya/Attributes/EntityReferenceAttribute.cs +++ b/Src/Sankhya/Attributes/EntityReferenceAttribute.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; + namespace Sankhya.Attributes; /// diff --git a/Src/Sankhya/Attributes/ServiceAttribute.cs b/Src/Sankhya/Attributes/ServiceAttribute.cs index e2fcfe60..120d2aa9 100644 --- a/Src/Sankhya/Attributes/ServiceAttribute.cs +++ b/Src/Sankhya/Attributes/ServiceAttribute.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using Sankhya.Enums; namespace Sankhya.Attributes; diff --git a/Src/Sankhya/Enums/ServiceName.cs b/Src/Sankhya/Enums/ServiceName.cs index 8c9af993..90ce0557 100644 --- a/Src/Sankhya/Enums/ServiceName.cs +++ b/Src/Sankhya/Enums/ServiceName.cs @@ -1,18 +1,4 @@ -// *********************************************************************** -// Assembly : Sankhya -// Author : Guilherme Branco Stracini -// Created : 01-16-2023 -// -// Last Modified By : Guilherme Branco Stracini -// Last Modified On : 01-16-2023 -// *********************************************************************** -// -// © 2023 Guilherme Branco Stracini. All rights reserved. -// -// -// *********************************************************************** - -using CrispyWaffle.Attributes; +using CrispyWaffle.Attributes; using Sankhya.Attributes; namespace Sankhya.Enums; diff --git a/Src/Sankhya/Events/OnDemandRequestFailureEvent.cs b/Src/Sankhya/Events/OnDemandRequestFailureEvent.cs index 539bfd75..e194f23b 100644 --- a/Src/Sankhya/Events/OnDemandRequestFailureEvent.cs +++ b/Src/Sankhya/Events/OnDemandRequestFailureEvent.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using CrispyWaffle.Events; using Sankhya.Transport; diff --git a/Src/Sankhya/GoodPractices/CanceledOnDemandRequestWrapperException.cs b/Src/Sankhya/GoodPractices/CanceledOnDemandRequestWrapperException.cs index 02f51503..c22d0dd4 100644 --- a/Src/Sankhya/GoodPractices/CanceledOnDemandRequestWrapperException.cs +++ b/Src/Sankhya/GoodPractices/CanceledOnDemandRequestWrapperException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Runtime.Serialization; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/ConfirmInvoiceException.cs b/Src/Sankhya/GoodPractices/ConfirmInvoiceException.cs index a120b36a..7a6d9f1f 100644 --- a/Src/Sankhya/GoodPractices/ConfirmInvoiceException.cs +++ b/Src/Sankhya/GoodPractices/ConfirmInvoiceException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Globalization; using System.Runtime.Serialization; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/InvalidKeyFileException.cs b/Src/Sankhya/GoodPractices/InvalidKeyFileException.cs index d6744de9..f6efb064 100644 --- a/Src/Sankhya/GoodPractices/InvalidKeyFileException.cs +++ b/Src/Sankhya/GoodPractices/InvalidKeyFileException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/InvalidServiceQueryOptionsException.cs b/Src/Sankhya/GoodPractices/InvalidServiceQueryOptionsException.cs index 55ebf2ee..ab9ca17a 100644 --- a/Src/Sankhya/GoodPractices/InvalidServiceQueryOptionsException.cs +++ b/Src/Sankhya/GoodPractices/InvalidServiceQueryOptionsException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/GoodPractices/InvalidServiceRequestOperationException.cs b/Src/Sankhya/GoodPractices/InvalidServiceRequestOperationException.cs index 6dc67d48..8dc2c301 100644 --- a/Src/Sankhya/GoodPractices/InvalidServiceRequestOperationException.cs +++ b/Src/Sankhya/GoodPractices/InvalidServiceRequestOperationException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/GoodPractices/MarkAsPaymentPaidException.cs b/Src/Sankhya/GoodPractices/MarkAsPaymentPaidException.cs index 2a225c7c..ce943136 100644 --- a/Src/Sankhya/GoodPractices/MarkAsPaymentPaidException.cs +++ b/Src/Sankhya/GoodPractices/MarkAsPaymentPaidException.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; +using System.Collections.Generic; using System.Globalization; using System.Runtime.Serialization; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/MissingSerializerHelperEntityException.cs b/Src/Sankhya/GoodPractices/MissingSerializerHelperEntityException.cs index 3f73918a..efcea122 100644 --- a/Src/Sankhya/GoodPractices/MissingSerializerHelperEntityException.cs +++ b/Src/Sankhya/GoodPractices/MissingSerializerHelperEntityException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/NoItemsConfirmInvoiceException.cs b/Src/Sankhya/GoodPractices/NoItemsConfirmInvoiceException.cs index e88ed51e..630a12ad 100644 --- a/Src/Sankhya/GoodPractices/NoItemsConfirmInvoiceException.cs +++ b/Src/Sankhya/GoodPractices/NoItemsConfirmInvoiceException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/OpenFileException.cs b/Src/Sankhya/GoodPractices/OpenFileException.cs index 4dc89299..19fdf1d9 100644 --- a/Src/Sankhya/GoodPractices/OpenFileException.cs +++ b/Src/Sankhya/GoodPractices/OpenFileException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/PagedRequestException.cs b/Src/Sankhya/GoodPractices/PagedRequestException.cs index a9fee815..75a22ab3 100644 --- a/Src/Sankhya/GoodPractices/PagedRequestException.cs +++ b/Src/Sankhya/GoodPractices/PagedRequestException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/RemoveInvoiceException.cs b/Src/Sankhya/GoodPractices/RemoveInvoiceException.cs index b81dff22..e4435ca3 100644 --- a/Src/Sankhya/GoodPractices/RemoveInvoiceException.cs +++ b/Src/Sankhya/GoodPractices/RemoveInvoiceException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestAttributeException.cs b/Src/Sankhya/GoodPractices/ServiceRequestAttributeException.cs index d706f097..bcd23e74 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestAttributeException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestAttributeException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; using Sankhya.Enums; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestBusinessRuleRestrictionException.cs b/Src/Sankhya/GoodPractices/ServiceRequestBusinessRuleRestrictionException.cs index 34575fbe..e3dc8925 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestBusinessRuleRestrictionException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestBusinessRuleRestrictionException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestCanceledQueryException.cs b/Src/Sankhya/GoodPractices/ServiceRequestCanceledQueryException.cs index b2e9865c..26113ca6 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestCanceledQueryException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestCanceledQueryException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Service; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestCompetitionException.cs b/Src/Sankhya/GoodPractices/ServiceRequestCompetitionException.cs index 4a764e77..30085c31 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestCompetitionException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestCompetitionException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestDeadlockException.cs b/Src/Sankhya/GoodPractices/ServiceRequestDeadlockException.cs index 82037569..ef60fc80 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestDeadlockException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestDeadlockException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Service; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestDuplicatedDocumentException.cs b/Src/Sankhya/GoodPractices/ServiceRequestDuplicatedDocumentException.cs index f8e0e0bc..1263055d 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestDuplicatedDocumentException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestDuplicatedDocumentException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestExpiredAuthenticationException.cs b/Src/Sankhya/GoodPractices/ServiceRequestExpiredAuthenticationException.cs index b528749c..45781b43 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestExpiredAuthenticationException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestExpiredAuthenticationException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestExternalException.cs b/Src/Sankhya/GoodPractices/ServiceRequestExternalException.cs index 2b9c6e60..bee47107 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestExternalException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestExternalException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; using Sankhya.Enums; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestFileNotFoundException.cs b/Src/Sankhya/GoodPractices/ServiceRequestFileNotFoundException.cs index ced8e7ea..026b1966 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestFileNotFoundException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestFileNotFoundException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestForeignKeyException.cs b/Src/Sankhya/GoodPractices/ServiceRequestForeignKeyException.cs index ed928f12..36baa23f 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestForeignKeyException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestForeignKeyException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestFullTransactionLogsException.cs b/Src/Sankhya/GoodPractices/ServiceRequestFullTransactionLogsException.cs index 18a1916a..e2d359a5 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestFullTransactionLogsException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestFullTransactionLogsException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestGeneralException.cs b/Src/Sankhya/GoodPractices/ServiceRequestGeneralException.cs index 8612b42a..166ccab7 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestGeneralException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestGeneralException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using System.Xml; using CrispyWaffle.GoodPractices; using CrispyWaffle.Serialization; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestInaccessibleException.cs b/Src/Sankhya/GoodPractices/ServiceRequestInaccessibleException.cs index 89e69a07..7d8792d8 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestInaccessibleException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestInaccessibleException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestInvalidAuthorizationException.cs b/Src/Sankhya/GoodPractices/ServiceRequestInvalidAuthorizationException.cs index 82feaa47..c88866fa 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestInvalidAuthorizationException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestInvalidAuthorizationException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestInvalidCredentialsException.cs b/Src/Sankhya/GoodPractices/ServiceRequestInvalidCredentialsException.cs index 0973711b..e73fa654 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestInvalidCredentialsException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestInvalidCredentialsException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestInvalidExpressionException.cs b/Src/Sankhya/GoodPractices/ServiceRequestInvalidExpressionException.cs index 5915e7bd..4c956960 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestInvalidExpressionException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestInvalidExpressionException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using Sankhya.Enums; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestInvalidOperationException.cs b/Src/Sankhya/GoodPractices/ServiceRequestInvalidOperationException.cs index 78f630e3..d877033a 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestInvalidOperationException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestInvalidOperationException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using System.Xml; using CrispyWaffle.GoodPractices; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestInvalidRelationException.cs b/Src/Sankhya/GoodPractices/ServiceRequestInvalidRelationException.cs index 9abc5a7a..7a16e1b6 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestInvalidRelationException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestInvalidRelationException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestInvalidSubqueryException.cs b/Src/Sankhya/GoodPractices/ServiceRequestInvalidSubqueryException.cs index 23f4f018..9b87c0cf 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestInvalidSubqueryException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestInvalidSubqueryException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestPaginationException.cs b/Src/Sankhya/GoodPractices/ServiceRequestPaginationException.cs index 499c1da4..4b845ec3 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestPaginationException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestPaginationException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestPartnerFiscalClassificationException.cs b/Src/Sankhya/GoodPractices/ServiceRequestPartnerFiscalClassificationException.cs index 02d8c29c..566e5474 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestPartnerFiscalClassificationException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestPartnerFiscalClassificationException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestPartnerInvalidDocumentLengthException.cs b/Src/Sankhya/GoodPractices/ServiceRequestPartnerInvalidDocumentLengthException.cs index f990e46a..f579e350 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestPartnerInvalidDocumentLengthException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestPartnerInvalidDocumentLengthException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestPartnerStateInscriptionException.cs b/Src/Sankhya/GoodPractices/ServiceRequestPartnerStateInscriptionException.cs index 7c6223fb..2d5e144a 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestPartnerStateInscriptionException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestPartnerStateInscriptionException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestPropertyNameException.cs b/Src/Sankhya/GoodPractices/ServiceRequestPropertyNameException.cs index ca2c4e45..a9f0359a 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestPropertyNameException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestPropertyNameException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestPropertyValueException.cs b/Src/Sankhya/GoodPractices/ServiceRequestPropertyValueException.cs index ed73af5f..8caed361 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestPropertyValueException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestPropertyValueException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestPropertyWidthException.cs b/Src/Sankhya/GoodPractices/ServiceRequestPropertyWidthException.cs index a2ee90ea..4369b2b0 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestPropertyWidthException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestPropertyWidthException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestRepeatedException.cs b/Src/Sankhya/GoodPractices/ServiceRequestRepeatedException.cs index aa1756b1..4447f7ec 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestRepeatedException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestRepeatedException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestTemporarilyException.cs b/Src/Sankhya/GoodPractices/ServiceRequestTemporarilyException.cs index 06cdf8ce..ac162647 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestTemporarilyException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestTemporarilyException.cs @@ -1,4 +1,5 @@ -using System.Runtime.Serialization; +using System; +using System.Runtime.Serialization; using Sankhya.Service; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestTimeoutException.cs b/Src/Sankhya/GoodPractices/ServiceRequestTimeoutException.cs index 723f33f0..4a23051b 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestTimeoutException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestTimeoutException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; using Sankhya.Enums; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestTooManyResultsException.cs b/Src/Sankhya/GoodPractices/ServiceRequestTooManyResultsException.cs index cffe8218..68235921 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestTooManyResultsException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestTooManyResultsException.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestUnavailableException.cs b/Src/Sankhya/GoodPractices/ServiceRequestUnavailableException.cs index 611c5806..3cde47b7 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestUnavailableException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestUnavailableException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestUnbalancedDelimiterException.cs b/Src/Sankhya/GoodPractices/ServiceRequestUnbalancedDelimiterException.cs index 13099fc8..cd457f43 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestUnbalancedDelimiterException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestUnbalancedDelimiterException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Runtime.Serialization; using Sankhya.Properties; using Sankhya.Service; diff --git a/Src/Sankhya/GoodPractices/ServiceRequestUnexpectedResultException.cs b/Src/Sankhya/GoodPractices/ServiceRequestUnexpectedResultException.cs index 6e9694ab..edb4b486 100644 --- a/Src/Sankhya/GoodPractices/ServiceRequestUnexpectedResultException.cs +++ b/Src/Sankhya/GoodPractices/ServiceRequestUnexpectedResultException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Globalization; using System.Runtime.Serialization; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/GoodPractices/ServiceResponseUnexpectedElementException.cs b/Src/Sankhya/GoodPractices/ServiceResponseUnexpectedElementException.cs index 09655199..4e4f1ee9 100644 --- a/Src/Sankhya/GoodPractices/ServiceResponseUnexpectedElementException.cs +++ b/Src/Sankhya/GoodPractices/ServiceResponseUnexpectedElementException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; diff --git a/Src/Sankhya/GoodPractices/TooInnerLevelsException.cs b/Src/Sankhya/GoodPractices/TooInnerLevelsException.cs index 93e44d17..437afc46 100644 --- a/Src/Sankhya/GoodPractices/TooInnerLevelsException.cs +++ b/Src/Sankhya/GoodPractices/TooInnerLevelsException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Runtime.Serialization; namespace Sankhya.GoodPractices; diff --git a/Src/Sankhya/GoodPractices/UnlinkShippingException.cs b/Src/Sankhya/GoodPractices/UnlinkShippingException.cs index 728eb674..69b7d3e7 100644 --- a/Src/Sankhya/GoodPractices/UnlinkShippingException.cs +++ b/Src/Sankhya/GoodPractices/UnlinkShippingException.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Globalization; using System.Runtime.Serialization; using Sankhya.Properties; diff --git a/Src/Sankhya/Helpers/EntityDynamicSerialization.cs b/Src/Sankhya/Helpers/EntityDynamicSerialization.cs index 4b2f7eb1..529cbf0c 100644 --- a/Src/Sankhya/Helpers/EntityDynamicSerialization.cs +++ b/Src/Sankhya/Helpers/EntityDynamicSerialization.cs @@ -1,4 +1,5 @@ -using System.Globalization; +using System; +using System.Globalization; using System.Reflection; using System.Runtime.Serialization; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Helpers/EntityExtensions.cs b/Src/Sankhya/Helpers/EntityExtensions.cs index 598c1429..9caf279a 100644 --- a/Src/Sankhya/Helpers/EntityExtensions.cs +++ b/Src/Sankhya/Helpers/EntityExtensions.cs @@ -1,4 +1,7 @@ -using System.Globalization; +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; using System.Reflection; using CrispyWaffle.Extensions; using CrispyWaffle.Log; diff --git a/Src/Sankhya/Helpers/EntityQueryOptions.cs b/Src/Sankhya/Helpers/EntityQueryOptions.cs index 38bced0c..db52fef7 100644 --- a/Src/Sankhya/Helpers/EntityQueryOptions.cs +++ b/Src/Sankhya/Helpers/EntityQueryOptions.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using Sankhya.Enums; namespace Sankhya.Helpers; diff --git a/Src/Sankhya/Helpers/GenericServiceEntity.cs b/Src/Sankhya/Helpers/GenericServiceEntity.cs index a853a350..eabd1ce4 100644 --- a/Src/Sankhya/Helpers/GenericServiceEntity.cs +++ b/Src/Sankhya/Helpers/GenericServiceEntity.cs @@ -1,4 +1,5 @@ -using System.Reflection; +using System; +using System.Reflection; using System.Text; using System.Xml; using System.Xml.Schema; diff --git a/Src/Sankhya/Helpers/ServiceRequestExtensions.cs b/Src/Sankhya/Helpers/ServiceRequestExtensions.cs index 8ae78c92..7426b8b1 100644 --- a/Src/Sankhya/Helpers/ServiceRequestExtensions.cs +++ b/Src/Sankhya/Helpers/ServiceRequestExtensions.cs @@ -12,7 +12,10 @@ // // *********************************************************************** +using System; +using System.Collections.Generic; using System.Globalization; +using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; diff --git a/Src/Sankhya/Helpers/StatusMessageHelper.cs b/Src/Sankhya/Helpers/StatusMessageHelper.cs index 0e1c5383..93637adf 100644 --- a/Src/Sankhya/Helpers/StatusMessageHelper.cs +++ b/Src/Sankhya/Helpers/StatusMessageHelper.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.RegularExpressions; using CrispyWaffle.Extensions; using Sankhya.Enums; using Sankhya.GoodPractices; diff --git a/Src/Sankhya/RequestHelpers/RequestExceptionDetails.cs b/Src/Sankhya/RequestHelpers/RequestExceptionDetails.cs index 280f5b96..efe3cb9c 100644 --- a/Src/Sankhya/RequestHelpers/RequestExceptionDetails.cs +++ b/Src/Sankhya/RequestHelpers/RequestExceptionDetails.cs @@ -1,4 +1,5 @@ -using Sankhya.Attributes; +using System; +using Sankhya.Attributes; using Sankhya.Enums; using Sankhya.Service; diff --git a/Src/Sankhya/RequestHelpers/RequestExceptionHandler.cs b/Src/Sankhya/RequestHelpers/RequestExceptionHandler.cs index 1c50a9fe..a7130b9f 100644 --- a/Src/Sankhya/RequestHelpers/RequestExceptionHandler.cs +++ b/Src/Sankhya/RequestHelpers/RequestExceptionHandler.cs @@ -1,4 +1,5 @@ -using Sankhya.Enums; +using System; +using Sankhya.Enums; using Sankhya.GoodPractices; namespace Sankhya.RequestHelpers; diff --git a/Src/Sankhya/RequestWrappers/IOnDemandRequestWrapper.cs b/Src/Sankhya/RequestWrappers/IOnDemandRequestWrapper.cs index 807f8871..71f7c6e5 100644 --- a/Src/Sankhya/RequestWrappers/IOnDemandRequestWrapper.cs +++ b/Src/Sankhya/RequestWrappers/IOnDemandRequestWrapper.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using Sankhya.Transport; namespace Sankhya.RequestWrappers; diff --git a/Src/Sankhya/RequestWrappers/KnowServicesRequestWrapper.cs b/Src/Sankhya/RequestWrappers/KnowServicesRequestWrapper.cs index 3b0590a4..50812eb6 100644 --- a/Src/Sankhya/RequestWrappers/KnowServicesRequestWrapper.cs +++ b/Src/Sankhya/RequestWrappers/KnowServicesRequestWrapper.cs @@ -1,4 +1,8 @@ -using System.ComponentModel; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Threading.Tasks; using CrispyWaffle.Composition; using CrispyWaffle.Extensions; using CrispyWaffle.Log; diff --git a/Src/Sankhya/RequestWrappers/OnDemandRequestFactory.cs b/Src/Sankhya/RequestWrappers/OnDemandRequestFactory.cs index d1443b53..f26cff24 100644 --- a/Src/Sankhya/RequestWrappers/OnDemandRequestFactory.cs +++ b/Src/Sankhya/RequestWrappers/OnDemandRequestFactory.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +using System; +using System.Collections.Concurrent; +using System.Linq; +using System.Threading; using Sankhya.Enums; using Sankhya.Transport; using Sankhya.ValueObjects; diff --git a/Src/Sankhya/RequestWrappers/OnDemandRequestWrapper.cs b/Src/Sankhya/RequestWrappers/OnDemandRequestWrapper.cs index 885e7f2a..eb6948b1 100644 --- a/Src/Sankhya/RequestWrappers/OnDemandRequestWrapper.cs +++ b/Src/Sankhya/RequestWrappers/OnDemandRequestWrapper.cs @@ -1,5 +1,9 @@ -using System.Collections.Concurrent; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; using System.Globalization; +using System.Linq; +using System.Threading; using CrispyWaffle.Composition; using CrispyWaffle.Events; using CrispyWaffle.Log; diff --git a/Src/Sankhya/RequestWrappers/PagedRequestWrapper.cs b/Src/Sankhya/RequestWrappers/PagedRequestWrapper.cs index 243502aa..08a66e77 100644 --- a/Src/Sankhya/RequestWrappers/PagedRequestWrapper.cs +++ b/Src/Sankhya/RequestWrappers/PagedRequestWrapper.cs @@ -1,6 +1,11 @@ -using System.Collections.Concurrent; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; using System.Diagnostics; using System.Globalization; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; using CrispyWaffle.Cache; using CrispyWaffle.Composition; using CrispyWaffle.Infrastructure; diff --git a/Src/Sankhya/RequestWrappers/SimpleCRUDRequestWrapper.cs b/Src/Sankhya/RequestWrappers/SimpleCRUDRequestWrapper.cs index d46e0371..7201a9aa 100644 --- a/Src/Sankhya/RequestWrappers/SimpleCRUDRequestWrapper.cs +++ b/Src/Sankhya/RequestWrappers/SimpleCRUDRequestWrapper.cs @@ -1,4 +1,8 @@ -using CrispyWaffle.Composition; +using System; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using CrispyWaffle.Composition; using CrispyWaffle.Log; using Sankhya.Enums; using Sankhya.GoodPractices; diff --git a/Src/Sankhya/SankhyaContext.cs b/Src/Sankhya/SankhyaContext.cs index 9707b5be..6115a505 100644 --- a/Src/Sankhya/SankhyaContext.cs +++ b/Src/Sankhya/SankhyaContext.cs @@ -1,4 +1,8 @@ -using System.Collections.Concurrent; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; using CrispyWaffle.Configuration; using CrispyWaffle.Extensions; using CrispyWaffle.Log; diff --git a/Src/Sankhya/SankhyaWrapper.cs b/Src/Sankhya/SankhyaWrapper.cs index 0cf724c5..f2432ebd 100644 --- a/Src/Sankhya/SankhyaWrapper.cs +++ b/Src/Sankhya/SankhyaWrapper.cs @@ -9,14 +9,20 @@ // // *********************************************************************** +using System; using System.Collections.Concurrent; +using System.Collections.Generic; using System.ComponentModel; using System.Globalization; +using System.IO; +using System.Linq; using System.Net; using System.Net.Mime; using System.Reflection; using System.Text; using System.Text.RegularExpressions; +using System.Threading; +using System.Threading.Tasks; using CrispyWaffle.Extensions; using CrispyWaffle.Infrastructure; using CrispyWaffle.Log; diff --git a/Src/Sankhya/Service/Accompaniment.cs b/Src/Sankhya/Service/Accompaniment.cs index 8f4a596f..df739434 100644 --- a/Src/Sankhya/Service/Accompaniment.cs +++ b/Src/Sankhya/Service/Accompaniment.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +using System; +using System.ComponentModel; using System.Globalization; using System.Xml.Serialization; diff --git a/Src/Sankhya/Service/FieldValue.cs b/Src/Sankhya/Service/FieldValue.cs index 43413f95..6efeac18 100644 --- a/Src/Sankhya/Service/FieldValue.cs +++ b/Src/Sankhya/Service/FieldValue.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Diagnostics.CodeAnalysis; using System.Xml.Serialization; @@ -19,7 +20,7 @@ namespace Sankhya.Service; /// /// Class FieldValue. This class cannot be inherited. -/// Implements the +/// Implements the /// /// public sealed class FieldValue : IEquatable diff --git a/Src/Sankhya/Service/Invoices.cs b/Src/Sankhya/Service/Invoices.cs index e61b1d66..e9360007 100644 --- a/Src/Sankhya/Service/Invoices.cs +++ b/Src/Sankhya/Service/Invoices.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +using System; +using System.ComponentModel; using System.Globalization; using System.Xml.Serialization; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Service/LiteralCriteria.cs b/Src/Sankhya/Service/LiteralCriteria.cs index 9bbb747c..7f78f5b6 100644 --- a/Src/Sankhya/Service/LiteralCriteria.cs +++ b/Src/Sankhya/Service/LiteralCriteria.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.ComponentModel; using System.Text; using System.Xml.Serialization; diff --git a/Src/Sankhya/Service/LowData.cs b/Src/Sankhya/Service/LowData.cs index 905712c2..fe55d241 100644 --- a/Src/Sankhya/Service/LowData.cs +++ b/Src/Sankhya/Service/LowData.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +using System; +using System.ComponentModel; using System.Xml.Serialization; namespace Sankhya.Service; diff --git a/Src/Sankhya/Service/NotificationElem.cs b/Src/Sankhya/Service/NotificationElem.cs index ea9e4ae7..4fbb9f32 100644 --- a/Src/Sankhya/Service/NotificationElem.cs +++ b/Src/Sankhya/Service/NotificationElem.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +using System; +using System.ComponentModel; using System.Xml.Serialization; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Service/Release.cs b/Src/Sankhya/Service/Release.cs index e63e8b2b..e0ae696c 100644 --- a/Src/Sankhya/Service/Release.cs +++ b/Src/Sankhya/Service/Release.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Globalization; using System.Xml.Serialization; diff --git a/Src/Sankhya/Service/ServiceResponse.cs b/Src/Sankhya/Service/ServiceResponse.cs index 1ff1a072..b294f6a0 100644 --- a/Src/Sankhya/Service/ServiceResponse.cs +++ b/Src/Sankhya/Service/ServiceResponse.cs @@ -1,4 +1,6 @@ -using System.ComponentModel; +using System; +using System.Collections.Generic; +using System.ComponentModel; using System.Diagnostics; using System.Globalization; using System.Text; @@ -680,7 +682,7 @@ List entities /// It then checks for the presence of the entity element defined by . /// If found, it reads each entity and adds it to the provided list of entities. /// The method continues to read until there are no more elements of the specified type. - /// Finally, it converts the list of entities to an array and assigns it to . + /// Finally, it converts the list of entities to an array and assigns it to . /// This method is primarily used for deserializing dynamic entities from an XML structure into a manageable format. /// private bool ProcessCrudServiceEntities( diff --git a/Src/Sankhya/Transport/Address.cs b/Src/Sankhya/Transport/Address.cs index 0b838548..af312869 100644 --- a/Src/Sankhya/Transport/Address.cs +++ b/Src/Sankhya/Transport/Address.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Diagnostics.CodeAnalysis; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/City.cs b/Src/Sankhya/Transport/City.cs index ab9c9e50..b1bf3ad0 100644 --- a/Src/Sankhya/Transport/City.cs +++ b/Src/Sankhya/Transport/City.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Serialization; diff --git a/Src/Sankhya/Transport/CodeBars.cs b/Src/Sankhya/Transport/CodeBars.cs index 9593f766..1e50eacc 100644 --- a/Src/Sankhya/Transport/CodeBars.cs +++ b/Src/Sankhya/Transport/CodeBars.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/Contact.cs b/Src/Sankhya/Transport/Contact.cs index 361b1db4..18692647 100644 --- a/Src/Sankhya/Transport/Contact.cs +++ b/Src/Sankhya/Transport/Contact.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/Financial.cs b/Src/Sankhya/Transport/Financial.cs index e4063aac..f0f4450d 100644 --- a/Src/Sankhya/Transport/Financial.cs +++ b/Src/Sankhya/Transport/Financial.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; diff --git a/Src/Sankhya/Transport/FiscalInvoiceHeader.cs b/Src/Sankhya/Transport/FiscalInvoiceHeader.cs index e81fcbad..c405edce 100644 --- a/Src/Sankhya/Transport/FiscalInvoiceHeader.cs +++ b/Src/Sankhya/Transport/FiscalInvoiceHeader.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/InvoiceCanceled.cs b/Src/Sankhya/Transport/InvoiceCanceled.cs index 7b641d20..d18eb547 100644 --- a/Src/Sankhya/Transport/InvoiceCanceled.cs +++ b/Src/Sankhya/Transport/InvoiceCanceled.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/InvoiceFollowUp.cs b/Src/Sankhya/Transport/InvoiceFollowUp.cs index 93baf2b2..8a072bc0 100644 --- a/Src/Sankhya/Transport/InvoiceFollowUp.cs +++ b/Src/Sankhya/Transport/InvoiceFollowUp.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; diff --git a/Src/Sankhya/Transport/InvoiceHeader.cs b/Src/Sankhya/Transport/InvoiceHeader.cs index abfcb5f2..230b9b4c 100644 --- a/Src/Sankhya/Transport/InvoiceHeader.cs +++ b/Src/Sankhya/Transport/InvoiceHeader.cs @@ -1,4 +1,5 @@ -using System.ComponentModel; +using System; +using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/InvoiceHeaderExclusion.cs b/Src/Sankhya/Transport/InvoiceHeaderExclusion.cs index 314abf3e..fb0612fd 100644 --- a/Src/Sankhya/Transport/InvoiceHeaderExclusion.cs +++ b/Src/Sankhya/Transport/InvoiceHeaderExclusion.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; @@ -12,7 +13,7 @@ namespace Sankhya.Transport; /// Class InvoiceHeaderExclusion. This class cannot be inherited. /// /// -/// +/// [Entity("CabecalhoNotaExcluida")] public class InvoiceHeaderExclusion : IEntity, IEquatable { diff --git a/Src/Sankhya/Transport/InvoiceItem.cs b/Src/Sankhya/Transport/InvoiceItem.cs index fe2dd2da..9018197b 100644 --- a/Src/Sankhya/Transport/InvoiceItem.cs +++ b/Src/Sankhya/Transport/InvoiceItem.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/ItemMakeupProduct.cs b/Src/Sankhya/Transport/ItemMakeupProduct.cs index 1759dd97..111dbe10 100644 --- a/Src/Sankhya/Transport/ItemMakeupProduct.cs +++ b/Src/Sankhya/Transport/ItemMakeupProduct.cs @@ -1,3 +1,4 @@ +using System; using System.Diagnostics.CodeAnalysis; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/Neighborhood.cs b/Src/Sankhya/Transport/Neighborhood.cs index fcb76b0b..ace8d3d8 100644 --- a/Src/Sankhya/Transport/Neighborhood.cs +++ b/Src/Sankhya/Transport/Neighborhood.cs @@ -1,17 +1,4 @@ -// *********************************************************************** -// Assembly : Sankhya -// Author : Guilherme Branco Stracini -// Created : 01-16-2023 -// -// Last Modified By : Guilherme Branco Stracini -// Last Modified On : 01-16-2023 -// *********************************************************************** -// -// © 2023 Guilherme Branco Stracini. All rights reserved. -// -// -// *********************************************************************** - +using System; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Serialization; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/Partner.cs b/Src/Sankhya/Transport/Partner.cs index 7e61ffd2..4fad6854 100644 --- a/Src/Sankhya/Transport/Partner.cs +++ b/Src/Sankhya/Transport/Partner.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/PartnerComplement.cs b/Src/Sankhya/Transport/PartnerComplement.cs index c0194221..84373032 100644 --- a/Src/Sankhya/Transport/PartnerComplement.cs +++ b/Src/Sankhya/Transport/PartnerComplement.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/Product.cs b/Src/Sankhya/Transport/Product.cs index 2b948040..5f28ad77 100644 --- a/Src/Sankhya/Transport/Product.cs +++ b/Src/Sankhya/Transport/Product.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; +using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; diff --git a/Src/Sankhya/Transport/ProductAlternativeImage.cs b/Src/Sankhya/Transport/ProductAlternativeImage.cs index 9de6a854..663e836a 100644 --- a/Src/Sankhya/Transport/ProductAlternativeImage.cs +++ b/Src/Sankhya/Transport/ProductAlternativeImage.cs @@ -1,3 +1,4 @@ +using System; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Serialization; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/ProductCost.cs b/Src/Sankhya/Transport/ProductCost.cs index 89a97d25..9ae0fd36 100644 --- a/Src/Sankhya/Transport/ProductCost.cs +++ b/Src/Sankhya/Transport/ProductCost.cs @@ -1,3 +1,4 @@ +using System; using System.Diagnostics.CodeAnalysis; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/ProductInventory.cs b/Src/Sankhya/Transport/ProductInventory.cs index 52d8a0fa..712b5169 100644 --- a/Src/Sankhya/Transport/ProductInventory.cs +++ b/Src/Sankhya/Transport/ProductInventory.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/ProductSuggestedSale.cs b/Src/Sankhya/Transport/ProductSuggestedSale.cs index d7a67676..6cf0693e 100644 --- a/Src/Sankhya/Transport/ProductSuggestedSale.cs +++ b/Src/Sankhya/Transport/ProductSuggestedSale.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/Region.cs b/Src/Sankhya/Transport/Region.cs index 377c68b8..dff613aa 100644 --- a/Src/Sankhya/Transport/Region.cs +++ b/Src/Sankhya/Transport/Region.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/Seller.cs b/Src/Sankhya/Transport/Seller.cs index 939fb298..2bb61dae 100644 --- a/Src/Sankhya/Transport/Seller.cs +++ b/Src/Sankhya/Transport/Seller.cs @@ -1,17 +1,4 @@ -// *********************************************************************** -// Assembly : Sankhya -// Author : Guilherme Branco Stracini -// Created : 01-16-2023 -// -// Last Modified By : Guilherme Branco Stracini -// Last Modified On : 01-16-2023 -// *********************************************************************** -// -// © 2023 Guilherme Branco Stracini. All rights reserved. -// -// -// *********************************************************************** - +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; @@ -21,10 +8,9 @@ namespace Sankhya.Transport; /// -/// Class Seller. This class cannot be inherited. +/// Represents a seller entity in the system, including details such as codes, nickname, email, active status, type, and related partner information. /// -/// -/// +// ReSharper disable once ClassNeverInstantiated.Global [Entity("Vendedor")] public class Seller : IEntity, IEquatable { @@ -32,7 +18,7 @@ public class Seller : IEntity, IEquatable /// Indicates whether the current object is equal to another object of the same type. /// /// An object to compare with this object. - /// true if the current object is equal to the parameter; otherwise, false. + /// true if the current object is equal to the other parameter; otherwise, false. // ReSharper disable once CyclomaticComplexity public bool Equals(Seller other) { @@ -65,10 +51,10 @@ public bool Equals(Seller other) } /// - /// Determines whether the specified object is equal to the current object. + /// Determines whether the specified is equal to this instance. /// /// The object to compare with the current object. - /// true if the specified object is equal to the current object; otherwise, false. + /// true if the specified is equal to this instance; otherwise, false. public override bool Equals(object obj) { if (ReferenceEquals(null, obj)) @@ -80,9 +66,9 @@ public override bool Equals(object obj) } /// - /// Serves as the default hash function. + /// Returns a hash code for this instance. /// - /// A hash code for the current object. + /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. [SuppressMessage( "ReSharper", "NonReadonlyMemberInGetHashCode", @@ -127,7 +113,7 @@ public override int GetHashCode() } /// - /// Implements the ==. + /// Implements the == operator. /// /// The left. /// The right. @@ -135,7 +121,7 @@ public override int GetHashCode() public static bool operator ==(Seller left, Seller right) => Equals(left, right); /// - /// Implements the !=. + /// Implements the != operator. /// /// The left. /// The right. @@ -143,92 +129,92 @@ public override int GetHashCode() public static bool operator !=(Seller left, Seller right) => !Equals(left, right); /// - /// The code + /// The seller's code. /// private int _code; /// - /// The code set + /// Indicates whether the seller's code is set. /// private bool _codeSet; /// - /// The code user + /// The user's code associated with the seller. /// private int _codeUser; /// - /// The code user set + /// Indicates whether the user's code is set. /// private bool _codeUserSet; /// - /// The code partner + /// The partner's code associated with the seller. /// private int _codePartner; /// - /// The code partner set + /// Indicates whether the partner's code is set. /// private bool _codePartnerSet; /// - /// The active + /// Indicates whether the seller is active. /// private bool _isActive; /// - /// The active set + /// Indicates whether the active status is set. /// private bool _isActiveSet; /// - /// The nickname + /// The seller's nickname. /// private string _nickname; /// - /// The nickname set + /// Indicates whether the nickname is set. /// private bool _nicknameSet; /// - /// The email + /// The seller's email address. /// private string _email; /// - /// The email set + /// Indicates whether the email is set. /// private bool _emailSet; /// - /// The type + /// The type of the seller. /// private SellerType _type; /// - /// The type set + /// Indicates whether the seller type is set. /// private bool _typeSet; /// - /// The date changed + /// The date the seller was last changed. /// private DateTime _dateChanged; /// - /// The date changed set + /// Indicates whether the date changed is set. /// private bool _dateChangedSet; /// - /// The partner + /// The partner associated with the seller. /// private Partner _partner; /// - /// The partner set + /// Indicates whether the partner is set. /// private bool _partnerSet; @@ -412,31 +398,31 @@ public Partner Partner } /// - /// Should the serialize code. + /// Shoulds the serialize code. /// - /// Boolean. + /// true if XXXX, false otherwise. [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializeCode() => _codeSet; /// - /// Should the serialize code user. + /// Shoulds the serialize code user. /// - /// Boolean. + /// true if XXXX, false otherwise. [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializeCodeUser() => _codeUserSet; /// - /// Should the serialize code partner. + /// Shoulds the serialize code partner. /// - /// Boolean. + /// true if XXXX, false otherwise. [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializeCodePartner() => _codePartnerSet; /// - /// Should the serialize is active. + /// Shoulds the serialize is active. /// /// true if XXXX, false otherwise. [Browsable(false)] @@ -444,41 +430,41 @@ public Partner Partner public bool ShouldSerializeIsActive() => _isActiveSet; /// - /// Should the serialize nickname. + /// Shoulds the serialize nickname. /// - /// Boolean. + /// true if XXXX, false otherwise. [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializeNickname() => _nicknameSet; /// - /// Should the serialize email. + /// Shoulds the serialize email. /// - /// Boolean. + /// true if XXXX, false otherwise. [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializeEmail() => _emailSet; /// - /// Should the type of the serialize. + /// Shoulds the type of the serialize. /// - /// Boolean. + /// true if XXXX, false otherwise. [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializeType() => _typeSet; /// - /// Should the serialize date changed. + /// Shoulds the serialize date changed. /// - /// Boolean. + /// true if XXXX, false otherwise. [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializeDateChanged() => _dateChangedSet; /// - /// Should the serialize partner. + /// Shoulds the serialize partner. /// - /// Boolean. + /// true if XXXX, false otherwise. [Browsable(false)] [EditorBrowsable(EditorBrowsableState.Never)] public bool ShouldSerializePartner() => _partnerSet; diff --git a/Src/Sankhya/Transport/State.cs b/Src/Sankhya/Transport/State.cs index cb2f1b41..19425cc5 100644 --- a/Src/Sankhya/Transport/State.cs +++ b/Src/Sankhya/Transport/State.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Serialization; using Sankhya.Attributes; diff --git a/Src/Sankhya/Transport/SystemParameter.cs b/Src/Sankhya/Transport/SystemParameter.cs index ee76ea78..1f88f6e1 100644 --- a/Src/Sankhya/Transport/SystemParameter.cs +++ b/Src/Sankhya/Transport/SystemParameter.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/TradingType.cs b/Src/Sankhya/Transport/TradingType.cs index 4bc1390f..ec28eee5 100644 --- a/Src/Sankhya/Transport/TradingType.cs +++ b/Src/Sankhya/Transport/TradingType.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; diff --git a/Src/Sankhya/Transport/User.cs b/Src/Sankhya/Transport/User.cs index ccd1ad81..5e5c4319 100644 --- a/Src/Sankhya/Transport/User.cs +++ b/Src/Sankhya/Transport/User.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; @@ -10,7 +11,7 @@ namespace Sankhya.Transport; /// Class User. This class cannot be inherited. /// /// -/// +/// [Serializer] [Entity("Usuario")] public class User : IEntity, IEquatable diff --git a/Src/Sankhya/Transport/UserGroup.cs b/Src/Sankhya/Transport/UserGroup.cs index 70b58f1e..8d4cfda3 100644 --- a/Src/Sankhya/Transport/UserGroup.cs +++ b/Src/Sankhya/Transport/UserGroup.cs @@ -1,3 +1,4 @@ +using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Extensions; @@ -9,7 +10,7 @@ namespace Sankhya.Transport; /// Class UserGroup. This class cannot be inherited. /// /// -/// +/// [Entity("GrupoUsuario")] public class UserGroup : IEntity, IEquatable { diff --git a/Src/Sankhya/Transport/ZipCode.cs b/Src/Sankhya/Transport/ZipCode.cs index 3af8b047..ec8fe7d3 100644 --- a/Src/Sankhya/Transport/ZipCode.cs +++ b/Src/Sankhya/Transport/ZipCode.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Diagnostics.CodeAnalysis; using CrispyWaffle.Serialization; using Sankhya.Attributes; diff --git a/Src/Sankhya/Validations/EntityValidation.cs b/Src/Sankhya/Validations/EntityValidation.cs index 1fc0e65b..8904356e 100644 --- a/Src/Sankhya/Validations/EntityValidation.cs +++ b/Src/Sankhya/Validations/EntityValidation.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using System.Text.RegularExpressions; namespace Sankhya.Validations; diff --git a/Src/Sankhya/ValueObjects/EntityResolverResult.cs b/Src/Sankhya/ValueObjects/EntityResolverResult.cs index 766334d9..67469b3d 100644 --- a/Src/Sankhya/ValueObjects/EntityResolverResult.cs +++ b/Src/Sankhya/ValueObjects/EntityResolverResult.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System.Collections.Generic; using Sankhya.Service; namespace Sankhya.ValueObjects; diff --git a/Src/Sankhya/ValueObjects/OnDemandRequestInstance.cs b/Src/Sankhya/ValueObjects/OnDemandRequestInstance.cs index 521f6f8a..09823e53 100644 --- a/Src/Sankhya/ValueObjects/OnDemandRequestInstance.cs +++ b/Src/Sankhya/ValueObjects/OnDemandRequestInstance.cs @@ -12,6 +12,7 @@ // // *********************************************************************** +using System; using Sankhya.Enums; using Sankhya.RequestWrappers; diff --git a/Src/Sankhya/ValueObjects/PagedRequestEventArgs.cs b/Src/Sankhya/ValueObjects/PagedRequestEventArgs.cs index 4526598f..ef802ca7 100644 --- a/Src/Sankhya/ValueObjects/PagedRequestEventArgs.cs +++ b/Src/Sankhya/ValueObjects/PagedRequestEventArgs.cs @@ -12,6 +12,8 @@ // // *********************************************************************** +using System; + namespace Sankhya.ValueObjects; /// diff --git a/appveyor.yml b/appveyor.yml index 771b2b3b..6ecb6a3b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 3.0.{build} +version: 3.1.{build} skip_tags: true image: Visual Studio 2022 configuration: Release @@ -11,12 +11,12 @@ environment: dotnet_csproj: patch: true - file: '**\*.csproj' - version: '{version}' - package_version: '{version}' - assembly_version: '{version}' - file_version: '{version}' - informational_version: '{version}' + file: '**\*.props' + version: "{version}" + package_version: "{version}" + assembly_version: "{version}" + file_version: "{version}" + informational_version: "{version}" init: - SET JAVA_HOME=C:\Program Files\Java\jdk21