From 59c5fe2daa922eab25204fad29dfb7e408b4f1e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Krch?= Date: Mon, 15 Jul 2024 13:16:20 +0200 Subject: [PATCH] dotnet format check && application of check --- .../Auxiliary/NodeXmlAdapter.cs | 13 +- .../Behaviors/RequestHandlingBehavior.cs | 2 +- .../Contexts/PrimaryKeyMappingContext.cs | 2 +- KVA/Migration.Toolkit.Source/Exceptions.cs | 4 +- KVA/Migration.Toolkit.Source/Extensions.cs | 26 +-- .../MigrateCategoriesCommandHandler.cs | 2 +- .../MigrateCustomModulesCommandHandler.cs | 10 +- .../Handlers/MigrateCustomTablesHandler.cs | 2 +- .../Handlers/MigrateFormsCommandHandler.cs | 6 +- .../MigrateMediaLibrariesCommandHandler.cs | 8 +- .../MigratePageTypesCommandHandler.cs | 4 +- .../Handlers/MigratePagesCommandHandler.cs | 192 +++++++-------- .../Helpers/AdminUserHelper.cs | 8 +- .../Helpers/PageBuilderWidgetsPatcher.cs | 16 +- .../Helpers/Printer.cs | 5 +- .../Mappers/CmsClassMapper.cs | 78 +++---- .../Mappers/CmsFormMapper.cs | 58 ++--- .../Mappers/ContentItemMapper.cs | 146 ++++++------ .../Mappers/MediaFileInfoMapper.cs | 5 +- .../Mappers/MediaLibraryInfoMapper.cs | 2 +- .../Mappers/MemberInfoMapper.cs | 2 +- .../PageTemplateConfigurationMapper.cs | 42 ++-- .../Mappers/ResourceMapper.cs | 2 +- .../Mappers/TagMapper.cs | 2 +- .../Model/CmsAlternativeForm.cs | 31 ++- .../Model/CmsAlternativeUrl.cs | 31 ++- .../Model/CmsAttachment.cs | 31 ++- .../Model/CmsCategory.cs | 31 ++- .../Model/CmsClass.cs | 31 ++- .../Model/CmsClassSite.cs | 31 ++- .../Model/CmsConsent.cs | 31 ++- .../Model/CmsConsentAgreement.cs | 31 ++- .../Model/CmsConsentArchive.cs | 31 ++- .../Model/CmsCountry.cs | 31 ++- .../Model/CmsCulture.cs | 31 ++- .../Model/CmsDocument.cs | 31 ++- .../Model/CmsDocumentCategory.cs | 31 ++- KVA/Migration.Toolkit.Source/Model/CmsForm.cs | 31 ++- .../Model/CmsFormUserControl.cs | 31 ++- .../Model/CmsPageFormerUrlPath.cs | 31 ++- .../Model/CmsPageTemplateConfiguration.cs | 31 ++- .../Model/CmsPageUrlPath.cs | 31 ++- .../Model/CmsRelationship.cs | 31 ++- .../Model/CmsResource.cs | 31 ++- KVA/Migration.Toolkit.Source/Model/CmsRole.cs | 31 ++- .../Model/CmsSettingsKey.cs | 31 ++- KVA/Migration.Toolkit.Source/Model/CmsSite.cs | 31 ++- .../Model/CmsSiteCulture.cs | 31 ++- .../Model/CmsState.cs | 31 ++- KVA/Migration.Toolkit.Source/Model/CmsTree.cs | 31 ++- KVA/Migration.Toolkit.Source/Model/CmsUser.cs | 11 +- .../Model/CmsUserSetting.cs | 31 ++- .../Model/CmsVersionHistory.cs | 31 ++- .../Model/MediaFile.cs | 31 ++- .../Model/MediaLibrary.cs | 31 ++- .../Model/OmActivity.cs | 31 ++- .../Model/OmContact.cs | 31 ++- .../Model/OmContactStatus.cs | 31 ++- .../Providers/ContentItemNameProvider.cs | 2 +- .../Services/AttachmentMigrator.cs | 8 +- .../Services/CmsRelationshipService.cs | 2 +- .../Services/DeferredPathService.cs | 2 +- .../Services/IPrimaryKeyLocatorService.cs | 4 +- .../Model/EditableAreasConfiguration.cs | 3 +- .../Services/PrimaryKeyLocatorService.cs | 4 +- .../Services/SpoiledGuidContext.cs | 2 +- .../ConfigurationValidator.cs | 4 +- Migration.Toolkit.CLI/Program.cs | 54 ++--- .../Abstractions/CommandResult.cs | 8 +- .../Abstractions/EntityMapperBase.cs | 2 +- .../Abstractions/ModelMappingResult.cs | 4 +- .../Abstractions/UmtMapperBase.cs | 2 +- Migration.Toolkit.Common/Commands.cs | 4 +- .../EntityConfiguration.cs | 8 +- .../Enumerations/K12SystemClass.cs | 152 ++++++++++-- .../Enumerations/K12SystemResource.cs | 79 ++++++- Migration.Toolkit.Common/Extensions.cs | 10 +- .../Helpers/AlignResult.cs | 4 +- .../Helpers/EnumerableHelper.cs | 2 +- .../Helpers/GuidHelper.cs | 2 +- Migration.Toolkit.Common/Helpers/GuidV5.cs | 2 +- .../Helpers/MediaHelper.cs | 57 +++-- .../Helpers/ReflectionHelper.cs | 16 +- .../Helpers/SerializationHelper.cs | 2 +- .../Helpers/SimpleAligner.cs | 220 +++++++++--------- .../Helpers/TreePathConvertor.cs | 42 ++-- .../Helpers/UriHelperXbyk.cs | 2 +- .../IPrimaryKeyMappingContext.cs | 2 +- Migration.Toolkit.Common/IPrinter.cs | 2 +- Migration.Toolkit.Common/LogExtensions.cs | 38 +-- .../DebugMigrationProtocol.cs | 12 +- .../MigrationProtocol/HandbookReference.cs | 2 +- .../MigrationProtocol/HandbookReferences.cs | 2 +- .../MigrationProtocol/IMigrationProtocol.cs | 2 +- .../MigrationProtocol/IProtocol.cs | 2 +- .../NullMigrationProtocol.cs | 16 +- .../MigrationProtocol/Protocol.cs | 2 +- .../TextMigrationProtocol.cs | 4 +- Migration.Toolkit.Common/SemanticVersion.cs | 28 +-- .../Services/BulkCopy/BulkCopyRequest.cs | 4 +- .../Services/BulkCopy/BulkDataCopyService.cs | 12 +- .../Services/BulkCopy/DataReaderProxyBase.cs | 2 +- .../BulkCopy/ValueInterceptingReader.cs | 8 +- .../Services/CommandParser.cs | 2 +- .../Services/CoupledDataService.cs | 8 +- .../Services/Ipc/IpcService.cs | 2 +- .../Services/Ipc/Model.cs | 2 +- .../Auxiliary/NodeXmlAdapter.cs | 13 +- .../Behaviors/RequestHandlingBehavior.cs | 2 +- .../Contexts/KeyMappingContext.cs | 4 +- .../Contexts/PrimaryKeyMappingContext.cs | 2 +- .../MigrateContactManagementCommandHandler.cs | 88 +++---- .../MigrateDataProtectionCommandHandler.cs | 10 +- .../Handlers/MigrateMembersCommandHandler.cs | 4 +- .../MigrateSettingKeysCommandHandler.cs | 2 +- .../Handlers/MigrateSitesCommandHandler.cs | 56 ++--- .../Handlers/MigrateUsersCommandHandler.cs | 10 +- .../Helpers/KenticoHelper.cs | 6 +- Migration.Toolkit.Core.K11/Helpers/Printer.cs | 5 +- .../Mappers/CmsConsentAgreementMapper.cs | 2 +- .../Mappers/CmsConsentArchiveMapper.cs | 2 +- .../Mappers/CmsConsentMapper.cs | 2 +- .../Mappers/CmsFormMapper.cs | 2 +- .../Mappers/CmsSettingsCategoryMapper.cs | 38 +-- .../Mappers/CmsSettingsKeyMapper.cs | 16 +- .../Mappers/CmsUserMapper.cs | 2 +- .../Mappers/MemberInfoMapper.cs | 2 +- .../Mappers/OmContactMapper.cs | 16 +- .../Mappers/ResourceMapper.cs | 2 +- .../Mappers/RoleInfoMapper.cs | 2 +- .../Mappers/UserInfoMapper.cs | 2 +- .../Providers/ContentItemNameProvider.cs | 2 +- .../CmsClass/EditableAreasConfiguration.cs | 2 +- .../Services/IPrimaryKeyLocatorService.cs | 4 +- .../Services/KeyLocatorService.cs | 4 +- .../Services/PrimaryKeyLocatorService.cs | 4 +- .../Services/TableReflectionService.cs | 4 +- .../Auxiliary/NodeXmlAdapter.cs | 13 +- .../Behaviors/RequestHandlingBehavior.cs | 2 +- .../Contexts/KeyMappingContext.cs | 4 +- .../Contexts/PrimaryKeyMappingContext.cs | 2 +- Migration.Toolkit.Core.KX12/Exceptions.cs | 4 +- .../MigrateContactManagementCommandHandler.cs | 88 +++---- .../MigrateDataProtectionCommandHandler.cs | 10 +- .../Handlers/MigrateMembersCommandHandler.cs | 4 +- .../MigrateSettingKeysCommandHandler.cs | 4 +- .../Handlers/MigrateSitesCommandHandler.cs | 2 +- .../Handlers/MigrateUsersCommandHandler.cs | 8 +- .../Helpers/KenticoHelper.cs | 6 +- .../Helpers/Printer.cs | 5 +- .../Mappers/CmsAttachmentMapper.cs | 2 +- .../Mappers/CmsConsentAgreementMapper.cs | 4 +- .../Mappers/CmsConsentArchiveMapper.cs | 2 +- .../Mappers/CmsConsentMapper.cs | 2 +- .../Mappers/CmsFormMapper.cs | 2 +- .../Mappers/CmsSettingsCategoryMapper.cs | 38 +-- .../Mappers/CmsSettingsKeyMapper.cs | 16 +- .../Mappers/CmsUserMapper.cs | 2 +- .../Mappers/MemberInfoMapper.cs | 2 +- .../Mappers/OmContactMapper.cs | 18 +- .../Mappers/ResourceMapper.cs | 2 +- .../Mappers/RoleInfoMapper.cs | 2 +- .../Mappers/UserInfoMapper.cs | 2 +- .../Mappers/UserRoleInfoMapper.cs | 2 +- .../Providers/ContentItemNameProvider.cs | 2 +- .../Services/IPrimaryKeyLocatorService.cs | 4 +- .../Services/KeyLocatorService.cs | 4 +- .../Services/PrimaryKeyLocatorService.cs | 6 +- .../Services/TableReflectionService.cs | 4 +- .../Auxiliary/NodeXmlAdapter.cs | 13 +- .../Behaviors/RequestHandlingBehavior.cs | 2 +- .../Contexts/KeyMappingContext.cs | 4 +- .../Contexts/PrimaryKeyMappingContext.cs | 2 +- Migration.Toolkit.Core.KX13/Exceptions.cs | 4 +- .../MigrateContactManagementCommandHandler.cs | 88 +++---- .../MigrateDataProtectionCommandHandler.cs | 10 +- .../Handlers/MigrateMembersCommandHandler.cs | 4 +- .../MigrateSettingKeysCommandHandler.cs | 4 +- .../Handlers/MigrateSitesCommandHandler.cs | 2 +- .../Handlers/MigrateUsersCommandHandler.cs | 8 +- .../Helpers/KenticoHelper.cs | 6 +- .../Helpers/Printer.cs | 5 +- .../Mappers/CmsAttachmentMapper.cs | 2 +- .../Mappers/CmsConsentAgreementMapper.cs | 4 +- .../Mappers/CmsConsentArchiveMapper.cs | 2 +- .../Mappers/CmsConsentMapper.cs | 2 +- .../Mappers/CmsSettingsCategoryMapper.cs | 38 +-- .../Mappers/CmsSettingsKeyMapper.cs | 16 +- .../Mappers/CmsUserMapper.cs | 2 +- .../Mappers/MemberInfoMapper.cs | 2 +- .../Mappers/OmContactMapper.cs | 18 +- .../Mappers/ResourceMapper.cs | 2 +- .../Mappers/RoleInfoMapper.cs | 2 +- .../Mappers/StateInfoMapper.cs | 4 +- .../Mappers/UserInfoMapper.cs | 2 +- .../Mappers/UserRoleInfoMapper.cs | 2 +- .../Providers/ContentItemNameProvider.cs | 2 +- .../Services/IPrimaryKeyLocatorService.cs | 4 +- .../Services/KeyLocatorService.cs | 4 +- .../Services/PrimaryKeyLocatorService.cs | 4 +- .../Services/TableReflectionService.cs | 4 +- Migration.Toolkit.K11/Context/K11Context.cs | 2 +- .../Models/AnalyticsCampaign.cs | 4 +- .../Models/AnalyticsCampaignAsset.cs | 4 +- .../Models/AnalyticsCampaignAssetUrl.cs | 4 +- .../Models/AnalyticsCampaignConversion.cs | 4 +- .../Models/AnalyticsCampaignConversionHit.cs | 4 +- .../Models/AnalyticsCampaignObjective.cs | 4 +- .../Models/AnalyticsConversion.cs | 4 +- .../Models/AnalyticsDayHit.cs | 4 +- .../Models/AnalyticsExitPage.cs | 4 +- .../Models/AnalyticsHourHit.cs | 4 +- .../Models/AnalyticsMonthHit.cs | 4 +- .../Models/AnalyticsStatistic.cs | 4 +- .../Models/AnalyticsWeekHit.cs | 4 +- .../Models/AnalyticsYearHit.cs | 4 +- Migration.Toolkit.K11/Models/BadWordsWord.cs | 4 +- Migration.Toolkit.K11/Models/BlogComment.cs | 4 +- .../Models/BlogPostSubscription.cs | 4 +- Migration.Toolkit.K11/Models/BoardBoard.cs | 4 +- Migration.Toolkit.K11/Models/BoardMessage.cs | 4 +- .../Models/BoardSubscription.cs | 4 +- .../Models/ChatInitiatedChatRequest.cs | 4 +- Migration.Toolkit.K11/Models/ChatMessage.cs | 4 +- .../Models/ChatNotification.cs | 4 +- .../Models/ChatOnlineSupport.cs | 4 +- .../Models/ChatOnlineUser.cs | 4 +- .../Models/ChatPopupWindowSetting.cs | 4 +- Migration.Toolkit.K11/Models/ChatRoom.cs | 4 +- Migration.Toolkit.K11/Models/ChatRoomUser.cs | 4 +- .../Models/ChatSupportCannedResponse.cs | 4 +- .../Models/ChatSupportTakenRoom.cs | 4 +- Migration.Toolkit.K11/Models/ChatUser.cs | 4 +- .../Models/CiFileMetadatum.cs | 4 +- Migration.Toolkit.K11/Models/CiMigration.cs | 4 +- .../Models/CmsAbuseReport.cs | 4 +- Migration.Toolkit.K11/Models/CmsAcl.cs | 4 +- Migration.Toolkit.K11/Models/CmsAclitem.cs | 4 +- .../Models/CmsAlternativeForm.cs | 4 +- Migration.Toolkit.K11/Models/CmsAttachment.cs | 4 +- .../Models/CmsAttachmentHistory.cs | 4 +- .../Models/CmsAutomationHistory.cs | 4 +- .../Models/CmsAutomationState.cs | 4 +- Migration.Toolkit.K11/Models/CmsAvatar.cs | 4 +- Migration.Toolkit.K11/Models/CmsBadge.cs | 4 +- Migration.Toolkit.K11/Models/CmsBannedIp.cs | 4 +- Migration.Toolkit.K11/Models/CmsBanner.cs | 4 +- .../Models/CmsBannerCategory.cs | 4 +- Migration.Toolkit.K11/Models/CmsCategory.cs | 4 +- Migration.Toolkit.K11/Models/CmsClass.cs | 4 +- Migration.Toolkit.K11/Models/CmsConsent.cs | 4 +- .../Models/CmsConsentAgreement.cs | 4 +- .../Models/CmsConsentArchive.cs | 4 +- Migration.Toolkit.K11/Models/CmsCountry.cs | 4 +- .../Models/CmsCssStylesheet.cs | 4 +- Migration.Toolkit.K11/Models/CmsCulture.cs | 4 +- .../Models/CmsDeviceProfile.cs | 4 +- .../Models/CmsDeviceProfileLayout.cs | 4 +- Migration.Toolkit.K11/Models/CmsDocument.cs | 4 +- .../Models/CmsDocumentAlias.cs | 4 +- .../Models/CmsDocumentTypeScope.cs | 4 +- Migration.Toolkit.K11/Models/CmsEmail.cs | 4 +- .../Models/CmsEmailAttachment.cs | 4 +- .../Models/CmsEmailTemplate.cs | 4 +- Migration.Toolkit.K11/Models/CmsEmailUser.cs | 4 +- Migration.Toolkit.K11/Models/CmsEventLog.cs | 4 +- .../Models/CmsExternalLogin.cs | 4 +- Migration.Toolkit.K11/Models/CmsForm.cs | 4 +- .../Models/CmsFormUserControl.cs | 4 +- Migration.Toolkit.K11/Models/CmsHelpTopic.cs | 4 +- Migration.Toolkit.K11/Models/CmsLayout.cs | 4 +- Migration.Toolkit.K11/Models/CmsLicenseKey.cs | 4 +- .../Models/CmsMacroIdentity.cs | 4 +- Migration.Toolkit.K11/Models/CmsMacroRule.cs | 4 +- Migration.Toolkit.K11/Models/CmsMembership.cs | 4 +- .../Models/CmsMembershipUser.cs | 4 +- Migration.Toolkit.K11/Models/CmsMetaFile.cs | 4 +- .../Models/CmsModuleLicenseKey.cs | 4 +- .../Models/CmsModuleUsageCounter.cs | 4 +- .../Models/CmsObjectSetting.cs | 4 +- .../Models/CmsObjectVersionHistory.cs | 4 +- .../Models/CmsObjectWorkflowTrigger.cs | 4 +- Migration.Toolkit.K11/Models/CmsOpenIduser.cs | 4 +- .../Models/CmsPageTemplate.cs | 4 +- .../Models/CmsPageTemplateCategory.cs | 4 +- .../Models/CmsPageTemplateScope.cs | 4 +- Migration.Toolkit.K11/Models/CmsPermission.cs | 4 +- .../Models/CmsPersonalization.cs | 4 +- Migration.Toolkit.K11/Models/CmsQuery.cs | 4 +- .../Models/CmsRelationship.cs | 4 +- .../Models/CmsRelationshipName.cs | 4 +- Migration.Toolkit.K11/Models/CmsResource.cs | 4 +- .../Models/CmsResourceLibrary.cs | 4 +- .../Models/CmsResourceString.cs | 4 +- .../Models/CmsResourceTranslation.cs | 4 +- Migration.Toolkit.K11/Models/CmsRole.cs | 4 +- .../Models/CmsScheduledTask.cs | 4 +- .../Models/CmsSearchEngine.cs | 4 +- .../Models/CmsSearchIndex.cs | 4 +- Migration.Toolkit.K11/Models/CmsSearchTask.cs | 4 +- .../Models/CmsSearchTaskAzure.cs | 4 +- Migration.Toolkit.K11/Models/CmsSession.cs | 4 +- .../Models/CmsSettingsCategory.cs | 4 +- .../Models/CmsSettingsKey.cs | 4 +- Migration.Toolkit.K11/Models/CmsSite.cs | 4 +- .../Models/CmsSiteDomainAlias.cs | 4 +- Migration.Toolkit.K11/Models/CmsSmtpserver.cs | 4 +- Migration.Toolkit.K11/Models/CmsState.cs | 4 +- Migration.Toolkit.K11/Models/CmsTag.cs | 4 +- Migration.Toolkit.K11/Models/CmsTagGroup.cs | 4 +- .../Models/CmsTemplateDeviceLayout.cs | 4 +- Migration.Toolkit.K11/Models/CmsTimeZone.cs | 4 +- .../Models/CmsTransformation.cs | 4 +- .../Models/CmsTranslationService.cs | 4 +- .../Models/CmsTranslationSubmission.cs | 4 +- .../Models/CmsTranslationSubmissionItem.cs | 4 +- Migration.Toolkit.K11/Models/CmsTree.cs | 4 +- Migration.Toolkit.K11/Models/CmsUielement.cs | 4 +- Migration.Toolkit.K11/Models/CmsUser.cs | 4 +- .../Models/CmsUserCulture.cs | 4 +- .../Models/CmsUserMacroIdentity.cs | 4 +- Migration.Toolkit.K11/Models/CmsUserRole.cs | 4 +- .../Models/CmsUserSetting.cs | 4 +- Migration.Toolkit.K11/Models/CmsUserSite.cs | 4 +- .../Models/CmsVersionHistory.cs | 4 +- .../Models/CmsWebFarmServer.cs | 4 +- .../Models/CmsWebFarmServerLog.cs | 4 +- .../Models/CmsWebFarmServerMonitoring.cs | 4 +- .../Models/CmsWebFarmServerTask.cs | 4 +- .../Models/CmsWebFarmTask.cs | 4 +- Migration.Toolkit.K11/Models/CmsWebPart.cs | 4 +- .../Models/CmsWebPartCategory.cs | 4 +- .../Models/CmsWebPartContainer.cs | 4 +- .../Models/CmsWebPartLayout.cs | 4 +- .../Models/CmsWebTemplate.cs | 4 +- Migration.Toolkit.K11/Models/CmsWidget.cs | 4 +- .../Models/CmsWidgetCategory.cs | 4 +- Migration.Toolkit.K11/Models/CmsWidgetRole.cs | 4 +- Migration.Toolkit.K11/Models/CmsWorkflow.cs | 4 +- .../Models/CmsWorkflowAction.cs | 4 +- .../Models/CmsWorkflowHistory.cs | 4 +- .../Models/CmsWorkflowScope.cs | 4 +- .../Models/CmsWorkflowStep.cs | 4 +- .../Models/CmsWorkflowStepRole.cs | 4 +- .../Models/CmsWorkflowStepUser.cs | 4 +- .../Models/CmsWorkflowTransition.cs | 4 +- Migration.Toolkit.K11/Models/ComAddress.cs | 4 +- Migration.Toolkit.K11/Models/ComBrand.cs | 4 +- Migration.Toolkit.K11/Models/ComCarrier.cs | 4 +- Migration.Toolkit.K11/Models/ComCollection.cs | 4 +- Migration.Toolkit.K11/Models/ComCouponCode.cs | 4 +- Migration.Toolkit.K11/Models/ComCurrency.cs | 4 +- .../Models/ComCurrencyExchangeRate.cs | 4 +- Migration.Toolkit.K11/Models/ComCustomer.cs | 4 +- .../Models/ComCustomerCreditHistory.cs | 4 +- Migration.Toolkit.K11/Models/ComDepartment.cs | 4 +- Migration.Toolkit.K11/Models/ComDiscount.cs | 4 +- .../Models/ComExchangeTable.cs | 4 +- Migration.Toolkit.K11/Models/ComGiftCard.cs | 4 +- .../Models/ComGiftCardCouponCode.cs | 4 +- .../Models/ComInternalStatus.cs | 4 +- .../Models/ComManufacturer.cs | 4 +- .../Models/ComMultiBuyCouponCode.cs | 4 +- .../Models/ComMultiBuyDiscount.cs | 4 +- .../Models/ComMultiBuyDiscountBrand.cs | 4 +- .../Models/ComMultiBuyDiscountCollection.cs | 4 +- .../Models/ComMultiBuyDiscountTree.cs | 4 +- .../Models/ComOptionCategory.cs | 4 +- Migration.Toolkit.K11/Models/ComOrder.cs | 4 +- .../Models/ComOrderAddress.cs | 4 +- Migration.Toolkit.K11/Models/ComOrderItem.cs | 4 +- .../Models/ComOrderItemSkufile.cs | 4 +- .../Models/ComOrderStatus.cs | 4 +- .../Models/ComOrderStatusUser.cs | 4 +- .../Models/ComPaymentOption.cs | 4 +- .../Models/ComPublicStatus.cs | 4 +- .../Models/ComShippingCost.cs | 4 +- .../Models/ComShippingOption.cs | 4 +- .../Models/ComShoppingCart.cs | 4 +- .../Models/ComShoppingCartCouponCode.cs | 4 +- .../Models/ComShoppingCartSku.cs | 4 +- Migration.Toolkit.K11/Models/ComSku.cs | 4 +- Migration.Toolkit.K11/Models/ComSkufile.cs | 4 +- .../Models/ComSkuoptionCategory.cs | 4 +- Migration.Toolkit.K11/Models/ComSupplier.cs | 4 +- Migration.Toolkit.K11/Models/ComTaxClass.cs | 4 +- .../Models/ComTaxClassCountry.cs | 4 +- .../Models/ComTaxClassState.cs | 4 +- .../Models/ComVolumeDiscount.cs | 4 +- Migration.Toolkit.K11/Models/ComWishlist.cs | 4 +- .../Models/CommunityFriend.cs | 4 +- .../Models/CommunityGroup.cs | 4 +- .../Models/CommunityGroupMember.cs | 4 +- .../Models/CommunityGroupRolePermission.cs | 4 +- .../Models/CommunityInvitation.cs | 4 +- .../Models/ContentArticle.cs | 4 +- Migration.Toolkit.K11/Models/ContentBlog.cs | 4 +- .../Models/ContentBlogMonth.cs | 4 +- .../Models/ContentBlogPost.cs | 4 +- .../Models/ContentBookingEvent.cs | 4 +- .../Models/ContentCellphone.cs | 4 +- Migration.Toolkit.K11/Models/ContentEbook.cs | 4 +- Migration.Toolkit.K11/Models/ContentEvent.cs | 4 +- Migration.Toolkit.K11/Models/ContentFaq.cs | 4 +- Migration.Toolkit.K11/Models/ContentFile.cs | 4 +- .../Models/ContentHeadlineBanner.cs | 4 +- .../Models/ContentImageGallery.cs | 4 +- Migration.Toolkit.K11/Models/ContentJob.cs | 4 +- .../Models/ContentKbarticle.cs | 4 +- Migration.Toolkit.K11/Models/ContentLaptop.cs | 4 +- .../Models/ContentMenuItem.cs | 4 +- Migration.Toolkit.K11/Models/ContentNews.cs | 4 +- Migration.Toolkit.K11/Models/ContentOffice.cs | 4 +- .../Models/ContentPressRelease.cs | 4 +- .../Models/ContentProduct.cs | 4 +- .../Models/ContentSimpleArticle.cs | 4 +- .../Models/ContentSmartphone.cs | 4 +- .../Models/ContentSoftware.cs | 4 +- .../Models/CustomtableSampleTable.cs | 4 +- .../Models/DancingGoatArticle.cs | 4 +- .../Models/DancingGoatBrewer.cs | 4 +- .../Models/DancingGoatCafe.cs | 4 +- .../Models/DancingGoatCity.cs | 4 +- .../Models/DancingGoatCoffee.cs | 4 +- .../Models/DancingGoatEbook.cs | 4 +- .../Models/DancingGoatElectricGrinder.cs | 4 +- .../Models/DancingGoatFilterPack.cs | 4 +- .../Models/DancingGoatGrinder.cs | 4 +- .../Models/DancingGoatMembership.cs | 4 +- .../Models/DancingGoatOffice.cs | 4 +- .../Models/DancingGoatPartnerCafe.cs | 4 +- .../Models/DancingGoatTableware.cs | 4 +- .../Models/EcommerceCheckoutStep.cs | 4 +- .../Models/EcommerceCheckoutWizard.cs | 4 +- .../Models/EventsAttendee.cs | 4 +- Migration.Toolkit.K11/Models/ExportHistory.cs | 4 +- Migration.Toolkit.K11/Models/ExportTask.cs | 4 +- Migration.Toolkit.K11/Models/FormContactU.cs | 4 +- ...DancingGoatBusinessCustomerRegistration.cs | 4 +- .../Models/FormDancingGoatContactU.cs | 4 +- .../Models/FormDancingGoatMachineRental.cs | 4 +- .../Models/FormDancingGoatTryFreeSample.cs | 4 +- .../FormEcommerceSiteGeneralQuestion.cs | 4 +- .../FormEcommerceSiteProductQuestion.cs | 4 +- .../Models/ForumsAttachment.cs | 4 +- Migration.Toolkit.K11/Models/ForumsForum.cs | 4 +- .../Models/ForumsForumGroup.cs | 4 +- .../Models/ForumsForumPost.cs | 4 +- .../Models/ForumsForumRole.cs | 4 +- .../Models/ForumsForumSubscription.cs | 4 +- .../Models/ForumsUserFavorite.cs | 4 +- .../Models/IntegrationConnector.cs | 4 +- .../Models/IntegrationSyncLog.cs | 4 +- .../Models/IntegrationSynchronization.cs | 4 +- .../Models/IntegrationTask.cs | 4 +- .../Models/IntranetPortalDepartment.cs | 4 +- .../IntranetPortalWorkingEnvironment.cs | 4 +- Migration.Toolkit.K11/Models/MediaFile.cs | 4 +- Migration.Toolkit.K11/Models/MediaLibrary.cs | 4 +- .../Models/MediaLibraryRolePermission.cs | 4 +- .../Models/MessagingMessage.cs | 4 +- .../Models/NewsletterAbtest.cs | 4 +- .../Models/NewsletterClickedLink.cs | 4 +- .../Models/NewsletterEmail.cs | 4 +- .../Models/NewsletterEmailTemplate.cs | 4 +- .../Models/NewsletterEmailWidget.cs | 4 +- .../Models/NewsletterEmailWidgetTemplate.cs | 4 +- .../Models/NewsletterIssueContactGroup.cs | 4 +- .../Models/NewsletterLink.cs | 4 +- .../Models/NewsletterNewsletter.cs | 4 +- .../Models/NewsletterNewsletterIssue.cs | 4 +- .../Models/NewsletterOpenedEmail.cs | 4 +- .../Models/NewsletterSubscriber.cs | 4 +- .../Models/NewsletterSubscriberNewsletter.cs | 4 +- .../Models/NewsletterUnsubscription.cs | 4 +- .../Models/NotificationGateway.cs | 4 +- .../Models/NotificationSubscription.cs | 4 +- .../Models/NotificationTemplate.cs | 4 +- .../Models/NotificationTemplateText.cs | 4 +- Migration.Toolkit.K11/Models/OmAbtest.cs | 4 +- Migration.Toolkit.K11/Models/OmAbvariant.cs | 4 +- Migration.Toolkit.K11/Models/OmAccount.cs | 4 +- .../Models/OmAccountContact.cs | 4 +- .../Models/OmAccountStatus.cs | 4 +- Migration.Toolkit.K11/Models/OmActivity.cs | 4 +- .../Models/OmActivityRecalculationQueue.cs | 4 +- .../Models/OmActivityType.cs | 4 +- Migration.Toolkit.K11/Models/OmContact.cs | 4 +- .../OmContactChangeRecalculationQueue.cs | 4 +- .../Models/OmContactGroup.cs | 4 +- .../Models/OmContactGroupMember.cs | 4 +- Migration.Toolkit.K11/Models/OmContactRole.cs | 4 +- .../Models/OmContactStatus.cs | 4 +- Migration.Toolkit.K11/Models/OmMembership.cs | 4 +- .../Models/OmMvtcombination.cs | 4 +- Migration.Toolkit.K11/Models/OmMvtest.cs | 4 +- Migration.Toolkit.K11/Models/OmMvtvariant.cs | 4 +- .../Models/OmPersonalizationVariant.cs | 4 +- Migration.Toolkit.K11/Models/OmRule.cs | 4 +- Migration.Toolkit.K11/Models/OmScore.cs | 4 +- .../Models/OmScoreContactRule.cs | 4 +- .../Models/OmVisitorToContact.cs | 4 +- .../Models/PersonasPersona.cs | 4 +- .../Models/PersonasPersonaContactHistory.cs | 4 +- .../Models/PersonasPersonaNode.cs | 4 +- Migration.Toolkit.K11/Models/PollsPoll.cs | 4 +- .../Models/PollsPollAnswer.cs | 4 +- .../Models/ReportingReport.cs | 4 +- .../Models/ReportingReportCategory.cs | 4 +- .../Models/ReportingReportGraph.cs | 4 +- .../Models/ReportingReportSubscription.cs | 4 +- .../Models/ReportingReportTable.cs | 4 +- .../Models/ReportingReportValue.cs | 4 +- .../Models/ReportingSavedGraph.cs | 4 +- .../Models/ReportingSavedReport.cs | 4 +- .../Models/SharePointSharePointConnection.cs | 4 +- .../Models/SharePointSharePointFile.cs | 4 +- .../Models/SharePointSharePointLibrary.cs | 4 +- .../Models/SmFacebookAccount.cs | 4 +- .../Models/SmFacebookApplication.cs | 4 +- .../Models/SmFacebookPost.cs | 4 +- Migration.Toolkit.K11/Models/SmInsight.cs | 4 +- .../Models/SmInsightHitDay.cs | 4 +- .../Models/SmInsightHitMonth.cs | 4 +- .../Models/SmInsightHitWeek.cs | 4 +- .../Models/SmInsightHitYear.cs | 4 +- .../Models/SmLinkedInAccount.cs | 4 +- .../Models/SmLinkedInApplication.cs | 4 +- .../Models/SmLinkedInPost.cs | 4 +- .../Models/SmTwitterAccount.cs | 4 +- .../Models/SmTwitterApplication.cs | 4 +- Migration.Toolkit.K11/Models/SmTwitterPost.cs | 4 +- Migration.Toolkit.K11/Models/StagingServer.cs | 4 +- .../Models/StagingSynchronization.cs | 4 +- Migration.Toolkit.K11/Models/StagingTask.cs | 4 +- .../Models/StagingTaskGroup.cs | 4 +- .../Models/StagingTaskGroupTask.cs | 4 +- .../Models/StagingTaskGroupUser.cs | 4 +- .../Models/StagingTaskUser.cs | 4 +- .../Models/StorecontentBook.cs | 4 +- .../Models/StorecontentCellPhone.cs | 4 +- .../Models/StorecontentComputer.cs | 4 +- .../Models/StorecontentCup.cs | 4 +- .../Models/StorecontentLaptop.cs | 4 +- .../Models/StorecontentMediaPlayer.cs | 4 +- .../Models/StorecontentPant.cs | 4 +- .../Models/StorecontentPerfume.cs | 4 +- .../Models/StorecontentShoe.cs | 4 +- .../Models/StorecontentTablet.cs | 4 +- .../Models/StorecontentTshirt.cs | 4 +- .../Models/StorecontentTv.cs | 4 +- .../Models/StorecontentWatch.cs | 4 +- Migration.Toolkit.K11/Models/TempFile.cs | 4 +- .../Models/ViewBoardsBoardMessageJoined.cs | 4 +- .../Models/ViewCmsAclitemItemsAndOperator.cs | 4 +- .../ViewCmsObjectVersionHistoryUserJoined.cs | 4 +- ...sPageTemplateCategoryPageTemplateJoined.cs | 4 +- .../Models/ViewCmsRelationshipJoined.cs | 4 +- .../Models/ViewCmsResourceStringJoined.cs | 4 +- .../Models/ViewCmsResourceTranslatedJoined.cs | 4 +- .../ViewCmsRoleResourcePermissionJoined.cs | 4 +- .../Models/ViewCmsSiteDocumentCount.cs | 4 +- .../ViewCmsSiteRoleResourceUielementJoined.cs | 4 +- .../Models/ViewCmsTreeJoined.cs | 4 +- Migration.Toolkit.K11/Models/ViewCmsUser.cs | 4 +- .../Models/ViewCmsUserDocument.cs | 4 +- .../Models/ViewCmsUserRoleJoined.cs | 4 +- .../Models/ViewCmsUserRoleMembershipRole.cs | 4 +- ...msUserRoleMembershipRoleValidOnlyJoined.cs | 4 +- .../Models/ViewCmsUserSettingsRoleJoined.cs | 4 +- .../ViewCmsWebPartCategoryWebpartJoined.cs | 4 +- .../ViewCmsWidgetCategoryWidgetJoined.cs | 4 +- ...omSkuoptionCategoryOptionCategoryJoined.cs | 4 +- .../Models/ViewCommunityFriendFriend.cs | 4 +- .../ViewCommunityFriendRequestedFriend.cs | 4 +- .../Models/ViewCommunityGroup.cs | 4 +- .../Models/ViewCommunityMember.cs | 4 +- .../Models/ViewForumsGroupForumPostJoined.cs | 4 +- .../Models/ViewIntegrationTaskJoined.cs | 4 +- .../ViewMembershipMembershipUserJoined.cs | 4 +- .../Models/ViewMessagingContactList.cs | 4 +- .../Models/ViewMessagingIgnoreList.cs | 4 +- .../ViewNewsletterSubscriptionsJoined.cs | 4 +- .../ViewOmAccountContactAccountJoined.cs | 4 +- .../ViewOmAccountContactContactJoined.cs | 4 +- .../Models/ViewOmAccountJoined.cs | 4 +- .../ViewOmContactGroupMemberAccountJoined.cs | 4 +- .../ViewOmContactGroupMemberContactJoined.cs | 4 +- .../Models/ViewPollAnswerCount.cs | 4 +- .../ViewReportingCategoryReportJoined.cs | 4 +- Migration.Toolkit.K11/SettingsKeys.cs | 3 +- Migration.Toolkit.KX12/Context/KX12Context.cs | 2 +- .../Models/AnalyticsCampaign.cs | 4 +- .../Models/AnalyticsCampaignAsset.cs | 4 +- .../Models/AnalyticsCampaignAssetUrl.cs | 4 +- .../Models/AnalyticsCampaignConversion.cs | 4 +- .../Models/AnalyticsCampaignConversionHit.cs | 4 +- .../Models/AnalyticsCampaignObjective.cs | 4 +- .../Models/AnalyticsConversion.cs | 4 +- .../Models/AnalyticsDayHit.cs | 4 +- .../Models/AnalyticsExitPage.cs | 4 +- .../Models/AnalyticsHourHit.cs | 4 +- .../Models/AnalyticsMonthHit.cs | 4 +- .../Models/AnalyticsStatistic.cs | 4 +- .../Models/AnalyticsWeekHit.cs | 4 +- .../Models/AnalyticsYearHit.cs | 4 +- Migration.Toolkit.KX12/Models/BadWordsWord.cs | 4 +- Migration.Toolkit.KX12/Models/BlogComment.cs | 4 +- .../Models/BlogPostSubscription.cs | 4 +- Migration.Toolkit.KX12/Models/BoardBoard.cs | 4 +- Migration.Toolkit.KX12/Models/BoardMessage.cs | 4 +- .../Models/BoardSubscription.cs | 4 +- .../Models/ChatInitiatedChatRequest.cs | 4 +- Migration.Toolkit.KX12/Models/ChatMessage.cs | 4 +- .../Models/ChatNotification.cs | 4 +- .../Models/ChatOnlineSupport.cs | 4 +- .../Models/ChatOnlineUser.cs | 4 +- .../Models/ChatPopupWindowSetting.cs | 4 +- Migration.Toolkit.KX12/Models/ChatRoom.cs | 4 +- Migration.Toolkit.KX12/Models/ChatRoomUser.cs | 4 +- .../Models/ChatSupportCannedResponse.cs | 4 +- .../Models/ChatSupportTakenRoom.cs | 4 +- Migration.Toolkit.KX12/Models/ChatUser.cs | 4 +- .../Models/CiFileMetadatum.cs | 4 +- Migration.Toolkit.KX12/Models/CiMigration.cs | 4 +- .../Models/CmsAbuseReport.cs | 4 +- Migration.Toolkit.KX12/Models/CmsAcl.cs | 4 +- Migration.Toolkit.KX12/Models/CmsAclitem.cs | 4 +- .../Models/CmsAlternativeForm.cs | 4 +- .../Models/CmsAlternativeUrl.cs | 4 +- .../Models/CmsAttachment.cs | 4 +- .../Models/CmsAttachmentHistory.cs | 4 +- .../Models/CmsAutomationHistory.cs | 4 +- .../Models/CmsAutomationState.cs | 4 +- Migration.Toolkit.KX12/Models/CmsAvatar.cs | 4 +- Migration.Toolkit.KX12/Models/CmsBadge.cs | 4 +- Migration.Toolkit.KX12/Models/CmsBannedIp.cs | 4 +- Migration.Toolkit.KX12/Models/CmsBanner.cs | 4 +- .../Models/CmsBannerCategory.cs | 4 +- Migration.Toolkit.KX12/Models/CmsCategory.cs | 4 +- Migration.Toolkit.KX12/Models/CmsClass.cs | 4 +- Migration.Toolkit.KX12/Models/CmsConsent.cs | 4 +- .../Models/CmsConsentAgreement.cs | 4 +- .../Models/CmsConsentArchive.cs | 4 +- Migration.Toolkit.KX12/Models/CmsCountry.cs | 4 +- .../Models/CmsCssStylesheet.cs | 4 +- Migration.Toolkit.KX12/Models/CmsCulture.cs | 4 +- .../Models/CmsDeviceProfile.cs | 4 +- .../Models/CmsDeviceProfileLayout.cs | 4 +- Migration.Toolkit.KX12/Models/CmsDocument.cs | 4 +- .../Models/CmsDocumentAlias.cs | 4 +- .../Models/CmsDocumentTypeScope.cs | 4 +- Migration.Toolkit.KX12/Models/CmsEmail.cs | 4 +- .../Models/CmsEmailAttachment.cs | 4 +- .../Models/CmsEmailTemplate.cs | 4 +- Migration.Toolkit.KX12/Models/CmsEmailUser.cs | 4 +- Migration.Toolkit.KX12/Models/CmsEventLog.cs | 4 +- .../Models/CmsExternalLogin.cs | 4 +- Migration.Toolkit.KX12/Models/CmsForm.cs | 4 +- .../Models/CmsFormUserControl.cs | 4 +- Migration.Toolkit.KX12/Models/CmsHelpTopic.cs | 4 +- Migration.Toolkit.KX12/Models/CmsLayout.cs | 4 +- .../Models/CmsLicenseKey.cs | 4 +- .../Models/CmsMacroIdentity.cs | 4 +- Migration.Toolkit.KX12/Models/CmsMacroRule.cs | 4 +- .../Models/CmsMembership.cs | 4 +- .../Models/CmsMembershipUser.cs | 4 +- Migration.Toolkit.KX12/Models/CmsMetaFile.cs | 4 +- .../Models/CmsModuleLicenseKey.cs | 4 +- .../Models/CmsModuleUsageCounter.cs | 4 +- .../Models/CmsObjectSetting.cs | 4 +- .../Models/CmsObjectVersionHistory.cs | 4 +- .../Models/CmsObjectWorkflowTrigger.cs | 4 +- .../Models/CmsOpenIduser.cs | 4 +- .../Models/CmsPageTemplate.cs | 4 +- .../Models/CmsPageTemplateCategory.cs | 4 +- .../Models/CmsPageTemplateConfiguration.cs | 4 +- .../Models/CmsPageTemplateScope.cs | 4 +- .../Models/CmsPermission.cs | 4 +- .../Models/CmsPersonalization.cs | 4 +- Migration.Toolkit.KX12/Models/CmsQuery.cs | 4 +- .../Models/CmsRelationship.cs | 4 +- .../Models/CmsRelationshipName.cs | 4 +- Migration.Toolkit.KX12/Models/CmsResource.cs | 4 +- .../Models/CmsResourceLibrary.cs | 4 +- .../Models/CmsResourceString.cs | 4 +- .../Models/CmsResourceTranslation.cs | 4 +- Migration.Toolkit.KX12/Models/CmsRole.cs | 4 +- .../Models/CmsScheduledTask.cs | 4 +- .../Models/CmsSearchEngine.cs | 4 +- .../Models/CmsSearchIndex.cs | 4 +- .../Models/CmsSearchTask.cs | 4 +- .../Models/CmsSearchTaskAzure.cs | 4 +- Migration.Toolkit.KX12/Models/CmsSession.cs | 4 +- .../Models/CmsSettingsCategory.cs | 4 +- .../Models/CmsSettingsKey.cs | 4 +- Migration.Toolkit.KX12/Models/CmsSite.cs | 4 +- .../Models/CmsSiteDomainAlias.cs | 4 +- .../Models/CmsSmtpserver.cs | 4 +- Migration.Toolkit.KX12/Models/CmsState.cs | 4 +- Migration.Toolkit.KX12/Models/CmsTag.cs | 4 +- Migration.Toolkit.KX12/Models/CmsTagGroup.cs | 4 +- .../Models/CmsTemplateDeviceLayout.cs | 4 +- Migration.Toolkit.KX12/Models/CmsTimeZone.cs | 4 +- .../Models/CmsTransformation.cs | 4 +- .../Models/CmsTranslationService.cs | 4 +- .../Models/CmsTranslationSubmission.cs | 4 +- .../Models/CmsTranslationSubmissionItem.cs | 4 +- Migration.Toolkit.KX12/Models/CmsTree.cs | 4 +- Migration.Toolkit.KX12/Models/CmsUielement.cs | 4 +- Migration.Toolkit.KX12/Models/CmsUser.cs | 4 +- .../Models/CmsUserCulture.cs | 4 +- .../Models/CmsUserMacroIdentity.cs | 4 +- Migration.Toolkit.KX12/Models/CmsUserRole.cs | 4 +- .../Models/CmsUserSetting.cs | 4 +- Migration.Toolkit.KX12/Models/CmsUserSite.cs | 4 +- .../Models/CmsVersionHistory.cs | 4 +- .../Models/CmsWebFarmServer.cs | 4 +- .../Models/CmsWebFarmServerLog.cs | 4 +- .../Models/CmsWebFarmServerMonitoring.cs | 4 +- .../Models/CmsWebFarmServerTask.cs | 4 +- .../Models/CmsWebFarmTask.cs | 4 +- Migration.Toolkit.KX12/Models/CmsWebPart.cs | 4 +- .../Models/CmsWebPartCategory.cs | 4 +- .../Models/CmsWebPartContainer.cs | 4 +- .../Models/CmsWebPartLayout.cs | 4 +- .../Models/CmsWebTemplate.cs | 4 +- Migration.Toolkit.KX12/Models/CmsWidget.cs | 4 +- .../Models/CmsWidgetCategory.cs | 4 +- .../Models/CmsWidgetRole.cs | 4 +- Migration.Toolkit.KX12/Models/CmsWorkflow.cs | 4 +- .../Models/CmsWorkflowAction.cs | 4 +- .../Models/CmsWorkflowHistory.cs | 4 +- .../Models/CmsWorkflowScope.cs | 4 +- .../Models/CmsWorkflowStep.cs | 4 +- .../Models/CmsWorkflowStepRole.cs | 4 +- .../Models/CmsWorkflowStepUser.cs | 4 +- .../Models/CmsWorkflowTransition.cs | 4 +- Migration.Toolkit.KX12/Models/ComAddress.cs | 4 +- Migration.Toolkit.KX12/Models/ComBrand.cs | 4 +- Migration.Toolkit.KX12/Models/ComCarrier.cs | 4 +- .../Models/ComCollection.cs | 4 +- .../Models/ComCouponCode.cs | 4 +- Migration.Toolkit.KX12/Models/ComCurrency.cs | 4 +- .../Models/ComCurrencyExchangeRate.cs | 4 +- Migration.Toolkit.KX12/Models/ComCustomer.cs | 4 +- .../Models/ComCustomerCreditHistory.cs | 4 +- .../Models/ComDepartment.cs | 4 +- Migration.Toolkit.KX12/Models/ComDiscount.cs | 4 +- .../Models/ComExchangeTable.cs | 4 +- Migration.Toolkit.KX12/Models/ComGiftCard.cs | 4 +- .../Models/ComGiftCardCouponCode.cs | 4 +- .../Models/ComInternalStatus.cs | 4 +- .../Models/ComManufacturer.cs | 4 +- .../Models/ComMultiBuyCouponCode.cs | 4 +- .../Models/ComMultiBuyDiscount.cs | 4 +- .../Models/ComMultiBuyDiscountBrand.cs | 4 +- .../Models/ComMultiBuyDiscountCollection.cs | 4 +- .../Models/ComMultiBuyDiscountTree.cs | 4 +- .../Models/ComOptionCategory.cs | 4 +- Migration.Toolkit.KX12/Models/ComOrder.cs | 4 +- .../Models/ComOrderAddress.cs | 4 +- Migration.Toolkit.KX12/Models/ComOrderItem.cs | 4 +- .../Models/ComOrderItemSkufile.cs | 4 +- .../Models/ComOrderStatus.cs | 4 +- .../Models/ComOrderStatusUser.cs | 4 +- .../Models/ComPaymentOption.cs | 4 +- .../Models/ComPublicStatus.cs | 4 +- .../Models/ComShippingCost.cs | 4 +- .../Models/ComShippingOption.cs | 4 +- .../Models/ComShoppingCart.cs | 4 +- .../Models/ComShoppingCartCouponCode.cs | 4 +- .../Models/ComShoppingCartSku.cs | 4 +- Migration.Toolkit.KX12/Models/ComSku.cs | 4 +- Migration.Toolkit.KX12/Models/ComSkufile.cs | 4 +- .../Models/ComSkuoptionCategory.cs | 4 +- Migration.Toolkit.KX12/Models/ComSupplier.cs | 4 +- Migration.Toolkit.KX12/Models/ComTaxClass.cs | 4 +- .../Models/ComTaxClassCountry.cs | 4 +- .../Models/ComTaxClassState.cs | 4 +- .../Models/ComVolumeDiscount.cs | 4 +- Migration.Toolkit.KX12/Models/ComWishlist.cs | 4 +- .../Models/CommunityGroup.cs | 4 +- .../Models/CommunityGroupMember.cs | 4 +- .../Models/CommunityGroupRolePermission.cs | 4 +- .../Models/CommunityInvitation.cs | 4 +- Migration.Toolkit.KX12/Models/ContentFile.cs | 4 +- .../Models/EventsAttendee.cs | 4 +- .../Models/ExportHistory.cs | 4 +- Migration.Toolkit.KX12/Models/ExportTask.cs | 4 +- .../Models/ForumsAttachment.cs | 4 +- Migration.Toolkit.KX12/Models/ForumsForum.cs | 4 +- .../Models/ForumsForumGroup.cs | 4 +- .../Models/ForumsForumPost.cs | 4 +- .../Models/ForumsForumRole.cs | 4 +- .../Models/ForumsForumSubscription.cs | 4 +- .../Models/ForumsUserFavorite.cs | 4 +- .../Models/IntegrationConnector.cs | 4 +- .../Models/IntegrationSyncLog.cs | 4 +- .../Models/IntegrationSynchronization.cs | 4 +- .../Models/IntegrationTask.cs | 4 +- Migration.Toolkit.KX12/Models/MediaFile.cs | 4 +- Migration.Toolkit.KX12/Models/MediaLibrary.cs | 4 +- .../Models/MediaLibraryRolePermission.cs | 4 +- .../Models/NewsletterAbtest.cs | 4 +- .../Models/NewsletterClickedLink.cs | 4 +- .../Models/NewsletterEmail.cs | 4 +- .../Models/NewsletterEmailTemplate.cs | 4 +- .../Models/NewsletterEmailWidget.cs | 4 +- .../Models/NewsletterEmailWidgetTemplate.cs | 4 +- .../Models/NewsletterIssueContactGroup.cs | 4 +- .../Models/NewsletterLink.cs | 4 +- .../Models/NewsletterNewsletter.cs | 4 +- .../Models/NewsletterNewsletterIssue.cs | 4 +- .../Models/NewsletterOpenedEmail.cs | 4 +- .../Models/NewsletterSubscriber.cs | 4 +- .../Models/NewsletterSubscriberNewsletter.cs | 4 +- .../Models/NewsletterUnsubscription.cs | 4 +- .../Models/NotificationGateway.cs | 4 +- .../Models/NotificationSubscription.cs | 4 +- .../Models/NotificationTemplate.cs | 4 +- .../Models/NotificationTemplateText.cs | 4 +- Migration.Toolkit.KX12/Models/OmAbtest.cs | 4 +- Migration.Toolkit.KX12/Models/OmAbvariant.cs | 4 +- .../Models/OmAbvariantDatum.cs | 4 +- Migration.Toolkit.KX12/Models/OmAccount.cs | 4 +- .../Models/OmAccountContact.cs | 4 +- .../Models/OmAccountStatus.cs | 4 +- Migration.Toolkit.KX12/Models/OmActivity.cs | 4 +- .../Models/OmActivityRecalculationQueue.cs | 4 +- .../Models/OmActivityType.cs | 4 +- Migration.Toolkit.KX12/Models/OmContact.cs | 4 +- .../OmContactChangeRecalculationQueue.cs | 4 +- .../Models/OmContactGroup.cs | 4 +- .../Models/OmContactGroupMember.cs | 4 +- .../Models/OmContactRole.cs | 4 +- .../Models/OmContactStatus.cs | 4 +- Migration.Toolkit.KX12/Models/OmMembership.cs | 4 +- .../Models/OmMvtcombination.cs | 4 +- Migration.Toolkit.KX12/Models/OmMvtest.cs | 4 +- Migration.Toolkit.KX12/Models/OmMvtvariant.cs | 4 +- .../Models/OmPersonalizationVariant.cs | 4 +- Migration.Toolkit.KX12/Models/OmRule.cs | 4 +- Migration.Toolkit.KX12/Models/OmScore.cs | 4 +- .../Models/OmScoreContactRule.cs | 4 +- .../Models/OmVisitorToContact.cs | 4 +- .../Models/PersonasPersona.cs | 4 +- .../Models/PersonasPersonaContactHistory.cs | 4 +- .../Models/PersonasPersonaNode.cs | 4 +- Migration.Toolkit.KX12/Models/PollsPoll.cs | 4 +- .../Models/PollsPollAnswer.cs | 4 +- .../Models/ReportingReport.cs | 4 +- .../Models/ReportingReportCategory.cs | 4 +- .../Models/ReportingReportGraph.cs | 4 +- .../Models/ReportingReportSubscription.cs | 4 +- .../Models/ReportingReportTable.cs | 4 +- .../Models/ReportingReportValue.cs | 4 +- .../Models/ReportingSavedGraph.cs | 4 +- .../Models/ReportingSavedReport.cs | 4 +- .../Models/SharePointSharePointConnection.cs | 4 +- .../Models/SharePointSharePointFile.cs | 4 +- .../Models/SharePointSharePointLibrary.cs | 4 +- .../Models/SmFacebookAccount.cs | 4 +- .../Models/SmFacebookApplication.cs | 4 +- .../Models/SmFacebookPost.cs | 4 +- Migration.Toolkit.KX12/Models/SmInsight.cs | 4 +- .../Models/SmInsightHitDay.cs | 4 +- .../Models/SmInsightHitMonth.cs | 4 +- .../Models/SmInsightHitWeek.cs | 4 +- .../Models/SmInsightHitYear.cs | 4 +- .../Models/SmLinkedInAccount.cs | 4 +- .../Models/SmLinkedInApplication.cs | 4 +- .../Models/SmLinkedInPost.cs | 4 +- .../Models/SmTwitterAccount.cs | 4 +- .../Models/SmTwitterApplication.cs | 4 +- .../Models/SmTwitterPost.cs | 4 +- .../Models/StagingServer.cs | 4 +- .../Models/StagingSynchronization.cs | 4 +- Migration.Toolkit.KX12/Models/StagingTask.cs | 4 +- .../Models/StagingTaskGroup.cs | 4 +- .../Models/StagingTaskGroupTask.cs | 4 +- .../Models/StagingTaskGroupUser.cs | 4 +- .../Models/StagingTaskUser.cs | 4 +- Migration.Toolkit.KX12/Models/TempFile.cs | 4 +- .../Models/TempPageBuilderWidget.cs | 4 +- .../Models/ViewBoardsBoardMessageJoined.cs | 4 +- .../Models/ViewCmsAclitemItemsAndOperator.cs | 4 +- .../ViewCmsObjectVersionHistoryUserJoined.cs | 4 +- ...sPageTemplateCategoryPageTemplateJoined.cs | 4 +- .../Models/ViewCmsRelationshipJoined.cs | 4 +- .../Models/ViewCmsResourceStringJoined.cs | 4 +- .../Models/ViewCmsResourceTranslatedJoined.cs | 4 +- .../ViewCmsRoleResourcePermissionJoined.cs | 4 +- .../Models/ViewCmsSiteDocumentCount.cs | 4 +- .../ViewCmsSiteRoleResourceUielementJoined.cs | 4 +- .../Models/ViewCmsTreeJoined.cs | 4 +- Migration.Toolkit.KX12/Models/ViewCmsUser.cs | 4 +- .../Models/ViewCmsUserDocument.cs | 4 +- .../Models/ViewCmsUserRoleJoined.cs | 4 +- .../Models/ViewCmsUserRoleMembershipRole.cs | 4 +- ...msUserRoleMembershipRoleValidOnlyJoined.cs | 4 +- .../Models/ViewCmsUserSettingsRoleJoined.cs | 4 +- .../ViewCmsWebPartCategoryWebpartJoined.cs | 4 +- .../ViewCmsWidgetCategoryWidgetJoined.cs | 4 +- ...omSkuoptionCategoryOptionCategoryJoined.cs | 4 +- .../Models/ViewCommunityGroup.cs | 4 +- .../Models/ViewCommunityMember.cs | 4 +- .../Models/ViewForumsGroupForumPostJoined.cs | 4 +- .../Models/ViewIntegrationTaskJoined.cs | 4 +- .../ViewMembershipMembershipUserJoined.cs | 4 +- .../ViewNewsletterSubscriptionsJoined.cs | 4 +- .../ViewOmAccountContactAccountJoined.cs | 4 +- .../ViewOmAccountContactContactJoined.cs | 4 +- .../Models/ViewOmAccountJoined.cs | 4 +- .../ViewOmContactGroupMemberAccountJoined.cs | 4 +- .../Models/ViewPollAnswerCount.cs | 4 +- .../ViewReportingCategoryReportJoined.cs | 4 +- Migration.Toolkit.KX12/SettingsKeys.cs | 3 +- Migration.Toolkit.KX13/Context/KX13Context.cs | 2 +- .../Models/AnalyticsCampaign.cs | 4 +- .../Models/AnalyticsCampaignAsset.cs | 4 +- .../Models/AnalyticsCampaignAssetUrl.cs | 4 +- .../Models/AnalyticsCampaignConversion.cs | 4 +- .../Models/AnalyticsCampaignConversionHit.cs | 4 +- .../Models/AnalyticsCampaignObjective.cs | 4 +- .../Models/AnalyticsDayHit.cs | 4 +- .../Models/AnalyticsExitPage.cs | 4 +- .../Models/AnalyticsHourHit.cs | 4 +- .../Models/AnalyticsMonthHit.cs | 4 +- .../Models/AnalyticsStatistic.cs | 4 +- .../Models/AnalyticsWeekHit.cs | 4 +- .../Models/AnalyticsYearHit.cs | 4 +- .../Models/CiFileMetadatum.cs | 4 +- Migration.Toolkit.KX13/Models/CiMigration.cs | 4 +- Migration.Toolkit.KX13/Models/CmsAcl.cs | 4 +- Migration.Toolkit.KX13/Models/CmsAclitem.cs | 4 +- .../Models/CmsAlternativeForm.cs | 4 +- .../Models/CmsAlternativeUrl.cs | 4 +- .../Models/CmsAttachment.cs | 4 +- .../Models/CmsAttachmentHistory.cs | 4 +- .../Models/CmsAutomationHistory.cs | 4 +- .../Models/CmsAutomationState.cs | 4 +- .../Models/CmsAutomationTemplate.cs | 4 +- Migration.Toolkit.KX13/Models/CmsAvatar.cs | 4 +- Migration.Toolkit.KX13/Models/CmsCategory.cs | 4 +- Migration.Toolkit.KX13/Models/CmsClass.cs | 4 +- Migration.Toolkit.KX13/Models/CmsConsent.cs | 4 +- .../Models/CmsConsentAgreement.cs | 4 +- .../Models/CmsConsentArchive.cs | 4 +- Migration.Toolkit.KX13/Models/CmsCountry.cs | 4 +- Migration.Toolkit.KX13/Models/CmsCulture.cs | 4 +- Migration.Toolkit.KX13/Models/CmsDocument.cs | 4 +- .../Models/CmsDocumentTypeScope.cs | 4 +- Migration.Toolkit.KX13/Models/CmsEmail.cs | 4 +- .../Models/CmsEmailAttachment.cs | 4 +- .../Models/CmsEmailTemplate.cs | 4 +- Migration.Toolkit.KX13/Models/CmsEmailUser.cs | 4 +- Migration.Toolkit.KX13/Models/CmsEventLog.cs | 4 +- .../Models/CmsExternalLogin.cs | 4 +- Migration.Toolkit.KX13/Models/CmsForm.cs | 4 +- .../Models/CmsFormUserControl.cs | 4 +- Migration.Toolkit.KX13/Models/CmsHelpTopic.cs | 4 +- Migration.Toolkit.KX13/Models/CmsLayout.cs | 4 +- .../Models/CmsLicenseKey.cs | 4 +- .../Models/CmsMacroIdentity.cs | 4 +- Migration.Toolkit.KX13/Models/CmsMacroRule.cs | 4 +- .../Models/CmsMembership.cs | 4 +- .../Models/CmsMembershipUser.cs | 4 +- Migration.Toolkit.KX13/Models/CmsMetaFile.cs | 4 +- .../Models/CmsModuleLicenseKey.cs | 4 +- .../Models/CmsModuleUsageCounter.cs | 4 +- .../Models/CmsObjectSetting.cs | 4 +- .../Models/CmsObjectVersionHistory.cs | 4 +- .../Models/CmsObjectWorkflowTrigger.cs | 4 +- .../Models/CmsPageFormerUrlPath.cs | 4 +- .../Models/CmsPageTemplate.cs | 4 +- .../Models/CmsPageTemplateCategory.cs | 4 +- .../Models/CmsPageTemplateConfiguration.cs | 4 +- .../Models/CmsPageUrlPath.cs | 4 +- .../Models/CmsPermission.cs | 4 +- .../Models/CmsPersonalization.cs | 4 +- Migration.Toolkit.KX13/Models/CmsQuery.cs | 4 +- .../Models/CmsRelationship.cs | 4 +- .../Models/CmsRelationshipName.cs | 4 +- Migration.Toolkit.KX13/Models/CmsResource.cs | 4 +- .../Models/CmsResourceLibrary.cs | 4 +- .../Models/CmsResourceString.cs | 4 +- .../Models/CmsResourceTranslation.cs | 4 +- Migration.Toolkit.KX13/Models/CmsRole.cs | 4 +- .../Models/CmsScheduledTask.cs | 4 +- .../Models/CmsSearchEngine.cs | 4 +- .../Models/CmsSearchIndex.cs | 4 +- .../Models/CmsSearchTask.cs | 4 +- .../Models/CmsSearchTaskAzure.cs | 4 +- .../Models/CmsSettingsCategory.cs | 4 +- .../Models/CmsSettingsKey.cs | 4 +- Migration.Toolkit.KX13/Models/CmsSite.cs | 4 +- .../Models/CmsSiteDomainAlias.cs | 4 +- .../Models/CmsSmtpserver.cs | 4 +- Migration.Toolkit.KX13/Models/CmsState.cs | 4 +- Migration.Toolkit.KX13/Models/CmsTag.cs | 4 +- Migration.Toolkit.KX13/Models/CmsTagGroup.cs | 4 +- Migration.Toolkit.KX13/Models/CmsTimeZone.cs | 4 +- .../Models/CmsTransformation.cs | 4 +- .../Models/CmsTranslationService.cs | 4 +- .../Models/CmsTranslationSubmission.cs | 4 +- .../Models/CmsTranslationSubmissionItem.cs | 4 +- Migration.Toolkit.KX13/Models/CmsTree.cs | 4 +- Migration.Toolkit.KX13/Models/CmsUielement.cs | 4 +- Migration.Toolkit.KX13/Models/CmsUser.cs | 4 +- .../Models/CmsUserCulture.cs | 4 +- .../Models/CmsUserMacroIdentity.cs | 4 +- Migration.Toolkit.KX13/Models/CmsUserRole.cs | 4 +- .../Models/CmsUserSetting.cs | 4 +- Migration.Toolkit.KX13/Models/CmsUserSite.cs | 4 +- .../Models/CmsVersionHistory.cs | 4 +- .../Models/CmsWebFarmServer.cs | 4 +- .../Models/CmsWebFarmServerLog.cs | 4 +- .../Models/CmsWebFarmServerMonitoring.cs | 4 +- .../Models/CmsWebFarmServerTask.cs | 4 +- .../Models/CmsWebFarmTask.cs | 4 +- Migration.Toolkit.KX13/Models/CmsWebPart.cs | 4 +- .../Models/CmsWebPartCategory.cs | 4 +- .../Models/CmsWebPartContainer.cs | 4 +- .../Models/CmsWebPartLayout.cs | 4 +- Migration.Toolkit.KX13/Models/CmsWidget.cs | 4 +- .../Models/CmsWidgetCategory.cs | 4 +- .../Models/CmsWidgetRole.cs | 4 +- Migration.Toolkit.KX13/Models/CmsWorkflow.cs | 4 +- .../Models/CmsWorkflowAction.cs | 4 +- .../Models/CmsWorkflowHistory.cs | 4 +- .../Models/CmsWorkflowScope.cs | 4 +- .../Models/CmsWorkflowStep.cs | 4 +- .../Models/CmsWorkflowStepRole.cs | 4 +- .../Models/CmsWorkflowStepUser.cs | 4 +- .../Models/CmsWorkflowTransition.cs | 4 +- Migration.Toolkit.KX13/Models/ComAddress.cs | 4 +- Migration.Toolkit.KX13/Models/ComBrand.cs | 4 +- Migration.Toolkit.KX13/Models/ComCarrier.cs | 4 +- .../Models/ComCollection.cs | 4 +- .../Models/ComCouponCode.cs | 4 +- Migration.Toolkit.KX13/Models/ComCurrency.cs | 4 +- .../Models/ComCurrencyExchangeRate.cs | 4 +- Migration.Toolkit.KX13/Models/ComCustomer.cs | 4 +- .../Models/ComCustomerCreditHistory.cs | 4 +- .../Models/ComDepartment.cs | 4 +- Migration.Toolkit.KX13/Models/ComDiscount.cs | 4 +- .../Models/ComExchangeTable.cs | 4 +- Migration.Toolkit.KX13/Models/ComGiftCard.cs | 4 +- .../Models/ComGiftCardCouponCode.cs | 4 +- .../Models/ComInternalStatus.cs | 4 +- .../Models/ComManufacturer.cs | 4 +- .../Models/ComMultiBuyCouponCode.cs | 4 +- .../Models/ComMultiBuyDiscount.cs | 4 +- .../Models/ComMultiBuyDiscountBrand.cs | 4 +- .../Models/ComMultiBuyDiscountCollection.cs | 4 +- .../Models/ComMultiBuyDiscountTree.cs | 4 +- .../Models/ComOptionCategory.cs | 4 +- Migration.Toolkit.KX13/Models/ComOrder.cs | 4 +- .../Models/ComOrderAddress.cs | 4 +- Migration.Toolkit.KX13/Models/ComOrderItem.cs | 4 +- .../Models/ComOrderItemSkufile.cs | 4 +- .../Models/ComOrderStatus.cs | 4 +- .../Models/ComOrderStatusUser.cs | 4 +- .../Models/ComPaymentOption.cs | 4 +- .../Models/ComPublicStatus.cs | 4 +- .../Models/ComShippingCost.cs | 4 +- .../Models/ComShippingOption.cs | 4 +- .../Models/ComShoppingCart.cs | 4 +- .../Models/ComShoppingCartCouponCode.cs | 4 +- .../Models/ComShoppingCartSku.cs | 4 +- Migration.Toolkit.KX13/Models/ComSku.cs | 4 +- Migration.Toolkit.KX13/Models/ComSkufile.cs | 4 +- .../Models/ComSkuoptionCategory.cs | 4 +- Migration.Toolkit.KX13/Models/ComSupplier.cs | 4 +- Migration.Toolkit.KX13/Models/ComTaxClass.cs | 4 +- .../Models/ComTaxClassCountry.cs | 4 +- .../Models/ComTaxClassState.cs | 4 +- .../Models/ComVolumeDiscount.cs | 4 +- Migration.Toolkit.KX13/Models/ComWishlist.cs | 4 +- .../Models/ExportHistory.cs | 4 +- Migration.Toolkit.KX13/Models/ExportTask.cs | 4 +- .../Models/IntegrationConnector.cs | 4 +- .../Models/IntegrationSyncLog.cs | 4 +- .../Models/IntegrationSynchronization.cs | 4 +- .../Models/IntegrationTask.cs | 4 +- Migration.Toolkit.KX13/Models/MediaFile.cs | 4 +- Migration.Toolkit.KX13/Models/MediaLibrary.cs | 4 +- .../Models/MediaLibraryRolePermission.cs | 4 +- .../Models/NewsletterAbtest.cs | 4 +- .../Models/NewsletterClickedLink.cs | 4 +- .../Models/NewsletterEmail.cs | 4 +- .../Models/NewsletterEmailTemplate.cs | 4 +- .../Models/NewsletterEmailWidget.cs | 4 +- .../Models/NewsletterEmailWidgetTemplate.cs | 4 +- .../Models/NewsletterIssueContactGroup.cs | 4 +- .../Models/NewsletterLink.cs | 4 +- .../Models/NewsletterNewsletter.cs | 4 +- .../Models/NewsletterNewsletterIssue.cs | 4 +- .../Models/NewsletterOpenedEmail.cs | 4 +- .../Models/NewsletterSubscriber.cs | 4 +- .../Models/NewsletterSubscriberNewsletter.cs | 4 +- .../Models/NewsletterUnsubscription.cs | 4 +- Migration.Toolkit.KX13/Models/OmAbtest.cs | 4 +- .../Models/OmAbvariantDatum.cs | 4 +- Migration.Toolkit.KX13/Models/OmAccount.cs | 4 +- .../Models/OmAccountContact.cs | 4 +- .../Models/OmAccountStatus.cs | 4 +- Migration.Toolkit.KX13/Models/OmActivity.cs | 4 +- .../Models/OmActivityRecalculationQueue.cs | 4 +- .../Models/OmActivityType.cs | 4 +- Migration.Toolkit.KX13/Models/OmContact.cs | 4 +- .../OmContactChangeRecalculationQueue.cs | 4 +- .../Models/OmContactGroup.cs | 4 +- .../Models/OmContactGroupMember.cs | 4 +- .../Models/OmContactRole.cs | 4 +- .../Models/OmContactStatus.cs | 4 +- Migration.Toolkit.KX13/Models/OmMembership.cs | 4 +- Migration.Toolkit.KX13/Models/OmRule.cs | 4 +- Migration.Toolkit.KX13/Models/OmScore.cs | 4 +- .../Models/OmScoreContactRule.cs | 4 +- .../Models/OmVisitorToContact.cs | 4 +- .../Models/PersonasPersona.cs | 4 +- .../Models/PersonasPersonaContactHistory.cs | 4 +- .../Models/ReportingReport.cs | 4 +- .../Models/ReportingReportCategory.cs | 4 +- .../Models/ReportingReportGraph.cs | 4 +- .../Models/ReportingReportSubscription.cs | 4 +- .../Models/ReportingReportTable.cs | 4 +- .../Models/ReportingReportValue.cs | 4 +- .../Models/ReportingSavedGraph.cs | 4 +- .../Models/ReportingSavedReport.cs | 4 +- .../Models/SharePointSharePointConnection.cs | 4 +- .../Models/SharePointSharePointFile.cs | 4 +- .../Models/SharePointSharePointLibrary.cs | 4 +- .../Models/SmFacebookAccount.cs | 4 +- .../Models/SmFacebookApplication.cs | 4 +- .../Models/SmFacebookPost.cs | 4 +- Migration.Toolkit.KX13/Models/SmInsight.cs | 4 +- .../Models/SmInsightHitDay.cs | 4 +- .../Models/SmInsightHitMonth.cs | 4 +- .../Models/SmInsightHitWeek.cs | 4 +- .../Models/SmInsightHitYear.cs | 4 +- .../Models/SmLinkedInAccount.cs | 4 +- .../Models/SmLinkedInApplication.cs | 4 +- .../Models/SmLinkedInPost.cs | 4 +- .../Models/SmTwitterAccount.cs | 4 +- .../Models/SmTwitterApplication.cs | 4 +- .../Models/SmTwitterPost.cs | 4 +- .../Models/StagingServer.cs | 4 +- .../Models/StagingSynchronization.cs | 4 +- Migration.Toolkit.KX13/Models/StagingTask.cs | 4 +- .../Models/StagingTaskGroup.cs | 4 +- .../Models/StagingTaskGroupTask.cs | 4 +- .../Models/StagingTaskGroupUser.cs | 4 +- .../Models/StagingTaskUser.cs | 4 +- Migration.Toolkit.KX13/Models/TempFile.cs | 4 +- .../Models/TempPageBuilderWidget.cs | 4 +- .../Models/ViewCmsAclitemItemsAndOperator.cs | 4 +- .../ViewCmsObjectVersionHistoryUserJoined.cs | 4 +- ...sPageTemplateCategoryPageTemplateJoined.cs | 4 +- .../Models/ViewCmsRelationshipJoined.cs | 4 +- .../Models/ViewCmsResourceStringJoined.cs | 4 +- .../Models/ViewCmsResourceTranslatedJoined.cs | 4 +- .../ViewCmsRoleResourcePermissionJoined.cs | 4 +- .../Models/ViewCmsSiteDocumentCount.cs | 4 +- .../ViewCmsSiteRoleResourceUielementJoined.cs | 4 +- .../Models/ViewCmsTreeJoined.cs | 4 +- Migration.Toolkit.KX13/Models/ViewCmsUser.cs | 4 +- .../Models/ViewCmsUserDocument.cs | 4 +- .../Models/ViewCmsUserRoleJoined.cs | 4 +- .../Models/ViewCmsUserRoleMembershipRole.cs | 4 +- ...msUserRoleMembershipRoleValidOnlyJoined.cs | 4 +- .../Models/ViewCmsUserSettingsRoleJoined.cs | 4 +- .../ViewCmsWebPartCategoryWebpartJoined.cs | 4 +- .../ViewCmsWidgetCategoryWidgetJoined.cs | 4 +- ...omSkuoptionCategoryOptionCategoryJoined.cs | 4 +- .../Models/ViewIntegrationTaskJoined.cs | 4 +- .../ViewMembershipMembershipUserJoined.cs | 4 +- .../ViewNewsletterSubscriptionsJoined.cs | 4 +- .../ViewOmAccountContactAccountJoined.cs | 4 +- .../ViewOmAccountContactContactJoined.cs | 4 +- .../Models/ViewOmAccountJoined.cs | 4 +- .../ViewOmContactGroupMemberAccountJoined.cs | 4 +- .../ViewReportingCategoryReportJoined.cs | 4 +- Migration.Toolkit.KX13/SettingsKeys.cs | 3 +- .../Auxiliary/DummyFormFile.cs | 6 +- .../CmsClass/FormDefinitionPatcher.cs | 146 ++++++------ Migration.Toolkit.KXP/Context/KxpContext.cs | 4 +- Migration.Toolkit.KXP/Models/CdMigration.cs | 4 +- .../Models/CiFileMetadatum.cs | 4 +- Migration.Toolkit.KXP/Models/CiMigration.cs | 4 +- .../Models/CmsAlternativeForm.cs | 4 +- .../Models/CmsApplicationPermission.cs | 4 +- .../Models/CmsAutomationHistory.cs | 4 +- .../Models/CmsAutomationState.cs | 4 +- .../Models/CmsAutomationTemplate.cs | 4 +- Migration.Toolkit.KXP/Models/CmsChannel.cs | 4 +- Migration.Toolkit.KXP/Models/CmsClass.cs | 4 +- Migration.Toolkit.KXP/Models/CmsConsent.cs | 4 +- .../Models/CmsConsentAgreement.cs | 4 +- .../Models/CmsConsentArchive.cs | 4 +- .../Models/CmsContentFolder.cs | 4 +- .../Models/CmsContentItem.cs | 4 +- .../Models/CmsContentItemCommonDatum.cs | 4 +- .../Models/CmsContentItemLanguageMetadatum.cs | 4 +- .../Models/CmsContentItemReference.cs | 4 +- .../Models/CmsContentItemTag.cs | 4 +- .../Models/CmsContentLanguage.cs | 4 +- .../Models/CmsContentTypeChannel.cs | 4 +- .../Models/CmsContentWorkflow.cs | 4 +- .../Models/CmsContentWorkflowContentType.cs | 4 +- .../Models/CmsContentWorkflowStep.cs | 4 +- .../Models/CmsContentWorkflowStepRole.cs | 4 +- Migration.Toolkit.KXP/Models/CmsCountry.cs | 4 +- Migration.Toolkit.KXP/Models/CmsCulture.cs | 4 +- Migration.Toolkit.KXP/Models/CmsEmail.cs | 4 +- .../Models/CmsEmailAttachment.cs | 4 +- Migration.Toolkit.KXP/Models/CmsEventLog.cs | 4 +- .../Models/CmsExternalLogin.cs | 4 +- Migration.Toolkit.KXP/Models/CmsForm.cs | 4 +- .../Models/CmsFormFeaturedField.cs | 4 +- .../Models/CmsHeadlessChannel.cs | 4 +- .../Models/CmsHeadlessItem.cs | 4 +- .../Models/CmsHeadlessToken.cs | 4 +- Migration.Toolkit.KXP/Models/CmsLicenseKey.cs | 4 +- .../Models/CmsMacroIdentity.cs | 4 +- Migration.Toolkit.KXP/Models/CmsMacroRule.cs | 4 +- .../Models/CmsMacroRuleCategory.cs | 4 +- .../Models/CmsMacroRuleMacroRuleCategory.cs | 4 +- Migration.Toolkit.KXP/Models/CmsMember.cs | 4 +- .../Models/CmsMemberExternalLogin.cs | 4 +- .../Models/CmsObjectWorkflowTrigger.cs | 4 +- .../Models/CmsPageTemplateConfiguration.cs | 4 +- Migration.Toolkit.KXP/Models/CmsQuery.cs | 4 +- Migration.Toolkit.KXP/Models/CmsResource.cs | 4 +- .../Models/CmsResourceString.cs | 4 +- .../Models/CmsResourceTranslation.cs | 4 +- Migration.Toolkit.KXP/Models/CmsRole.cs | 4 +- .../Models/CmsScheduledTask.cs | 4 +- .../Models/CmsSettingsCategory.cs | 4 +- .../Models/CmsSettingsKey.cs | 4 +- .../Models/CmsSmartFolder.cs | 4 +- Migration.Toolkit.KXP/Models/CmsState.cs | 4 +- Migration.Toolkit.KXP/Models/CmsTag.cs | 4 +- Migration.Toolkit.KXP/Models/CmsTaxonomy.cs | 4 +- Migration.Toolkit.KXP/Models/CmsUser.cs | 4 +- .../Models/CmsUserMacroIdentity.cs | 4 +- Migration.Toolkit.KXP/Models/CmsUserRole.cs | 4 +- .../Models/CmsWebFarmServer.cs | 4 +- .../Models/CmsWebFarmServerLog.cs | 4 +- .../Models/CmsWebFarmServerMonitoring.cs | 4 +- .../Models/CmsWebFarmServerTask.cs | 4 +- .../Models/CmsWebFarmTask.cs | 4 +- .../Models/CmsWebPageFormerUrlPath.cs | 4 +- .../Models/CmsWebPageItem.cs | 4 +- .../Models/CmsWebPageUrlPath.cs | 4 +- .../Models/CmsWebsiteCaptchaSetting.cs | 4 +- .../Models/CmsWebsiteChannel.cs | 4 +- Migration.Toolkit.KXP/Models/CmsWorkflow.cs | 4 +- .../Models/CmsWorkflowAction.cs | 4 +- .../Models/CmsWorkflowStep.cs | 4 +- .../Models/CmsWorkflowTransition.cs | 4 +- .../Models/EmailLibraryEmailBounce.cs | 4 +- .../Models/EmailLibraryEmailChannel.cs | 4 +- .../Models/EmailLibraryEmailChannelSender.cs | 4 +- .../Models/EmailLibraryEmailConfiguration.cs | 4 +- .../Models/EmailLibraryEmailLink.cs | 4 +- .../EmailLibraryEmailMarketingRecipient.cs | 4 +- .../Models/EmailLibraryEmailStatistic.cs | 4 +- .../Models/EmailLibraryEmailStatisticsHit.cs | 4 +- ...ailLibraryEmailSubscriptionConfirmation.cs | 4 +- .../Models/EmailLibraryEmailTemplate.cs | 4 +- .../EmailLibraryEmailTemplateContentType.cs | 4 +- .../EmailLibraryRecipientListSetting.cs | 4 +- .../Models/EmailLibrarySendConfiguration.cs | 4 +- Migration.Toolkit.KXP/Models/MediaFile.cs | 4 +- Migration.Toolkit.KXP/Models/MediaLibrary.cs | 4 +- Migration.Toolkit.KXP/Models/OmAccount.cs | 4 +- .../Models/OmAccountContact.cs | 4 +- .../Models/OmAccountStatus.cs | 4 +- Migration.Toolkit.KXP/Models/OmActivity.cs | 4 +- .../Models/OmActivityRecalculationQueue.cs | 4 +- .../Models/OmActivityType.cs | 4 +- Migration.Toolkit.KXP/Models/OmContact.cs | 4 +- .../OmContactChangeRecalculationQueue.cs | 4 +- .../Models/OmContactGroup.cs | 4 +- .../Models/OmContactGroupMember.cs | 4 +- Migration.Toolkit.KXP/Models/OmContactRole.cs | 4 +- .../Models/OmContactStatus.cs | 4 +- .../Models/OmTrackedWebsite.cs | 4 +- .../Models/OmVisitorToContact.cs | 4 +- Migration.Toolkit.KXP/Models/TempFile.cs | 4 +- .../Models/TempPageBuilderWidget.cs | 4 +- .../Models/ViewCmsResourceStringJoined.cs | 4 +- .../Models/ViewCmsResourceTranslatedJoined.cs | 4 +- .../ViewOmAccountContactAccountJoined.cs | 4 +- .../ViewOmAccountContactContactJoined.cs | 4 +- .../Models/ViewOmAccountJoined.cs | 4 +- .../ViewOmContactGroupMemberAccountJoined.cs | 4 +- Migration.Toolkit.Tests/MediaHelperTest.cs | 3 +- 1301 files changed, 4055 insertions(+), 3851 deletions(-) diff --git a/KVA/Migration.Toolkit.Source/Auxiliary/NodeXmlAdapter.cs b/KVA/Migration.Toolkit.Source/Auxiliary/NodeXmlAdapter.cs index c27e544a..af0b4702 100644 --- a/KVA/Migration.Toolkit.Source/Auxiliary/NodeXmlAdapter.cs +++ b/KVA/Migration.Toolkit.Source/Auxiliary/NodeXmlAdapter.cs @@ -1,16 +1,18 @@ -namespace Migration.Toolkit.Source.Auxiliary; +namespace Migration.Toolkit.Source.Auxiliary; using System; using System.Xml.Linq; using Migration.Toolkit.Common; using Migration.Toolkit.Common.Enumerations; -internal class NodeXmlAdapter { +internal class NodeXmlAdapter +{ private readonly XElement _xClass; public bool ParsingSuccessful { get; } - public NodeXmlAdapter(string xml) { + public NodeXmlAdapter(string xml) + { var xDoc = XDocument.Parse(xml); if (xDoc.Root?.FirstNode is XElement dClass) { @@ -24,7 +26,8 @@ public NodeXmlAdapter(string xml) { } } - public string? GetValue(string columnName) { + public string? GetValue(string columnName) + { return _xClass.Element(columnName)?.Value; } @@ -72,4 +75,4 @@ public bool HasValueSet(string columnName) public string? ClassName => _xClass.Element(NodeXmlColumns.CLASS_NAME)?.Value; public string? DocumentPageTemplateConfiguration => _xClass.Element(NodeXmlColumns.DOCUMENT_PAGE_TEMPLATE_CONFIGURATION)?.Value; -} +} \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Behaviors/RequestHandlingBehavior.cs b/KVA/Migration.Toolkit.Source/Behaviors/RequestHandlingBehavior.cs index 1a859a96..f30d2120 100644 --- a/KVA/Migration.Toolkit.Source/Behaviors/RequestHandlingBehavior.cs +++ b/KVA/Migration.Toolkit.Source/Behaviors/RequestHandlingBehavior.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Behaviors; +namespace Migration.Toolkit.Source.Behaviors; using System.Diagnostics; using MediatR; diff --git a/KVA/Migration.Toolkit.Source/Contexts/PrimaryKeyMappingContext.cs b/KVA/Migration.Toolkit.Source/Contexts/PrimaryKeyMappingContext.cs index ca62769b..2bb939c3 100644 --- a/KVA/Migration.Toolkit.Source/Contexts/PrimaryKeyMappingContext.cs +++ b/KVA/Migration.Toolkit.Source/Contexts/PrimaryKeyMappingContext.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Contexts; +namespace Migration.Toolkit.Source.Contexts; using System.Diagnostics; using System.Linq.Expressions; diff --git a/KVA/Migration.Toolkit.Source/Exceptions.cs b/KVA/Migration.Toolkit.Source/Exceptions.cs index 2694f3e2..47ffc6ca 100644 --- a/KVA/Migration.Toolkit.Source/Exceptions.cs +++ b/KVA/Migration.Toolkit.Source/Exceptions.cs @@ -1,11 +1,11 @@ namespace Migration.Toolkit.Source; -public class MappingFailureException: InvalidOperationException +public class MappingFailureException : InvalidOperationException { public string KeyName { get; } public string Reason { get; } - public MappingFailureException(string keyName, string reason): base($"Key '{keyName}' mapping failed: {reason}") + public MappingFailureException(string keyName, string reason) : base($"Key '{keyName}' mapping failed: {reason}") { KeyName = keyName; Reason = reason; diff --git a/KVA/Migration.Toolkit.Source/Extensions.cs b/KVA/Migration.Toolkit.Source/Extensions.cs index b6055b77..90eaceda 100644 --- a/KVA/Migration.Toolkit.Source/Extensions.cs +++ b/KVA/Migration.Toolkit.Source/Extensions.cs @@ -17,21 +17,21 @@ public static async Task> AssertSuccess(th switch (await resultTask) { case { Success: true, Imported: TResult info }: - { - return new(true, info); - } - case {} result: - { - var sb = new StringBuilder(); - if (result.ModelValidationResults is { } validationResults) - validationResults.ForEach(vr => sb.Append($"[{string.Join(",", vr.MemberNames)}]: {vr.ErrorMessage}")); - - if (result.Exception is { } exception) { - logger.LogError(exception, "Error occured while importing entity {ValidationErrors}", sb); + return new(true, info); + } + case { } result: + { + var sb = new StringBuilder(); + if (result.ModelValidationResults is { } validationResults) + validationResults.ForEach(vr => sb.Append($"[{string.Join(",", vr.MemberNames)}]: {vr.ErrorMessage}")); + + if (result.Exception is { } exception) + { + logger.LogError(exception, "Error occured while importing entity {ValidationErrors}", sb); + } + return new(false, default); } - return new(false, default); - } default: throw new NotImplementedException("Undefined state"); } } diff --git a/KVA/Migration.Toolkit.Source/Handlers/MigrateCategoriesCommandHandler.cs b/KVA/Migration.Toolkit.Source/Handlers/MigrateCategoriesCommandHandler.cs index d78322e3..874f74ce 100644 --- a/KVA/Migration.Toolkit.Source/Handlers/MigrateCategoriesCommandHandler.cs +++ b/KVA/Migration.Toolkit.Source/Handlers/MigrateCategoriesCommandHandler.cs @@ -104,7 +104,7 @@ FROM View_CMS_Tree_Joined [TJ] { if (await importer .ImportAsync(umtModel) - .AssertSuccess(logger) is {Success:true, Info: {} tag}) + .AssertSuccess(logger) is { Success: true, Info: { } tag }) { query = """ SELECT TJ.DocumentGUID, TJ.NodeSiteID, TJ.NodeID, TJ.DocumentID, CDC.CategoryID, TJ.DocumentCheckedOutVersionHistoryID, TJ.NodeClassID diff --git a/KVA/Migration.Toolkit.Source/Handlers/MigrateCustomModulesCommandHandler.cs b/KVA/Migration.Toolkit.Source/Handlers/MigrateCustomModulesCommandHandler.cs index f3fa9fb2..9b4fd16a 100644 --- a/KVA/Migration.Toolkit.Source/Handlers/MigrateCustomModulesCommandHandler.cs +++ b/KVA/Migration.Toolkit.Source/Handlers/MigrateCustomModulesCommandHandler.cs @@ -116,7 +116,7 @@ private async Task MigrateClasses(EntityConfiguration entityConfiguration, Cance protocol.FetchedTarget(xbkDataClass); - if (SaveClassUsingKxoApi(cmsClass, xbkDataClass) is {} savedDataClass) + if (SaveClassUsingKxoApi(cmsClass, xbkDataClass) is { } savedDataClass) { Debug.Assert(savedDataClass.ClassID != 0, "xbkDataClass.ClassID != 0"); xbkDataClass = DataClassInfoProvider.ProviderObject.Get(savedDataClass.ClassID); @@ -162,7 +162,7 @@ private async Task MigrateClasses(EntityConfiguration entityConfiguration, Cance } catch (Exception ex) { - logger.LogError(ex,"Error while copying data to table"); + logger.LogError(ex, "Error while copying data to table"); } } @@ -272,7 +272,7 @@ private async Task MigrateAlternativeForms(ICmsClass k12Class, DataClassInfo xbk try { - if (mapped is { Success : true }) + if (mapped is { Success: true }) { var (alternativeFormInfo, newInstance) = mapped; ArgumentNullException.ThrowIfNull(alternativeFormInfo, nameof(alternativeFormInfo)); @@ -367,7 +367,7 @@ private async Task MigrateResources(CancellationToken cancellationToken) try { - if (mapped is { Success : true }) + if (mapped is { Success: true }) { var (resourceInfo, newInstance) = mapped; ArgumentNullException.ThrowIfNull(resourceInfo, nameof(resourceInfo)); @@ -398,7 +398,7 @@ private async Task MigrateResources(CancellationToken cancellationToken) try { - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (dataClassInfo, newInstance) = result; ArgumentNullException.ThrowIfNull(dataClassInfo, nameof(dataClassInfo)); diff --git a/KVA/Migration.Toolkit.Source/Handlers/MigrateCustomTablesHandler.cs b/KVA/Migration.Toolkit.Source/Handlers/MigrateCustomTablesHandler.cs index 7cffed8e..7e471673 100644 --- a/KVA/Migration.Toolkit.Source/Handlers/MigrateCustomTablesHandler.cs +++ b/KVA/Migration.Toolkit.Source/Handlers/MigrateCustomTablesHandler.cs @@ -168,7 +168,7 @@ private async Task MigrateCustomTables() try { - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (dataClassInfo, newInstance) = result; diff --git a/KVA/Migration.Toolkit.Source/Handlers/MigrateFormsCommandHandler.cs b/KVA/Migration.Toolkit.Source/Handlers/MigrateFormsCommandHandler.cs index 9fca8837..b74b773b 100644 --- a/KVA/Migration.Toolkit.Source/Handlers/MigrateFormsCommandHandler.cs +++ b/KVA/Migration.Toolkit.Source/Handlers/MigrateFormsCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Handlers; +namespace Migration.Toolkit.Source.Handlers; using System.Collections.Immutable; using System.Diagnostics; @@ -64,7 +64,7 @@ public async Task Handle(MigrateFormsCommand request, Cancellatio var mapped = cmsFormMapper.Map(ksCmsForm, kxoCmsForm); protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsForm, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsForm, nameof(cmsForm)); @@ -222,7 +222,7 @@ private bool MapAndSaveUsingKxoApi(ICmsClass ksClass, DataClassInfo kxoDataClass var mapped = dataClassMapper.Map(ksClass, kxoDataClass); protocol.MappedTarget(mapped); - if (mapped is { Success : true }) + if (mapped is { Success: true }) { var (dataClassInfo, newInstance) = mapped; ArgumentNullException.ThrowIfNull(dataClassInfo, nameof(dataClassInfo)); diff --git a/KVA/Migration.Toolkit.Source/Handlers/MigrateMediaLibrariesCommandHandler.cs b/KVA/Migration.Toolkit.Source/Handlers/MigrateMediaLibrariesCommandHandler.cs index 370c9f8c..cc517d99 100644 --- a/KVA/Migration.Toolkit.Source/Handlers/MigrateMediaLibrariesCommandHandler.cs +++ b/KVA/Migration.Toolkit.Source/Handlers/MigrateMediaLibrariesCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Handlers; +namespace Migration.Toolkit.Source.Handlers; using CMS.Base; using CMS.MediaLibrary; @@ -67,10 +67,10 @@ public async Task Handle(MigrateMediaLibrariesCommand request, Ca continue; } - var mapped = mediaLibraryInfoMapper.Map(new (ksMediaLibrary, ksSite), mediaLibraryInfo); + var mapped = mediaLibraryInfoMapper.Map(new(ksMediaLibrary, ksSite), mediaLibraryInfo); protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (mfi, newInstance) = result; ArgumentNullException.ThrowIfNull(mfi, nameof(mfi)); @@ -174,7 +174,7 @@ private async Task RequireMigratedMediaFiles(List<(IMediaLibrary sourceLibrary, var mapped = mediaFileInfoMapper.Map(source, kxoMediaFile); protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (mf, newInstance) = result; ArgumentNullException.ThrowIfNull(mf, nameof(mf)); diff --git a/KVA/Migration.Toolkit.Source/Handlers/MigratePageTypesCommandHandler.cs b/KVA/Migration.Toolkit.Source/Handlers/MigratePageTypesCommandHandler.cs index 78fa2bdc..6b29941a 100644 --- a/KVA/Migration.Toolkit.Source/Handlers/MigratePageTypesCommandHandler.cs +++ b/KVA/Migration.Toolkit.Source/Handlers/MigratePageTypesCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Handlers; +namespace Migration.Toolkit.Source.Handlers; using CMS.ContentEngine; using CMS.DataEngine; @@ -134,7 +134,7 @@ private async Task MigratePageTemplateConfigurations() try { - if (mapped is { Success : true }) + if (mapped is { Success: true }) { var (dataClassInfo, newInstance) = mapped; ArgumentNullException.ThrowIfNull(dataClassInfo, nameof(dataClassInfo)); diff --git a/KVA/Migration.Toolkit.Source/Handlers/MigratePagesCommandHandler.cs b/KVA/Migration.Toolkit.Source/Handlers/MigratePagesCommandHandler.cs index cd99aa73..64003c91 100644 --- a/KVA/Migration.Toolkit.Source/Handlers/MigratePagesCommandHandler.cs +++ b/KVA/Migration.Toolkit.Source/Handlers/MigratePagesCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Handlers; +namespace Migration.Toolkit.Source.Handlers; using System.Collections.Concurrent; using System.Diagnostics; @@ -208,21 +208,21 @@ public async Task Handle(MigratePagesCommand request, Cancellatio switch (result) { case { Success: true, Imported: ContentItemCommonDataInfo ccid }: - { - commonDataInfos.Add(ccid); - Debug.Assert(ccid.ContentItemCommonDataContentLanguageID != 0, "ccid.ContentItemCommonDataContentLanguageID != 0"); - break; - } + { + commonDataInfos.Add(ccid); + Debug.Assert(ccid.ContentItemCommonDataContentLanguageID != 0, "ccid.ContentItemCommonDataContentLanguageID != 0"); + break; + } case { Success: true, Imported: ContentItemLanguageMetadataInfo cclm }: - { - Debug.Assert(cclm.ContentItemLanguageMetadataContentLanguageID != 0, "ccid.ContentItemCommonDataContentLanguageID != 0"); - break; - } + { + Debug.Assert(cclm.ContentItemLanguageMetadataContentLanguageID != 0, "ccid.ContentItemCommonDataContentLanguageID != 0"); + break; + } case { Success: true, Imported: WebPageItemInfo wp }: - { - webPageItemInfo = wp; - break; - } + { + webPageItemInfo = wp; + break; + } } } @@ -371,24 +371,24 @@ private async Task MigratePageUrlPaths(Guid webPageItemGuid, int webPageItemId, switch (await importer.ImportAsync(webPageUrlPath)) { case { Success: true, Imported: WebPageUrlPathInfo imported }: - { - logger.LogInformation("Page url path imported '{Path}' '{Guid}'", imported.WebPageUrlPath, imported.WebPageUrlPathGUID); - break; - } + { + logger.LogInformation("Page url path imported '{Path}' '{Guid}'", imported.WebPageUrlPath, imported.WebPageUrlPathGUID); + break; + } case { Success: false, Exception: { } exception }: - { - logger.LogError("Failed to import page url path: {Error}", exception.ToString()); - break; - } - case { Success: false, ModelValidationResults: { } validation }: - { - foreach (var validationResult in validation) { - logger.LogError("Failed to import page url path {Members}: {Error}", string.Join(",", validationResult.MemberNames), validationResult.ErrorMessage); + logger.LogError("Failed to import page url path: {Error}", exception.ToString()); + break; } + case { Success: false, ModelValidationResults: { } validation }: + { + foreach (var validationResult in validation) + { + logger.LogError("Failed to import page url path {Members}: {Error}", string.Join(",", validationResult.MemberNames), validationResult.ErrorMessage); + } - break; - } + break; + } } } } @@ -439,24 +439,24 @@ private async Task MigratePageUrlPaths(Guid webPageItemGuid, int webPageItemId, switch (await importer.ImportAsync(webPageUrlPath)) { case { Success: true, Imported: WebPageUrlPathInfo imported }: - { - logger.LogInformation("Page url path imported '{Path}' '{Guid}'", imported.WebPageUrlPath, imported.WebPageUrlPathGUID); - break; - } + { + logger.LogInformation("Page url path imported '{Path}' '{Guid}'", imported.WebPageUrlPath, imported.WebPageUrlPathGUID); + break; + } case { Success: false, Exception: { } exception }: - { - logger.LogError("Failed to import page url path: {Error}", exception.ToString()); - break; - } - case { Success: false, ModelValidationResults: { } validation }: - { - foreach (var validationResult in validation) { - logger.LogError("Failed to import page url path {Members}: {Error}", string.Join(",", validationResult.MemberNames), validationResult.ErrorMessage); + logger.LogError("Failed to import page url path: {Error}", exception.ToString()); + break; } + case { Success: false, ModelValidationResults: { } validation }: + { + foreach (var validationResult in validation) + { + logger.LogError("Failed to import page url path {Members}: {Error}", string.Join(",", validationResult.MemberNames), validationResult.ErrorMessage); + } - break; - } + break; + } } } } @@ -500,24 +500,24 @@ private async Task MigratePageUrlPaths(Guid webPageItemGuid, int webPageItemId, switch (await importer.ImportAsync(webPageUrlPath)) { case { Success: true, Imported: WebPageUrlPathInfo imported }: - { - logger.LogInformation("Page url path imported '{Path}' '{Guid}'", imported.WebPageUrlPath, imported.WebPageUrlPathGUID); - break; - } + { + logger.LogInformation("Page url path imported '{Path}' '{Guid}'", imported.WebPageUrlPath, imported.WebPageUrlPathGUID); + break; + } case { Success: false, Exception: { } exception }: - { - logger.LogError("Failed to import page url path: {Error}", exception.ToString()); - break; - } - case { Success: false, ModelValidationResults: { } validation }: - { - foreach (var validationResult in validation) { - logger.LogError("Failed to import page url path {Members}: {Error}", string.Join(",", validationResult.MemberNames), validationResult.ErrorMessage); + logger.LogError("Failed to import page url path: {Error}", exception.ToString()); + break; } + case { Success: false, ModelValidationResults: { } validation }: + { + foreach (var validationResult in validation) + { + logger.LogError("Failed to import page url path {Members}: {Error}", string.Join(",", validationResult.MemberNames), validationResult.ErrorMessage); + } - break; - } + break; + } } } } @@ -543,50 +543,50 @@ private void MigrateFormerUrls(ICmsTree ksNode, WebPageItemInfo targetPage) { case CmsPageFormerUrlPathK11: case CmsPageFormerUrlPathK12: - { - logger.LogError("Unexpected type '{Type}'", cmsPageFormerUrlPath.GetType().FullName); - break; - } - case CmsPageFormerUrlPathK13 pfup: - { - try { - var languageInfo = _languages.GetOrAdd( - pfup.PageFormerUrlPathCulture, - s => ContentLanguageInfoProvider.ProviderObject.Get().WhereEquals(nameof(ContentLanguageInfo.ContentLanguageName), s).SingleOrDefault() ?? throw new InvalidOperationException($"Missing content language '{s}'") - ); - - var ktPath = WebPageFormerUrlPathInfo.Provider.Get() - .WhereEquals(nameof(WebPageFormerUrlPathInfo.WebPageFormerUrlPathHash), GetWebPageUrlPathHashQueryExpression(pfup.PageFormerUrlPathUrlPath)) - .WhereEquals(nameof(WebPageFormerUrlPathInfo.WebPageFormerUrlPathWebsiteChannelID), targetPage.WebPageItemWebsiteChannelID) - .WhereEquals(nameof(WebPageFormerUrlPathInfo.WebPageFormerUrlPathContentLanguageID), languageInfo.ContentLanguageID) - .SingleOrDefault(); - - if (ktPath != null) protocol.FetchedTarget(ktPath); - - var webPageFormerUrlPathInfo = ktPath ?? new WebPageFormerUrlPathInfo(); - webPageFormerUrlPathInfo.WebPageFormerUrlPath = pfup.PageFormerUrlPathUrlPath; - webPageFormerUrlPathInfo.WebPageFormerUrlPathHash = modelFacade.HashPath(pfup.PageFormerUrlPathUrlPath); - webPageFormerUrlPathInfo.WebPageFormerUrlPathWebPageItemID = targetPage.WebPageItemID; - webPageFormerUrlPathInfo.WebPageFormerUrlPathWebsiteChannelID = targetPage.WebPageItemWebsiteChannelID; - webPageFormerUrlPathInfo.WebPageFormerUrlPathContentLanguageID = languageInfo.ContentLanguageID; - webPageFormerUrlPathInfo.WebPageFormerUrlPathLastModified = pfup.PageFormerUrlPathLastModified; - - WebPageFormerUrlPathInfo.Provider.Set(webPageFormerUrlPathInfo); - logger.LogInformation("Former page url path imported '{Path}'", webPageFormerUrlPathInfo.WebPageFormerUrlPath); + logger.LogError("Unexpected type '{Type}'", cmsPageFormerUrlPath.GetType().FullName); + break; } - catch (Exception ex) + case CmsPageFormerUrlPathK13 pfup: { - protocol.Append(HandbookReferences - .ErrorCreatingTargetInstance(ex) - .NeedsManualAction() - .WithIdentityPrint(pfup) - ); - logger.LogError("Failed to import page former url path: {Exception}", ex); - } + try + { + var languageInfo = _languages.GetOrAdd( + pfup.PageFormerUrlPathCulture, + s => ContentLanguageInfoProvider.ProviderObject.Get().WhereEquals(nameof(ContentLanguageInfo.ContentLanguageName), s).SingleOrDefault() ?? throw new InvalidOperationException($"Missing content language '{s}'") + ); + + var ktPath = WebPageFormerUrlPathInfo.Provider.Get() + .WhereEquals(nameof(WebPageFormerUrlPathInfo.WebPageFormerUrlPathHash), GetWebPageUrlPathHashQueryExpression(pfup.PageFormerUrlPathUrlPath)) + .WhereEquals(nameof(WebPageFormerUrlPathInfo.WebPageFormerUrlPathWebsiteChannelID), targetPage.WebPageItemWebsiteChannelID) + .WhereEquals(nameof(WebPageFormerUrlPathInfo.WebPageFormerUrlPathContentLanguageID), languageInfo.ContentLanguageID) + .SingleOrDefault(); + + if (ktPath != null) protocol.FetchedTarget(ktPath); + + var webPageFormerUrlPathInfo = ktPath ?? new WebPageFormerUrlPathInfo(); + webPageFormerUrlPathInfo.WebPageFormerUrlPath = pfup.PageFormerUrlPathUrlPath; + webPageFormerUrlPathInfo.WebPageFormerUrlPathHash = modelFacade.HashPath(pfup.PageFormerUrlPathUrlPath); + webPageFormerUrlPathInfo.WebPageFormerUrlPathWebPageItemID = targetPage.WebPageItemID; + webPageFormerUrlPathInfo.WebPageFormerUrlPathWebsiteChannelID = targetPage.WebPageItemWebsiteChannelID; + webPageFormerUrlPathInfo.WebPageFormerUrlPathContentLanguageID = languageInfo.ContentLanguageID; + webPageFormerUrlPathInfo.WebPageFormerUrlPathLastModified = pfup.PageFormerUrlPathLastModified; + + WebPageFormerUrlPathInfo.Provider.Set(webPageFormerUrlPathInfo); + logger.LogInformation("Former page url path imported '{Path}'", webPageFormerUrlPathInfo.WebPageFormerUrlPath); + } + catch (Exception ex) + { + protocol.Append(HandbookReferences + .ErrorCreatingTargetInstance(ex) + .NeedsManualAction() + .WithIdentityPrint(pfup) + ); + logger.LogError("Failed to import page former url path: {Exception}", ex); + } - break; - } + break; + } default: throw new ArgumentOutOfRangeException(nameof(cmsPageFormerUrlPath)); } diff --git a/KVA/Migration.Toolkit.Source/Helpers/AdminUserHelper.cs b/KVA/Migration.Toolkit.Source/Helpers/AdminUserHelper.cs index 71f8b054..1cddc4d3 100644 --- a/KVA/Migration.Toolkit.Source/Helpers/AdminUserHelper.cs +++ b/KVA/Migration.Toolkit.Source/Helpers/AdminUserHelper.cs @@ -30,10 +30,10 @@ public class AdminUserHelper case { Success: true, MappedId: { } targetUserId }: return targetUserId; default: - { - onAdminNotFound?.Invoke(); - return null; - } + { + onAdminNotFound?.Invoke(); + return null; + } } } return CMSActionContext.CurrentUser.UserID; diff --git a/KVA/Migration.Toolkit.Source/Helpers/PageBuilderWidgetsPatcher.cs b/KVA/Migration.Toolkit.Source/Helpers/PageBuilderWidgetsPatcher.cs index 3d9612f1..d3a7606b 100644 --- a/KVA/Migration.Toolkit.Source/Helpers/PageBuilderWidgetsPatcher.cs +++ b/KVA/Migration.Toolkit.Source/Helpers/PageBuilderWidgetsPatcher.cs @@ -53,16 +53,16 @@ public static void DeferredPatchProperties(JObject propertyContainer, TreePathCo switch (key) { case "TreePath": - { - var nodeAliasPath = value?.Value(); - var treePath = convertor.GetConvertedOrUnchangedAssumingChannel(nodeAliasPath); - if (!TreePathConvertor.TreePathComparer.Equals(nodeAliasPath, treePath)) { - properties["TreePath"] = JToken.FromObject(treePath); - anythingChanged = true; + var nodeAliasPath = value?.Value(); + var treePath = convertor.GetConvertedOrUnchangedAssumingChannel(nodeAliasPath); + if (!TreePathConvertor.TreePathComparer.Equals(nodeAliasPath, treePath)) + { + properties["TreePath"] = JToken.FromObject(treePath); + anythingChanged = true; + } + break; } - break; - } } } } diff --git a/KVA/Migration.Toolkit.Source/Helpers/Printer.cs b/KVA/Migration.Toolkit.Source/Helpers/Printer.cs index 3f477ca5..08774ddb 100644 --- a/KVA/Migration.Toolkit.Source/Helpers/Printer.cs +++ b/KVA/Migration.Toolkit.Source/Helpers/Printer.cs @@ -93,13 +93,14 @@ public static string GetEntityIdentityPrints(IEnumerable models, string se return string.Join(separator, models.Select(m => GetEntityIdentityPrint(m, false))); } - public static string PrintEnumValues(string separator) where TEnum: struct, Enum + public static string PrintEnumValues(string separator) where TEnum : struct, Enum { return string.Join(separator, Enum.GetValues()); } } -public class PrintService: IPrintService { +public class PrintService : IPrintService +{ public string PrintKxpModelInfo(T model) { return Printer.PrintKxpModelInfo(model); diff --git a/KVA/Migration.Toolkit.Source/Mappers/CmsClassMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/CmsClassMapper.cs index 12523f36..8462ce1e 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/CmsClassMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/CmsClassMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Mappers; +namespace Migration.Toolkit.Source.Mappers; using System.Diagnostics; using System.Xml; @@ -105,16 +105,16 @@ protected override DataClassInfo MapInternal(ICmsClass source, DataClassInfo tar className.Equals("cms.site", StringComparison.InvariantCultureIgnoreCase) || className.Equals("cms.root", StringComparison.InvariantCultureIgnoreCase) : - { - throw new Exception("Unable to map obsolete dataclass"); - return target; - } + { + throw new Exception("Unable to map obsolete dataclass"); + return target; + } // Target Other,null // Target System,null case not null when target is { ClassType: ClassType.OTHER or ClassType.SYSTEM_TABLE }: - { - break; - } + { + break; + } } switch (source) @@ -126,30 +126,30 @@ protected override DataClassInfo MapInternal(ICmsClass source, DataClassInfo tar ClassIsDocumentType: false, ClassResourceID: { } classResourceId }: - { - target.ClassType = ClassType.OTHER; - target.ClassContentTypeType = null; + { + target.ClassType = ClassType.OTHER; + target.ClassContentTypeType = null; - target = PatchDataClassInfo(target, out var oldPrimaryKeyName, out var documentNameField); + target = PatchDataClassInfo(target, out var oldPrimaryKeyName, out var documentNameField); - break; - } + break; + } // Target Form,null case - { - ClassIsDocumentType: false, - ClassIsCoupledClass: true, - ClassIsForm: true, - // ClassIsPage: false - } - : { - target.ClassType = ClassType.FORM; - target.ClassContentTypeType = ""; - - break; + ClassIsDocumentType: false, + ClassIsCoupledClass: true, + ClassIsForm: true, + // ClassIsPage: false } + : + { + target.ClassType = ClassType.FORM; + target.ClassContentTypeType = ""; + + break; + } // Target Content,Reusable case @@ -160,13 +160,13 @@ protected override DataClassInfo MapInternal(ICmsClass source, DataClassInfo tar ClassIsCustomTable: false, // ClassIsPage: false }: - { - target.ClassType = ClassType.CONTENT_TYPE; - target.ClassContentTypeType = ClassContentTypeType.REUSABLE; + { + target.ClassType = ClassType.CONTENT_TYPE; + target.ClassContentTypeType = ClassContentTypeType.REUSABLE; - target = PatchDataClassInfo(target, out var oldPrimaryKeyName, out var documentNameField); - break; - } + target = PatchDataClassInfo(target, out var oldPrimaryKeyName, out var documentNameField); + break; + } // Target Content,Website case { ClassName: { } className } when className.Equals("cms.folder", StringComparison.InvariantCultureIgnoreCase): @@ -176,13 +176,13 @@ protected override DataClassInfo MapInternal(ICmsClass source, DataClassInfo tar ClassIsForm: false or null, // ClassIsPage: true }: - { - target.ClassType = ClassType.CONTENT_TYPE; - target.ClassContentTypeType = ClassContentTypeType.WEBSITE; + { + target.ClassType = ClassType.CONTENT_TYPE; + target.ClassContentTypeType = ClassContentTypeType.WEBSITE; - target = PatchDataClassInfo(target, out var oldPrimaryKeyName, out var documentNameField); - break; - } + target = PatchDataClassInfo(target, out var oldPrimaryKeyName, out var documentNameField); + break; + } } return target; @@ -283,7 +283,7 @@ private DataClassInfo PatchDataClassInfo(DataClassInfo dataClass, out string? ol public static string? GetLegacyDocumentName(FormInfo nfi, string className) { - if (nfi.GetFields(true, true, true).FirstOrDefault(f => GuidHelper.CreateDocumentNameFieldGuid($"documentname|{className}").Equals(f.Guid)) is {} foundField) + if (nfi.GetFields(true, true, true).FirstOrDefault(f => GuidHelper.CreateDocumentNameFieldGuid($"documentname|{className}").Equals(f.Guid)) is { } foundField) { return foundField.Name; } @@ -295,7 +295,7 @@ private DataClassInfo PatchDataClassInfo(DataClassInfo dataClass, out string? ol private static void AppendDocumentNameField(FormInfo nfi, string className, out string documentNameField) { - if (GetLegacyDocumentName(nfi, className) is {} fieldName) + if (GetLegacyDocumentName(nfi, className) is { } fieldName) { documentNameField = fieldName; return; diff --git a/KVA/Migration.Toolkit.Source/Mappers/CmsFormMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/CmsFormMapper.cs index 188ae2b6..cc114472 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/CmsFormMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/CmsFormMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Mappers; +namespace Migration.Toolkit.Source.Mappers; using CMS.FormEngine; using CMS.OnlineForms; @@ -35,22 +35,22 @@ protected override BizFormInfo MapInternal(ICmsForm source, BizFormInfo target, switch (source) { case CmsFormK11 s: - { - target.FormLogActivity = s.FormLogActivity.UseKenticoDefault(); - break; - } + { + target.FormLogActivity = s.FormLogActivity.UseKenticoDefault(); + break; + } case CmsFormK12 s: - { - target.FormLogActivity = s.FormLogActivity.UseKenticoDefault(); - target.FormBuilderLayout = s.FormBuilderLayout; - break; - } + { + target.FormLogActivity = s.FormLogActivity.UseKenticoDefault(); + target.FormBuilderLayout = s.FormBuilderLayout; + break; + } case CmsFormK13 s: - { - target.FormLogActivity = s.FormLogActivity; - target.FormBuilderLayout = s.FormBuilderLayout; - break; - } + { + target.FormLogActivity = s.FormLogActivity; + target.FormBuilderLayout = s.FormBuilderLayout; + break; + } } if (mappingHelper.TranslateRequiredId(c => c.ClassID, source.FormClassID, out var formClassId)) { @@ -92,22 +92,22 @@ protected override Migration.Toolkit.KXP.Models.CmsForm MapInternal(ICmsForm sou switch (source) { case CmsFormK11 s: - { - target.FormLogActivity = s.FormLogActivity.UseKenticoDefault(); - break; - } + { + target.FormLogActivity = s.FormLogActivity.UseKenticoDefault(); + break; + } case CmsFormK12 s: - { - target.FormLogActivity = s.FormLogActivity.UseKenticoDefault(); - target.FormBuilderLayout = s.FormBuilderLayout; - break; - } + { + target.FormLogActivity = s.FormLogActivity.UseKenticoDefault(); + target.FormBuilderLayout = s.FormBuilderLayout; + break; + } case CmsFormK13 s: - { - target.FormLogActivity = s.FormLogActivity; - target.FormBuilderLayout = s.FormBuilderLayout; - break; - } + { + target.FormLogActivity = s.FormLogActivity; + target.FormBuilderLayout = s.FormBuilderLayout; + break; + } } // TODO tk: 2022-05-20 new deduce: target.FormAfterSubmitMode = source.FormAfterSubmitMode; diff --git a/KVA/Migration.Toolkit.Source/Mappers/ContentItemMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/ContentItemMapper.cs index 9923daa7..5961fbff 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/ContentItemMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/ContentItemMapper.cs @@ -137,21 +137,21 @@ protected override IEnumerable MapInternal(CmsTreeMapperSource source switch (cmsDocument) { case CmsDocumentK11: - { - break; - } + { + break; + } case CmsDocumentK12 doc: - { - contentItemCommonDataPageBuilderWidgets = doc.DocumentPageBuilderWidgets; - contentItemCommonDataPageTemplateConfiguration = doc.DocumentPageTemplateConfiguration; - break; - } + { + contentItemCommonDataPageBuilderWidgets = doc.DocumentPageBuilderWidgets; + contentItemCommonDataPageTemplateConfiguration = doc.DocumentPageTemplateConfiguration; + break; + } case CmsDocumentK13 doc: - { - contentItemCommonDataPageBuilderWidgets = doc.DocumentPageBuilderWidgets; - contentItemCommonDataPageTemplateConfiguration = doc.DocumentPageTemplateConfiguration; - break; - } + { + contentItemCommonDataPageBuilderWidgets = doc.DocumentPageBuilderWidgets; + contentItemCommonDataPageTemplateConfiguration = doc.DocumentPageTemplateConfiguration; + break; + } } PatchJsonDefinitions(source.CmsTree.NodeSiteID, ref contentItemCommonDataPageTemplateConfiguration, ref contentItemCommonDataPageBuilderWidgets, out var ndp); @@ -328,7 +328,7 @@ private void PatchJsonDefinitions(int sourceSiteId, ref string? pageTemplateConf if (pageBuilderWidgets != null) { var areas = JsonConvert.DeserializeObject(pageBuilderWidgets); - if (areas?.EditableAreas is { Count : > 0 }) + if (areas?.EditableAreas is { Count: > 0 }) { WalkAreas(sourceSiteId, areas.EditableAreas, out var ndp); needsDeferredPatch = ndp || needsDeferredPatch; @@ -572,28 +572,28 @@ private void WalkProperties(int siteId, JObject properties, List>() is { Count: > 0 } items) { - properties[key] = JToken.FromObject(items.Select(x => new AssetRelatedItem { Identifier = x.FileGuid }).ToList()); - } + if (value?.ToObject>() is { Count: > 0 } items) + { + properties[key] = JToken.FromObject(items.Select(x => new AssetRelatedItem { Identifier = x.FileGuid }).ToList()); + } - logger.LogTrace("Value migrated from {Old} model to {New} model", oldFormComponent, newFormComponent); - break; - } + logger.LogTrace("Value migrated from {Old} model to {New} model", oldFormComponent, newFormComponent); + break; + } case Kx13FormComponents.Kentico_PageSelector when newFormComponent == FormComponents.Kentico_Xperience_Admin_Websites_WebPageSelectorComponent: - { - if (value?.ToObject>() is { Count: > 0 } items) { - properties[key] = JToken.FromObject(items.Select(x => new WebPageRelatedItem + if (value?.ToObject>() is { Count: > 0 } items) { - WebPageGuid = spoiledGuidContext.EnsureNodeGuid(x.NodeGuid, siteId) - }).ToList()); - } + properties[key] = JToken.FromObject(items.Select(x => new WebPageRelatedItem + { + WebPageGuid = spoiledGuidContext.EnsureNodeGuid(x.NodeGuid, siteId) + }).ToList()); + } - logger.LogTrace("Value migrated from {Old} model to {New} model", oldFormComponent, newFormComponent); - break; - } + logger.LogTrace("Value migrated from {Old} model to {New} model", oldFormComponent, newFormComponent); + break; + } } } else if (FieldMappingInstance.BuiltInModel.SupportedInKxpLegacyMode.Contains(editingFcm.FormComponentIdentifier)) @@ -691,16 +691,16 @@ ICmsClass nodeClass switch (attachmentMigrator.TryMigrateAttachmentByPath(path, $"__{columnName}")) { case (true, _, var mediaFileInfo, _): - { - mfis = new[] { mediaFileInfo }; - hasMigratedMediaFile = true; - break; - } + { + mfis = new[] { mediaFileInfo }; + hasMigratedMediaFile = true; + break; + } default: - { - logger.LogTrace("Unsuccessful attachment migration '{Field}': '{Value}'", columnName, path); - break; - } + { + logger.LogTrace("Unsuccessful attachment migration '{Field}': '{Value}'", columnName, path); + break; + } } } @@ -735,45 +735,45 @@ ICmsClass nodeClass switch (formControl) { case { UserControlForFile: true }: - { - if (value is Guid attachmentGuid) { - var (success, _, mediaFileInfo, mediaLibraryInfo) = attachmentMigrator.MigrateAttachment(attachmentGuid, $"__{columnName}"); - if (success && mediaFileInfo != null) + if (value is Guid attachmentGuid) { - mfis = new[] { mediaFileInfo }; - hasMigratedMediaFile = true; - logger.LogTrace("MediaFile migrated from attachment '{Field}': '{Value}'", columnName, attachmentGuid); + var (success, _, mediaFileInfo, mediaLibraryInfo) = attachmentMigrator.MigrateAttachment(attachmentGuid, $"__{columnName}"); + if (success && mediaFileInfo != null) + { + mfis = new[] { mediaFileInfo }; + hasMigratedMediaFile = true; + logger.LogTrace("MediaFile migrated from attachment '{Field}': '{Value}'", columnName, attachmentGuid); + } } - } - else if (value is string attachmentGuidStr && Guid.TryParse(attachmentGuidStr, out attachmentGuid)) - { - var (success, _, mediaFileInfo, mediaLibraryInfo) = attachmentMigrator.MigrateAttachment(attachmentGuid, $"__{columnName}"); - if (success && mediaFileInfo != null) + else if (value is string attachmentGuidStr && Guid.TryParse(attachmentGuidStr, out attachmentGuid)) { - mfis = new[] { mediaFileInfo }; - hasMigratedMediaFile = true; - logger.LogTrace("MediaFile migrated from attachment '{Field}': '{Value}' (parsed)", columnName, attachmentGuid); + var (success, _, mediaFileInfo, mediaLibraryInfo) = attachmentMigrator.MigrateAttachment(attachmentGuid, $"__{columnName}"); + if (success && mediaFileInfo != null) + { + mfis = new[] { mediaFileInfo }; + hasMigratedMediaFile = true; + logger.LogTrace("MediaFile migrated from attachment '{Field}': '{Value}' (parsed)", columnName, attachmentGuid); + } } - } - break; - } + break; + } case { UserControlForDocAttachments: true }: - { - if (documentId is { } docId) { - var migratedAttachments = - attachmentMigrator.MigrateGroupedAttachments(docId, field.Guid, field.Name); + if (documentId is { } docId) + { + var migratedAttachments = + attachmentMigrator.MigrateGroupedAttachments(docId, field.Guid, field.Name); - mfis = migratedAttachments - .Where(x => x.MediaFileInfo != null) - .Select(x => x.MediaFileInfo).ToArray(); - hasMigratedMediaFile = true; - } + mfis = migratedAttachments + .Where(x => x.MediaFileInfo != null) + .Select(x => x.MediaFileInfo).ToArray(); + hasMigratedMediaFile = true; + } - break; - } + break; + } } } else @@ -787,7 +787,10 @@ ICmsClass nodeClass target.SetValueAsJson(columnName, mfis.Select(x => new AssetRelatedItem { - Identifier = x.FileGUID, Dimensions = new AssetDimensions { Height = x.FileImageHeight, Width = x.FileImageWidth, }, Name = x.FileName, Size = x.FileSize + Identifier = x.FileGUID, + Dimensions = new AssetDimensions { Height = x.FileImageHeight, Width = x.FileImageWidth, }, + Name = x.FileName, + Size = x.FileSize }) ); } @@ -801,7 +804,8 @@ ICmsClass nodeClass { // relation to other document var convertedRelation = relationshipService.GetNodeRelationships(cmsTree.NodeID) - .Select(r => new WebPageRelatedItem { + .Select(r => new WebPageRelatedItem + { WebPageGuid = spoiledGuidContext.EnsureNodeGuid(r.RightNode.NodeGUID, r.RightNode.NodeSiteID, r.RightNode.NodeID) }); @@ -841,7 +845,7 @@ private static IEnumerable UnpackReusableFieldSchemas(IEnumerable { using var siEnum = schemaInfos.GetEnumerator(); - if (siEnum.MoveNext() && FormHelper.GetFormInfo(ContentItemCommonDataInfo.TYPEINFO.ObjectClassName, true) is {} cfi) + if (siEnum.MoveNext() && FormHelper.GetFormInfo(ContentItemCommonDataInfo.TYPEINFO.ObjectClassName, true) is { } cfi) { do { diff --git a/KVA/Migration.Toolkit.Source/Mappers/MediaFileInfoMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/MediaFileInfoMapper.cs index 2b3414a6..913cd26e 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/MediaFileInfoMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/MediaFileInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Mappers; +namespace Migration.Toolkit.Source.Mappers; using System.Data; using CMS.Base; @@ -28,7 +28,8 @@ ModelFacade modelFacade ) : EntityMapperBase(logger, primaryKeyMappingContext, protocol) { - protected override MediaFileInfo? CreateNewInstance(MediaFileInfoMapperSource source, MappingHelper mappingHelper, AddFailure addFailure) { + protected override MediaFileInfo? CreateNewInstance(MediaFileInfoMapperSource source, MappingHelper mappingHelper, AddFailure addFailure) + { if (source.File != null) { var mf = new MediaFileInfo(source.File, source.TargetLibraryId, source.LibrarySubFolder ?? "", 0, 0, 0); diff --git a/KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs index dafbc98f..adfa2aa2 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/MediaLibraryInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Mappers; +namespace Migration.Toolkit.Source.Mappers; using CMS.MediaLibrary; using Microsoft.Extensions.Logging; diff --git a/KVA/Migration.Toolkit.Source/Mappers/MemberInfoMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/MemberInfoMapper.cs index fd40056f..5f53c505 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/MemberInfoMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/MemberInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Mappers; +namespace Migration.Toolkit.Source.Mappers; using System.Data; using CMS.FormEngine; diff --git a/KVA/Migration.Toolkit.Source/Mappers/PageTemplateConfigurationMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/PageTemplateConfigurationMapper.cs index 77e9436a..dd31a60e 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/PageTemplateConfigurationMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/PageTemplateConfigurationMapper.cs @@ -76,7 +76,7 @@ protected override PageTemplateConfigurationInfo MapInternal(ICmsPageTemplateCon if (source.PageTemplateConfigurationWidgets != null) { var areas = JsonConvert.DeserializeObject(source.PageTemplateConfigurationWidgets); - if (areas?.EditableAreas is { Count : > 0 }) + if (areas?.EditableAreas is { Count: > 0 }) { WalkAreas(source.PageTemplateConfigurationSiteID, areas.EditableAreas); } @@ -181,33 +181,33 @@ private void WalkProperties(int siteId, JObject properties, List>() is { Count: > 0 } items) { - properties[key] = JToken.FromObject(items.Select(x => new AssetRelatedItem { Identifier = x.FileGuid }).ToList()); - } + if (value?.ToObject>() is { Count: > 0 } items) + { + properties[key] = JToken.FromObject(items.Select(x => new AssetRelatedItem { Identifier = x.FileGuid }).ToList()); + } - logger.LogTrace("Value migrated from {Old} model to {New} model", oldFormComponent, newFormComponent); - break; - } + logger.LogTrace("Value migrated from {Old} model to {New} model", oldFormComponent, newFormComponent); + break; + } case Kx13FormComponents.Kentico_PageSelector when newFormComponent == FormComponents.Kentico_Xperience_Admin_Websites_WebPageSelectorComponent: - { - if (value?.ToObject>() is { Count: > 0 } items) { - properties[key] = JToken.FromObject(items.Select(x => new WebPageRelatedItem + if (value?.ToObject>() is { Count: > 0 } items) { - WebPageGuid = spoiledGuidContext.EnsureNodeGuid(x.NodeGuid, siteId) - }).ToList()); + properties[key] = JToken.FromObject(items.Select(x => new WebPageRelatedItem + { + WebPageGuid = spoiledGuidContext.EnsureNodeGuid(x.NodeGuid, siteId) + }).ToList()); + } + + logger.LogTrace("Value migrated from {Old} model to {New} model", oldFormComponent, newFormComponent); + break; } - - logger.LogTrace("Value migrated from {Old} model to {New} model", oldFormComponent, newFormComponent); - break; - } case Kx13FormComponents.Kentico_FileUploader: - { - // TODO tomas.krch 2024-03-27: implement! - break; - } + { + // TODO tomas.krch 2024-03-27: implement! + break; + } } } else if (FieldMappingInstance.BuiltInModel.SupportedInKxpLegacyMode.Contains(editingFcm.FormComponentIdentifier)) diff --git a/KVA/Migration.Toolkit.Source/Mappers/ResourceMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/ResourceMapper.cs index bd1d85c3..708768f0 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/ResourceMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/ResourceMapper.cs @@ -36,7 +36,7 @@ protected override ResourceInfo MapInternal(ICmsResource source, ResourceInfo ta if (target.ResourceName.StartsWith("CMS.", StringComparison.InvariantCultureIgnoreCase)) { var targetResourceNamePatched = target.ResourceName.Substring(4, target.ResourceName.Length - 4); - logger.LogInformation("Patching CMS Resource '{ResourceName}': name changed to '{ResourceNamePatched}'", target.ResourceName, targetResourceNamePatched); + logger.LogInformation("Patching CMS Resource '{ResourceName}': name changed to '{ResourceNamePatched}'", target.ResourceName, targetResourceNamePatched); target.ResourceName = targetResourceNamePatched; } } diff --git a/KVA/Migration.Toolkit.Source/Mappers/TagMapper.cs b/KVA/Migration.Toolkit.Source/Mappers/TagMapper.cs index 1e3a7b7f..ced0398d 100644 --- a/KVA/Migration.Toolkit.Source/Mappers/TagMapper.cs +++ b/KVA/Migration.Toolkit.Source/Mappers/TagMapper.cs @@ -6,7 +6,7 @@ namespace Migration.Toolkit.Source.Mappers; using Migration.Toolkit.Source.Model; public record TagModelSource(Guid TaxonomyGuid, ICmsCategory CmsCategory, Dictionary CategoryId2Guid); -public class TagMapper(ILogger logger): UmtMapperBase +public class TagMapper(ILogger logger) : UmtMapperBase { protected override IEnumerable MapInternal(TagModelSource source) { diff --git a/KVA/Migration.Toolkit.Source/Model/CmsAlternativeForm.cs b/KVA/Migration.Toolkit.Source/Model/CmsAlternativeForm.cs index 09c85f83..0faa3fda 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsAlternativeForm.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsAlternativeForm.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsAlternativeForm: ISourceModel +public interface ICmsAlternativeForm : ISourceModel { int FormID { get; } string FormDisplayName { get; } @@ -19,7 +19,7 @@ public interface ICmsAlternativeForm: ISourceModel string? FormLayoutType { get; } string? FormVersionGUID { get; } string? FormCustomizedColumns { get; } - bool? FormIsCustom { get; } + bool? FormIsCustom { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -54,61 +54,60 @@ static ICmsAlternativeForm ISourceModel.FromReader(IDataRea }; } } -public partial record CmsAlternativeFormK11(int FormID, string FormDisplayName, string FormName, int FormClassID, string? FormDefinition, string? FormLayout, Guid FormGUID, DateTime FormLastModified, int? FormCoupledClassID, bool? FormHideNewParentFields, string? FormLayoutType, string? FormVersionGUID, string? FormCustomizedColumns, bool? FormIsCustom): ICmsAlternativeForm, ISourceModel +public partial record CmsAlternativeFormK11(int FormID, string FormDisplayName, string FormName, int FormClassID, string? FormDefinition, string? FormLayout, Guid FormGUID, DateTime FormLastModified, int? FormCoupledClassID, bool? FormHideNewParentFields, string? FormLayoutType, string? FormVersionGUID, string? FormCustomizedColumns, bool? FormIsCustom) : ICmsAlternativeForm, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; public static string TableName => "CMS_AlternativeForm"; public static string GuidColumnName => "FormGUID"; static CmsAlternativeFormK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeFormK11( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") ); } public static CmsAlternativeFormK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeFormK11( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") ); } }; -public partial record CmsAlternativeFormK12(int FormID, string FormDisplayName, string FormName, int FormClassID, string? FormDefinition, string? FormLayout, Guid FormGUID, DateTime FormLastModified, int? FormCoupledClassID, bool? FormHideNewParentFields, string? FormLayoutType, string? FormVersionGUID, string? FormCustomizedColumns, bool? FormIsCustom): ICmsAlternativeForm, ISourceModel +public partial record CmsAlternativeFormK12(int FormID, string FormDisplayName, string FormName, int FormClassID, string? FormDefinition, string? FormLayout, Guid FormGUID, DateTime FormLastModified, int? FormCoupledClassID, bool? FormHideNewParentFields, string? FormLayoutType, string? FormVersionGUID, string? FormCustomizedColumns, bool? FormIsCustom) : ICmsAlternativeForm, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; public static string TableName => "CMS_AlternativeForm"; public static string GuidColumnName => "FormGUID"; static CmsAlternativeFormK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeFormK12( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") ); } public static CmsAlternativeFormK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeFormK12( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") ); } }; -public partial record CmsAlternativeFormK13(int FormID, string FormDisplayName, string FormName, int FormClassID, string? FormDefinition, string? FormLayout, Guid FormGUID, DateTime FormLastModified, int? FormCoupledClassID, bool? FormHideNewParentFields, string? FormLayoutType, string? FormVersionGUID, string? FormCustomizedColumns, bool? FormIsCustom): ICmsAlternativeForm, ISourceModel +public partial record CmsAlternativeFormK13(int FormID, string FormDisplayName, string FormName, int FormClassID, string? FormDefinition, string? FormLayout, Guid FormGUID, DateTime FormLastModified, int? FormCoupledClassID, bool? FormHideNewParentFields, string? FormLayoutType, string? FormVersionGUID, string? FormCustomizedColumns, bool? FormIsCustom) : ICmsAlternativeForm, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; public static string TableName => "CMS_AlternativeForm"; public static string GuidColumnName => "FormGUID"; static CmsAlternativeFormK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeFormK13( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") ); } public static CmsAlternativeFormK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeFormK13( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormClassID"), reader.Unbox("FormDefinition"), reader.Unbox("FormLayout"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormCoupledClassID"), reader.Unbox("FormHideNewParentFields"), reader.Unbox("FormLayoutType"), reader.Unbox("FormVersionGUID"), reader.Unbox("FormCustomizedColumns"), reader.Unbox("FormIsCustom") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsAlternativeUrl.cs b/KVA/Migration.Toolkit.Source/Model/CmsAlternativeUrl.cs index d554cda6..82917284 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsAlternativeUrl.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsAlternativeUrl.cs @@ -4,9 +4,9 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsAlternativeUrl: ISourceModel +public interface ICmsAlternativeUrl : ISourceModel { - + static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -41,61 +41,60 @@ static ICmsAlternativeUrl ISourceModel.FromReader(IDataReade }; } } -public partial record CmsAlternativeUrlK11(): ICmsAlternativeUrl, ISourceModel +public partial record CmsAlternativeUrlK11() : ICmsAlternativeUrl, ISourceModel { public static bool IsAvailable(SemanticVersion version) => false; - public static string GetPrimaryKeyName(SemanticVersion version) => ""; + public static string GetPrimaryKeyName(SemanticVersion version) => ""; public static string TableName => "CMS_AlternativeUrl"; public static string GuidColumnName => ""; static CmsAlternativeUrlK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeUrlK11( - + ); } public static CmsAlternativeUrlK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeUrlK11( - + ); } }; -public partial record CmsAlternativeUrlK12(int AlternativeUrlID, Guid AlternativeUrlGUID, int AlternativeUrlDocumentID, int AlternativeUrlSiteID, string AlternativeUrlUrl, DateTime AlternativeUrlLastModified): ICmsAlternativeUrl, ISourceModel +public partial record CmsAlternativeUrlK12(int AlternativeUrlID, Guid AlternativeUrlGUID, int AlternativeUrlDocumentID, int AlternativeUrlSiteID, string AlternativeUrlUrl, DateTime AlternativeUrlLastModified) : ICmsAlternativeUrl, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "AlternativeUrlID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "AlternativeUrlID"; public static string TableName => "CMS_AlternativeUrl"; public static string GuidColumnName => "AlternativeUrlGUID"; static CmsAlternativeUrlK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeUrlK12( - reader.Unbox("AlternativeUrlID"), reader.Unbox("AlternativeUrlGUID"), reader.Unbox("AlternativeUrlDocumentID"), reader.Unbox("AlternativeUrlSiteID"), reader.Unbox("AlternativeUrlUrl"), reader.Unbox("AlternativeUrlLastModified") + reader.Unbox("AlternativeUrlID"), reader.Unbox("AlternativeUrlGUID"), reader.Unbox("AlternativeUrlDocumentID"), reader.Unbox("AlternativeUrlSiteID"), reader.Unbox("AlternativeUrlUrl"), reader.Unbox("AlternativeUrlLastModified") ); } public static CmsAlternativeUrlK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeUrlK12( - reader.Unbox("AlternativeUrlID"), reader.Unbox("AlternativeUrlGUID"), reader.Unbox("AlternativeUrlDocumentID"), reader.Unbox("AlternativeUrlSiteID"), reader.Unbox("AlternativeUrlUrl"), reader.Unbox("AlternativeUrlLastModified") + reader.Unbox("AlternativeUrlID"), reader.Unbox("AlternativeUrlGUID"), reader.Unbox("AlternativeUrlDocumentID"), reader.Unbox("AlternativeUrlSiteID"), reader.Unbox("AlternativeUrlUrl"), reader.Unbox("AlternativeUrlLastModified") ); } }; -public partial record CmsAlternativeUrlK13(int AlternativeUrlID, Guid AlternativeUrlGUID, int AlternativeUrlDocumentID, int AlternativeUrlSiteID, string AlternativeUrlUrl, DateTime AlternativeUrlLastModified): ICmsAlternativeUrl, ISourceModel +public partial record CmsAlternativeUrlK13(int AlternativeUrlID, Guid AlternativeUrlGUID, int AlternativeUrlDocumentID, int AlternativeUrlSiteID, string AlternativeUrlUrl, DateTime AlternativeUrlLastModified) : ICmsAlternativeUrl, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "AlternativeUrlID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "AlternativeUrlID"; public static string TableName => "CMS_AlternativeUrl"; public static string GuidColumnName => "AlternativeUrlGUID"; static CmsAlternativeUrlK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeUrlK13( - reader.Unbox("AlternativeUrlID"), reader.Unbox("AlternativeUrlGUID"), reader.Unbox("AlternativeUrlDocumentID"), reader.Unbox("AlternativeUrlSiteID"), reader.Unbox("AlternativeUrlUrl"), reader.Unbox("AlternativeUrlLastModified") + reader.Unbox("AlternativeUrlID"), reader.Unbox("AlternativeUrlGUID"), reader.Unbox("AlternativeUrlDocumentID"), reader.Unbox("AlternativeUrlSiteID"), reader.Unbox("AlternativeUrlUrl"), reader.Unbox("AlternativeUrlLastModified") ); } public static CmsAlternativeUrlK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAlternativeUrlK13( - reader.Unbox("AlternativeUrlID"), reader.Unbox("AlternativeUrlGUID"), reader.Unbox("AlternativeUrlDocumentID"), reader.Unbox("AlternativeUrlSiteID"), reader.Unbox("AlternativeUrlUrl"), reader.Unbox("AlternativeUrlLastModified") + reader.Unbox("AlternativeUrlID"), reader.Unbox("AlternativeUrlGUID"), reader.Unbox("AlternativeUrlDocumentID"), reader.Unbox("AlternativeUrlSiteID"), reader.Unbox("AlternativeUrlUrl"), reader.Unbox("AlternativeUrlLastModified") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsAttachment.cs b/KVA/Migration.Toolkit.Source/Model/CmsAttachment.cs index 5fac89dc..f2e49da1 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsAttachment.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsAttachment.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsAttachment: ISourceModel +public interface ICmsAttachment : ISourceModel { int AttachmentID { get; } string AttachmentName { get; } @@ -28,7 +28,7 @@ public interface ICmsAttachment: ISourceModel string? AttachmentCustomData { get; } string? AttachmentSearchContent { get; } string? AttachmentVariantDefinitionIdentifier { get; } - int? AttachmentVariantParentID { get; } + int? AttachmentVariantParentID { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -63,61 +63,60 @@ static ICmsAttachment ISourceModel.FromReader(IDataReader reader }; } } -public partial record CmsAttachmentK11(int AttachmentID, string AttachmentName, string AttachmentExtension, int AttachmentSize, string AttachmentMimeType, byte[]? AttachmentBinary, int? AttachmentImageWidth, int? AttachmentImageHeight, int? AttachmentDocumentID, Guid AttachmentGUID, int AttachmentSiteID, DateTime AttachmentLastModified, bool? AttachmentIsUnsorted, int? AttachmentOrder, Guid? AttachmentGroupGUID, Guid? AttachmentFormGUID, string? AttachmentHash, string? AttachmentTitle, string? AttachmentDescription, string? AttachmentCustomData, string? AttachmentSearchContent, string? AttachmentVariantDefinitionIdentifier, int? AttachmentVariantParentID): ICmsAttachment, ISourceModel +public partial record CmsAttachmentK11(int AttachmentID, string AttachmentName, string AttachmentExtension, int AttachmentSize, string AttachmentMimeType, byte[]? AttachmentBinary, int? AttachmentImageWidth, int? AttachmentImageHeight, int? AttachmentDocumentID, Guid AttachmentGUID, int AttachmentSiteID, DateTime AttachmentLastModified, bool? AttachmentIsUnsorted, int? AttachmentOrder, Guid? AttachmentGroupGUID, Guid? AttachmentFormGUID, string? AttachmentHash, string? AttachmentTitle, string? AttachmentDescription, string? AttachmentCustomData, string? AttachmentSearchContent, string? AttachmentVariantDefinitionIdentifier, int? AttachmentVariantParentID) : ICmsAttachment, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "AttachmentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "AttachmentID"; public static string TableName => "CMS_Attachment"; public static string GuidColumnName => "AttachmentGUID"; static CmsAttachmentK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAttachmentK11( - reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") + reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") ); } public static CmsAttachmentK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAttachmentK11( - reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") + reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") ); } }; -public partial record CmsAttachmentK12(int AttachmentID, string AttachmentName, string AttachmentExtension, int AttachmentSize, string AttachmentMimeType, byte[]? AttachmentBinary, int? AttachmentImageWidth, int? AttachmentImageHeight, int? AttachmentDocumentID, Guid AttachmentGUID, int AttachmentSiteID, DateTime AttachmentLastModified, bool? AttachmentIsUnsorted, int? AttachmentOrder, Guid? AttachmentGroupGUID, Guid? AttachmentFormGUID, string? AttachmentHash, string? AttachmentTitle, string? AttachmentDescription, string? AttachmentCustomData, string? AttachmentSearchContent, string? AttachmentVariantDefinitionIdentifier, int? AttachmentVariantParentID): ICmsAttachment, ISourceModel +public partial record CmsAttachmentK12(int AttachmentID, string AttachmentName, string AttachmentExtension, int AttachmentSize, string AttachmentMimeType, byte[]? AttachmentBinary, int? AttachmentImageWidth, int? AttachmentImageHeight, int? AttachmentDocumentID, Guid AttachmentGUID, int AttachmentSiteID, DateTime AttachmentLastModified, bool? AttachmentIsUnsorted, int? AttachmentOrder, Guid? AttachmentGroupGUID, Guid? AttachmentFormGUID, string? AttachmentHash, string? AttachmentTitle, string? AttachmentDescription, string? AttachmentCustomData, string? AttachmentSearchContent, string? AttachmentVariantDefinitionIdentifier, int? AttachmentVariantParentID) : ICmsAttachment, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "AttachmentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "AttachmentID"; public static string TableName => "CMS_Attachment"; public static string GuidColumnName => "AttachmentGUID"; static CmsAttachmentK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAttachmentK12( - reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") + reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") ); } public static CmsAttachmentK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAttachmentK12( - reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") + reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") ); } }; -public partial record CmsAttachmentK13(int AttachmentID, string AttachmentName, string AttachmentExtension, int AttachmentSize, string AttachmentMimeType, byte[]? AttachmentBinary, int? AttachmentImageWidth, int? AttachmentImageHeight, int? AttachmentDocumentID, Guid AttachmentGUID, int AttachmentSiteID, DateTime AttachmentLastModified, bool? AttachmentIsUnsorted, int? AttachmentOrder, Guid? AttachmentGroupGUID, Guid? AttachmentFormGUID, string? AttachmentHash, string? AttachmentTitle, string? AttachmentDescription, string? AttachmentCustomData, string? AttachmentSearchContent, string? AttachmentVariantDefinitionIdentifier, int? AttachmentVariantParentID): ICmsAttachment, ISourceModel +public partial record CmsAttachmentK13(int AttachmentID, string AttachmentName, string AttachmentExtension, int AttachmentSize, string AttachmentMimeType, byte[]? AttachmentBinary, int? AttachmentImageWidth, int? AttachmentImageHeight, int? AttachmentDocumentID, Guid AttachmentGUID, int AttachmentSiteID, DateTime AttachmentLastModified, bool? AttachmentIsUnsorted, int? AttachmentOrder, Guid? AttachmentGroupGUID, Guid? AttachmentFormGUID, string? AttachmentHash, string? AttachmentTitle, string? AttachmentDescription, string? AttachmentCustomData, string? AttachmentSearchContent, string? AttachmentVariantDefinitionIdentifier, int? AttachmentVariantParentID) : ICmsAttachment, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "AttachmentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "AttachmentID"; public static string TableName => "CMS_Attachment"; public static string GuidColumnName => "AttachmentGUID"; static CmsAttachmentK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsAttachmentK13( - reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") + reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") ); } public static CmsAttachmentK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsAttachmentK13( - reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") + reader.Unbox("AttachmentID"), reader.Unbox("AttachmentName"), reader.Unbox("AttachmentExtension"), reader.Unbox("AttachmentSize"), reader.Unbox("AttachmentMimeType"), reader.Unbox("AttachmentBinary"), reader.Unbox("AttachmentImageWidth"), reader.Unbox("AttachmentImageHeight"), reader.Unbox("AttachmentDocumentID"), reader.Unbox("AttachmentGUID"), reader.Unbox("AttachmentSiteID"), reader.Unbox("AttachmentLastModified"), reader.Unbox("AttachmentIsUnsorted"), reader.Unbox("AttachmentOrder"), reader.Unbox("AttachmentGroupGUID"), reader.Unbox("AttachmentFormGUID"), reader.Unbox("AttachmentHash"), reader.Unbox("AttachmentTitle"), reader.Unbox("AttachmentDescription"), reader.Unbox("AttachmentCustomData"), reader.Unbox("AttachmentSearchContent"), reader.Unbox("AttachmentVariantDefinitionIdentifier"), reader.Unbox("AttachmentVariantParentID") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsCategory.cs b/KVA/Migration.Toolkit.Source/Model/CmsCategory.cs index 54f83d02..c75b6873 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsCategory.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsCategory.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsCategory: ISourceModel +public interface ICmsCategory : ISourceModel { int CategoryID { get; } string CategoryDisplayName { get; } @@ -20,7 +20,7 @@ public interface ICmsCategory: ISourceModel string? CategoryIDPath { get; } string? CategoryNamePath { get; } int? CategoryLevel { get; } - int? CategoryOrder { get; } + int? CategoryOrder { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -55,61 +55,60 @@ static ICmsCategory ISourceModel.FromReader(IDataReader reader, Se }; } } -public partial record CmsCategoryK11(int CategoryID, string CategoryDisplayName, string? CategoryName, string? CategoryDescription, int? CategoryCount, bool CategoryEnabled, int? CategoryUserID, Guid CategoryGUID, DateTime CategoryLastModified, int? CategorySiteID, int? CategoryParentID, string? CategoryIDPath, string? CategoryNamePath, int? CategoryLevel, int? CategoryOrder): ICmsCategory, ISourceModel +public partial record CmsCategoryK11(int CategoryID, string CategoryDisplayName, string? CategoryName, string? CategoryDescription, int? CategoryCount, bool CategoryEnabled, int? CategoryUserID, Guid CategoryGUID, DateTime CategoryLastModified, int? CategorySiteID, int? CategoryParentID, string? CategoryIDPath, string? CategoryNamePath, int? CategoryLevel, int? CategoryOrder) : ICmsCategory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; public static string TableName => "CMS_Category"; public static string GuidColumnName => "CategoryGUID"; static CmsCategoryK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCategoryK11( - reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") + reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") ); } public static CmsCategoryK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCategoryK11( - reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") + reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") ); } }; -public partial record CmsCategoryK12(int CategoryID, string CategoryDisplayName, string? CategoryName, string? CategoryDescription, int? CategoryCount, bool CategoryEnabled, int? CategoryUserID, Guid CategoryGUID, DateTime CategoryLastModified, int? CategorySiteID, int? CategoryParentID, string? CategoryIDPath, string? CategoryNamePath, int? CategoryLevel, int? CategoryOrder): ICmsCategory, ISourceModel +public partial record CmsCategoryK12(int CategoryID, string CategoryDisplayName, string? CategoryName, string? CategoryDescription, int? CategoryCount, bool CategoryEnabled, int? CategoryUserID, Guid CategoryGUID, DateTime CategoryLastModified, int? CategorySiteID, int? CategoryParentID, string? CategoryIDPath, string? CategoryNamePath, int? CategoryLevel, int? CategoryOrder) : ICmsCategory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; public static string TableName => "CMS_Category"; public static string GuidColumnName => "CategoryGUID"; static CmsCategoryK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCategoryK12( - reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") + reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") ); } public static CmsCategoryK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCategoryK12( - reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") + reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") ); } }; -public partial record CmsCategoryK13(int CategoryID, string CategoryDisplayName, string? CategoryName, string? CategoryDescription, int? CategoryCount, bool CategoryEnabled, int? CategoryUserID, Guid CategoryGUID, DateTime CategoryLastModified, int? CategorySiteID, int? CategoryParentID, string? CategoryIDPath, string? CategoryNamePath, int? CategoryLevel, int? CategoryOrder): ICmsCategory, ISourceModel +public partial record CmsCategoryK13(int CategoryID, string CategoryDisplayName, string? CategoryName, string? CategoryDescription, int? CategoryCount, bool CategoryEnabled, int? CategoryUserID, Guid CategoryGUID, DateTime CategoryLastModified, int? CategorySiteID, int? CategoryParentID, string? CategoryIDPath, string? CategoryNamePath, int? CategoryLevel, int? CategoryOrder) : ICmsCategory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; public static string TableName => "CMS_Category"; public static string GuidColumnName => "CategoryGUID"; static CmsCategoryK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCategoryK13( - reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") + reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") ); } public static CmsCategoryK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCategoryK13( - reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") + reader.Unbox("CategoryID"), reader.Unbox("CategoryDisplayName"), reader.Unbox("CategoryName"), reader.Unbox("CategoryDescription"), reader.Unbox("CategoryCount"), reader.Unbox("CategoryEnabled"), reader.Unbox("CategoryUserID"), reader.Unbox("CategoryGUID"), reader.Unbox("CategoryLastModified"), reader.Unbox("CategorySiteID"), reader.Unbox("CategoryParentID"), reader.Unbox("CategoryIDPath"), reader.Unbox("CategoryNamePath"), reader.Unbox("CategoryLevel"), reader.Unbox("CategoryOrder") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsClass.cs b/KVA/Migration.Toolkit.Source/Model/CmsClass.cs index 2baa2a51..cbecb7e4 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsClass.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsClass.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsClass: ISourceModel +public interface ICmsClass : ISourceModel { int ClassID { get; } string ClassDisplayName { get; } @@ -51,7 +51,7 @@ public interface ICmsClass: ISourceModel string? ClassCustomizedColumns { get; } string? ClassCodeGenerationSettings { get; } string? ClassIconClass { get; } - string? ClassURLPattern { get; } + string? ClassURLPattern { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -86,61 +86,60 @@ static ICmsClass ISourceModel.FromReader(IDataReader reader, Semantic }; } } -public partial record CmsClassK11(int ClassID, string ClassDisplayName, string ClassName, bool ClassUsesVersioning, bool ClassIsDocumentType, bool ClassIsCoupledClass, string ClassXmlSchema, string ClassFormDefinition, string? ClassEditingPageUrl, string? ClassListPageUrl, string ClassNodeNameSource, string? ClassTableName, string? ClassViewPageUrl, string? ClassPreviewPageUrl, string? ClassFormLayout, string? ClassNewPageUrl, bool? ClassShowAsSystemTable, bool? ClassUsePublishFromTo, bool? ClassShowTemplateSelection, string? ClassSKUMappings, bool? ClassIsMenuItemType, string? ClassNodeAliasSource, int? ClassDefaultPageTemplateID, DateTime ClassLastModified, Guid ClassGUID, bool? ClassCreateSKU, bool? ClassIsProduct, bool ClassIsCustomTable, string? ClassShowColumns, string? ClassSearchTitleColumn, string? ClassSearchContentColumn, string? ClassSearchImageColumn, string? ClassSearchCreationDateColumn, string? ClassSearchSettings, int? ClassInheritsFromClassID, bool? ClassSearchEnabled, string? ClassSKUDefaultDepartmentName, int? ClassSKUDefaultDepartmentID, string? ClassContactMapping, bool? ClassContactOverwriteEnabled, string? ClassSKUDefaultProductType, string? ClassConnectionString, bool? ClassIsProductSection, int? ClassPageTemplateCategoryID, string? ClassFormLayoutType, string? ClassVersionGUID, string? ClassDefaultObjectType, bool? ClassIsForm, int? ClassResourceID, string? ClassCustomizedColumns, string? ClassCodeGenerationSettings, string? ClassIconClass, bool? ClassIsContentOnly, string? ClassURLPattern): ICmsClass, ISourceModel +public partial record CmsClassK11(int ClassID, string ClassDisplayName, string ClassName, bool ClassUsesVersioning, bool ClassIsDocumentType, bool ClassIsCoupledClass, string ClassXmlSchema, string ClassFormDefinition, string? ClassEditingPageUrl, string? ClassListPageUrl, string ClassNodeNameSource, string? ClassTableName, string? ClassViewPageUrl, string? ClassPreviewPageUrl, string? ClassFormLayout, string? ClassNewPageUrl, bool? ClassShowAsSystemTable, bool? ClassUsePublishFromTo, bool? ClassShowTemplateSelection, string? ClassSKUMappings, bool? ClassIsMenuItemType, string? ClassNodeAliasSource, int? ClassDefaultPageTemplateID, DateTime ClassLastModified, Guid ClassGUID, bool? ClassCreateSKU, bool? ClassIsProduct, bool ClassIsCustomTable, string? ClassShowColumns, string? ClassSearchTitleColumn, string? ClassSearchContentColumn, string? ClassSearchImageColumn, string? ClassSearchCreationDateColumn, string? ClassSearchSettings, int? ClassInheritsFromClassID, bool? ClassSearchEnabled, string? ClassSKUDefaultDepartmentName, int? ClassSKUDefaultDepartmentID, string? ClassContactMapping, bool? ClassContactOverwriteEnabled, string? ClassSKUDefaultProductType, string? ClassConnectionString, bool? ClassIsProductSection, int? ClassPageTemplateCategoryID, string? ClassFormLayoutType, string? ClassVersionGUID, string? ClassDefaultObjectType, bool? ClassIsForm, int? ClassResourceID, string? ClassCustomizedColumns, string? ClassCodeGenerationSettings, string? ClassIconClass, bool? ClassIsContentOnly, string? ClassURLPattern) : ICmsClass, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; public static string TableName => "CMS_Class"; public static string GuidColumnName => "ClassGUID"; static CmsClassK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassK11( - reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassEditingPageUrl"), reader.Unbox("ClassListPageUrl"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassViewPageUrl"), reader.Unbox("ClassPreviewPageUrl"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassNewPageUrl"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassDefaultPageTemplateID"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassPageTemplateCategoryID"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassIsContentOnly"), reader.Unbox("ClassURLPattern") + reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassEditingPageUrl"), reader.Unbox("ClassListPageUrl"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassViewPageUrl"), reader.Unbox("ClassPreviewPageUrl"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassNewPageUrl"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassDefaultPageTemplateID"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassPageTemplateCategoryID"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassIsContentOnly"), reader.Unbox("ClassURLPattern") ); } public static CmsClassK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassK11( - reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassEditingPageUrl"), reader.Unbox("ClassListPageUrl"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassViewPageUrl"), reader.Unbox("ClassPreviewPageUrl"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassNewPageUrl"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassDefaultPageTemplateID"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassPageTemplateCategoryID"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassIsContentOnly"), reader.Unbox("ClassURLPattern") + reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassEditingPageUrl"), reader.Unbox("ClassListPageUrl"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassViewPageUrl"), reader.Unbox("ClassPreviewPageUrl"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassNewPageUrl"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassDefaultPageTemplateID"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassPageTemplateCategoryID"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassIsContentOnly"), reader.Unbox("ClassURLPattern") ); } }; -public partial record CmsClassK12(int ClassID, string ClassDisplayName, string ClassName, bool ClassUsesVersioning, bool ClassIsDocumentType, bool ClassIsCoupledClass, string ClassXmlSchema, string ClassFormDefinition, string? ClassEditingPageUrl, string? ClassListPageUrl, string ClassNodeNameSource, string? ClassTableName, string? ClassViewPageUrl, string? ClassPreviewPageUrl, string? ClassFormLayout, string? ClassNewPageUrl, bool? ClassShowAsSystemTable, bool? ClassUsePublishFromTo, bool? ClassShowTemplateSelection, string? ClassSKUMappings, bool? ClassIsMenuItemType, string? ClassNodeAliasSource, int? ClassDefaultPageTemplateID, DateTime ClassLastModified, Guid ClassGUID, bool? ClassCreateSKU, bool? ClassIsProduct, bool ClassIsCustomTable, string? ClassShowColumns, string? ClassSearchTitleColumn, string? ClassSearchContentColumn, string? ClassSearchImageColumn, string? ClassSearchCreationDateColumn, string? ClassSearchSettings, int? ClassInheritsFromClassID, bool? ClassSearchEnabled, string? ClassSKUDefaultDepartmentName, int? ClassSKUDefaultDepartmentID, string? ClassContactMapping, bool? ClassContactOverwriteEnabled, string? ClassSKUDefaultProductType, string? ClassConnectionString, bool? ClassIsProductSection, int? ClassPageTemplateCategoryID, string? ClassFormLayoutType, string? ClassVersionGUID, string? ClassDefaultObjectType, bool? ClassIsForm, int? ClassResourceID, string? ClassCustomizedColumns, string? ClassCodeGenerationSettings, string? ClassIconClass, bool? ClassIsContentOnly, string? ClassURLPattern): ICmsClass, ISourceModel +public partial record CmsClassK12(int ClassID, string ClassDisplayName, string ClassName, bool ClassUsesVersioning, bool ClassIsDocumentType, bool ClassIsCoupledClass, string ClassXmlSchema, string ClassFormDefinition, string? ClassEditingPageUrl, string? ClassListPageUrl, string ClassNodeNameSource, string? ClassTableName, string? ClassViewPageUrl, string? ClassPreviewPageUrl, string? ClassFormLayout, string? ClassNewPageUrl, bool? ClassShowAsSystemTable, bool? ClassUsePublishFromTo, bool? ClassShowTemplateSelection, string? ClassSKUMappings, bool? ClassIsMenuItemType, string? ClassNodeAliasSource, int? ClassDefaultPageTemplateID, DateTime ClassLastModified, Guid ClassGUID, bool? ClassCreateSKU, bool? ClassIsProduct, bool ClassIsCustomTable, string? ClassShowColumns, string? ClassSearchTitleColumn, string? ClassSearchContentColumn, string? ClassSearchImageColumn, string? ClassSearchCreationDateColumn, string? ClassSearchSettings, int? ClassInheritsFromClassID, bool? ClassSearchEnabled, string? ClassSKUDefaultDepartmentName, int? ClassSKUDefaultDepartmentID, string? ClassContactMapping, bool? ClassContactOverwriteEnabled, string? ClassSKUDefaultProductType, string? ClassConnectionString, bool? ClassIsProductSection, int? ClassPageTemplateCategoryID, string? ClassFormLayoutType, string? ClassVersionGUID, string? ClassDefaultObjectType, bool? ClassIsForm, int? ClassResourceID, string? ClassCustomizedColumns, string? ClassCodeGenerationSettings, string? ClassIconClass, bool? ClassIsContentOnly, string? ClassURLPattern) : ICmsClass, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; public static string TableName => "CMS_Class"; public static string GuidColumnName => "ClassGUID"; static CmsClassK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassK12( - reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassEditingPageUrl"), reader.Unbox("ClassListPageUrl"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassViewPageUrl"), reader.Unbox("ClassPreviewPageUrl"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassNewPageUrl"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassDefaultPageTemplateID"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassPageTemplateCategoryID"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassIsContentOnly"), reader.Unbox("ClassURLPattern") + reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassEditingPageUrl"), reader.Unbox("ClassListPageUrl"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassViewPageUrl"), reader.Unbox("ClassPreviewPageUrl"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassNewPageUrl"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassDefaultPageTemplateID"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassPageTemplateCategoryID"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassIsContentOnly"), reader.Unbox("ClassURLPattern") ); } public static CmsClassK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassK12( - reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassEditingPageUrl"), reader.Unbox("ClassListPageUrl"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassViewPageUrl"), reader.Unbox("ClassPreviewPageUrl"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassNewPageUrl"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassDefaultPageTemplateID"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassPageTemplateCategoryID"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassIsContentOnly"), reader.Unbox("ClassURLPattern") + reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassEditingPageUrl"), reader.Unbox("ClassListPageUrl"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassViewPageUrl"), reader.Unbox("ClassPreviewPageUrl"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassNewPageUrl"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassDefaultPageTemplateID"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassPageTemplateCategoryID"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassIsContentOnly"), reader.Unbox("ClassURLPattern") ); } }; -public partial record CmsClassK13(int ClassID, string ClassDisplayName, string ClassName, bool ClassUsesVersioning, bool ClassIsDocumentType, bool ClassIsCoupledClass, string ClassXmlSchema, string ClassFormDefinition, string ClassNodeNameSource, string? ClassTableName, string? ClassFormLayout, bool? ClassShowAsSystemTable, bool? ClassUsePublishFromTo, bool? ClassShowTemplateSelection, string? ClassSKUMappings, bool? ClassIsMenuItemType, string? ClassNodeAliasSource, DateTime ClassLastModified, Guid ClassGUID, bool? ClassCreateSKU, bool? ClassIsProduct, bool ClassIsCustomTable, string? ClassShowColumns, string? ClassSearchTitleColumn, string? ClassSearchContentColumn, string? ClassSearchImageColumn, string? ClassSearchCreationDateColumn, string? ClassSearchSettings, int? ClassInheritsFromClassID, bool? ClassSearchEnabled, string? ClassSKUDefaultDepartmentName, int? ClassSKUDefaultDepartmentID, string? ClassContactMapping, bool? ClassContactOverwriteEnabled, string? ClassSKUDefaultProductType, string? ClassConnectionString, bool? ClassIsProductSection, string? ClassFormLayoutType, string? ClassVersionGUID, string? ClassDefaultObjectType, bool? ClassIsForm, int? ClassResourceID, string? ClassCustomizedColumns, string? ClassCodeGenerationSettings, string? ClassIconClass, string? ClassURLPattern, bool ClassUsesPageBuilder, bool ClassIsNavigationItem, bool ClassHasURL, bool ClassHasMetadata, int? ClassSearchIndexDataSource): ICmsClass, ISourceModel +public partial record CmsClassK13(int ClassID, string ClassDisplayName, string ClassName, bool ClassUsesVersioning, bool ClassIsDocumentType, bool ClassIsCoupledClass, string ClassXmlSchema, string ClassFormDefinition, string ClassNodeNameSource, string? ClassTableName, string? ClassFormLayout, bool? ClassShowAsSystemTable, bool? ClassUsePublishFromTo, bool? ClassShowTemplateSelection, string? ClassSKUMappings, bool? ClassIsMenuItemType, string? ClassNodeAliasSource, DateTime ClassLastModified, Guid ClassGUID, bool? ClassCreateSKU, bool? ClassIsProduct, bool ClassIsCustomTable, string? ClassShowColumns, string? ClassSearchTitleColumn, string? ClassSearchContentColumn, string? ClassSearchImageColumn, string? ClassSearchCreationDateColumn, string? ClassSearchSettings, int? ClassInheritsFromClassID, bool? ClassSearchEnabled, string? ClassSKUDefaultDepartmentName, int? ClassSKUDefaultDepartmentID, string? ClassContactMapping, bool? ClassContactOverwriteEnabled, string? ClassSKUDefaultProductType, string? ClassConnectionString, bool? ClassIsProductSection, string? ClassFormLayoutType, string? ClassVersionGUID, string? ClassDefaultObjectType, bool? ClassIsForm, int? ClassResourceID, string? ClassCustomizedColumns, string? ClassCodeGenerationSettings, string? ClassIconClass, string? ClassURLPattern, bool ClassUsesPageBuilder, bool ClassIsNavigationItem, bool ClassHasURL, bool ClassHasMetadata, int? ClassSearchIndexDataSource) : ICmsClass, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; public static string TableName => "CMS_Class"; public static string GuidColumnName => "ClassGUID"; static CmsClassK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassK13( - reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassURLPattern"), reader.Unbox("ClassUsesPageBuilder"), reader.Unbox("ClassIsNavigationItem"), reader.Unbox("ClassHasURL"), reader.Unbox("ClassHasMetadata"), reader.Unbox("ClassSearchIndexDataSource") + reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassURLPattern"), reader.Unbox("ClassUsesPageBuilder"), reader.Unbox("ClassIsNavigationItem"), reader.Unbox("ClassHasURL"), reader.Unbox("ClassHasMetadata"), reader.Unbox("ClassSearchIndexDataSource") ); } public static CmsClassK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassK13( - reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassURLPattern"), reader.Unbox("ClassUsesPageBuilder"), reader.Unbox("ClassIsNavigationItem"), reader.Unbox("ClassHasURL"), reader.Unbox("ClassHasMetadata"), reader.Unbox("ClassSearchIndexDataSource") + reader.Unbox("ClassID"), reader.Unbox("ClassDisplayName"), reader.Unbox("ClassName"), reader.Unbox("ClassUsesVersioning"), reader.Unbox("ClassIsDocumentType"), reader.Unbox("ClassIsCoupledClass"), reader.Unbox("ClassXmlSchema"), reader.Unbox("ClassFormDefinition"), reader.Unbox("ClassNodeNameSource"), reader.Unbox("ClassTableName"), reader.Unbox("ClassFormLayout"), reader.Unbox("ClassShowAsSystemTable"), reader.Unbox("ClassUsePublishFromTo"), reader.Unbox("ClassShowTemplateSelection"), reader.Unbox("ClassSKUMappings"), reader.Unbox("ClassIsMenuItemType"), reader.Unbox("ClassNodeAliasSource"), reader.Unbox("ClassLastModified"), reader.Unbox("ClassGUID"), reader.Unbox("ClassCreateSKU"), reader.Unbox("ClassIsProduct"), reader.Unbox("ClassIsCustomTable"), reader.Unbox("ClassShowColumns"), reader.Unbox("ClassSearchTitleColumn"), reader.Unbox("ClassSearchContentColumn"), reader.Unbox("ClassSearchImageColumn"), reader.Unbox("ClassSearchCreationDateColumn"), reader.Unbox("ClassSearchSettings"), reader.Unbox("ClassInheritsFromClassID"), reader.Unbox("ClassSearchEnabled"), reader.Unbox("ClassSKUDefaultDepartmentName"), reader.Unbox("ClassSKUDefaultDepartmentID"), reader.Unbox("ClassContactMapping"), reader.Unbox("ClassContactOverwriteEnabled"), reader.Unbox("ClassSKUDefaultProductType"), reader.Unbox("ClassConnectionString"), reader.Unbox("ClassIsProductSection"), reader.Unbox("ClassFormLayoutType"), reader.Unbox("ClassVersionGUID"), reader.Unbox("ClassDefaultObjectType"), reader.Unbox("ClassIsForm"), reader.Unbox("ClassResourceID"), reader.Unbox("ClassCustomizedColumns"), reader.Unbox("ClassCodeGenerationSettings"), reader.Unbox("ClassIconClass"), reader.Unbox("ClassURLPattern"), reader.Unbox("ClassUsesPageBuilder"), reader.Unbox("ClassIsNavigationItem"), reader.Unbox("ClassHasURL"), reader.Unbox("ClassHasMetadata"), reader.Unbox("ClassSearchIndexDataSource") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsClassSite.cs b/KVA/Migration.Toolkit.Source/Model/CmsClassSite.cs index b121771f..acc66b2b 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsClassSite.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsClassSite.cs @@ -4,10 +4,10 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsClassSite: ISourceModel +public interface ICmsClassSite : ISourceModel { int ClassID { get; } - int SiteID { get; } + int SiteID { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -42,61 +42,60 @@ static ICmsClassSite ISourceModel.FromReader(IDataReader reader, }; } } -public partial record CmsClassSiteK11(int ClassID, int SiteID): ICmsClassSite, ISourceModel +public partial record CmsClassSiteK11(int ClassID, int SiteID) : ICmsClassSite, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; public static string TableName => "CMS_ClassSite"; public static string GuidColumnName => ""; static CmsClassSiteK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassSiteK11( - reader.Unbox("ClassID"), reader.Unbox("SiteID") + reader.Unbox("ClassID"), reader.Unbox("SiteID") ); } public static CmsClassSiteK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassSiteK11( - reader.Unbox("ClassID"), reader.Unbox("SiteID") + reader.Unbox("ClassID"), reader.Unbox("SiteID") ); } }; -public partial record CmsClassSiteK12(int ClassID, int SiteID): ICmsClassSite, ISourceModel +public partial record CmsClassSiteK12(int ClassID, int SiteID) : ICmsClassSite, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; public static string TableName => "CMS_ClassSite"; public static string GuidColumnName => ""; static CmsClassSiteK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassSiteK12( - reader.Unbox("ClassID"), reader.Unbox("SiteID") + reader.Unbox("ClassID"), reader.Unbox("SiteID") ); } public static CmsClassSiteK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassSiteK12( - reader.Unbox("ClassID"), reader.Unbox("SiteID") + reader.Unbox("ClassID"), reader.Unbox("SiteID") ); } }; -public partial record CmsClassSiteK13(int ClassID, int SiteID): ICmsClassSite, ISourceModel +public partial record CmsClassSiteK13(int ClassID, int SiteID) : ICmsClassSite, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ClassID"; public static string TableName => "CMS_ClassSite"; public static string GuidColumnName => ""; static CmsClassSiteK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassSiteK13( - reader.Unbox("ClassID"), reader.Unbox("SiteID") + reader.Unbox("ClassID"), reader.Unbox("SiteID") ); } public static CmsClassSiteK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsClassSiteK13( - reader.Unbox("ClassID"), reader.Unbox("SiteID") + reader.Unbox("ClassID"), reader.Unbox("SiteID") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsConsent.cs b/KVA/Migration.Toolkit.Source/Model/CmsConsent.cs index 10b3bd4f..cf4e1325 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsConsent.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsConsent.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsConsent: ISourceModel +public interface ICmsConsent : ISourceModel { int ConsentID { get; } string ConsentDisplayName { get; } @@ -12,7 +12,7 @@ public interface ICmsConsent: ISourceModel string ConsentContent { get; } Guid ConsentGuid { get; } DateTime ConsentLastModified { get; } - string ConsentHash { get; } + string ConsentHash { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -47,61 +47,60 @@ static ICmsConsent ISourceModel.FromReader(IDataReader reader, Sema }; } } -public partial record CmsConsentK11(int ConsentID, string ConsentDisplayName, string ConsentName, string ConsentContent, Guid ConsentGuid, DateTime ConsentLastModified, string ConsentHash): ICmsConsent, ISourceModel +public partial record CmsConsentK11(int ConsentID, string ConsentDisplayName, string ConsentName, string ConsentContent, Guid ConsentGuid, DateTime ConsentLastModified, string ConsentHash) : ICmsConsent, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentID"; public static string TableName => "CMS_Consent"; public static string GuidColumnName => "ConsentGuid"; static CmsConsentK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentK11( - reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") + reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") ); } public static CmsConsentK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentK11( - reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") + reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") ); } }; -public partial record CmsConsentK12(int ConsentID, string ConsentDisplayName, string ConsentName, string ConsentContent, Guid ConsentGuid, DateTime ConsentLastModified, string ConsentHash): ICmsConsent, ISourceModel +public partial record CmsConsentK12(int ConsentID, string ConsentDisplayName, string ConsentName, string ConsentContent, Guid ConsentGuid, DateTime ConsentLastModified, string ConsentHash) : ICmsConsent, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentID"; public static string TableName => "CMS_Consent"; public static string GuidColumnName => "ConsentGuid"; static CmsConsentK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentK12( - reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") + reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") ); } public static CmsConsentK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentK12( - reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") + reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") ); } }; -public partial record CmsConsentK13(int ConsentID, string ConsentDisplayName, string ConsentName, string ConsentContent, Guid ConsentGuid, DateTime ConsentLastModified, string ConsentHash): ICmsConsent, ISourceModel +public partial record CmsConsentK13(int ConsentID, string ConsentDisplayName, string ConsentName, string ConsentContent, Guid ConsentGuid, DateTime ConsentLastModified, string ConsentHash) : ICmsConsent, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentID"; public static string TableName => "CMS_Consent"; public static string GuidColumnName => "ConsentGuid"; static CmsConsentK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentK13( - reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") + reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") ); } public static CmsConsentK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentK13( - reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") + reader.Unbox("ConsentID"), reader.Unbox("ConsentDisplayName"), reader.Unbox("ConsentName"), reader.Unbox("ConsentContent"), reader.Unbox("ConsentGuid"), reader.Unbox("ConsentLastModified"), reader.Unbox("ConsentHash") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsConsentAgreement.cs b/KVA/Migration.Toolkit.Source/Model/CmsConsentAgreement.cs index bb432753..a0ca70c1 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsConsentAgreement.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsConsentAgreement.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsConsentAgreement: ISourceModel +public interface ICmsConsentAgreement : ISourceModel { int ConsentAgreementID { get; } Guid ConsentAgreementGuid { get; } @@ -12,7 +12,7 @@ public interface ICmsConsentAgreement: ISourceModel int ConsentAgreementContactID { get; } int ConsentAgreementConsentID { get; } string? ConsentAgreementConsentHash { get; } - DateTime ConsentAgreementTime { get; } + DateTime ConsentAgreementTime { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -47,61 +47,60 @@ static ICmsConsentAgreement ISourceModel.FromReader(IDataR }; } } -public partial record CmsConsentAgreementK11(int ConsentAgreementID, Guid ConsentAgreementGuid, bool ConsentAgreementRevoked, int ConsentAgreementContactID, int ConsentAgreementConsentID, string? ConsentAgreementConsentHash, DateTime ConsentAgreementTime): ICmsConsentAgreement, ISourceModel +public partial record CmsConsentAgreementK11(int ConsentAgreementID, Guid ConsentAgreementGuid, bool ConsentAgreementRevoked, int ConsentAgreementContactID, int ConsentAgreementConsentID, string? ConsentAgreementConsentHash, DateTime ConsentAgreementTime) : ICmsConsentAgreement, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentAgreementID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentAgreementID"; public static string TableName => "CMS_ConsentAgreement"; public static string GuidColumnName => "ConsentAgreementGuid"; static CmsConsentAgreementK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentAgreementK11( - reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") + reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") ); } public static CmsConsentAgreementK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentAgreementK11( - reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") + reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") ); } }; -public partial record CmsConsentAgreementK12(int ConsentAgreementID, Guid ConsentAgreementGuid, bool ConsentAgreementRevoked, int ConsentAgreementContactID, int ConsentAgreementConsentID, string? ConsentAgreementConsentHash, DateTime ConsentAgreementTime): ICmsConsentAgreement, ISourceModel +public partial record CmsConsentAgreementK12(int ConsentAgreementID, Guid ConsentAgreementGuid, bool ConsentAgreementRevoked, int ConsentAgreementContactID, int ConsentAgreementConsentID, string? ConsentAgreementConsentHash, DateTime ConsentAgreementTime) : ICmsConsentAgreement, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentAgreementID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentAgreementID"; public static string TableName => "CMS_ConsentAgreement"; public static string GuidColumnName => "ConsentAgreementGuid"; static CmsConsentAgreementK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentAgreementK12( - reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") + reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") ); } public static CmsConsentAgreementK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentAgreementK12( - reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") + reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") ); } }; -public partial record CmsConsentAgreementK13(int ConsentAgreementID, Guid ConsentAgreementGuid, bool ConsentAgreementRevoked, int ConsentAgreementContactID, int ConsentAgreementConsentID, string? ConsentAgreementConsentHash, DateTime ConsentAgreementTime): ICmsConsentAgreement, ISourceModel +public partial record CmsConsentAgreementK13(int ConsentAgreementID, Guid ConsentAgreementGuid, bool ConsentAgreementRevoked, int ConsentAgreementContactID, int ConsentAgreementConsentID, string? ConsentAgreementConsentHash, DateTime ConsentAgreementTime) : ICmsConsentAgreement, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentAgreementID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentAgreementID"; public static string TableName => "CMS_ConsentAgreement"; public static string GuidColumnName => "ConsentAgreementGuid"; static CmsConsentAgreementK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentAgreementK13( - reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") + reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") ); } public static CmsConsentAgreementK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentAgreementK13( - reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") + reader.Unbox("ConsentAgreementID"), reader.Unbox("ConsentAgreementGuid"), reader.Unbox("ConsentAgreementRevoked"), reader.Unbox("ConsentAgreementContactID"), reader.Unbox("ConsentAgreementConsentID"), reader.Unbox("ConsentAgreementConsentHash"), reader.Unbox("ConsentAgreementTime") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsConsentArchive.cs b/KVA/Migration.Toolkit.Source/Model/CmsConsentArchive.cs index 516f5e82..d789a448 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsConsentArchive.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsConsentArchive.cs @@ -4,14 +4,14 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsConsentArchive: ISourceModel +public interface ICmsConsentArchive : ISourceModel { int ConsentArchiveID { get; } Guid ConsentArchiveGuid { get; } DateTime ConsentArchiveLastModified { get; } int ConsentArchiveConsentID { get; } string ConsentArchiveHash { get; } - string ConsentArchiveContent { get; } + string ConsentArchiveContent { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -46,61 +46,60 @@ static ICmsConsentArchive ISourceModel.FromReader(IDataReade }; } } -public partial record CmsConsentArchiveK11(int ConsentArchiveID, Guid ConsentArchiveGuid, DateTime ConsentArchiveLastModified, int ConsentArchiveConsentID, string ConsentArchiveHash, string ConsentArchiveContent): ICmsConsentArchive, ISourceModel +public partial record CmsConsentArchiveK11(int ConsentArchiveID, Guid ConsentArchiveGuid, DateTime ConsentArchiveLastModified, int ConsentArchiveConsentID, string ConsentArchiveHash, string ConsentArchiveContent) : ICmsConsentArchive, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentArchiveID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentArchiveID"; public static string TableName => "CMS_ConsentArchive"; public static string GuidColumnName => "ConsentArchiveGuid"; static CmsConsentArchiveK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentArchiveK11( - reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") + reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") ); } public static CmsConsentArchiveK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentArchiveK11( - reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") + reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") ); } }; -public partial record CmsConsentArchiveK12(int ConsentArchiveID, Guid ConsentArchiveGuid, DateTime ConsentArchiveLastModified, int ConsentArchiveConsentID, string ConsentArchiveHash, string ConsentArchiveContent): ICmsConsentArchive, ISourceModel +public partial record CmsConsentArchiveK12(int ConsentArchiveID, Guid ConsentArchiveGuid, DateTime ConsentArchiveLastModified, int ConsentArchiveConsentID, string ConsentArchiveHash, string ConsentArchiveContent) : ICmsConsentArchive, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentArchiveID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentArchiveID"; public static string TableName => "CMS_ConsentArchive"; public static string GuidColumnName => "ConsentArchiveGuid"; static CmsConsentArchiveK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentArchiveK12( - reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") + reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") ); } public static CmsConsentArchiveK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentArchiveK12( - reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") + reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") ); } }; -public partial record CmsConsentArchiveK13(int ConsentArchiveID, Guid ConsentArchiveGuid, DateTime ConsentArchiveLastModified, int ConsentArchiveConsentID, string ConsentArchiveHash, string ConsentArchiveContent): ICmsConsentArchive, ISourceModel +public partial record CmsConsentArchiveK13(int ConsentArchiveID, Guid ConsentArchiveGuid, DateTime ConsentArchiveLastModified, int ConsentArchiveConsentID, string ConsentArchiveHash, string ConsentArchiveContent) : ICmsConsentArchive, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentArchiveID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ConsentArchiveID"; public static string TableName => "CMS_ConsentArchive"; public static string GuidColumnName => "ConsentArchiveGuid"; static CmsConsentArchiveK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentArchiveK13( - reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") + reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") ); } public static CmsConsentArchiveK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsConsentArchiveK13( - reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") + reader.Unbox("ConsentArchiveID"), reader.Unbox("ConsentArchiveGuid"), reader.Unbox("ConsentArchiveLastModified"), reader.Unbox("ConsentArchiveConsentID"), reader.Unbox("ConsentArchiveHash"), reader.Unbox("ConsentArchiveContent") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsCountry.cs b/KVA/Migration.Toolkit.Source/Model/CmsCountry.cs index f66c73a3..2f123b07 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsCountry.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsCountry.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsCountry: ISourceModel +public interface ICmsCountry : ISourceModel { int CountryID { get; } string CountryDisplayName { get; } @@ -12,7 +12,7 @@ public interface ICmsCountry: ISourceModel Guid CountryGUID { get; } DateTime CountryLastModified { get; } string? CountryTwoLetterCode { get; } - string? CountryThreeLetterCode { get; } + string? CountryThreeLetterCode { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -47,61 +47,60 @@ static ICmsCountry ISourceModel.FromReader(IDataReader reader, Sema }; } } -public partial record CmsCountryK11(int CountryID, string CountryDisplayName, string CountryName, Guid CountryGUID, DateTime CountryLastModified, string? CountryTwoLetterCode, string? CountryThreeLetterCode): ICmsCountry, ISourceModel +public partial record CmsCountryK11(int CountryID, string CountryDisplayName, string CountryName, Guid CountryGUID, DateTime CountryLastModified, string? CountryTwoLetterCode, string? CountryThreeLetterCode) : ICmsCountry, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CountryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CountryID"; public static string TableName => "CMS_Country"; public static string GuidColumnName => "CountryGUID"; static CmsCountryK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCountryK11( - reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") + reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") ); } public static CmsCountryK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCountryK11( - reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") + reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") ); } }; -public partial record CmsCountryK12(int CountryID, string CountryDisplayName, string CountryName, Guid CountryGUID, DateTime CountryLastModified, string? CountryTwoLetterCode, string? CountryThreeLetterCode): ICmsCountry, ISourceModel +public partial record CmsCountryK12(int CountryID, string CountryDisplayName, string CountryName, Guid CountryGUID, DateTime CountryLastModified, string? CountryTwoLetterCode, string? CountryThreeLetterCode) : ICmsCountry, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CountryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CountryID"; public static string TableName => "CMS_Country"; public static string GuidColumnName => "CountryGUID"; static CmsCountryK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCountryK12( - reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") + reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") ); } public static CmsCountryK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCountryK12( - reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") + reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") ); } }; -public partial record CmsCountryK13(int CountryID, string CountryDisplayName, string CountryName, Guid CountryGUID, DateTime CountryLastModified, string? CountryTwoLetterCode, string? CountryThreeLetterCode): ICmsCountry, ISourceModel +public partial record CmsCountryK13(int CountryID, string CountryDisplayName, string CountryName, Guid CountryGUID, DateTime CountryLastModified, string? CountryTwoLetterCode, string? CountryThreeLetterCode) : ICmsCountry, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CountryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CountryID"; public static string TableName => "CMS_Country"; public static string GuidColumnName => "CountryGUID"; static CmsCountryK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCountryK13( - reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") + reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") ); } public static CmsCountryK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCountryK13( - reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") + reader.Unbox("CountryID"), reader.Unbox("CountryDisplayName"), reader.Unbox("CountryName"), reader.Unbox("CountryGUID"), reader.Unbox("CountryLastModified"), reader.Unbox("CountryTwoLetterCode"), reader.Unbox("CountryThreeLetterCode") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsCulture.cs b/KVA/Migration.Toolkit.Source/Model/CmsCulture.cs index a7cc514b..ea159f4b 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsCulture.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsCulture.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsCulture: ISourceModel +public interface ICmsCulture : ISourceModel { int CultureID { get; } string CultureName { get; } @@ -13,7 +13,7 @@ public interface ICmsCulture: ISourceModel Guid CultureGUID { get; } DateTime CultureLastModified { get; } string? CultureAlias { get; } - bool? CultureIsUICulture { get; } + bool? CultureIsUICulture { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -48,61 +48,60 @@ static ICmsCulture ISourceModel.FromReader(IDataReader reader, Sema }; } } -public partial record CmsCultureK11(int CultureID, string CultureName, string CultureCode, string CultureShortName, Guid CultureGUID, DateTime CultureLastModified, string? CultureAlias, bool? CultureIsUICulture): ICmsCulture, ISourceModel +public partial record CmsCultureK11(int CultureID, string CultureName, string CultureCode, string CultureShortName, Guid CultureGUID, DateTime CultureLastModified, string? CultureAlias, bool? CultureIsUICulture) : ICmsCulture, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; public static string TableName => "CMS_Culture"; public static string GuidColumnName => "CultureGUID"; static CmsCultureK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCultureK11( - reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") + reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") ); } public static CmsCultureK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCultureK11( - reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") + reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") ); } }; -public partial record CmsCultureK12(int CultureID, string CultureName, string CultureCode, string CultureShortName, Guid CultureGUID, DateTime CultureLastModified, string? CultureAlias, bool? CultureIsUICulture): ICmsCulture, ISourceModel +public partial record CmsCultureK12(int CultureID, string CultureName, string CultureCode, string CultureShortName, Guid CultureGUID, DateTime CultureLastModified, string? CultureAlias, bool? CultureIsUICulture) : ICmsCulture, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; public static string TableName => "CMS_Culture"; public static string GuidColumnName => "CultureGUID"; static CmsCultureK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCultureK12( - reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") + reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") ); } public static CmsCultureK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCultureK12( - reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") + reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") ); } }; -public partial record CmsCultureK13(int CultureID, string CultureName, string CultureCode, string CultureShortName, Guid CultureGUID, DateTime CultureLastModified, string? CultureAlias, bool? CultureIsUICulture): ICmsCulture, ISourceModel +public partial record CmsCultureK13(int CultureID, string CultureName, string CultureCode, string CultureShortName, Guid CultureGUID, DateTime CultureLastModified, string? CultureAlias, bool? CultureIsUICulture) : ICmsCulture, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; public static string TableName => "CMS_Culture"; public static string GuidColumnName => "CultureGUID"; static CmsCultureK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsCultureK13( - reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") + reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") ); } public static CmsCultureK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsCultureK13( - reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") + reader.Unbox("CultureID"), reader.Unbox("CultureName"), reader.Unbox("CultureCode"), reader.Unbox("CultureShortName"), reader.Unbox("CultureGUID"), reader.Unbox("CultureLastModified"), reader.Unbox("CultureAlias"), reader.Unbox("CultureIsUICulture") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsDocument.cs b/KVA/Migration.Toolkit.Source/Model/CmsDocument.cs index 8b908f16..36c81b85 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsDocument.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsDocument.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsDocument: ISourceModel +public interface ICmsDocument : ISourceModel { int DocumentID { get; } string DocumentName { get; } @@ -40,7 +40,7 @@ public interface ICmsDocument: ISourceModel string? DocumentSKUDescription { get; } string? DocumentSKUShortDescription { get; } string? DocumentWorkflowActionStatus { get; } - bool DocumentCanBePublished { get; } + bool DocumentCanBePublished { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -75,61 +75,60 @@ static ICmsDocument ISourceModel.FromReader(IDataReader reader, Se }; } } -public partial record CmsDocumentK11(int DocumentID, string DocumentName, string? DocumentNamePath, DateTime? DocumentModifiedWhen, int? DocumentModifiedByUserID, int? DocumentForeignKeyValue, int? DocumentCreatedByUserID, DateTime? DocumentCreatedWhen, int? DocumentCheckedOutByUserID, DateTime? DocumentCheckedOutWhen, int? DocumentCheckedOutVersionHistoryID, int? DocumentPublishedVersionHistoryID, int? DocumentWorkflowStepID, DateTime? DocumentPublishFrom, DateTime? DocumentPublishTo, string? DocumentUrlPath, string DocumentCulture, int DocumentNodeID, string? DocumentPageTitle, string? DocumentPageKeyWords, string? DocumentPageDescription, bool DocumentShowInSiteMap, bool DocumentMenuItemHideInNavigation, string? DocumentMenuCaption, string? DocumentMenuStyle, string? DocumentMenuItemImage, string? DocumentMenuItemLeftImage, string? DocumentMenuItemRightImage, int? DocumentPageTemplateID, string? DocumentMenuJavascript, string? DocumentMenuRedirectUrl, bool? DocumentUseNamePathForUrlPath, int? DocumentStylesheetID, string? DocumentContent, string? DocumentMenuClass, string? DocumentMenuStyleHighlighted, string? DocumentMenuClassHighlighted, string? DocumentMenuItemImageHighlighted, string? DocumentMenuItemLeftImageHighlighted, string? DocumentMenuItemRightImageHighlighted, bool? DocumentMenuItemInactive, string? DocumentCustomData, string? DocumentExtensions, string? DocumentTags, int? DocumentTagGroupID, string? DocumentWildcardRule, string? DocumentWebParts, double? DocumentRatingValue, int? DocumentRatings, int? DocumentPriority, string? DocumentType, DateTime? DocumentLastPublished, bool? DocumentUseCustomExtensions, string? DocumentGroupWebParts, bool? DocumentCheckedOutAutomatically, string? DocumentTrackConversionName, string? DocumentConversionValue, bool? DocumentSearchExcluded, string? DocumentLastVersionNumber, bool? DocumentIsArchived, string? DocumentHash, bool? DocumentLogVisitActivity, Guid? DocumentGUID, Guid? DocumentWorkflowCycleGUID, string? DocumentSitemapSettings, bool? DocumentIsWaitingForTranslation, string? DocumentSKUName, string? DocumentSKUDescription, string? DocumentSKUShortDescription, string? DocumentWorkflowActionStatus, bool? DocumentMenuRedirectToFirstChild, bool DocumentCanBePublished, bool DocumentInheritsStylesheet): ICmsDocument, ISourceModel +public partial record CmsDocumentK11(int DocumentID, string DocumentName, string? DocumentNamePath, DateTime? DocumentModifiedWhen, int? DocumentModifiedByUserID, int? DocumentForeignKeyValue, int? DocumentCreatedByUserID, DateTime? DocumentCreatedWhen, int? DocumentCheckedOutByUserID, DateTime? DocumentCheckedOutWhen, int? DocumentCheckedOutVersionHistoryID, int? DocumentPublishedVersionHistoryID, int? DocumentWorkflowStepID, DateTime? DocumentPublishFrom, DateTime? DocumentPublishTo, string? DocumentUrlPath, string DocumentCulture, int DocumentNodeID, string? DocumentPageTitle, string? DocumentPageKeyWords, string? DocumentPageDescription, bool DocumentShowInSiteMap, bool DocumentMenuItemHideInNavigation, string? DocumentMenuCaption, string? DocumentMenuStyle, string? DocumentMenuItemImage, string? DocumentMenuItemLeftImage, string? DocumentMenuItemRightImage, int? DocumentPageTemplateID, string? DocumentMenuJavascript, string? DocumentMenuRedirectUrl, bool? DocumentUseNamePathForUrlPath, int? DocumentStylesheetID, string? DocumentContent, string? DocumentMenuClass, string? DocumentMenuStyleHighlighted, string? DocumentMenuClassHighlighted, string? DocumentMenuItemImageHighlighted, string? DocumentMenuItemLeftImageHighlighted, string? DocumentMenuItemRightImageHighlighted, bool? DocumentMenuItemInactive, string? DocumentCustomData, string? DocumentExtensions, string? DocumentTags, int? DocumentTagGroupID, string? DocumentWildcardRule, string? DocumentWebParts, double? DocumentRatingValue, int? DocumentRatings, int? DocumentPriority, string? DocumentType, DateTime? DocumentLastPublished, bool? DocumentUseCustomExtensions, string? DocumentGroupWebParts, bool? DocumentCheckedOutAutomatically, string? DocumentTrackConversionName, string? DocumentConversionValue, bool? DocumentSearchExcluded, string? DocumentLastVersionNumber, bool? DocumentIsArchived, string? DocumentHash, bool? DocumentLogVisitActivity, Guid? DocumentGUID, Guid? DocumentWorkflowCycleGUID, string? DocumentSitemapSettings, bool? DocumentIsWaitingForTranslation, string? DocumentSKUName, string? DocumentSKUDescription, string? DocumentSKUShortDescription, string? DocumentWorkflowActionStatus, bool? DocumentMenuRedirectToFirstChild, bool DocumentCanBePublished, bool DocumentInheritsStylesheet) : ICmsDocument, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "DocumentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "DocumentID"; public static string TableName => "CMS_Document"; public static string GuidColumnName => "DocumentGUID"; static CmsDocumentK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentK11( - reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentNamePath"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentUrlPath"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentShowInSiteMap"), reader.Unbox("DocumentMenuItemHideInNavigation"), reader.Unbox("DocumentMenuCaption"), reader.Unbox("DocumentMenuStyle"), reader.Unbox("DocumentMenuItemImage"), reader.Unbox("DocumentMenuItemLeftImage"), reader.Unbox("DocumentMenuItemRightImage"), reader.Unbox("DocumentPageTemplateID"), reader.Unbox("DocumentMenuJavascript"), reader.Unbox("DocumentMenuRedirectUrl"), reader.Unbox("DocumentUseNamePathForUrlPath"), reader.Unbox("DocumentStylesheetID"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentMenuClass"), reader.Unbox("DocumentMenuStyleHighlighted"), reader.Unbox("DocumentMenuClassHighlighted"), reader.Unbox("DocumentMenuItemImageHighlighted"), reader.Unbox("DocumentMenuItemLeftImageHighlighted"), reader.Unbox("DocumentMenuItemRightImageHighlighted"), reader.Unbox("DocumentMenuItemInactive"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentExtensions"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentWildcardRule"), reader.Unbox("DocumentWebParts"), reader.Unbox("DocumentRatingValue"), reader.Unbox("DocumentRatings"), reader.Unbox("DocumentPriority"), reader.Unbox("DocumentType"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentUseCustomExtensions"), reader.Unbox("DocumentGroupWebParts"), reader.Unbox("DocumentCheckedOutAutomatically"), reader.Unbox("DocumentTrackConversionName"), reader.Unbox("DocumentConversionValue"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentHash"), reader.Unbox("DocumentLogVisitActivity"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentSitemapSettings"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentMenuRedirectToFirstChild"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentInheritsStylesheet") + reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentNamePath"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentUrlPath"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentShowInSiteMap"), reader.Unbox("DocumentMenuItemHideInNavigation"), reader.Unbox("DocumentMenuCaption"), reader.Unbox("DocumentMenuStyle"), reader.Unbox("DocumentMenuItemImage"), reader.Unbox("DocumentMenuItemLeftImage"), reader.Unbox("DocumentMenuItemRightImage"), reader.Unbox("DocumentPageTemplateID"), reader.Unbox("DocumentMenuJavascript"), reader.Unbox("DocumentMenuRedirectUrl"), reader.Unbox("DocumentUseNamePathForUrlPath"), reader.Unbox("DocumentStylesheetID"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentMenuClass"), reader.Unbox("DocumentMenuStyleHighlighted"), reader.Unbox("DocumentMenuClassHighlighted"), reader.Unbox("DocumentMenuItemImageHighlighted"), reader.Unbox("DocumentMenuItemLeftImageHighlighted"), reader.Unbox("DocumentMenuItemRightImageHighlighted"), reader.Unbox("DocumentMenuItemInactive"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentExtensions"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentWildcardRule"), reader.Unbox("DocumentWebParts"), reader.Unbox("DocumentRatingValue"), reader.Unbox("DocumentRatings"), reader.Unbox("DocumentPriority"), reader.Unbox("DocumentType"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentUseCustomExtensions"), reader.Unbox("DocumentGroupWebParts"), reader.Unbox("DocumentCheckedOutAutomatically"), reader.Unbox("DocumentTrackConversionName"), reader.Unbox("DocumentConversionValue"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentHash"), reader.Unbox("DocumentLogVisitActivity"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentSitemapSettings"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentMenuRedirectToFirstChild"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentInheritsStylesheet") ); } public static CmsDocumentK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentK11( - reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentNamePath"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentUrlPath"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentShowInSiteMap"), reader.Unbox("DocumentMenuItemHideInNavigation"), reader.Unbox("DocumentMenuCaption"), reader.Unbox("DocumentMenuStyle"), reader.Unbox("DocumentMenuItemImage"), reader.Unbox("DocumentMenuItemLeftImage"), reader.Unbox("DocumentMenuItemRightImage"), reader.Unbox("DocumentPageTemplateID"), reader.Unbox("DocumentMenuJavascript"), reader.Unbox("DocumentMenuRedirectUrl"), reader.Unbox("DocumentUseNamePathForUrlPath"), reader.Unbox("DocumentStylesheetID"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentMenuClass"), reader.Unbox("DocumentMenuStyleHighlighted"), reader.Unbox("DocumentMenuClassHighlighted"), reader.Unbox("DocumentMenuItemImageHighlighted"), reader.Unbox("DocumentMenuItemLeftImageHighlighted"), reader.Unbox("DocumentMenuItemRightImageHighlighted"), reader.Unbox("DocumentMenuItemInactive"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentExtensions"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentWildcardRule"), reader.Unbox("DocumentWebParts"), reader.Unbox("DocumentRatingValue"), reader.Unbox("DocumentRatings"), reader.Unbox("DocumentPriority"), reader.Unbox("DocumentType"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentUseCustomExtensions"), reader.Unbox("DocumentGroupWebParts"), reader.Unbox("DocumentCheckedOutAutomatically"), reader.Unbox("DocumentTrackConversionName"), reader.Unbox("DocumentConversionValue"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentHash"), reader.Unbox("DocumentLogVisitActivity"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentSitemapSettings"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentMenuRedirectToFirstChild"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentInheritsStylesheet") + reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentNamePath"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentUrlPath"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentShowInSiteMap"), reader.Unbox("DocumentMenuItemHideInNavigation"), reader.Unbox("DocumentMenuCaption"), reader.Unbox("DocumentMenuStyle"), reader.Unbox("DocumentMenuItemImage"), reader.Unbox("DocumentMenuItemLeftImage"), reader.Unbox("DocumentMenuItemRightImage"), reader.Unbox("DocumentPageTemplateID"), reader.Unbox("DocumentMenuJavascript"), reader.Unbox("DocumentMenuRedirectUrl"), reader.Unbox("DocumentUseNamePathForUrlPath"), reader.Unbox("DocumentStylesheetID"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentMenuClass"), reader.Unbox("DocumentMenuStyleHighlighted"), reader.Unbox("DocumentMenuClassHighlighted"), reader.Unbox("DocumentMenuItemImageHighlighted"), reader.Unbox("DocumentMenuItemLeftImageHighlighted"), reader.Unbox("DocumentMenuItemRightImageHighlighted"), reader.Unbox("DocumentMenuItemInactive"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentExtensions"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentWildcardRule"), reader.Unbox("DocumentWebParts"), reader.Unbox("DocumentRatingValue"), reader.Unbox("DocumentRatings"), reader.Unbox("DocumentPriority"), reader.Unbox("DocumentType"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentUseCustomExtensions"), reader.Unbox("DocumentGroupWebParts"), reader.Unbox("DocumentCheckedOutAutomatically"), reader.Unbox("DocumentTrackConversionName"), reader.Unbox("DocumentConversionValue"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentHash"), reader.Unbox("DocumentLogVisitActivity"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentSitemapSettings"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentMenuRedirectToFirstChild"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentInheritsStylesheet") ); } }; -public partial record CmsDocumentK12(int DocumentID, string DocumentName, string? DocumentNamePath, DateTime? DocumentModifiedWhen, int? DocumentModifiedByUserID, int? DocumentForeignKeyValue, int? DocumentCreatedByUserID, DateTime? DocumentCreatedWhen, int? DocumentCheckedOutByUserID, DateTime? DocumentCheckedOutWhen, int? DocumentCheckedOutVersionHistoryID, int? DocumentPublishedVersionHistoryID, int? DocumentWorkflowStepID, DateTime? DocumentPublishFrom, DateTime? DocumentPublishTo, string? DocumentUrlPath, string DocumentCulture, int DocumentNodeID, string? DocumentPageTitle, string? DocumentPageKeyWords, string? DocumentPageDescription, bool DocumentShowInSiteMap, bool DocumentMenuItemHideInNavigation, string? DocumentMenuCaption, string? DocumentMenuStyle, string? DocumentMenuItemImage, string? DocumentMenuItemLeftImage, string? DocumentMenuItemRightImage, int? DocumentPageTemplateID, string? DocumentMenuJavascript, string? DocumentMenuRedirectUrl, bool? DocumentUseNamePathForUrlPath, int? DocumentStylesheetID, string? DocumentContent, string? DocumentMenuClass, string? DocumentMenuStyleHighlighted, string? DocumentMenuClassHighlighted, string? DocumentMenuItemImageHighlighted, string? DocumentMenuItemLeftImageHighlighted, string? DocumentMenuItemRightImageHighlighted, bool? DocumentMenuItemInactive, string? DocumentCustomData, string? DocumentExtensions, string? DocumentTags, int? DocumentTagGroupID, string? DocumentWildcardRule, string? DocumentWebParts, double? DocumentRatingValue, int? DocumentRatings, int? DocumentPriority, string? DocumentType, DateTime? DocumentLastPublished, bool? DocumentUseCustomExtensions, string? DocumentGroupWebParts, bool? DocumentCheckedOutAutomatically, string? DocumentTrackConversionName, string? DocumentConversionValue, bool? DocumentSearchExcluded, string? DocumentLastVersionNumber, bool? DocumentIsArchived, string? DocumentHash, bool? DocumentLogVisitActivity, Guid? DocumentGUID, Guid? DocumentWorkflowCycleGUID, string? DocumentSitemapSettings, bool? DocumentIsWaitingForTranslation, string? DocumentSKUName, string? DocumentSKUDescription, string? DocumentSKUShortDescription, string? DocumentWorkflowActionStatus, bool? DocumentMenuRedirectToFirstChild, bool DocumentCanBePublished, bool DocumentInheritsStylesheet, string? DocumentPageBuilderWidgets, string? DocumentPageTemplateConfiguration, string? DocumentABTestConfiguration): ICmsDocument, ISourceModel +public partial record CmsDocumentK12(int DocumentID, string DocumentName, string? DocumentNamePath, DateTime? DocumentModifiedWhen, int? DocumentModifiedByUserID, int? DocumentForeignKeyValue, int? DocumentCreatedByUserID, DateTime? DocumentCreatedWhen, int? DocumentCheckedOutByUserID, DateTime? DocumentCheckedOutWhen, int? DocumentCheckedOutVersionHistoryID, int? DocumentPublishedVersionHistoryID, int? DocumentWorkflowStepID, DateTime? DocumentPublishFrom, DateTime? DocumentPublishTo, string? DocumentUrlPath, string DocumentCulture, int DocumentNodeID, string? DocumentPageTitle, string? DocumentPageKeyWords, string? DocumentPageDescription, bool DocumentShowInSiteMap, bool DocumentMenuItemHideInNavigation, string? DocumentMenuCaption, string? DocumentMenuStyle, string? DocumentMenuItemImage, string? DocumentMenuItemLeftImage, string? DocumentMenuItemRightImage, int? DocumentPageTemplateID, string? DocumentMenuJavascript, string? DocumentMenuRedirectUrl, bool? DocumentUseNamePathForUrlPath, int? DocumentStylesheetID, string? DocumentContent, string? DocumentMenuClass, string? DocumentMenuStyleHighlighted, string? DocumentMenuClassHighlighted, string? DocumentMenuItemImageHighlighted, string? DocumentMenuItemLeftImageHighlighted, string? DocumentMenuItemRightImageHighlighted, bool? DocumentMenuItemInactive, string? DocumentCustomData, string? DocumentExtensions, string? DocumentTags, int? DocumentTagGroupID, string? DocumentWildcardRule, string? DocumentWebParts, double? DocumentRatingValue, int? DocumentRatings, int? DocumentPriority, string? DocumentType, DateTime? DocumentLastPublished, bool? DocumentUseCustomExtensions, string? DocumentGroupWebParts, bool? DocumentCheckedOutAutomatically, string? DocumentTrackConversionName, string? DocumentConversionValue, bool? DocumentSearchExcluded, string? DocumentLastVersionNumber, bool? DocumentIsArchived, string? DocumentHash, bool? DocumentLogVisitActivity, Guid? DocumentGUID, Guid? DocumentWorkflowCycleGUID, string? DocumentSitemapSettings, bool? DocumentIsWaitingForTranslation, string? DocumentSKUName, string? DocumentSKUDescription, string? DocumentSKUShortDescription, string? DocumentWorkflowActionStatus, bool? DocumentMenuRedirectToFirstChild, bool DocumentCanBePublished, bool DocumentInheritsStylesheet, string? DocumentPageBuilderWidgets, string? DocumentPageTemplateConfiguration, string? DocumentABTestConfiguration) : ICmsDocument, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "DocumentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "DocumentID"; public static string TableName => "CMS_Document"; public static string GuidColumnName => "DocumentGUID"; static CmsDocumentK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentK12( - reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentNamePath"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentUrlPath"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentShowInSiteMap"), reader.Unbox("DocumentMenuItemHideInNavigation"), reader.Unbox("DocumentMenuCaption"), reader.Unbox("DocumentMenuStyle"), reader.Unbox("DocumentMenuItemImage"), reader.Unbox("DocumentMenuItemLeftImage"), reader.Unbox("DocumentMenuItemRightImage"), reader.Unbox("DocumentPageTemplateID"), reader.Unbox("DocumentMenuJavascript"), reader.Unbox("DocumentMenuRedirectUrl"), reader.Unbox("DocumentUseNamePathForUrlPath"), reader.Unbox("DocumentStylesheetID"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentMenuClass"), reader.Unbox("DocumentMenuStyleHighlighted"), reader.Unbox("DocumentMenuClassHighlighted"), reader.Unbox("DocumentMenuItemImageHighlighted"), reader.Unbox("DocumentMenuItemLeftImageHighlighted"), reader.Unbox("DocumentMenuItemRightImageHighlighted"), reader.Unbox("DocumentMenuItemInactive"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentExtensions"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentWildcardRule"), reader.Unbox("DocumentWebParts"), reader.Unbox("DocumentRatingValue"), reader.Unbox("DocumentRatings"), reader.Unbox("DocumentPriority"), reader.Unbox("DocumentType"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentUseCustomExtensions"), reader.Unbox("DocumentGroupWebParts"), reader.Unbox("DocumentCheckedOutAutomatically"), reader.Unbox("DocumentTrackConversionName"), reader.Unbox("DocumentConversionValue"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentHash"), reader.Unbox("DocumentLogVisitActivity"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentSitemapSettings"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentMenuRedirectToFirstChild"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentInheritsStylesheet"), reader.Unbox("DocumentPageBuilderWidgets"), reader.Unbox("DocumentPageTemplateConfiguration"), reader.Unbox("DocumentABTestConfiguration") + reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentNamePath"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentUrlPath"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentShowInSiteMap"), reader.Unbox("DocumentMenuItemHideInNavigation"), reader.Unbox("DocumentMenuCaption"), reader.Unbox("DocumentMenuStyle"), reader.Unbox("DocumentMenuItemImage"), reader.Unbox("DocumentMenuItemLeftImage"), reader.Unbox("DocumentMenuItemRightImage"), reader.Unbox("DocumentPageTemplateID"), reader.Unbox("DocumentMenuJavascript"), reader.Unbox("DocumentMenuRedirectUrl"), reader.Unbox("DocumentUseNamePathForUrlPath"), reader.Unbox("DocumentStylesheetID"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentMenuClass"), reader.Unbox("DocumentMenuStyleHighlighted"), reader.Unbox("DocumentMenuClassHighlighted"), reader.Unbox("DocumentMenuItemImageHighlighted"), reader.Unbox("DocumentMenuItemLeftImageHighlighted"), reader.Unbox("DocumentMenuItemRightImageHighlighted"), reader.Unbox("DocumentMenuItemInactive"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentExtensions"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentWildcardRule"), reader.Unbox("DocumentWebParts"), reader.Unbox("DocumentRatingValue"), reader.Unbox("DocumentRatings"), reader.Unbox("DocumentPriority"), reader.Unbox("DocumentType"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentUseCustomExtensions"), reader.Unbox("DocumentGroupWebParts"), reader.Unbox("DocumentCheckedOutAutomatically"), reader.Unbox("DocumentTrackConversionName"), reader.Unbox("DocumentConversionValue"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentHash"), reader.Unbox("DocumentLogVisitActivity"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentSitemapSettings"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentMenuRedirectToFirstChild"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentInheritsStylesheet"), reader.Unbox("DocumentPageBuilderWidgets"), reader.Unbox("DocumentPageTemplateConfiguration"), reader.Unbox("DocumentABTestConfiguration") ); } public static CmsDocumentK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentK12( - reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentNamePath"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentUrlPath"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentShowInSiteMap"), reader.Unbox("DocumentMenuItemHideInNavigation"), reader.Unbox("DocumentMenuCaption"), reader.Unbox("DocumentMenuStyle"), reader.Unbox("DocumentMenuItemImage"), reader.Unbox("DocumentMenuItemLeftImage"), reader.Unbox("DocumentMenuItemRightImage"), reader.Unbox("DocumentPageTemplateID"), reader.Unbox("DocumentMenuJavascript"), reader.Unbox("DocumentMenuRedirectUrl"), reader.Unbox("DocumentUseNamePathForUrlPath"), reader.Unbox("DocumentStylesheetID"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentMenuClass"), reader.Unbox("DocumentMenuStyleHighlighted"), reader.Unbox("DocumentMenuClassHighlighted"), reader.Unbox("DocumentMenuItemImageHighlighted"), reader.Unbox("DocumentMenuItemLeftImageHighlighted"), reader.Unbox("DocumentMenuItemRightImageHighlighted"), reader.Unbox("DocumentMenuItemInactive"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentExtensions"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentWildcardRule"), reader.Unbox("DocumentWebParts"), reader.Unbox("DocumentRatingValue"), reader.Unbox("DocumentRatings"), reader.Unbox("DocumentPriority"), reader.Unbox("DocumentType"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentUseCustomExtensions"), reader.Unbox("DocumentGroupWebParts"), reader.Unbox("DocumentCheckedOutAutomatically"), reader.Unbox("DocumentTrackConversionName"), reader.Unbox("DocumentConversionValue"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentHash"), reader.Unbox("DocumentLogVisitActivity"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentSitemapSettings"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentMenuRedirectToFirstChild"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentInheritsStylesheet"), reader.Unbox("DocumentPageBuilderWidgets"), reader.Unbox("DocumentPageTemplateConfiguration"), reader.Unbox("DocumentABTestConfiguration") + reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentNamePath"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentUrlPath"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentShowInSiteMap"), reader.Unbox("DocumentMenuItemHideInNavigation"), reader.Unbox("DocumentMenuCaption"), reader.Unbox("DocumentMenuStyle"), reader.Unbox("DocumentMenuItemImage"), reader.Unbox("DocumentMenuItemLeftImage"), reader.Unbox("DocumentMenuItemRightImage"), reader.Unbox("DocumentPageTemplateID"), reader.Unbox("DocumentMenuJavascript"), reader.Unbox("DocumentMenuRedirectUrl"), reader.Unbox("DocumentUseNamePathForUrlPath"), reader.Unbox("DocumentStylesheetID"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentMenuClass"), reader.Unbox("DocumentMenuStyleHighlighted"), reader.Unbox("DocumentMenuClassHighlighted"), reader.Unbox("DocumentMenuItemImageHighlighted"), reader.Unbox("DocumentMenuItemLeftImageHighlighted"), reader.Unbox("DocumentMenuItemRightImageHighlighted"), reader.Unbox("DocumentMenuItemInactive"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentExtensions"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentWildcardRule"), reader.Unbox("DocumentWebParts"), reader.Unbox("DocumentRatingValue"), reader.Unbox("DocumentRatings"), reader.Unbox("DocumentPriority"), reader.Unbox("DocumentType"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentUseCustomExtensions"), reader.Unbox("DocumentGroupWebParts"), reader.Unbox("DocumentCheckedOutAutomatically"), reader.Unbox("DocumentTrackConversionName"), reader.Unbox("DocumentConversionValue"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentHash"), reader.Unbox("DocumentLogVisitActivity"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentSitemapSettings"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentMenuRedirectToFirstChild"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentInheritsStylesheet"), reader.Unbox("DocumentPageBuilderWidgets"), reader.Unbox("DocumentPageTemplateConfiguration"), reader.Unbox("DocumentABTestConfiguration") ); } }; -public partial record CmsDocumentK13(int DocumentID, string DocumentName, DateTime? DocumentModifiedWhen, int? DocumentModifiedByUserID, int? DocumentForeignKeyValue, int? DocumentCreatedByUserID, DateTime? DocumentCreatedWhen, int? DocumentCheckedOutByUserID, DateTime? DocumentCheckedOutWhen, int? DocumentCheckedOutVersionHistoryID, int? DocumentPublishedVersionHistoryID, int? DocumentWorkflowStepID, DateTime? DocumentPublishFrom, DateTime? DocumentPublishTo, string DocumentCulture, int DocumentNodeID, string? DocumentPageTitle, string? DocumentPageKeyWords, string? DocumentPageDescription, string? DocumentContent, string? DocumentCustomData, string? DocumentTags, int? DocumentTagGroupID, DateTime? DocumentLastPublished, bool? DocumentSearchExcluded, string? DocumentLastVersionNumber, bool? DocumentIsArchived, Guid? DocumentGUID, Guid? DocumentWorkflowCycleGUID, bool? DocumentIsWaitingForTranslation, string? DocumentSKUName, string? DocumentSKUDescription, string? DocumentSKUShortDescription, string? DocumentWorkflowActionStatus, bool DocumentCanBePublished, string? DocumentPageBuilderWidgets, string? DocumentPageTemplateConfiguration, string? DocumentABTestConfiguration, bool DocumentShowInMenu): ICmsDocument, ISourceModel +public partial record CmsDocumentK13(int DocumentID, string DocumentName, DateTime? DocumentModifiedWhen, int? DocumentModifiedByUserID, int? DocumentForeignKeyValue, int? DocumentCreatedByUserID, DateTime? DocumentCreatedWhen, int? DocumentCheckedOutByUserID, DateTime? DocumentCheckedOutWhen, int? DocumentCheckedOutVersionHistoryID, int? DocumentPublishedVersionHistoryID, int? DocumentWorkflowStepID, DateTime? DocumentPublishFrom, DateTime? DocumentPublishTo, string DocumentCulture, int DocumentNodeID, string? DocumentPageTitle, string? DocumentPageKeyWords, string? DocumentPageDescription, string? DocumentContent, string? DocumentCustomData, string? DocumentTags, int? DocumentTagGroupID, DateTime? DocumentLastPublished, bool? DocumentSearchExcluded, string? DocumentLastVersionNumber, bool? DocumentIsArchived, Guid? DocumentGUID, Guid? DocumentWorkflowCycleGUID, bool? DocumentIsWaitingForTranslation, string? DocumentSKUName, string? DocumentSKUDescription, string? DocumentSKUShortDescription, string? DocumentWorkflowActionStatus, bool DocumentCanBePublished, string? DocumentPageBuilderWidgets, string? DocumentPageTemplateConfiguration, string? DocumentABTestConfiguration, bool DocumentShowInMenu) : ICmsDocument, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "DocumentID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "DocumentID"; public static string TableName => "CMS_Document"; public static string GuidColumnName => "DocumentGUID"; static CmsDocumentK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentK13( - reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentPageBuilderWidgets"), reader.Unbox("DocumentPageTemplateConfiguration"), reader.Unbox("DocumentABTestConfiguration"), reader.Unbox("DocumentShowInMenu") + reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentPageBuilderWidgets"), reader.Unbox("DocumentPageTemplateConfiguration"), reader.Unbox("DocumentABTestConfiguration"), reader.Unbox("DocumentShowInMenu") ); } public static CmsDocumentK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentK13( - reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentPageBuilderWidgets"), reader.Unbox("DocumentPageTemplateConfiguration"), reader.Unbox("DocumentABTestConfiguration"), reader.Unbox("DocumentShowInMenu") + reader.Unbox("DocumentID"), reader.Unbox("DocumentName"), reader.Unbox("DocumentModifiedWhen"), reader.Unbox("DocumentModifiedByUserID"), reader.Unbox("DocumentForeignKeyValue"), reader.Unbox("DocumentCreatedByUserID"), reader.Unbox("DocumentCreatedWhen"), reader.Unbox("DocumentCheckedOutByUserID"), reader.Unbox("DocumentCheckedOutWhen"), reader.Unbox("DocumentCheckedOutVersionHistoryID"), reader.Unbox("DocumentPublishedVersionHistoryID"), reader.Unbox("DocumentWorkflowStepID"), reader.Unbox("DocumentPublishFrom"), reader.Unbox("DocumentPublishTo"), reader.Unbox("DocumentCulture"), reader.Unbox("DocumentNodeID"), reader.Unbox("DocumentPageTitle"), reader.Unbox("DocumentPageKeyWords"), reader.Unbox("DocumentPageDescription"), reader.Unbox("DocumentContent"), reader.Unbox("DocumentCustomData"), reader.Unbox("DocumentTags"), reader.Unbox("DocumentTagGroupID"), reader.Unbox("DocumentLastPublished"), reader.Unbox("DocumentSearchExcluded"), reader.Unbox("DocumentLastVersionNumber"), reader.Unbox("DocumentIsArchived"), reader.Unbox("DocumentGUID"), reader.Unbox("DocumentWorkflowCycleGUID"), reader.Unbox("DocumentIsWaitingForTranslation"), reader.Unbox("DocumentSKUName"), reader.Unbox("DocumentSKUDescription"), reader.Unbox("DocumentSKUShortDescription"), reader.Unbox("DocumentWorkflowActionStatus"), reader.Unbox("DocumentCanBePublished"), reader.Unbox("DocumentPageBuilderWidgets"), reader.Unbox("DocumentPageTemplateConfiguration"), reader.Unbox("DocumentABTestConfiguration"), reader.Unbox("DocumentShowInMenu") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsDocumentCategory.cs b/KVA/Migration.Toolkit.Source/Model/CmsDocumentCategory.cs index 44edb960..968d1873 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsDocumentCategory.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsDocumentCategory.cs @@ -4,10 +4,10 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsDocumentCategory: ISourceModel +public interface ICmsDocumentCategory : ISourceModel { int DocumentID { get; } - int CategoryID { get; } + int CategoryID { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -42,61 +42,60 @@ static ICmsDocumentCategory ISourceModel.FromReader(IDataR }; } } -public partial record CmsDocumentCategoryK11(int DocumentID, int CategoryID): ICmsDocumentCategory, ISourceModel +public partial record CmsDocumentCategoryK11(int DocumentID, int CategoryID) : ICmsDocumentCategory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; public static string TableName => "CMS_DocumentCategory"; public static string GuidColumnName => ""; static CmsDocumentCategoryK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentCategoryK11( - reader.Unbox("DocumentID"), reader.Unbox("CategoryID") + reader.Unbox("DocumentID"), reader.Unbox("CategoryID") ); } public static CmsDocumentCategoryK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentCategoryK11( - reader.Unbox("DocumentID"), reader.Unbox("CategoryID") + reader.Unbox("DocumentID"), reader.Unbox("CategoryID") ); } }; -public partial record CmsDocumentCategoryK12(int DocumentID, int CategoryID): ICmsDocumentCategory, ISourceModel +public partial record CmsDocumentCategoryK12(int DocumentID, int CategoryID) : ICmsDocumentCategory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; public static string TableName => "CMS_DocumentCategory"; public static string GuidColumnName => ""; static CmsDocumentCategoryK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentCategoryK12( - reader.Unbox("DocumentID"), reader.Unbox("CategoryID") + reader.Unbox("DocumentID"), reader.Unbox("CategoryID") ); } public static CmsDocumentCategoryK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentCategoryK12( - reader.Unbox("DocumentID"), reader.Unbox("CategoryID") + reader.Unbox("DocumentID"), reader.Unbox("CategoryID") ); } }; -public partial record CmsDocumentCategoryK13(int DocumentID, int CategoryID): ICmsDocumentCategory, ISourceModel +public partial record CmsDocumentCategoryK13(int DocumentID, int CategoryID) : ICmsDocumentCategory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CategoryID"; public static string TableName => "CMS_DocumentCategory"; public static string GuidColumnName => ""; static CmsDocumentCategoryK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentCategoryK13( - reader.Unbox("DocumentID"), reader.Unbox("CategoryID") + reader.Unbox("DocumentID"), reader.Unbox("CategoryID") ); } public static CmsDocumentCategoryK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsDocumentCategoryK13( - reader.Unbox("DocumentID"), reader.Unbox("CategoryID") + reader.Unbox("DocumentID"), reader.Unbox("CategoryID") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsForm.cs b/KVA/Migration.Toolkit.Source/Model/CmsForm.cs index a065fece..425fdd9f 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsForm.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsForm.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsForm: ISourceModel +public interface ICmsForm : ISourceModel { int FormID { get; } string FormDisplayName { get; } @@ -29,7 +29,7 @@ public interface ICmsForm: ISourceModel int? FormAccess { get; } string? FormSubmitButtonImage { get; } Guid FormGUID { get; } - DateTime FormLastModified { get; } + DateTime FormLastModified { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -64,61 +64,60 @@ static ICmsForm ISourceModel.FromReader(IDataReader reader, SemanticVe }; } } -public partial record CmsFormK11(int FormID, string FormDisplayName, string FormName, string? FormSendToEmail, string? FormSendFromEmail, string? FormEmailSubject, string? FormEmailTemplate, bool? FormEmailAttachUploadedDocs, int FormClassID, int FormItems, string? FormReportFields, string? FormRedirectToUrl, string? FormDisplayText, bool FormClearAfterSave, string? FormSubmitButtonText, int FormSiteID, string? FormConfirmationEmailField, string? FormConfirmationTemplate, string? FormConfirmationSendFromEmail, string? FormConfirmationEmailSubject, int? FormAccess, string? FormSubmitButtonImage, Guid FormGUID, DateTime FormLastModified, bool? FormLogActivity): ICmsForm, ISourceModel +public partial record CmsFormK11(int FormID, string FormDisplayName, string FormName, string? FormSendToEmail, string? FormSendFromEmail, string? FormEmailSubject, string? FormEmailTemplate, bool? FormEmailAttachUploadedDocs, int FormClassID, int FormItems, string? FormReportFields, string? FormRedirectToUrl, string? FormDisplayText, bool FormClearAfterSave, string? FormSubmitButtonText, int FormSiteID, string? FormConfirmationEmailField, string? FormConfirmationTemplate, string? FormConfirmationSendFromEmail, string? FormConfirmationEmailSubject, int? FormAccess, string? FormSubmitButtonImage, Guid FormGUID, DateTime FormLastModified, bool? FormLogActivity) : ICmsForm, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; public static string TableName => "CMS_Form"; public static string GuidColumnName => "FormGUID"; static CmsFormK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormK11( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity") ); } public static CmsFormK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormK11( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity") ); } }; -public partial record CmsFormK12(int FormID, string FormDisplayName, string FormName, string? FormSendToEmail, string? FormSendFromEmail, string? FormEmailSubject, string? FormEmailTemplate, bool? FormEmailAttachUploadedDocs, int FormClassID, int FormItems, string? FormReportFields, string? FormRedirectToUrl, string? FormDisplayText, bool FormClearAfterSave, string? FormSubmitButtonText, int FormSiteID, string? FormConfirmationEmailField, string? FormConfirmationTemplate, string? FormConfirmationSendFromEmail, string? FormConfirmationEmailSubject, int? FormAccess, string? FormSubmitButtonImage, Guid FormGUID, DateTime FormLastModified, bool? FormLogActivity, int FormDevelopmentModel, string? FormBuilderLayout): ICmsForm, ISourceModel +public partial record CmsFormK12(int FormID, string FormDisplayName, string FormName, string? FormSendToEmail, string? FormSendFromEmail, string? FormEmailSubject, string? FormEmailTemplate, bool? FormEmailAttachUploadedDocs, int FormClassID, int FormItems, string? FormReportFields, string? FormRedirectToUrl, string? FormDisplayText, bool FormClearAfterSave, string? FormSubmitButtonText, int FormSiteID, string? FormConfirmationEmailField, string? FormConfirmationTemplate, string? FormConfirmationSendFromEmail, string? FormConfirmationEmailSubject, int? FormAccess, string? FormSubmitButtonImage, Guid FormGUID, DateTime FormLastModified, bool? FormLogActivity, int FormDevelopmentModel, string? FormBuilderLayout) : ICmsForm, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; public static string TableName => "CMS_Form"; public static string GuidColumnName => "FormGUID"; static CmsFormK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormK12( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity"), reader.Unbox("FormDevelopmentModel"), reader.Unbox("FormBuilderLayout") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity"), reader.Unbox("FormDevelopmentModel"), reader.Unbox("FormBuilderLayout") ); } public static CmsFormK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormK12( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity"), reader.Unbox("FormDevelopmentModel"), reader.Unbox("FormBuilderLayout") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity"), reader.Unbox("FormDevelopmentModel"), reader.Unbox("FormBuilderLayout") ); } }; -public partial record CmsFormK13(int FormID, string FormDisplayName, string FormName, string? FormSendToEmail, string? FormSendFromEmail, string? FormEmailSubject, string? FormEmailTemplate, bool? FormEmailAttachUploadedDocs, int FormClassID, int FormItems, string? FormReportFields, string? FormRedirectToUrl, string? FormDisplayText, bool FormClearAfterSave, string? FormSubmitButtonText, int FormSiteID, string? FormConfirmationEmailField, string? FormConfirmationTemplate, string? FormConfirmationSendFromEmail, string? FormConfirmationEmailSubject, int? FormAccess, string? FormSubmitButtonImage, Guid FormGUID, DateTime FormLastModified, bool FormLogActivity, string? FormBuilderLayout): ICmsForm, ISourceModel +public partial record CmsFormK13(int FormID, string FormDisplayName, string FormName, string? FormSendToEmail, string? FormSendFromEmail, string? FormEmailSubject, string? FormEmailTemplate, bool? FormEmailAttachUploadedDocs, int FormClassID, int FormItems, string? FormReportFields, string? FormRedirectToUrl, string? FormDisplayText, bool FormClearAfterSave, string? FormSubmitButtonText, int FormSiteID, string? FormConfirmationEmailField, string? FormConfirmationTemplate, string? FormConfirmationSendFromEmail, string? FormConfirmationEmailSubject, int? FormAccess, string? FormSubmitButtonImage, Guid FormGUID, DateTime FormLastModified, bool FormLogActivity, string? FormBuilderLayout) : ICmsForm, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FormID"; public static string TableName => "CMS_Form"; public static string GuidColumnName => "FormGUID"; static CmsFormK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormK13( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity"), reader.Unbox("FormBuilderLayout") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity"), reader.Unbox("FormBuilderLayout") ); } public static CmsFormK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormK13( - reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity"), reader.Unbox("FormBuilderLayout") + reader.Unbox("FormID"), reader.Unbox("FormDisplayName"), reader.Unbox("FormName"), reader.Unbox("FormSendToEmail"), reader.Unbox("FormSendFromEmail"), reader.Unbox("FormEmailSubject"), reader.Unbox("FormEmailTemplate"), reader.Unbox("FormEmailAttachUploadedDocs"), reader.Unbox("FormClassID"), reader.Unbox("FormItems"), reader.Unbox("FormReportFields"), reader.Unbox("FormRedirectToUrl"), reader.Unbox("FormDisplayText"), reader.Unbox("FormClearAfterSave"), reader.Unbox("FormSubmitButtonText"), reader.Unbox("FormSiteID"), reader.Unbox("FormConfirmationEmailField"), reader.Unbox("FormConfirmationTemplate"), reader.Unbox("FormConfirmationSendFromEmail"), reader.Unbox("FormConfirmationEmailSubject"), reader.Unbox("FormAccess"), reader.Unbox("FormSubmitButtonImage"), reader.Unbox("FormGUID"), reader.Unbox("FormLastModified"), reader.Unbox("FormLogActivity"), reader.Unbox("FormBuilderLayout") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsFormUserControl.cs b/KVA/Migration.Toolkit.Source/Model/CmsFormUserControl.cs index 3ef8c892..4428187e 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsFormUserControl.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsFormUserControl.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsFormUserControl: ISourceModel +public interface ICmsFormUserControl : ISourceModel { int UserControlID { get; } string UserControlDisplayName { get; } @@ -35,7 +35,7 @@ public interface ICmsFormUserControl: ISourceModel bool UserControlForBinary { get; } bool UserControlForDocRelationships { get; } string? UserControlAssemblyName { get; } - string? UserControlClassName { get; } + string? UserControlClassName { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -70,61 +70,60 @@ static ICmsFormUserControl ISourceModel.FromReader(IDataRea }; } } -public partial record CmsFormUserControlK11(int UserControlID, string UserControlDisplayName, string UserControlCodeName, string UserControlFileName, bool UserControlForText, bool UserControlForLongText, bool UserControlForInteger, bool UserControlForDecimal, bool UserControlForDateTime, bool UserControlForBoolean, bool UserControlForFile, bool UserControlShowInBizForms, string UserControlDefaultDataType, int? UserControlDefaultDataTypeSize, bool? UserControlShowInDocumentTypes, bool? UserControlShowInSystemTables, bool? UserControlShowInWebParts, bool? UserControlShowInReports, Guid UserControlGUID, DateTime UserControlLastModified, bool UserControlForGuid, bool? UserControlShowInCustomTables, bool UserControlForVisibility, string? UserControlParameters, bool UserControlForDocAttachments, int? UserControlResourceID, int? UserControlType, int? UserControlParentID, string? UserControlDescription, Guid? UserControlThumbnailGUID, int? UserControlPriority, bool? UserControlIsSystem, bool UserControlForBinary, bool UserControlForDocRelationships, string? UserControlAssemblyName, string? UserControlClassName): ICmsFormUserControl, ISourceModel +public partial record CmsFormUserControlK11(int UserControlID, string UserControlDisplayName, string UserControlCodeName, string UserControlFileName, bool UserControlForText, bool UserControlForLongText, bool UserControlForInteger, bool UserControlForDecimal, bool UserControlForDateTime, bool UserControlForBoolean, bool UserControlForFile, bool UserControlShowInBizForms, string UserControlDefaultDataType, int? UserControlDefaultDataTypeSize, bool? UserControlShowInDocumentTypes, bool? UserControlShowInSystemTables, bool? UserControlShowInWebParts, bool? UserControlShowInReports, Guid UserControlGUID, DateTime UserControlLastModified, bool UserControlForGuid, bool? UserControlShowInCustomTables, bool UserControlForVisibility, string? UserControlParameters, bool UserControlForDocAttachments, int? UserControlResourceID, int? UserControlType, int? UserControlParentID, string? UserControlDescription, Guid? UserControlThumbnailGUID, int? UserControlPriority, bool? UserControlIsSystem, bool UserControlForBinary, bool UserControlForDocRelationships, string? UserControlAssemblyName, string? UserControlClassName) : ICmsFormUserControl, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "UserControlID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "UserControlID"; public static string TableName => "CMS_FormUserControl"; public static string GuidColumnName => "UserControlGUID"; static CmsFormUserControlK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormUserControlK11( - reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInBizForms"), reader.Unbox("UserControlDefaultDataType"), reader.Unbox("UserControlDefaultDataTypeSize"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlForVisibility"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlType"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlThumbnailGUID"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") + reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInBizForms"), reader.Unbox("UserControlDefaultDataType"), reader.Unbox("UserControlDefaultDataTypeSize"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlForVisibility"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlType"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlThumbnailGUID"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") ); } public static CmsFormUserControlK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormUserControlK11( - reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInBizForms"), reader.Unbox("UserControlDefaultDataType"), reader.Unbox("UserControlDefaultDataTypeSize"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlForVisibility"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlType"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlThumbnailGUID"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") + reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInBizForms"), reader.Unbox("UserControlDefaultDataType"), reader.Unbox("UserControlDefaultDataTypeSize"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlForVisibility"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlType"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlThumbnailGUID"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") ); } }; -public partial record CmsFormUserControlK12(int UserControlID, string UserControlDisplayName, string UserControlCodeName, string UserControlFileName, bool UserControlForText, bool UserControlForLongText, bool UserControlForInteger, bool UserControlForDecimal, bool UserControlForDateTime, bool UserControlForBoolean, bool UserControlForFile, bool UserControlShowInBizForms, string UserControlDefaultDataType, int? UserControlDefaultDataTypeSize, bool? UserControlShowInDocumentTypes, bool? UserControlShowInSystemTables, bool? UserControlShowInWebParts, bool? UserControlShowInReports, Guid UserControlGUID, DateTime UserControlLastModified, bool UserControlForGuid, bool? UserControlShowInCustomTables, bool UserControlForVisibility, string? UserControlParameters, bool UserControlForDocAttachments, int? UserControlResourceID, int? UserControlType, int? UserControlParentID, string? UserControlDescription, Guid? UserControlThumbnailGUID, int? UserControlPriority, bool? UserControlIsSystem, bool UserControlForBinary, bool UserControlForDocRelationships, string? UserControlAssemblyName, string? UserControlClassName): ICmsFormUserControl, ISourceModel +public partial record CmsFormUserControlK12(int UserControlID, string UserControlDisplayName, string UserControlCodeName, string UserControlFileName, bool UserControlForText, bool UserControlForLongText, bool UserControlForInteger, bool UserControlForDecimal, bool UserControlForDateTime, bool UserControlForBoolean, bool UserControlForFile, bool UserControlShowInBizForms, string UserControlDefaultDataType, int? UserControlDefaultDataTypeSize, bool? UserControlShowInDocumentTypes, bool? UserControlShowInSystemTables, bool? UserControlShowInWebParts, bool? UserControlShowInReports, Guid UserControlGUID, DateTime UserControlLastModified, bool UserControlForGuid, bool? UserControlShowInCustomTables, bool UserControlForVisibility, string? UserControlParameters, bool UserControlForDocAttachments, int? UserControlResourceID, int? UserControlType, int? UserControlParentID, string? UserControlDescription, Guid? UserControlThumbnailGUID, int? UserControlPriority, bool? UserControlIsSystem, bool UserControlForBinary, bool UserControlForDocRelationships, string? UserControlAssemblyName, string? UserControlClassName) : ICmsFormUserControl, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "UserControlID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "UserControlID"; public static string TableName => "CMS_FormUserControl"; public static string GuidColumnName => "UserControlGUID"; static CmsFormUserControlK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormUserControlK12( - reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInBizForms"), reader.Unbox("UserControlDefaultDataType"), reader.Unbox("UserControlDefaultDataTypeSize"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlForVisibility"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlType"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlThumbnailGUID"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") + reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInBizForms"), reader.Unbox("UserControlDefaultDataType"), reader.Unbox("UserControlDefaultDataTypeSize"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlForVisibility"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlType"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlThumbnailGUID"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") ); } public static CmsFormUserControlK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormUserControlK12( - reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInBizForms"), reader.Unbox("UserControlDefaultDataType"), reader.Unbox("UserControlDefaultDataTypeSize"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlForVisibility"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlType"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlThumbnailGUID"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") + reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInBizForms"), reader.Unbox("UserControlDefaultDataType"), reader.Unbox("UserControlDefaultDataTypeSize"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlForVisibility"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlType"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlThumbnailGUID"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") ); } }; -public partial record CmsFormUserControlK13(int UserControlID, string UserControlDisplayName, string UserControlCodeName, string UserControlFileName, bool UserControlForText, bool UserControlForLongText, bool UserControlForInteger, bool UserControlForDecimal, bool UserControlForDateTime, bool UserControlForBoolean, bool UserControlForFile, bool? UserControlShowInDocumentTypes, bool? UserControlShowInSystemTables, bool? UserControlShowInWebParts, bool? UserControlShowInReports, Guid UserControlGUID, DateTime UserControlLastModified, bool UserControlForGuid, bool? UserControlShowInCustomTables, string? UserControlParameters, bool UserControlForDocAttachments, int? UserControlResourceID, int? UserControlParentID, string? UserControlDescription, int? UserControlPriority, bool? UserControlIsSystem, bool UserControlForBinary, bool UserControlForDocRelationships, string? UserControlAssemblyName, string? UserControlClassName): ICmsFormUserControl, ISourceModel +public partial record CmsFormUserControlK13(int UserControlID, string UserControlDisplayName, string UserControlCodeName, string UserControlFileName, bool UserControlForText, bool UserControlForLongText, bool UserControlForInteger, bool UserControlForDecimal, bool UserControlForDateTime, bool UserControlForBoolean, bool UserControlForFile, bool? UserControlShowInDocumentTypes, bool? UserControlShowInSystemTables, bool? UserControlShowInWebParts, bool? UserControlShowInReports, Guid UserControlGUID, DateTime UserControlLastModified, bool UserControlForGuid, bool? UserControlShowInCustomTables, string? UserControlParameters, bool UserControlForDocAttachments, int? UserControlResourceID, int? UserControlParentID, string? UserControlDescription, int? UserControlPriority, bool? UserControlIsSystem, bool UserControlForBinary, bool UserControlForDocRelationships, string? UserControlAssemblyName, string? UserControlClassName) : ICmsFormUserControl, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "UserControlID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "UserControlID"; public static string TableName => "CMS_FormUserControl"; public static string GuidColumnName => "UserControlGUID"; static CmsFormUserControlK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormUserControlK13( - reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") + reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") ); } public static CmsFormUserControlK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsFormUserControlK13( - reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") + reader.Unbox("UserControlID"), reader.Unbox("UserControlDisplayName"), reader.Unbox("UserControlCodeName"), reader.Unbox("UserControlFileName"), reader.Unbox("UserControlForText"), reader.Unbox("UserControlForLongText"), reader.Unbox("UserControlForInteger"), reader.Unbox("UserControlForDecimal"), reader.Unbox("UserControlForDateTime"), reader.Unbox("UserControlForBoolean"), reader.Unbox("UserControlForFile"), reader.Unbox("UserControlShowInDocumentTypes"), reader.Unbox("UserControlShowInSystemTables"), reader.Unbox("UserControlShowInWebParts"), reader.Unbox("UserControlShowInReports"), reader.Unbox("UserControlGUID"), reader.Unbox("UserControlLastModified"), reader.Unbox("UserControlForGuid"), reader.Unbox("UserControlShowInCustomTables"), reader.Unbox("UserControlParameters"), reader.Unbox("UserControlForDocAttachments"), reader.Unbox("UserControlResourceID"), reader.Unbox("UserControlParentID"), reader.Unbox("UserControlDescription"), reader.Unbox("UserControlPriority"), reader.Unbox("UserControlIsSystem"), reader.Unbox("UserControlForBinary"), reader.Unbox("UserControlForDocRelationships"), reader.Unbox("UserControlAssemblyName"), reader.Unbox("UserControlClassName") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsPageFormerUrlPath.cs b/KVA/Migration.Toolkit.Source/Model/CmsPageFormerUrlPath.cs index 3f432653..7617a377 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsPageFormerUrlPath.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsPageFormerUrlPath.cs @@ -4,9 +4,9 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsPageFormerUrlPath: ISourceModel +public interface ICmsPageFormerUrlPath : ISourceModel { - + static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -41,61 +41,60 @@ static ICmsPageFormerUrlPath ISourceModel.FromReader(IDat }; } } -public partial record CmsPageFormerUrlPathK11(): ICmsPageFormerUrlPath, ISourceModel +public partial record CmsPageFormerUrlPathK11() : ICmsPageFormerUrlPath, ISourceModel { public static bool IsAvailable(SemanticVersion version) => false; - public static string GetPrimaryKeyName(SemanticVersion version) => ""; + public static string GetPrimaryKeyName(SemanticVersion version) => ""; public static string TableName => "CMS_PageFormerUrlPath"; public static string GuidColumnName => ""; static CmsPageFormerUrlPathK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageFormerUrlPathK11( - + ); } public static CmsPageFormerUrlPathK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageFormerUrlPathK11( - + ); } }; -public partial record CmsPageFormerUrlPathK12(): ICmsPageFormerUrlPath, ISourceModel +public partial record CmsPageFormerUrlPathK12() : ICmsPageFormerUrlPath, ISourceModel { public static bool IsAvailable(SemanticVersion version) => false; - public static string GetPrimaryKeyName(SemanticVersion version) => ""; + public static string GetPrimaryKeyName(SemanticVersion version) => ""; public static string TableName => "CMS_PageFormerUrlPath"; public static string GuidColumnName => ""; static CmsPageFormerUrlPathK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageFormerUrlPathK12( - + ); } public static CmsPageFormerUrlPathK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageFormerUrlPathK12( - + ); } }; -public partial record CmsPageFormerUrlPathK13(int PageFormerUrlPathID, string PageFormerUrlPathUrlPath, string PageFormerUrlPathUrlPathHash, string PageFormerUrlPathCulture, int PageFormerUrlPathNodeID, int PageFormerUrlPathSiteID, DateTime PageFormerUrlPathLastModified): ICmsPageFormerUrlPath, ISourceModel +public partial record CmsPageFormerUrlPathK13(int PageFormerUrlPathID, string PageFormerUrlPathUrlPath, string PageFormerUrlPathUrlPathHash, string PageFormerUrlPathCulture, int PageFormerUrlPathNodeID, int PageFormerUrlPathSiteID, DateTime PageFormerUrlPathLastModified) : ICmsPageFormerUrlPath, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "PageFormerUrlPathID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "PageFormerUrlPathID"; public static string TableName => "CMS_PageFormerUrlPath"; public static string GuidColumnName => ""; static CmsPageFormerUrlPathK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageFormerUrlPathK13( - reader.Unbox("PageFormerUrlPathID"), reader.Unbox("PageFormerUrlPathUrlPath"), reader.Unbox("PageFormerUrlPathUrlPathHash"), reader.Unbox("PageFormerUrlPathCulture"), reader.Unbox("PageFormerUrlPathNodeID"), reader.Unbox("PageFormerUrlPathSiteID"), reader.Unbox("PageFormerUrlPathLastModified") + reader.Unbox("PageFormerUrlPathID"), reader.Unbox("PageFormerUrlPathUrlPath"), reader.Unbox("PageFormerUrlPathUrlPathHash"), reader.Unbox("PageFormerUrlPathCulture"), reader.Unbox("PageFormerUrlPathNodeID"), reader.Unbox("PageFormerUrlPathSiteID"), reader.Unbox("PageFormerUrlPathLastModified") ); } public static CmsPageFormerUrlPathK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageFormerUrlPathK13( - reader.Unbox("PageFormerUrlPathID"), reader.Unbox("PageFormerUrlPathUrlPath"), reader.Unbox("PageFormerUrlPathUrlPathHash"), reader.Unbox("PageFormerUrlPathCulture"), reader.Unbox("PageFormerUrlPathNodeID"), reader.Unbox("PageFormerUrlPathSiteID"), reader.Unbox("PageFormerUrlPathLastModified") + reader.Unbox("PageFormerUrlPathID"), reader.Unbox("PageFormerUrlPathUrlPath"), reader.Unbox("PageFormerUrlPathUrlPathHash"), reader.Unbox("PageFormerUrlPathCulture"), reader.Unbox("PageFormerUrlPathNodeID"), reader.Unbox("PageFormerUrlPathSiteID"), reader.Unbox("PageFormerUrlPathLastModified") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsPageTemplateConfiguration.cs b/KVA/Migration.Toolkit.Source/Model/CmsPageTemplateConfiguration.cs index 4e9a7427..cd365875 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsPageTemplateConfiguration.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsPageTemplateConfiguration.cs @@ -4,9 +4,9 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsPageTemplateConfiguration: ISourceModel +public interface ICmsPageTemplateConfiguration : ISourceModel { - + static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -41,61 +41,60 @@ static ICmsPageTemplateConfiguration ISourceModel }; } } -public partial record CmsPageTemplateConfigurationK11(): ICmsPageTemplateConfiguration, ISourceModel +public partial record CmsPageTemplateConfigurationK11() : ICmsPageTemplateConfiguration, ISourceModel { public static bool IsAvailable(SemanticVersion version) => false; - public static string GetPrimaryKeyName(SemanticVersion version) => ""; + public static string GetPrimaryKeyName(SemanticVersion version) => ""; public static string TableName => "CMS_PageTemplateConfiguration"; public static string GuidColumnName => ""; static CmsPageTemplateConfigurationK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageTemplateConfigurationK11( - + ); } public static CmsPageTemplateConfigurationK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageTemplateConfigurationK11( - + ); } }; -public partial record CmsPageTemplateConfigurationK12(int PageTemplateConfigurationID, Guid PageTemplateConfigurationGUID, int PageTemplateConfigurationSiteID, DateTime PageTemplateConfigurationLastModified, string PageTemplateConfigurationName, string? PageTemplateConfigurationDescription, Guid? PageTemplateConfigurationThumbnailGUID, string PageTemplateConfigurationTemplate, string? PageTemplateConfigurationWidgets): ICmsPageTemplateConfiguration, ISourceModel +public partial record CmsPageTemplateConfigurationK12(int PageTemplateConfigurationID, Guid PageTemplateConfigurationGUID, int PageTemplateConfigurationSiteID, DateTime PageTemplateConfigurationLastModified, string PageTemplateConfigurationName, string? PageTemplateConfigurationDescription, Guid? PageTemplateConfigurationThumbnailGUID, string PageTemplateConfigurationTemplate, string? PageTemplateConfigurationWidgets) : ICmsPageTemplateConfiguration, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "PageTemplateConfigurationID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "PageTemplateConfigurationID"; public static string TableName => "CMS_PageTemplateConfiguration"; public static string GuidColumnName => "PageTemplateConfigurationGUID"; static CmsPageTemplateConfigurationK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageTemplateConfigurationK12( - reader.Unbox("PageTemplateConfigurationID"), reader.Unbox("PageTemplateConfigurationGUID"), reader.Unbox("PageTemplateConfigurationSiteID"), reader.Unbox("PageTemplateConfigurationLastModified"), reader.Unbox("PageTemplateConfigurationName"), reader.Unbox("PageTemplateConfigurationDescription"), reader.Unbox("PageTemplateConfigurationThumbnailGUID"), reader.Unbox("PageTemplateConfigurationTemplate"), reader.Unbox("PageTemplateConfigurationWidgets") + reader.Unbox("PageTemplateConfigurationID"), reader.Unbox("PageTemplateConfigurationGUID"), reader.Unbox("PageTemplateConfigurationSiteID"), reader.Unbox("PageTemplateConfigurationLastModified"), reader.Unbox("PageTemplateConfigurationName"), reader.Unbox("PageTemplateConfigurationDescription"), reader.Unbox("PageTemplateConfigurationThumbnailGUID"), reader.Unbox("PageTemplateConfigurationTemplate"), reader.Unbox("PageTemplateConfigurationWidgets") ); } public static CmsPageTemplateConfigurationK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageTemplateConfigurationK12( - reader.Unbox("PageTemplateConfigurationID"), reader.Unbox("PageTemplateConfigurationGUID"), reader.Unbox("PageTemplateConfigurationSiteID"), reader.Unbox("PageTemplateConfigurationLastModified"), reader.Unbox("PageTemplateConfigurationName"), reader.Unbox("PageTemplateConfigurationDescription"), reader.Unbox("PageTemplateConfigurationThumbnailGUID"), reader.Unbox("PageTemplateConfigurationTemplate"), reader.Unbox("PageTemplateConfigurationWidgets") + reader.Unbox("PageTemplateConfigurationID"), reader.Unbox("PageTemplateConfigurationGUID"), reader.Unbox("PageTemplateConfigurationSiteID"), reader.Unbox("PageTemplateConfigurationLastModified"), reader.Unbox("PageTemplateConfigurationName"), reader.Unbox("PageTemplateConfigurationDescription"), reader.Unbox("PageTemplateConfigurationThumbnailGUID"), reader.Unbox("PageTemplateConfigurationTemplate"), reader.Unbox("PageTemplateConfigurationWidgets") ); } }; -public partial record CmsPageTemplateConfigurationK13(int PageTemplateConfigurationID, Guid PageTemplateConfigurationGUID, int PageTemplateConfigurationSiteID, DateTime PageTemplateConfigurationLastModified, string PageTemplateConfigurationName, string? PageTemplateConfigurationDescription, Guid? PageTemplateConfigurationThumbnailGUID, string PageTemplateConfigurationTemplate, string? PageTemplateConfigurationWidgets): ICmsPageTemplateConfiguration, ISourceModel +public partial record CmsPageTemplateConfigurationK13(int PageTemplateConfigurationID, Guid PageTemplateConfigurationGUID, int PageTemplateConfigurationSiteID, DateTime PageTemplateConfigurationLastModified, string PageTemplateConfigurationName, string? PageTemplateConfigurationDescription, Guid? PageTemplateConfigurationThumbnailGUID, string PageTemplateConfigurationTemplate, string? PageTemplateConfigurationWidgets) : ICmsPageTemplateConfiguration, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "PageTemplateConfigurationID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "PageTemplateConfigurationID"; public static string TableName => "CMS_PageTemplateConfiguration"; public static string GuidColumnName => "PageTemplateConfigurationGUID"; static CmsPageTemplateConfigurationK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageTemplateConfigurationK13( - reader.Unbox("PageTemplateConfigurationID"), reader.Unbox("PageTemplateConfigurationGUID"), reader.Unbox("PageTemplateConfigurationSiteID"), reader.Unbox("PageTemplateConfigurationLastModified"), reader.Unbox("PageTemplateConfigurationName"), reader.Unbox("PageTemplateConfigurationDescription"), reader.Unbox("PageTemplateConfigurationThumbnailGUID"), reader.Unbox("PageTemplateConfigurationTemplate"), reader.Unbox("PageTemplateConfigurationWidgets") + reader.Unbox("PageTemplateConfigurationID"), reader.Unbox("PageTemplateConfigurationGUID"), reader.Unbox("PageTemplateConfigurationSiteID"), reader.Unbox("PageTemplateConfigurationLastModified"), reader.Unbox("PageTemplateConfigurationName"), reader.Unbox("PageTemplateConfigurationDescription"), reader.Unbox("PageTemplateConfigurationThumbnailGUID"), reader.Unbox("PageTemplateConfigurationTemplate"), reader.Unbox("PageTemplateConfigurationWidgets") ); } public static CmsPageTemplateConfigurationK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageTemplateConfigurationK13( - reader.Unbox("PageTemplateConfigurationID"), reader.Unbox("PageTemplateConfigurationGUID"), reader.Unbox("PageTemplateConfigurationSiteID"), reader.Unbox("PageTemplateConfigurationLastModified"), reader.Unbox("PageTemplateConfigurationName"), reader.Unbox("PageTemplateConfigurationDescription"), reader.Unbox("PageTemplateConfigurationThumbnailGUID"), reader.Unbox("PageTemplateConfigurationTemplate"), reader.Unbox("PageTemplateConfigurationWidgets") + reader.Unbox("PageTemplateConfigurationID"), reader.Unbox("PageTemplateConfigurationGUID"), reader.Unbox("PageTemplateConfigurationSiteID"), reader.Unbox("PageTemplateConfigurationLastModified"), reader.Unbox("PageTemplateConfigurationName"), reader.Unbox("PageTemplateConfigurationDescription"), reader.Unbox("PageTemplateConfigurationThumbnailGUID"), reader.Unbox("PageTemplateConfigurationTemplate"), reader.Unbox("PageTemplateConfigurationWidgets") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsPageUrlPath.cs b/KVA/Migration.Toolkit.Source/Model/CmsPageUrlPath.cs index 42a3ab1d..3204fdaa 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsPageUrlPath.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsPageUrlPath.cs @@ -4,9 +4,9 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsPageUrlPath: ISourceModel +public interface ICmsPageUrlPath : ISourceModel { - + static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -41,61 +41,60 @@ static ICmsPageUrlPath ISourceModel.FromReader(IDataReader read }; } } -public partial record CmsPageUrlPathK11(): ICmsPageUrlPath, ISourceModel +public partial record CmsPageUrlPathK11() : ICmsPageUrlPath, ISourceModel { public static bool IsAvailable(SemanticVersion version) => false; - public static string GetPrimaryKeyName(SemanticVersion version) => ""; + public static string GetPrimaryKeyName(SemanticVersion version) => ""; public static string TableName => "CMS_PageUrlPath"; public static string GuidColumnName => ""; static CmsPageUrlPathK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageUrlPathK11( - + ); } public static CmsPageUrlPathK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageUrlPathK11( - + ); } }; -public partial record CmsPageUrlPathK12(): ICmsPageUrlPath, ISourceModel +public partial record CmsPageUrlPathK12() : ICmsPageUrlPath, ISourceModel { public static bool IsAvailable(SemanticVersion version) => false; - public static string GetPrimaryKeyName(SemanticVersion version) => ""; + public static string GetPrimaryKeyName(SemanticVersion version) => ""; public static string TableName => "CMS_PageUrlPath"; public static string GuidColumnName => ""; static CmsPageUrlPathK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageUrlPathK12( - + ); } public static CmsPageUrlPathK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageUrlPathK12( - + ); } }; -public partial record CmsPageUrlPathK13(int PageUrlPathID, Guid PageUrlPathGUID, string PageUrlPathCulture, int PageUrlPathNodeID, string PageUrlPathUrlPath, string PageUrlPathUrlPathHash, int PageUrlPathSiteID, DateTime PageUrlPathLastModified): ICmsPageUrlPath, ISourceModel +public partial record CmsPageUrlPathK13(int PageUrlPathID, Guid PageUrlPathGUID, string PageUrlPathCulture, int PageUrlPathNodeID, string PageUrlPathUrlPath, string PageUrlPathUrlPathHash, int PageUrlPathSiteID, DateTime PageUrlPathLastModified) : ICmsPageUrlPath, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "PageUrlPathID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "PageUrlPathID"; public static string TableName => "CMS_PageUrlPath"; public static string GuidColumnName => "PageUrlPathGUID"; static CmsPageUrlPathK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageUrlPathK13( - reader.Unbox("PageUrlPathID"), reader.Unbox("PageUrlPathGUID"), reader.Unbox("PageUrlPathCulture"), reader.Unbox("PageUrlPathNodeID"), reader.Unbox("PageUrlPathUrlPath"), reader.Unbox("PageUrlPathUrlPathHash"), reader.Unbox("PageUrlPathSiteID"), reader.Unbox("PageUrlPathLastModified") + reader.Unbox("PageUrlPathID"), reader.Unbox("PageUrlPathGUID"), reader.Unbox("PageUrlPathCulture"), reader.Unbox("PageUrlPathNodeID"), reader.Unbox("PageUrlPathUrlPath"), reader.Unbox("PageUrlPathUrlPathHash"), reader.Unbox("PageUrlPathSiteID"), reader.Unbox("PageUrlPathLastModified") ); } public static CmsPageUrlPathK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsPageUrlPathK13( - reader.Unbox("PageUrlPathID"), reader.Unbox("PageUrlPathGUID"), reader.Unbox("PageUrlPathCulture"), reader.Unbox("PageUrlPathNodeID"), reader.Unbox("PageUrlPathUrlPath"), reader.Unbox("PageUrlPathUrlPathHash"), reader.Unbox("PageUrlPathSiteID"), reader.Unbox("PageUrlPathLastModified") + reader.Unbox("PageUrlPathID"), reader.Unbox("PageUrlPathGUID"), reader.Unbox("PageUrlPathCulture"), reader.Unbox("PageUrlPathNodeID"), reader.Unbox("PageUrlPathUrlPath"), reader.Unbox("PageUrlPathUrlPathHash"), reader.Unbox("PageUrlPathSiteID"), reader.Unbox("PageUrlPathLastModified") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsRelationship.cs b/KVA/Migration.Toolkit.Source/Model/CmsRelationship.cs index 759c318a..e85a12d0 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsRelationship.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsRelationship.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsRelationship: ISourceModel +public interface ICmsRelationship : ISourceModel { int RelationshipID { get; } int LeftNodeID { get; } @@ -12,7 +12,7 @@ public interface ICmsRelationship: ISourceModel int RelationshipNameID { get; } string? RelationshipCustomData { get; } int? RelationshipOrder { get; } - bool? RelationshipIsAdHoc { get; } + bool? RelationshipIsAdHoc { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -47,61 +47,60 @@ static ICmsRelationship ISourceModel.FromReader(IDataReader re }; } } -public partial record CmsRelationshipK11(int RelationshipID, int LeftNodeID, int RightNodeID, int RelationshipNameID, string? RelationshipCustomData, int? RelationshipOrder, bool? RelationshipIsAdHoc): ICmsRelationship, ISourceModel +public partial record CmsRelationshipK11(int RelationshipID, int LeftNodeID, int RightNodeID, int RelationshipNameID, string? RelationshipCustomData, int? RelationshipOrder, bool? RelationshipIsAdHoc) : ICmsRelationship, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "RelationshipID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "RelationshipID"; public static string TableName => "CMS_Relationship"; public static string GuidColumnName => ""; static CmsRelationshipK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsRelationshipK11( - reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") + reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") ); } public static CmsRelationshipK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsRelationshipK11( - reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") + reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") ); } }; -public partial record CmsRelationshipK12(int RelationshipID, int LeftNodeID, int RightNodeID, int RelationshipNameID, string? RelationshipCustomData, int? RelationshipOrder, bool? RelationshipIsAdHoc): ICmsRelationship, ISourceModel +public partial record CmsRelationshipK12(int RelationshipID, int LeftNodeID, int RightNodeID, int RelationshipNameID, string? RelationshipCustomData, int? RelationshipOrder, bool? RelationshipIsAdHoc) : ICmsRelationship, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "RelationshipID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "RelationshipID"; public static string TableName => "CMS_Relationship"; public static string GuidColumnName => ""; static CmsRelationshipK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsRelationshipK12( - reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") + reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") ); } public static CmsRelationshipK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsRelationshipK12( - reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") + reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") ); } }; -public partial record CmsRelationshipK13(int RelationshipID, int LeftNodeID, int RightNodeID, int RelationshipNameID, string? RelationshipCustomData, int? RelationshipOrder, bool? RelationshipIsAdHoc): ICmsRelationship, ISourceModel +public partial record CmsRelationshipK13(int RelationshipID, int LeftNodeID, int RightNodeID, int RelationshipNameID, string? RelationshipCustomData, int? RelationshipOrder, bool? RelationshipIsAdHoc) : ICmsRelationship, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "RelationshipID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "RelationshipID"; public static string TableName => "CMS_Relationship"; public static string GuidColumnName => ""; static CmsRelationshipK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsRelationshipK13( - reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") + reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") ); } public static CmsRelationshipK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsRelationshipK13( - reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") + reader.Unbox("RelationshipID"), reader.Unbox("LeftNodeID"), reader.Unbox("RightNodeID"), reader.Unbox("RelationshipNameID"), reader.Unbox("RelationshipCustomData"), reader.Unbox("RelationshipOrder"), reader.Unbox("RelationshipIsAdHoc") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsResource.cs b/KVA/Migration.Toolkit.Source/Model/CmsResource.cs index a2002173..d820b21d 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsResource.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsResource.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsResource: ISourceModel +public interface ICmsResource : ISourceModel { int ResourceID { get; } string ResourceDisplayName { get; } @@ -19,7 +19,7 @@ public interface ICmsResource: ISourceModel string? ResourceVersion { get; } string? ResourceAuthor { get; } string? ResourceInstallationState { get; } - string? ResourceInstalledVersion { get; } + string? ResourceInstalledVersion { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -54,61 +54,60 @@ static ICmsResource ISourceModel.FromReader(IDataReader reader, Se }; } } -public partial record CmsResourceK11(int ResourceID, string ResourceDisplayName, string ResourceName, string? ResourceDescription, bool? ShowInDevelopment, string? ResourceURL, Guid ResourceGUID, DateTime ResourceLastModified, bool? ResourceIsInDevelopment, bool? ResourceHasFiles, string? ResourceVersion, string? ResourceAuthor, string? ResourceInstallationState, string? ResourceInstalledVersion): ICmsResource, ISourceModel +public partial record CmsResourceK11(int ResourceID, string ResourceDisplayName, string ResourceName, string? ResourceDescription, bool? ShowInDevelopment, string? ResourceURL, Guid ResourceGUID, DateTime ResourceLastModified, bool? ResourceIsInDevelopment, bool? ResourceHasFiles, string? ResourceVersion, string? ResourceAuthor, string? ResourceInstallationState, string? ResourceInstalledVersion) : ICmsResource, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ResourceID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ResourceID"; public static string TableName => "CMS_Resource"; public static string GuidColumnName => "ResourceGUID"; static CmsResourceK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsResourceK11( - reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") + reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") ); } public static CmsResourceK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsResourceK11( - reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") + reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") ); } }; -public partial record CmsResourceK12(int ResourceID, string ResourceDisplayName, string ResourceName, string? ResourceDescription, bool? ShowInDevelopment, string? ResourceURL, Guid ResourceGUID, DateTime ResourceLastModified, bool? ResourceIsInDevelopment, bool? ResourceHasFiles, string? ResourceVersion, string? ResourceAuthor, string? ResourceInstallationState, string? ResourceInstalledVersion): ICmsResource, ISourceModel +public partial record CmsResourceK12(int ResourceID, string ResourceDisplayName, string ResourceName, string? ResourceDescription, bool? ShowInDevelopment, string? ResourceURL, Guid ResourceGUID, DateTime ResourceLastModified, bool? ResourceIsInDevelopment, bool? ResourceHasFiles, string? ResourceVersion, string? ResourceAuthor, string? ResourceInstallationState, string? ResourceInstalledVersion) : ICmsResource, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ResourceID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ResourceID"; public static string TableName => "CMS_Resource"; public static string GuidColumnName => "ResourceGUID"; static CmsResourceK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsResourceK12( - reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") + reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") ); } public static CmsResourceK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsResourceK12( - reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") + reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") ); } }; -public partial record CmsResourceK13(int ResourceID, string ResourceDisplayName, string ResourceName, string? ResourceDescription, bool? ShowInDevelopment, string? ResourceURL, Guid ResourceGUID, DateTime ResourceLastModified, bool? ResourceIsInDevelopment, bool? ResourceHasFiles, string? ResourceVersion, string? ResourceAuthor, string? ResourceInstallationState, string? ResourceInstalledVersion): ICmsResource, ISourceModel +public partial record CmsResourceK13(int ResourceID, string ResourceDisplayName, string ResourceName, string? ResourceDescription, bool? ShowInDevelopment, string? ResourceURL, Guid ResourceGUID, DateTime ResourceLastModified, bool? ResourceIsInDevelopment, bool? ResourceHasFiles, string? ResourceVersion, string? ResourceAuthor, string? ResourceInstallationState, string? ResourceInstalledVersion) : ICmsResource, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ResourceID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ResourceID"; public static string TableName => "CMS_Resource"; public static string GuidColumnName => "ResourceGUID"; static CmsResourceK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsResourceK13( - reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") + reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") ); } public static CmsResourceK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsResourceK13( - reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") + reader.Unbox("ResourceID"), reader.Unbox("ResourceDisplayName"), reader.Unbox("ResourceName"), reader.Unbox("ResourceDescription"), reader.Unbox("ShowInDevelopment"), reader.Unbox("ResourceURL"), reader.Unbox("ResourceGUID"), reader.Unbox("ResourceLastModified"), reader.Unbox("ResourceIsInDevelopment"), reader.Unbox("ResourceHasFiles"), reader.Unbox("ResourceVersion"), reader.Unbox("ResourceAuthor"), reader.Unbox("ResourceInstallationState"), reader.Unbox("ResourceInstalledVersion") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsRole.cs b/KVA/Migration.Toolkit.Source/Model/CmsRole.cs index 58f0cebf..b098e2c0 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsRole.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsRole.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsRole: ISourceModel +public interface ICmsRole : ISourceModel { int RoleID { get; } string RoleDisplayName { get; } @@ -13,7 +13,7 @@ public interface ICmsRole: ISourceModel int? SiteID { get; } Guid RoleGUID { get; } DateTime RoleLastModified { get; } - bool? RoleIsDomain { get; } + bool? RoleIsDomain { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -48,61 +48,60 @@ static ICmsRole ISourceModel.FromReader(IDataReader reader, SemanticVe }; } } -public partial record CmsRoleK11(int RoleID, string RoleDisplayName, string RoleName, string? RoleDescription, int? SiteID, Guid RoleGUID, DateTime RoleLastModified, int? RoleGroupID, bool? RoleIsGroupAdministrator, bool? RoleIsDomain): ICmsRole, ISourceModel +public partial record CmsRoleK11(int RoleID, string RoleDisplayName, string RoleName, string? RoleDescription, int? SiteID, Guid RoleGUID, DateTime RoleLastModified, int? RoleGroupID, bool? RoleIsGroupAdministrator, bool? RoleIsDomain) : ICmsRole, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "RoleID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "RoleID"; public static string TableName => "CMS_Role"; public static string GuidColumnName => "RoleGUID"; static CmsRoleK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsRoleK11( - reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleGroupID"), reader.Unbox("RoleIsGroupAdministrator"), reader.Unbox("RoleIsDomain") + reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleGroupID"), reader.Unbox("RoleIsGroupAdministrator"), reader.Unbox("RoleIsDomain") ); } public static CmsRoleK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsRoleK11( - reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleGroupID"), reader.Unbox("RoleIsGroupAdministrator"), reader.Unbox("RoleIsDomain") + reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleGroupID"), reader.Unbox("RoleIsGroupAdministrator"), reader.Unbox("RoleIsDomain") ); } }; -public partial record CmsRoleK12(int RoleID, string RoleDisplayName, string RoleName, string? RoleDescription, int? SiteID, Guid RoleGUID, DateTime RoleLastModified, int? RoleGroupID, bool? RoleIsGroupAdministrator, bool? RoleIsDomain): ICmsRole, ISourceModel +public partial record CmsRoleK12(int RoleID, string RoleDisplayName, string RoleName, string? RoleDescription, int? SiteID, Guid RoleGUID, DateTime RoleLastModified, int? RoleGroupID, bool? RoleIsGroupAdministrator, bool? RoleIsDomain) : ICmsRole, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "RoleID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "RoleID"; public static string TableName => "CMS_Role"; public static string GuidColumnName => "RoleGUID"; static CmsRoleK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsRoleK12( - reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleGroupID"), reader.Unbox("RoleIsGroupAdministrator"), reader.Unbox("RoleIsDomain") + reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleGroupID"), reader.Unbox("RoleIsGroupAdministrator"), reader.Unbox("RoleIsDomain") ); } public static CmsRoleK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsRoleK12( - reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleGroupID"), reader.Unbox("RoleIsGroupAdministrator"), reader.Unbox("RoleIsDomain") + reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleGroupID"), reader.Unbox("RoleIsGroupAdministrator"), reader.Unbox("RoleIsDomain") ); } }; -public partial record CmsRoleK13(int RoleID, string RoleDisplayName, string RoleName, string? RoleDescription, int? SiteID, Guid RoleGUID, DateTime RoleLastModified, bool? RoleIsDomain): ICmsRole, ISourceModel +public partial record CmsRoleK13(int RoleID, string RoleDisplayName, string RoleName, string? RoleDescription, int? SiteID, Guid RoleGUID, DateTime RoleLastModified, bool? RoleIsDomain) : ICmsRole, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "RoleID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "RoleID"; public static string TableName => "CMS_Role"; public static string GuidColumnName => "RoleGUID"; static CmsRoleK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsRoleK13( - reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleIsDomain") + reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleIsDomain") ); } public static CmsRoleK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsRoleK13( - reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleIsDomain") + reader.Unbox("RoleID"), reader.Unbox("RoleDisplayName"), reader.Unbox("RoleName"), reader.Unbox("RoleDescription"), reader.Unbox("SiteID"), reader.Unbox("RoleGUID"), reader.Unbox("RoleLastModified"), reader.Unbox("RoleIsDomain") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsSettingsKey.cs b/KVA/Migration.Toolkit.Source/Model/CmsSettingsKey.cs index 7c276059..0452f51f 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsSettingsKey.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsSettingsKey.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsSettingsKey: ISourceModel +public interface ICmsSettingsKey : ISourceModel { int KeyID { get; } string KeyName { get; } @@ -24,7 +24,7 @@ public interface ICmsSettingsKey: ISourceModel bool? KeyIsCustom { get; } bool? KeyIsHidden { get; } string? KeyFormControlSettings { get; } - string? KeyExplanationText { get; } + string? KeyExplanationText { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -59,61 +59,60 @@ static ICmsSettingsKey ISourceModel.FromReader(IDataReader read }; } } -public partial record CmsSettingsKeyK11(int KeyID, string KeyName, string KeyDisplayName, string? KeyDescription, string? KeyValue, string KeyType, int? KeyCategoryID, int? SiteID, Guid KeyGUID, DateTime KeyLastModified, int? KeyOrder, string? KeyDefaultValue, string? KeyValidation, string? KeyEditingControlPath, bool? KeyIsGlobal, bool? KeyIsCustom, bool? KeyIsHidden, string? KeyFormControlSettings, string? KeyExplanationText): ICmsSettingsKey, ISourceModel +public partial record CmsSettingsKeyK11(int KeyID, string KeyName, string KeyDisplayName, string? KeyDescription, string? KeyValue, string KeyType, int? KeyCategoryID, int? SiteID, Guid KeyGUID, DateTime KeyLastModified, int? KeyOrder, string? KeyDefaultValue, string? KeyValidation, string? KeyEditingControlPath, bool? KeyIsGlobal, bool? KeyIsCustom, bool? KeyIsHidden, string? KeyFormControlSettings, string? KeyExplanationText) : ICmsSettingsKey, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "KeyID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "KeyID"; public static string TableName => "CMS_SettingsKey"; public static string GuidColumnName => "KeyGUID"; static CmsSettingsKeyK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSettingsKeyK11( - reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") + reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") ); } public static CmsSettingsKeyK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSettingsKeyK11( - reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") + reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") ); } }; -public partial record CmsSettingsKeyK12(int KeyID, string KeyName, string KeyDisplayName, string? KeyDescription, string? KeyValue, string KeyType, int? KeyCategoryID, int? SiteID, Guid KeyGUID, DateTime KeyLastModified, int? KeyOrder, string? KeyDefaultValue, string? KeyValidation, string? KeyEditingControlPath, bool? KeyIsGlobal, bool? KeyIsCustom, bool? KeyIsHidden, string? KeyFormControlSettings, string? KeyExplanationText): ICmsSettingsKey, ISourceModel +public partial record CmsSettingsKeyK12(int KeyID, string KeyName, string KeyDisplayName, string? KeyDescription, string? KeyValue, string KeyType, int? KeyCategoryID, int? SiteID, Guid KeyGUID, DateTime KeyLastModified, int? KeyOrder, string? KeyDefaultValue, string? KeyValidation, string? KeyEditingControlPath, bool? KeyIsGlobal, bool? KeyIsCustom, bool? KeyIsHidden, string? KeyFormControlSettings, string? KeyExplanationText) : ICmsSettingsKey, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "KeyID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "KeyID"; public static string TableName => "CMS_SettingsKey"; public static string GuidColumnName => "KeyGUID"; static CmsSettingsKeyK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSettingsKeyK12( - reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") + reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") ); } public static CmsSettingsKeyK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSettingsKeyK12( - reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") + reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") ); } }; -public partial record CmsSettingsKeyK13(int KeyID, string KeyName, string KeyDisplayName, string? KeyDescription, string? KeyValue, string KeyType, int? KeyCategoryID, int? SiteID, Guid KeyGUID, DateTime KeyLastModified, int? KeyOrder, string? KeyDefaultValue, string? KeyValidation, string? KeyEditingControlPath, bool? KeyIsGlobal, bool? KeyIsCustom, bool? KeyIsHidden, string? KeyFormControlSettings, string? KeyExplanationText): ICmsSettingsKey, ISourceModel +public partial record CmsSettingsKeyK13(int KeyID, string KeyName, string KeyDisplayName, string? KeyDescription, string? KeyValue, string KeyType, int? KeyCategoryID, int? SiteID, Guid KeyGUID, DateTime KeyLastModified, int? KeyOrder, string? KeyDefaultValue, string? KeyValidation, string? KeyEditingControlPath, bool? KeyIsGlobal, bool? KeyIsCustom, bool? KeyIsHidden, string? KeyFormControlSettings, string? KeyExplanationText) : ICmsSettingsKey, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "KeyID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "KeyID"; public static string TableName => "CMS_SettingsKey"; public static string GuidColumnName => "KeyGUID"; static CmsSettingsKeyK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSettingsKeyK13( - reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") + reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") ); } public static CmsSettingsKeyK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSettingsKeyK13( - reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") + reader.Unbox("KeyID"), reader.Unbox("KeyName"), reader.Unbox("KeyDisplayName"), reader.Unbox("KeyDescription"), reader.Unbox("KeyValue"), reader.Unbox("KeyType"), reader.Unbox("KeyCategoryID"), reader.Unbox("SiteID"), reader.Unbox("KeyGUID"), reader.Unbox("KeyLastModified"), reader.Unbox("KeyOrder"), reader.Unbox("KeyDefaultValue"), reader.Unbox("KeyValidation"), reader.Unbox("KeyEditingControlPath"), reader.Unbox("KeyIsGlobal"), reader.Unbox("KeyIsCustom"), reader.Unbox("KeyIsHidden"), reader.Unbox("KeyFormControlSettings"), reader.Unbox("KeyExplanationText") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsSite.cs b/KVA/Migration.Toolkit.Source/Model/CmsSite.cs index 41d1c278..0c0562bf 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsSite.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsSite.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsSite: ISourceModel +public interface ICmsSite : ISourceModel { int SiteID { get; } string SiteName { get; } @@ -14,7 +14,7 @@ public interface ICmsSite: ISourceModel string SiteDomainName { get; } string? SiteDefaultVisitorCulture { get; } Guid SiteGUID { get; } - DateTime SiteLastModified { get; } + DateTime SiteLastModified { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -49,61 +49,60 @@ static ICmsSite ISourceModel.FromReader(IDataReader reader, SemanticVe }; } } -public partial record CmsSiteK11(int SiteID, string SiteName, string SiteDisplayName, string? SiteDescription, string SiteStatus, string SiteDomainName, int? SiteDefaultStylesheetID, string? SiteDefaultVisitorCulture, int? SiteDefaultEditorStylesheet, Guid SiteGUID, DateTime SiteLastModified, bool? SiteIsOffline, string? SiteOfflineRedirectURL, string? SiteOfflineMessage, string? SitePresentationURL, bool? SiteIsContentOnly): ICmsSite, ISourceModel +public partial record CmsSiteK11(int SiteID, string SiteName, string SiteDisplayName, string? SiteDescription, string SiteStatus, string SiteDomainName, int? SiteDefaultStylesheetID, string? SiteDefaultVisitorCulture, int? SiteDefaultEditorStylesheet, Guid SiteGUID, DateTime SiteLastModified, bool? SiteIsOffline, string? SiteOfflineRedirectURL, string? SiteOfflineMessage, string? SitePresentationURL, bool? SiteIsContentOnly) : ICmsSite, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "SiteID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "SiteID"; public static string TableName => "CMS_Site"; public static string GuidColumnName => ""; static CmsSiteK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteK11( - reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultStylesheetID"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteDefaultEditorStylesheet"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SiteIsOffline"), reader.Unbox("SiteOfflineRedirectURL"), reader.Unbox("SiteOfflineMessage"), reader.Unbox("SitePresentationURL"), reader.Unbox("SiteIsContentOnly") + reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultStylesheetID"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteDefaultEditorStylesheet"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SiteIsOffline"), reader.Unbox("SiteOfflineRedirectURL"), reader.Unbox("SiteOfflineMessage"), reader.Unbox("SitePresentationURL"), reader.Unbox("SiteIsContentOnly") ); } public static CmsSiteK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteK11( - reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultStylesheetID"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteDefaultEditorStylesheet"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SiteIsOffline"), reader.Unbox("SiteOfflineRedirectURL"), reader.Unbox("SiteOfflineMessage"), reader.Unbox("SitePresentationURL"), reader.Unbox("SiteIsContentOnly") + reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultStylesheetID"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteDefaultEditorStylesheet"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SiteIsOffline"), reader.Unbox("SiteOfflineRedirectURL"), reader.Unbox("SiteOfflineMessage"), reader.Unbox("SitePresentationURL"), reader.Unbox("SiteIsContentOnly") ); } }; -public partial record CmsSiteK12(int SiteID, string SiteName, string SiteDisplayName, string? SiteDescription, string SiteStatus, string SiteDomainName, int? SiteDefaultStylesheetID, string? SiteDefaultVisitorCulture, int? SiteDefaultEditorStylesheet, Guid SiteGUID, DateTime SiteLastModified, bool? SiteIsOffline, string? SiteOfflineRedirectURL, string? SiteOfflineMessage, string? SitePresentationURL, bool? SiteIsContentOnly): ICmsSite, ISourceModel +public partial record CmsSiteK12(int SiteID, string SiteName, string SiteDisplayName, string? SiteDescription, string SiteStatus, string SiteDomainName, int? SiteDefaultStylesheetID, string? SiteDefaultVisitorCulture, int? SiteDefaultEditorStylesheet, Guid SiteGUID, DateTime SiteLastModified, bool? SiteIsOffline, string? SiteOfflineRedirectURL, string? SiteOfflineMessage, string? SitePresentationURL, bool? SiteIsContentOnly) : ICmsSite, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "SiteID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "SiteID"; public static string TableName => "CMS_Site"; public static string GuidColumnName => ""; static CmsSiteK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteK12( - reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultStylesheetID"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteDefaultEditorStylesheet"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SiteIsOffline"), reader.Unbox("SiteOfflineRedirectURL"), reader.Unbox("SiteOfflineMessage"), reader.Unbox("SitePresentationURL"), reader.Unbox("SiteIsContentOnly") + reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultStylesheetID"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteDefaultEditorStylesheet"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SiteIsOffline"), reader.Unbox("SiteOfflineRedirectURL"), reader.Unbox("SiteOfflineMessage"), reader.Unbox("SitePresentationURL"), reader.Unbox("SiteIsContentOnly") ); } public static CmsSiteK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteK12( - reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultStylesheetID"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteDefaultEditorStylesheet"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SiteIsOffline"), reader.Unbox("SiteOfflineRedirectURL"), reader.Unbox("SiteOfflineMessage"), reader.Unbox("SitePresentationURL"), reader.Unbox("SiteIsContentOnly") + reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultStylesheetID"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteDefaultEditorStylesheet"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SiteIsOffline"), reader.Unbox("SiteOfflineRedirectURL"), reader.Unbox("SiteOfflineMessage"), reader.Unbox("SitePresentationURL"), reader.Unbox("SiteIsContentOnly") ); } }; -public partial record CmsSiteK13(int SiteID, string SiteName, string SiteDisplayName, string? SiteDescription, string SiteStatus, string SiteDomainName, string? SiteDefaultVisitorCulture, Guid SiteGUID, DateTime SiteLastModified, string SitePresentationURL): ICmsSite, ISourceModel +public partial record CmsSiteK13(int SiteID, string SiteName, string SiteDisplayName, string? SiteDescription, string SiteStatus, string SiteDomainName, string? SiteDefaultVisitorCulture, Guid SiteGUID, DateTime SiteLastModified, string SitePresentationURL) : ICmsSite, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "SiteID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "SiteID"; public static string TableName => "CMS_Site"; public static string GuidColumnName => ""; static CmsSiteK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteK13( - reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SitePresentationURL") + reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SitePresentationURL") ); } public static CmsSiteK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteK13( - reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SitePresentationURL") + reader.Unbox("SiteID"), reader.Unbox("SiteName"), reader.Unbox("SiteDisplayName"), reader.Unbox("SiteDescription"), reader.Unbox("SiteStatus"), reader.Unbox("SiteDomainName"), reader.Unbox("SiteDefaultVisitorCulture"), reader.Unbox("SiteGUID"), reader.Unbox("SiteLastModified"), reader.Unbox("SitePresentationURL") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsSiteCulture.cs b/KVA/Migration.Toolkit.Source/Model/CmsSiteCulture.cs index b89900e9..21f1895d 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsSiteCulture.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsSiteCulture.cs @@ -4,10 +4,10 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsSiteCulture: ISourceModel +public interface ICmsSiteCulture : ISourceModel { int SiteID { get; } - int CultureID { get; } + int CultureID { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -42,61 +42,60 @@ static ICmsSiteCulture ISourceModel.FromReader(IDataReader read }; } } -public partial record CmsSiteCultureK11(int SiteID, int CultureID): ICmsSiteCulture, ISourceModel +public partial record CmsSiteCultureK11(int SiteID, int CultureID) : ICmsSiteCulture, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; public static string TableName => "CMS_SiteCulture"; public static string GuidColumnName => ""; static CmsSiteCultureK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteCultureK11( - reader.Unbox("SiteID"), reader.Unbox("CultureID") + reader.Unbox("SiteID"), reader.Unbox("CultureID") ); } public static CmsSiteCultureK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteCultureK11( - reader.Unbox("SiteID"), reader.Unbox("CultureID") + reader.Unbox("SiteID"), reader.Unbox("CultureID") ); } }; -public partial record CmsSiteCultureK12(int SiteID, int CultureID): ICmsSiteCulture, ISourceModel +public partial record CmsSiteCultureK12(int SiteID, int CultureID) : ICmsSiteCulture, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; public static string TableName => "CMS_SiteCulture"; public static string GuidColumnName => ""; static CmsSiteCultureK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteCultureK12( - reader.Unbox("SiteID"), reader.Unbox("CultureID") + reader.Unbox("SiteID"), reader.Unbox("CultureID") ); } public static CmsSiteCultureK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteCultureK12( - reader.Unbox("SiteID"), reader.Unbox("CultureID") + reader.Unbox("SiteID"), reader.Unbox("CultureID") ); } }; -public partial record CmsSiteCultureK13(int SiteID, int CultureID): ICmsSiteCulture, ISourceModel +public partial record CmsSiteCultureK13(int SiteID, int CultureID) : ICmsSiteCulture, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "CultureID"; public static string TableName => "CMS_SiteCulture"; public static string GuidColumnName => ""; static CmsSiteCultureK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteCultureK13( - reader.Unbox("SiteID"), reader.Unbox("CultureID") + reader.Unbox("SiteID"), reader.Unbox("CultureID") ); } public static CmsSiteCultureK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsSiteCultureK13( - reader.Unbox("SiteID"), reader.Unbox("CultureID") + reader.Unbox("SiteID"), reader.Unbox("CultureID") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsState.cs b/KVA/Migration.Toolkit.Source/Model/CmsState.cs index c7f1a37d..d5da457c 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsState.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsState.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsState: ISourceModel +public interface ICmsState : ISourceModel { int StateID { get; } string StateDisplayName { get; } @@ -12,7 +12,7 @@ public interface ICmsState: ISourceModel string? StateCode { get; } int CountryID { get; } Guid StateGUID { get; } - DateTime StateLastModified { get; } + DateTime StateLastModified { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -47,61 +47,60 @@ static ICmsState ISourceModel.FromReader(IDataReader reader, Semantic }; } } -public partial record CmsStateK11(int StateID, string StateDisplayName, string StateName, string? StateCode, int CountryID, Guid StateGUID, DateTime StateLastModified): ICmsState, ISourceModel +public partial record CmsStateK11(int StateID, string StateDisplayName, string StateName, string? StateCode, int CountryID, Guid StateGUID, DateTime StateLastModified) : ICmsState, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "StateID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "StateID"; public static string TableName => "CMS_State"; public static string GuidColumnName => "StateGUID"; static CmsStateK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsStateK11( - reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") + reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") ); } public static CmsStateK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsStateK11( - reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") + reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") ); } }; -public partial record CmsStateK12(int StateID, string StateDisplayName, string StateName, string? StateCode, int CountryID, Guid StateGUID, DateTime StateLastModified): ICmsState, ISourceModel +public partial record CmsStateK12(int StateID, string StateDisplayName, string StateName, string? StateCode, int CountryID, Guid StateGUID, DateTime StateLastModified) : ICmsState, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "StateID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "StateID"; public static string TableName => "CMS_State"; public static string GuidColumnName => "StateGUID"; static CmsStateK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsStateK12( - reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") + reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") ); } public static CmsStateK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsStateK12( - reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") + reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") ); } }; -public partial record CmsStateK13(int StateID, string StateDisplayName, string StateName, string? StateCode, int CountryID, Guid StateGUID, DateTime StateLastModified): ICmsState, ISourceModel +public partial record CmsStateK13(int StateID, string StateDisplayName, string StateName, string? StateCode, int CountryID, Guid StateGUID, DateTime StateLastModified) : ICmsState, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "StateID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "StateID"; public static string TableName => "CMS_State"; public static string GuidColumnName => "StateGUID"; static CmsStateK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsStateK13( - reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") + reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") ); } public static CmsStateK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsStateK13( - reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") + reader.Unbox("StateID"), reader.Unbox("StateDisplayName"), reader.Unbox("StateName"), reader.Unbox("StateCode"), reader.Unbox("CountryID"), reader.Unbox("StateGUID"), reader.Unbox("StateLastModified") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsTree.cs b/KVA/Migration.Toolkit.Source/Model/CmsTree.cs index 66c0737a..b285b272 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsTree.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsTree.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsTree: ISourceModel +public interface ICmsTree : ISourceModel { int NodeID { get; } string NodeAliasPath { get; } @@ -26,7 +26,7 @@ public interface ICmsTree: ISourceModel bool? NodeHasChildren { get; } bool? NodeHasLinks { get; } int? NodeOriginalNodeID { get; } - bool NodeIsACLOwner { get; } + bool NodeIsACLOwner { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -61,61 +61,60 @@ static ICmsTree ISourceModel.FromReader(IDataReader reader, SemanticVe }; } } -public partial record CmsTreeK11(int NodeID, string NodeAliasPath, string NodeName, string NodeAlias, int NodeClassID, int? NodeParentID, int NodeLevel, int? NodeACLID, int NodeSiteID, Guid NodeGUID, int? NodeOrder, bool? IsSecuredNode, int? NodeCacheMinutes, int? NodeSKUID, string? NodeDocType, string? NodeHeadTags, string? NodeBodyElementAttributes, string? NodeInheritPageLevels, int? RequiresSSL, int? NodeLinkedNodeID, int? NodeOwner, string? NodeCustomData, int? NodeGroupID, int? NodeLinkedNodeSiteID, int? NodeTemplateID, bool? NodeTemplateForAllCultures, bool? NodeInheritPageTemplate, bool? NodeAllowCacheInFileSystem, bool? NodeHasChildren, bool? NodeHasLinks, int? NodeOriginalNodeID, bool NodeIsContentOnly, bool NodeIsACLOwner, string? NodeBodyScripts): ICmsTree, ISourceModel +public partial record CmsTreeK11(int NodeID, string NodeAliasPath, string NodeName, string NodeAlias, int NodeClassID, int? NodeParentID, int NodeLevel, int? NodeACLID, int NodeSiteID, Guid NodeGUID, int? NodeOrder, bool? IsSecuredNode, int? NodeCacheMinutes, int? NodeSKUID, string? NodeDocType, string? NodeHeadTags, string? NodeBodyElementAttributes, string? NodeInheritPageLevels, int? RequiresSSL, int? NodeLinkedNodeID, int? NodeOwner, string? NodeCustomData, int? NodeGroupID, int? NodeLinkedNodeSiteID, int? NodeTemplateID, bool? NodeTemplateForAllCultures, bool? NodeInheritPageTemplate, bool? NodeAllowCacheInFileSystem, bool? NodeHasChildren, bool? NodeHasLinks, int? NodeOriginalNodeID, bool NodeIsContentOnly, bool NodeIsACLOwner, string? NodeBodyScripts) : ICmsTree, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "NodeID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "NodeID"; public static string TableName => "CMS_Tree"; public static string GuidColumnName => "NodeGUID"; static CmsTreeK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsTreeK11( - reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeCacheMinutes"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeDocType"), reader.Unbox("NodeHeadTags"), reader.Unbox("NodeBodyElementAttributes"), reader.Unbox("NodeInheritPageLevels"), reader.Unbox("RequiresSSL"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeGroupID"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeTemplateID"), reader.Unbox("NodeTemplateForAllCultures"), reader.Unbox("NodeInheritPageTemplate"), reader.Unbox("NodeAllowCacheInFileSystem"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsContentOnly"), reader.Unbox("NodeIsACLOwner"), reader.Unbox("NodeBodyScripts") + reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeCacheMinutes"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeDocType"), reader.Unbox("NodeHeadTags"), reader.Unbox("NodeBodyElementAttributes"), reader.Unbox("NodeInheritPageLevels"), reader.Unbox("RequiresSSL"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeGroupID"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeTemplateID"), reader.Unbox("NodeTemplateForAllCultures"), reader.Unbox("NodeInheritPageTemplate"), reader.Unbox("NodeAllowCacheInFileSystem"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsContentOnly"), reader.Unbox("NodeIsACLOwner"), reader.Unbox("NodeBodyScripts") ); } public static CmsTreeK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsTreeK11( - reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeCacheMinutes"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeDocType"), reader.Unbox("NodeHeadTags"), reader.Unbox("NodeBodyElementAttributes"), reader.Unbox("NodeInheritPageLevels"), reader.Unbox("RequiresSSL"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeGroupID"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeTemplateID"), reader.Unbox("NodeTemplateForAllCultures"), reader.Unbox("NodeInheritPageTemplate"), reader.Unbox("NodeAllowCacheInFileSystem"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsContentOnly"), reader.Unbox("NodeIsACLOwner"), reader.Unbox("NodeBodyScripts") + reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeCacheMinutes"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeDocType"), reader.Unbox("NodeHeadTags"), reader.Unbox("NodeBodyElementAttributes"), reader.Unbox("NodeInheritPageLevels"), reader.Unbox("RequiresSSL"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeGroupID"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeTemplateID"), reader.Unbox("NodeTemplateForAllCultures"), reader.Unbox("NodeInheritPageTemplate"), reader.Unbox("NodeAllowCacheInFileSystem"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsContentOnly"), reader.Unbox("NodeIsACLOwner"), reader.Unbox("NodeBodyScripts") ); } }; -public partial record CmsTreeK12(int NodeID, string NodeAliasPath, string NodeName, string NodeAlias, int NodeClassID, int? NodeParentID, int NodeLevel, int? NodeACLID, int NodeSiteID, Guid NodeGUID, int? NodeOrder, bool? IsSecuredNode, int? NodeCacheMinutes, int? NodeSKUID, string? NodeDocType, string? NodeHeadTags, string? NodeBodyElementAttributes, string? NodeInheritPageLevels, int? RequiresSSL, int? NodeLinkedNodeID, int? NodeOwner, string? NodeCustomData, int? NodeGroupID, int? NodeLinkedNodeSiteID, int? NodeTemplateID, bool? NodeTemplateForAllCultures, bool? NodeInheritPageTemplate, bool? NodeAllowCacheInFileSystem, bool? NodeHasChildren, bool? NodeHasLinks, int? NodeOriginalNodeID, bool NodeIsContentOnly, bool NodeIsACLOwner, string? NodeBodyScripts): ICmsTree, ISourceModel +public partial record CmsTreeK12(int NodeID, string NodeAliasPath, string NodeName, string NodeAlias, int NodeClassID, int? NodeParentID, int NodeLevel, int? NodeACLID, int NodeSiteID, Guid NodeGUID, int? NodeOrder, bool? IsSecuredNode, int? NodeCacheMinutes, int? NodeSKUID, string? NodeDocType, string? NodeHeadTags, string? NodeBodyElementAttributes, string? NodeInheritPageLevels, int? RequiresSSL, int? NodeLinkedNodeID, int? NodeOwner, string? NodeCustomData, int? NodeGroupID, int? NodeLinkedNodeSiteID, int? NodeTemplateID, bool? NodeTemplateForAllCultures, bool? NodeInheritPageTemplate, bool? NodeAllowCacheInFileSystem, bool? NodeHasChildren, bool? NodeHasLinks, int? NodeOriginalNodeID, bool NodeIsContentOnly, bool NodeIsACLOwner, string? NodeBodyScripts) : ICmsTree, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "NodeID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "NodeID"; public static string TableName => "CMS_Tree"; public static string GuidColumnName => "NodeGUID"; static CmsTreeK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsTreeK12( - reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeCacheMinutes"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeDocType"), reader.Unbox("NodeHeadTags"), reader.Unbox("NodeBodyElementAttributes"), reader.Unbox("NodeInheritPageLevels"), reader.Unbox("RequiresSSL"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeGroupID"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeTemplateID"), reader.Unbox("NodeTemplateForAllCultures"), reader.Unbox("NodeInheritPageTemplate"), reader.Unbox("NodeAllowCacheInFileSystem"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsContentOnly"), reader.Unbox("NodeIsACLOwner"), reader.Unbox("NodeBodyScripts") + reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeCacheMinutes"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeDocType"), reader.Unbox("NodeHeadTags"), reader.Unbox("NodeBodyElementAttributes"), reader.Unbox("NodeInheritPageLevels"), reader.Unbox("RequiresSSL"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeGroupID"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeTemplateID"), reader.Unbox("NodeTemplateForAllCultures"), reader.Unbox("NodeInheritPageTemplate"), reader.Unbox("NodeAllowCacheInFileSystem"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsContentOnly"), reader.Unbox("NodeIsACLOwner"), reader.Unbox("NodeBodyScripts") ); } public static CmsTreeK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsTreeK12( - reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeCacheMinutes"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeDocType"), reader.Unbox("NodeHeadTags"), reader.Unbox("NodeBodyElementAttributes"), reader.Unbox("NodeInheritPageLevels"), reader.Unbox("RequiresSSL"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeGroupID"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeTemplateID"), reader.Unbox("NodeTemplateForAllCultures"), reader.Unbox("NodeInheritPageTemplate"), reader.Unbox("NodeAllowCacheInFileSystem"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsContentOnly"), reader.Unbox("NodeIsACLOwner"), reader.Unbox("NodeBodyScripts") + reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeCacheMinutes"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeDocType"), reader.Unbox("NodeHeadTags"), reader.Unbox("NodeBodyElementAttributes"), reader.Unbox("NodeInheritPageLevels"), reader.Unbox("RequiresSSL"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeGroupID"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeTemplateID"), reader.Unbox("NodeTemplateForAllCultures"), reader.Unbox("NodeInheritPageTemplate"), reader.Unbox("NodeAllowCacheInFileSystem"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsContentOnly"), reader.Unbox("NodeIsACLOwner"), reader.Unbox("NodeBodyScripts") ); } }; -public partial record CmsTreeK13(int NodeID, string NodeAliasPath, string NodeName, string NodeAlias, int NodeClassID, int? NodeParentID, int NodeLevel, int? NodeACLID, int NodeSiteID, Guid NodeGUID, int? NodeOrder, bool? IsSecuredNode, int? NodeSKUID, int? NodeLinkedNodeID, int? NodeOwner, string? NodeCustomData, int? NodeLinkedNodeSiteID, bool? NodeHasChildren, bool? NodeHasLinks, int? NodeOriginalNodeID, bool NodeIsACLOwner): ICmsTree, ISourceModel +public partial record CmsTreeK13(int NodeID, string NodeAliasPath, string NodeName, string NodeAlias, int NodeClassID, int? NodeParentID, int NodeLevel, int? NodeACLID, int NodeSiteID, Guid NodeGUID, int? NodeOrder, bool? IsSecuredNode, int? NodeSKUID, int? NodeLinkedNodeID, int? NodeOwner, string? NodeCustomData, int? NodeLinkedNodeSiteID, bool? NodeHasChildren, bool? NodeHasLinks, int? NodeOriginalNodeID, bool NodeIsACLOwner) : ICmsTree, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "NodeID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "NodeID"; public static string TableName => "CMS_Tree"; public static string GuidColumnName => "NodeGUID"; static CmsTreeK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsTreeK13( - reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsACLOwner") + reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsACLOwner") ); } public static CmsTreeK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsTreeK13( - reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsACLOwner") + reader.Unbox("NodeID"), reader.Unbox("NodeAliasPath"), reader.Unbox("NodeName"), reader.Unbox("NodeAlias"), reader.Unbox("NodeClassID"), reader.Unbox("NodeParentID"), reader.Unbox("NodeLevel"), reader.Unbox("NodeACLID"), reader.Unbox("NodeSiteID"), reader.Unbox("NodeGUID"), reader.Unbox("NodeOrder"), reader.Unbox("IsSecuredNode"), reader.Unbox("NodeSKUID"), reader.Unbox("NodeLinkedNodeID"), reader.Unbox("NodeOwner"), reader.Unbox("NodeCustomData"), reader.Unbox("NodeLinkedNodeSiteID"), reader.Unbox("NodeHasChildren"), reader.Unbox("NodeHasLinks"), reader.Unbox("NodeOriginalNodeID"), reader.Unbox("NodeIsACLOwner") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsUser.cs b/KVA/Migration.Toolkit.Source/Model/CmsUser.cs index 2d79d24e..e97c20cf 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsUser.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsUser.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsUser: ISourceModel +public interface ICmsUser : ISourceModel { int UserID { get; } string UserName { get; } @@ -67,7 +67,7 @@ static ICmsUser ISourceModel.FromReader(IDataReader reader, SemanticVe }; } } -public partial record CmsUserK11(int UserID, string UserName, string? FirstName, string? MiddleName, string? LastName, string? FullName, string? Email, string UserPassword, string? PreferredCultureCode, string? PreferredUICultureCode, bool UserEnabled, bool? UserIsExternal, string? UserPasswordFormat, DateTime? UserCreated, DateTime? LastLogon, string? UserStartingAliasPath, Guid UserGUID, DateTime UserLastModified, string? UserLastLogonInfo, bool? UserIsHidden, string? UserVisibility, bool? UserIsDomain, bool? UserHasAllowedCultures, bool? UserMFRequired, int UserPrivilegeLevel, string? UserSecurityStamp, byte[]? UserMFSecret, long? UserMFTimestep): ICmsUser, ISourceModel +public partial record CmsUserK11(int UserID, string UserName, string? FirstName, string? MiddleName, string? LastName, string? FullName, string? Email, string UserPassword, string? PreferredCultureCode, string? PreferredUICultureCode, bool UserEnabled, bool? UserIsExternal, string? UserPasswordFormat, DateTime? UserCreated, DateTime? LastLogon, string? UserStartingAliasPath, Guid UserGUID, DateTime UserLastModified, string? UserLastLogonInfo, bool? UserIsHidden, string? UserVisibility, bool? UserIsDomain, bool? UserHasAllowedCultures, bool? UserMFRequired, int UserPrivilegeLevel, string? UserSecurityStamp, byte[]? UserMFSecret, long? UserMFTimestep) : ICmsUser, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; public static string GetPrimaryKeyName(SemanticVersion version) => "UserID"; @@ -86,7 +86,7 @@ public static CmsUserK11 FromReader(IDataReader reader, SemanticVersion version) ); } }; -public partial record CmsUserK12(int UserID, string UserName, string? FirstName, string? MiddleName, string? LastName, string? FullName, string? Email, string UserPassword, string? PreferredCultureCode, string? PreferredUICultureCode, bool UserEnabled, bool? UserIsExternal, string? UserPasswordFormat, DateTime? UserCreated, DateTime? LastLogon, string? UserStartingAliasPath, Guid UserGUID, DateTime UserLastModified, string? UserLastLogonInfo, bool? UserIsHidden, string? UserVisibility, bool? UserIsDomain, bool? UserHasAllowedCultures, bool? UserMFRequired, int UserPrivilegeLevel, string? UserSecurityStamp, byte[]? UserMFSecret, long? UserMFTimestep): ICmsUser, ISourceModel +public partial record CmsUserK12(int UserID, string UserName, string? FirstName, string? MiddleName, string? LastName, string? FullName, string? Email, string UserPassword, string? PreferredCultureCode, string? PreferredUICultureCode, bool UserEnabled, bool? UserIsExternal, string? UserPasswordFormat, DateTime? UserCreated, DateTime? LastLogon, string? UserStartingAliasPath, Guid UserGUID, DateTime UserLastModified, string? UserLastLogonInfo, bool? UserIsHidden, string? UserVisibility, bool? UserIsDomain, bool? UserHasAllowedCultures, bool? UserMFRequired, int UserPrivilegeLevel, string? UserSecurityStamp, byte[]? UserMFSecret, long? UserMFTimestep) : ICmsUser, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; public static string GetPrimaryKeyName(SemanticVersion version) => "UserID"; @@ -105,7 +105,7 @@ public static CmsUserK12 FromReader(IDataReader reader, SemanticVersion version) ); } }; -public partial record CmsUserK13(int UserID, string UserName, string? FirstName, string? MiddleName, string? LastName, string? FullName, string? Email, string UserPassword, string? PreferredCultureCode, string? PreferredUICultureCode, bool UserEnabled, bool? UserIsExternal, string? UserPasswordFormat, DateTime? UserCreated, DateTime? LastLogon, string? UserStartingAliasPath, Guid UserGUID, DateTime UserLastModified, string? UserLastLogonInfo, bool? UserIsHidden, bool? UserIsDomain, bool? UserHasAllowedCultures, bool? UserMFRequired, int UserPrivilegeLevel, string? UserSecurityStamp, byte[]? UserMFSecret, long? UserMFTimestep): ICmsUser, ISourceModel +public partial record CmsUserK13(int UserID, string UserName, string? FirstName, string? MiddleName, string? LastName, string? FullName, string? Email, string UserPassword, string? PreferredCultureCode, string? PreferredUICultureCode, bool UserEnabled, bool? UserIsExternal, string? UserPasswordFormat, DateTime? UserCreated, DateTime? LastLogon, string? UserStartingAliasPath, Guid UserGUID, DateTime UserLastModified, string? UserLastLogonInfo, bool? UserIsHidden, bool? UserIsDomain, bool? UserHasAllowedCultures, bool? UserMFRequired, int UserPrivilegeLevel, string? UserSecurityStamp, byte[]? UserMFSecret, long? UserMFTimestep) : ICmsUser, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; public static string GetPrimaryKeyName(SemanticVersion version) => "UserID"; @@ -123,5 +123,4 @@ public static CmsUserK13 FromReader(IDataReader reader, SemanticVersion version) reader.Unbox("UserID"), reader.Unbox("UserName"), reader.Unbox("FirstName"), reader.Unbox("MiddleName"), reader.Unbox("LastName"), reader.Unbox("FullName"), reader.Unbox("Email"), reader.Unbox("UserPassword"), reader.Unbox("PreferredCultureCode"), reader.Unbox("PreferredUICultureCode"), reader.Unbox("UserEnabled"), reader.Unbox("UserIsExternal"), reader.Unbox("UserPasswordFormat"), reader.Unbox("UserCreated"), reader.Unbox("LastLogon"), reader.Unbox("UserStartingAliasPath"), reader.Unbox("UserGUID"), reader.Unbox("UserLastModified"), reader.Unbox("UserLastLogonInfo"), reader.Unbox("UserIsHidden"), reader.Unbox("UserIsDomain"), reader.Unbox("UserHasAllowedCultures"), reader.Unbox("UserMFRequired"), reader.Unbox("UserPrivilegeLevel"), reader.Unbox("UserSecurityStamp"), reader.Unbox("UserMFSecret"), reader.Unbox("UserMFTimestep") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsUserSetting.cs b/KVA/Migration.Toolkit.Source/Model/CmsUserSetting.cs index 5ace46ab..95d1bc0e 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsUserSetting.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsUserSetting.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsUserSetting: ISourceModel +public interface ICmsUserSetting : ISourceModel { int UserSettingsID { get; } string? UserNickName { get; } @@ -37,7 +37,7 @@ public interface ICmsUserSetting: ISourceModel DateTime? UserPasswordLastChanged { get; } bool? UserShowIntroductionTile { get; } string? UserDashboardApplications { get; } - string? UserDismissedSmartTips { get; } + string? UserDismissedSmartTips { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -72,61 +72,60 @@ static ICmsUserSetting ISourceModel.FromReader(IDataReader read }; } } -public partial record CmsUserSettingK11(int UserSettingsID, string? UserNickName, string? UserPicture, string? UserSignature, string? UserURLReferrer, string? UserCampaign, string? UserMessagingNotificationEmail, string? UserCustomData, string? UserRegistrationInfo, string? UserPreferences, DateTime? UserActivationDate, int? UserActivatedByUserID, int? UserTimeZoneID, int? UserAvatarID, int? UserBadgeID, int? UserActivityPoints, int? UserForumPosts, int? UserBlogComments, int? UserGender, DateTime? UserDateOfBirth, int? UserMessageBoardPosts, Guid UserSettingsUserGUID, int UserSettingsUserID, string? WindowsLiveID, int? UserBlogPosts, bool? UserWaitingForApproval, string? UserDialogsConfiguration, string? UserDescription, string? UserUsedWebParts, string? UserUsedWidgets, string? UserFacebookID, Guid? UserAuthenticationGUID, string? UserSkype, string? UserIM, string? UserPhone, string? UserPosition, string? UserLinkedInID, bool? UserLogActivities, string? UserPasswordRequestHash, int? UserInvalidLogOnAttempts, string? UserInvalidLogOnAttemptsHash, string? UserAvatarType, int? UserAccountLockReason, DateTime? UserPasswordLastChanged, bool? UserShowIntroductionTile, string? UserDashboardApplications, string? UserDismissedSmartTips): ICmsUserSetting, ISourceModel +public partial record CmsUserSettingK11(int UserSettingsID, string? UserNickName, string? UserPicture, string? UserSignature, string? UserURLReferrer, string? UserCampaign, string? UserMessagingNotificationEmail, string? UserCustomData, string? UserRegistrationInfo, string? UserPreferences, DateTime? UserActivationDate, int? UserActivatedByUserID, int? UserTimeZoneID, int? UserAvatarID, int? UserBadgeID, int? UserActivityPoints, int? UserForumPosts, int? UserBlogComments, int? UserGender, DateTime? UserDateOfBirth, int? UserMessageBoardPosts, Guid UserSettingsUserGUID, int UserSettingsUserID, string? WindowsLiveID, int? UserBlogPosts, bool? UserWaitingForApproval, string? UserDialogsConfiguration, string? UserDescription, string? UserUsedWebParts, string? UserUsedWidgets, string? UserFacebookID, Guid? UserAuthenticationGUID, string? UserSkype, string? UserIM, string? UserPhone, string? UserPosition, string? UserLinkedInID, bool? UserLogActivities, string? UserPasswordRequestHash, int? UserInvalidLogOnAttempts, string? UserInvalidLogOnAttemptsHash, string? UserAvatarType, int? UserAccountLockReason, DateTime? UserPasswordLastChanged, bool? UserShowIntroductionTile, string? UserDashboardApplications, string? UserDismissedSmartTips) : ICmsUserSetting, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "UserSettingsID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "UserSettingsID"; public static string TableName => "CMS_UserSettings"; public static string GuidColumnName => "UserSettingsUserGUID"; static CmsUserSettingK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsUserSettingK11( - reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserPicture"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserMessagingNotificationEmail"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserPreferences"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserBadgeID"), reader.Unbox("UserActivityPoints"), reader.Unbox("UserForumPosts"), reader.Unbox("UserBlogComments"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserMessageBoardPosts"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("WindowsLiveID"), reader.Unbox("UserBlogPosts"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserUsedWebParts"), reader.Unbox("UserUsedWidgets"), reader.Unbox("UserFacebookID"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLinkedInID"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAvatarType"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips") + reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserPicture"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserMessagingNotificationEmail"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserPreferences"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserBadgeID"), reader.Unbox("UserActivityPoints"), reader.Unbox("UserForumPosts"), reader.Unbox("UserBlogComments"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserMessageBoardPosts"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("WindowsLiveID"), reader.Unbox("UserBlogPosts"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserUsedWebParts"), reader.Unbox("UserUsedWidgets"), reader.Unbox("UserFacebookID"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLinkedInID"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAvatarType"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips") ); } public static CmsUserSettingK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsUserSettingK11( - reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserPicture"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserMessagingNotificationEmail"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserPreferences"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserBadgeID"), reader.Unbox("UserActivityPoints"), reader.Unbox("UserForumPosts"), reader.Unbox("UserBlogComments"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserMessageBoardPosts"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("WindowsLiveID"), reader.Unbox("UserBlogPosts"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserUsedWebParts"), reader.Unbox("UserUsedWidgets"), reader.Unbox("UserFacebookID"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLinkedInID"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAvatarType"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips") + reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserPicture"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserMessagingNotificationEmail"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserPreferences"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserBadgeID"), reader.Unbox("UserActivityPoints"), reader.Unbox("UserForumPosts"), reader.Unbox("UserBlogComments"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserMessageBoardPosts"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("WindowsLiveID"), reader.Unbox("UserBlogPosts"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserUsedWebParts"), reader.Unbox("UserUsedWidgets"), reader.Unbox("UserFacebookID"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLinkedInID"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAvatarType"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips") ); } }; -public partial record CmsUserSettingK12(int UserSettingsID, string? UserNickName, string? UserPicture, string? UserSignature, string? UserURLReferrer, string? UserCampaign, string? UserCustomData, string? UserRegistrationInfo, string? UserPreferences, DateTime? UserActivationDate, int? UserActivatedByUserID, int? UserTimeZoneID, int? UserAvatarID, int? UserBadgeID, int? UserActivityPoints, int? UserForumPosts, int? UserBlogComments, int? UserGender, DateTime? UserDateOfBirth, int? UserMessageBoardPosts, Guid UserSettingsUserGUID, int UserSettingsUserID, string? WindowsLiveID, int? UserBlogPosts, bool? UserWaitingForApproval, string? UserDialogsConfiguration, string? UserDescription, string? UserUsedWebParts, string? UserUsedWidgets, string? UserFacebookID, Guid? UserAuthenticationGUID, string? UserSkype, string? UserIM, string? UserPhone, string? UserPosition, string? UserLinkedInID, bool? UserLogActivities, string? UserPasswordRequestHash, int? UserInvalidLogOnAttempts, string? UserInvalidLogOnAttemptsHash, string? UserAvatarType, int? UserAccountLockReason, DateTime? UserPasswordLastChanged, bool? UserShowIntroductionTile, string? UserDashboardApplications, string? UserDismissedSmartTips): ICmsUserSetting, ISourceModel +public partial record CmsUserSettingK12(int UserSettingsID, string? UserNickName, string? UserPicture, string? UserSignature, string? UserURLReferrer, string? UserCampaign, string? UserCustomData, string? UserRegistrationInfo, string? UserPreferences, DateTime? UserActivationDate, int? UserActivatedByUserID, int? UserTimeZoneID, int? UserAvatarID, int? UserBadgeID, int? UserActivityPoints, int? UserForumPosts, int? UserBlogComments, int? UserGender, DateTime? UserDateOfBirth, int? UserMessageBoardPosts, Guid UserSettingsUserGUID, int UserSettingsUserID, string? WindowsLiveID, int? UserBlogPosts, bool? UserWaitingForApproval, string? UserDialogsConfiguration, string? UserDescription, string? UserUsedWebParts, string? UserUsedWidgets, string? UserFacebookID, Guid? UserAuthenticationGUID, string? UserSkype, string? UserIM, string? UserPhone, string? UserPosition, string? UserLinkedInID, bool? UserLogActivities, string? UserPasswordRequestHash, int? UserInvalidLogOnAttempts, string? UserInvalidLogOnAttemptsHash, string? UserAvatarType, int? UserAccountLockReason, DateTime? UserPasswordLastChanged, bool? UserShowIntroductionTile, string? UserDashboardApplications, string? UserDismissedSmartTips) : ICmsUserSetting, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "UserSettingsID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "UserSettingsID"; public static string TableName => "CMS_UserSettings"; public static string GuidColumnName => "UserSettingsUserGUID"; static CmsUserSettingK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsUserSettingK12( - reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserPicture"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserPreferences"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserBadgeID"), reader.Unbox("UserActivityPoints"), reader.Unbox("UserForumPosts"), reader.Unbox("UserBlogComments"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserMessageBoardPosts"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("WindowsLiveID"), reader.Unbox("UserBlogPosts"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserUsedWebParts"), reader.Unbox("UserUsedWidgets"), reader.Unbox("UserFacebookID"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLinkedInID"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAvatarType"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips") + reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserPicture"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserPreferences"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserBadgeID"), reader.Unbox("UserActivityPoints"), reader.Unbox("UserForumPosts"), reader.Unbox("UserBlogComments"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserMessageBoardPosts"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("WindowsLiveID"), reader.Unbox("UserBlogPosts"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserUsedWebParts"), reader.Unbox("UserUsedWidgets"), reader.Unbox("UserFacebookID"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLinkedInID"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAvatarType"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips") ); } public static CmsUserSettingK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsUserSettingK12( - reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserPicture"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserPreferences"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserBadgeID"), reader.Unbox("UserActivityPoints"), reader.Unbox("UserForumPosts"), reader.Unbox("UserBlogComments"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserMessageBoardPosts"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("WindowsLiveID"), reader.Unbox("UserBlogPosts"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserUsedWebParts"), reader.Unbox("UserUsedWidgets"), reader.Unbox("UserFacebookID"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLinkedInID"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAvatarType"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips") + reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserPicture"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserPreferences"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserBadgeID"), reader.Unbox("UserActivityPoints"), reader.Unbox("UserForumPosts"), reader.Unbox("UserBlogComments"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserMessageBoardPosts"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("WindowsLiveID"), reader.Unbox("UserBlogPosts"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserUsedWebParts"), reader.Unbox("UserUsedWidgets"), reader.Unbox("UserFacebookID"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLinkedInID"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAvatarType"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips") ); } }; -public partial record CmsUserSettingK13(int UserSettingsID, string? UserNickName, string? UserSignature, string? UserURLReferrer, string? UserCampaign, string? UserCustomData, string? UserRegistrationInfo, DateTime? UserActivationDate, int? UserActivatedByUserID, int? UserTimeZoneID, int? UserAvatarID, int? UserGender, DateTime? UserDateOfBirth, Guid UserSettingsUserGUID, int UserSettingsUserID, bool? UserWaitingForApproval, string? UserDialogsConfiguration, string? UserDescription, Guid? UserAuthenticationGUID, string? UserSkype, string? UserIM, string? UserPhone, string? UserPosition, bool? UserLogActivities, string? UserPasswordRequestHash, int? UserInvalidLogOnAttempts, string? UserInvalidLogOnAttemptsHash, int? UserAccountLockReason, DateTime? UserPasswordLastChanged, bool? UserShowIntroductionTile, string? UserDashboardApplications, string? UserDismissedSmartTips, string? SuperSettingsCustomizedKey): ICmsUserSetting, ISourceModel +public partial record CmsUserSettingK13(int UserSettingsID, string? UserNickName, string? UserSignature, string? UserURLReferrer, string? UserCampaign, string? UserCustomData, string? UserRegistrationInfo, DateTime? UserActivationDate, int? UserActivatedByUserID, int? UserTimeZoneID, int? UserAvatarID, int? UserGender, DateTime? UserDateOfBirth, Guid UserSettingsUserGUID, int UserSettingsUserID, bool? UserWaitingForApproval, string? UserDialogsConfiguration, string? UserDescription, Guid? UserAuthenticationGUID, string? UserSkype, string? UserIM, string? UserPhone, string? UserPosition, bool? UserLogActivities, string? UserPasswordRequestHash, int? UserInvalidLogOnAttempts, string? UserInvalidLogOnAttemptsHash, int? UserAccountLockReason, DateTime? UserPasswordLastChanged, bool? UserShowIntroductionTile, string? UserDashboardApplications, string? UserDismissedSmartTips, string? SuperSettingsCustomizedKey) : ICmsUserSetting, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "UserSettingsID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "UserSettingsID"; public static string TableName => "CMS_UserSettings"; public static string GuidColumnName => "UserSettingsUserGUID"; static CmsUserSettingK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsUserSettingK13( - reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips"), reader.Unbox("SuperSettingsCustomizedKey") + reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips"), reader.Unbox("SuperSettingsCustomizedKey") ); } public static CmsUserSettingK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsUserSettingK13( - reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips"), reader.Unbox("SuperSettingsCustomizedKey") + reader.Unbox("UserSettingsID"), reader.Unbox("UserNickName"), reader.Unbox("UserSignature"), reader.Unbox("UserURLReferrer"), reader.Unbox("UserCampaign"), reader.Unbox("UserCustomData"), reader.Unbox("UserRegistrationInfo"), reader.Unbox("UserActivationDate"), reader.Unbox("UserActivatedByUserID"), reader.Unbox("UserTimeZoneID"), reader.Unbox("UserAvatarID"), reader.Unbox("UserGender"), reader.Unbox("UserDateOfBirth"), reader.Unbox("UserSettingsUserGUID"), reader.Unbox("UserSettingsUserID"), reader.Unbox("UserWaitingForApproval"), reader.Unbox("UserDialogsConfiguration"), reader.Unbox("UserDescription"), reader.Unbox("UserAuthenticationGUID"), reader.Unbox("UserSkype"), reader.Unbox("UserIM"), reader.Unbox("UserPhone"), reader.Unbox("UserPosition"), reader.Unbox("UserLogActivities"), reader.Unbox("UserPasswordRequestHash"), reader.Unbox("UserInvalidLogOnAttempts"), reader.Unbox("UserInvalidLogOnAttemptsHash"), reader.Unbox("UserAccountLockReason"), reader.Unbox("UserPasswordLastChanged"), reader.Unbox("UserShowIntroductionTile"), reader.Unbox("UserDashboardApplications"), reader.Unbox("UserDismissedSmartTips"), reader.Unbox("SuperSettingsCustomizedKey") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/CmsVersionHistory.cs b/KVA/Migration.Toolkit.Source/Model/CmsVersionHistory.cs index 6f4f5a0a..967ecfa7 100644 --- a/KVA/Migration.Toolkit.Source/Model/CmsVersionHistory.cs +++ b/KVA/Migration.Toolkit.Source/Model/CmsVersionHistory.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface ICmsVersionHistory: ISourceModel +public interface ICmsVersionHistory : ISourceModel { int VersionHistoryID { get; } int NodeSiteID { get; } @@ -25,7 +25,7 @@ public interface ICmsVersionHistory: ISourceModel int? VersionWorkflowStepID { get; } string? VersionNodeAliasPath { get; } int? VersionDeletedByUserID { get; } - DateTime? VersionDeletedWhen { get; } + DateTime? VersionDeletedWhen { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -60,61 +60,60 @@ static ICmsVersionHistory ISourceModel.FromReader(IDataReade }; } } -public partial record CmsVersionHistoryK11(int VersionHistoryID, int NodeSiteID, int? DocumentID, string DocumentNamePath, string NodeXML, int? ModifiedByUserID, DateTime ModifiedWhen, string? VersionNumber, string? VersionComment, bool ToBePublished, DateTime? PublishFrom, DateTime? PublishTo, DateTime? WasPublishedFrom, DateTime? WasPublishedTo, string? VersionDocumentName, string? VersionDocumentType, int? VersionClassID, string? VersionMenuRedirectUrl, int? VersionWorkflowID, int? VersionWorkflowStepID, string? VersionNodeAliasPath, int? VersionDeletedByUserID, DateTime? VersionDeletedWhen): ICmsVersionHistory, ISourceModel +public partial record CmsVersionHistoryK11(int VersionHistoryID, int NodeSiteID, int? DocumentID, string DocumentNamePath, string NodeXML, int? ModifiedByUserID, DateTime ModifiedWhen, string? VersionNumber, string? VersionComment, bool ToBePublished, DateTime? PublishFrom, DateTime? PublishTo, DateTime? WasPublishedFrom, DateTime? WasPublishedTo, string? VersionDocumentName, string? VersionDocumentType, int? VersionClassID, string? VersionMenuRedirectUrl, int? VersionWorkflowID, int? VersionWorkflowStepID, string? VersionNodeAliasPath, int? VersionDeletedByUserID, DateTime? VersionDeletedWhen) : ICmsVersionHistory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "VersionHistoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "VersionHistoryID"; public static string TableName => "CMS_VersionHistory"; public static string GuidColumnName => ""; static CmsVersionHistoryK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsVersionHistoryK11( - reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("DocumentNamePath"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionDocumentType"), reader.Unbox("VersionClassID"), reader.Unbox("VersionMenuRedirectUrl"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") + reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("DocumentNamePath"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionDocumentType"), reader.Unbox("VersionClassID"), reader.Unbox("VersionMenuRedirectUrl"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") ); } public static CmsVersionHistoryK11 FromReader(IDataReader reader, SemanticVersion version) { return new CmsVersionHistoryK11( - reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("DocumentNamePath"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionDocumentType"), reader.Unbox("VersionClassID"), reader.Unbox("VersionMenuRedirectUrl"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") + reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("DocumentNamePath"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionDocumentType"), reader.Unbox("VersionClassID"), reader.Unbox("VersionMenuRedirectUrl"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") ); } }; -public partial record CmsVersionHistoryK12(int VersionHistoryID, int NodeSiteID, int? DocumentID, string DocumentNamePath, string NodeXML, int? ModifiedByUserID, DateTime ModifiedWhen, string? VersionNumber, string? VersionComment, bool ToBePublished, DateTime? PublishFrom, DateTime? PublishTo, DateTime? WasPublishedFrom, DateTime? WasPublishedTo, string? VersionDocumentName, string? VersionDocumentType, int? VersionClassID, string? VersionMenuRedirectUrl, int? VersionWorkflowID, int? VersionWorkflowStepID, string? VersionNodeAliasPath, int? VersionDeletedByUserID, DateTime? VersionDeletedWhen): ICmsVersionHistory, ISourceModel +public partial record CmsVersionHistoryK12(int VersionHistoryID, int NodeSiteID, int? DocumentID, string DocumentNamePath, string NodeXML, int? ModifiedByUserID, DateTime ModifiedWhen, string? VersionNumber, string? VersionComment, bool ToBePublished, DateTime? PublishFrom, DateTime? PublishTo, DateTime? WasPublishedFrom, DateTime? WasPublishedTo, string? VersionDocumentName, string? VersionDocumentType, int? VersionClassID, string? VersionMenuRedirectUrl, int? VersionWorkflowID, int? VersionWorkflowStepID, string? VersionNodeAliasPath, int? VersionDeletedByUserID, DateTime? VersionDeletedWhen) : ICmsVersionHistory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "VersionHistoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "VersionHistoryID"; public static string TableName => "CMS_VersionHistory"; public static string GuidColumnName => ""; static CmsVersionHistoryK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsVersionHistoryK12( - reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("DocumentNamePath"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionDocumentType"), reader.Unbox("VersionClassID"), reader.Unbox("VersionMenuRedirectUrl"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") + reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("DocumentNamePath"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionDocumentType"), reader.Unbox("VersionClassID"), reader.Unbox("VersionMenuRedirectUrl"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") ); } public static CmsVersionHistoryK12 FromReader(IDataReader reader, SemanticVersion version) { return new CmsVersionHistoryK12( - reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("DocumentNamePath"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionDocumentType"), reader.Unbox("VersionClassID"), reader.Unbox("VersionMenuRedirectUrl"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") + reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("DocumentNamePath"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionDocumentType"), reader.Unbox("VersionClassID"), reader.Unbox("VersionMenuRedirectUrl"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") ); } }; -public partial record CmsVersionHistoryK13(int VersionHistoryID, int NodeSiteID, int? DocumentID, string NodeXML, int? ModifiedByUserID, DateTime ModifiedWhen, string? VersionNumber, string? VersionComment, bool ToBePublished, DateTime? PublishFrom, DateTime? PublishTo, DateTime? WasPublishedFrom, DateTime? WasPublishedTo, string? VersionDocumentName, int? VersionClassID, int? VersionWorkflowID, int? VersionWorkflowStepID, string? VersionNodeAliasPath, int? VersionDeletedByUserID, DateTime? VersionDeletedWhen): ICmsVersionHistory, ISourceModel +public partial record CmsVersionHistoryK13(int VersionHistoryID, int NodeSiteID, int? DocumentID, string NodeXML, int? ModifiedByUserID, DateTime ModifiedWhen, string? VersionNumber, string? VersionComment, bool ToBePublished, DateTime? PublishFrom, DateTime? PublishTo, DateTime? WasPublishedFrom, DateTime? WasPublishedTo, string? VersionDocumentName, int? VersionClassID, int? VersionWorkflowID, int? VersionWorkflowStepID, string? VersionNodeAliasPath, int? VersionDeletedByUserID, DateTime? VersionDeletedWhen) : ICmsVersionHistory, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "VersionHistoryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "VersionHistoryID"; public static string TableName => "CMS_VersionHistory"; public static string GuidColumnName => ""; static CmsVersionHistoryK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new CmsVersionHistoryK13( - reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionClassID"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") + reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionClassID"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") ); } public static CmsVersionHistoryK13 FromReader(IDataReader reader, SemanticVersion version) { return new CmsVersionHistoryK13( - reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionClassID"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") + reader.Unbox("VersionHistoryID"), reader.Unbox("NodeSiteID"), reader.Unbox("DocumentID"), reader.Unbox("NodeXML"), reader.Unbox("ModifiedByUserID"), reader.Unbox("ModifiedWhen"), reader.Unbox("VersionNumber"), reader.Unbox("VersionComment"), reader.Unbox("ToBePublished"), reader.Unbox("PublishFrom"), reader.Unbox("PublishTo"), reader.Unbox("WasPublishedFrom"), reader.Unbox("WasPublishedTo"), reader.Unbox("VersionDocumentName"), reader.Unbox("VersionClassID"), reader.Unbox("VersionWorkflowID"), reader.Unbox("VersionWorkflowStepID"), reader.Unbox("VersionNodeAliasPath"), reader.Unbox("VersionDeletedByUserID"), reader.Unbox("VersionDeletedWhen") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/MediaFile.cs b/KVA/Migration.Toolkit.Source/Model/MediaFile.cs index 949311d6..178a39ca 100644 --- a/KVA/Migration.Toolkit.Source/Model/MediaFile.cs +++ b/KVA/Migration.Toolkit.Source/Model/MediaFile.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface IMediaFile: ISourceModel +public interface IMediaFile : ISourceModel { int FileID { get; } string FileName { get; } @@ -23,7 +23,7 @@ public interface IMediaFile: ISourceModel DateTime FileCreatedWhen { get; } int? FileModifiedByUserID { get; } DateTime FileModifiedWhen { get; } - string? FileCustomData { get; } + string? FileCustomData { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -58,61 +58,60 @@ static IMediaFile ISourceModel.FromReader(IDataReader reader, Semant }; } } -public partial record MediaFileK11(int FileID, string FileName, string FileTitle, string FileDescription, string FileExtension, string FileMimeType, string FilePath, long FileSize, int? FileImageWidth, int? FileImageHeight, Guid FileGUID, int FileLibraryID, int FileSiteID, int? FileCreatedByUserID, DateTime FileCreatedWhen, int? FileModifiedByUserID, DateTime FileModifiedWhen, string? FileCustomData): IMediaFile, ISourceModel +public partial record MediaFileK11(int FileID, string FileName, string FileTitle, string FileDescription, string FileExtension, string FileMimeType, string FilePath, long FileSize, int? FileImageWidth, int? FileImageHeight, Guid FileGUID, int FileLibraryID, int FileSiteID, int? FileCreatedByUserID, DateTime FileCreatedWhen, int? FileModifiedByUserID, DateTime FileModifiedWhen, string? FileCustomData) : IMediaFile, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FileID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FileID"; public static string TableName => "Media_File"; public static string GuidColumnName => "FileGUID"; static MediaFileK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new MediaFileK11( - reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") + reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") ); } public static MediaFileK11 FromReader(IDataReader reader, SemanticVersion version) { return new MediaFileK11( - reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") + reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") ); } }; -public partial record MediaFileK12(int FileID, string FileName, string FileTitle, string FileDescription, string FileExtension, string FileMimeType, string FilePath, long FileSize, int? FileImageWidth, int? FileImageHeight, Guid FileGUID, int FileLibraryID, int FileSiteID, int? FileCreatedByUserID, DateTime FileCreatedWhen, int? FileModifiedByUserID, DateTime FileModifiedWhen, string? FileCustomData): IMediaFile, ISourceModel +public partial record MediaFileK12(int FileID, string FileName, string FileTitle, string FileDescription, string FileExtension, string FileMimeType, string FilePath, long FileSize, int? FileImageWidth, int? FileImageHeight, Guid FileGUID, int FileLibraryID, int FileSiteID, int? FileCreatedByUserID, DateTime FileCreatedWhen, int? FileModifiedByUserID, DateTime FileModifiedWhen, string? FileCustomData) : IMediaFile, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FileID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FileID"; public static string TableName => "Media_File"; public static string GuidColumnName => "FileGUID"; static MediaFileK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new MediaFileK12( - reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") + reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") ); } public static MediaFileK12 FromReader(IDataReader reader, SemanticVersion version) { return new MediaFileK12( - reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") + reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") ); } }; -public partial record MediaFileK13(int FileID, string FileName, string FileTitle, string FileDescription, string FileExtension, string FileMimeType, string FilePath, long FileSize, int? FileImageWidth, int? FileImageHeight, Guid FileGUID, int FileLibraryID, int FileSiteID, int? FileCreatedByUserID, DateTime FileCreatedWhen, int? FileModifiedByUserID, DateTime FileModifiedWhen, string? FileCustomData): IMediaFile, ISourceModel +public partial record MediaFileK13(int FileID, string FileName, string FileTitle, string FileDescription, string FileExtension, string FileMimeType, string FilePath, long FileSize, int? FileImageWidth, int? FileImageHeight, Guid FileGUID, int FileLibraryID, int FileSiteID, int? FileCreatedByUserID, DateTime FileCreatedWhen, int? FileModifiedByUserID, DateTime FileModifiedWhen, string? FileCustomData) : IMediaFile, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "FileID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "FileID"; public static string TableName => "Media_File"; public static string GuidColumnName => "FileGUID"; static MediaFileK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new MediaFileK13( - reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") + reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") ); } public static MediaFileK13 FromReader(IDataReader reader, SemanticVersion version) { return new MediaFileK13( - reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") + reader.Unbox("FileID"), reader.Unbox("FileName"), reader.Unbox("FileTitle"), reader.Unbox("FileDescription"), reader.Unbox("FileExtension"), reader.Unbox("FileMimeType"), reader.Unbox("FilePath"), reader.Unbox("FileSize"), reader.Unbox("FileImageWidth"), reader.Unbox("FileImageHeight"), reader.Unbox("FileGUID"), reader.Unbox("FileLibraryID"), reader.Unbox("FileSiteID"), reader.Unbox("FileCreatedByUserID"), reader.Unbox("FileCreatedWhen"), reader.Unbox("FileModifiedByUserID"), reader.Unbox("FileModifiedWhen"), reader.Unbox("FileCustomData") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/MediaLibrary.cs b/KVA/Migration.Toolkit.Source/Model/MediaLibrary.cs index 5f1a56ca..cf45a163 100644 --- a/KVA/Migration.Toolkit.Source/Model/MediaLibrary.cs +++ b/KVA/Migration.Toolkit.Source/Model/MediaLibrary.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface IMediaLibrary: ISourceModel +public interface IMediaLibrary : ISourceModel { int LibraryID { get; } string LibraryName { get; } @@ -16,7 +16,7 @@ public interface IMediaLibrary: ISourceModel Guid? LibraryGUID { get; } DateTime? LibraryLastModified { get; } string? LibraryTeaserPath { get; } - Guid? LibraryTeaserGUID { get; } + Guid? LibraryTeaserGUID { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -51,61 +51,60 @@ static IMediaLibrary ISourceModel.FromReader(IDataReader reader, }; } } -public partial record MediaLibraryK11(int LibraryID, string LibraryName, string LibraryDisplayName, string? LibraryDescription, string LibraryFolder, int? LibraryAccess, int? LibraryGroupID, int LibrarySiteID, Guid? LibraryGUID, DateTime? LibraryLastModified, string? LibraryTeaserPath, Guid? LibraryTeaserGUID): IMediaLibrary, ISourceModel +public partial record MediaLibraryK11(int LibraryID, string LibraryName, string LibraryDisplayName, string? LibraryDescription, string LibraryFolder, int? LibraryAccess, int? LibraryGroupID, int LibrarySiteID, Guid? LibraryGUID, DateTime? LibraryLastModified, string? LibraryTeaserPath, Guid? LibraryTeaserGUID) : IMediaLibrary, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "LibraryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "LibraryID"; public static string TableName => "Media_Library"; public static string GuidColumnName => "LibraryTeaserGUID"; static MediaLibraryK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new MediaLibraryK11( - reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibraryGroupID"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID") + reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibraryGroupID"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID") ); } public static MediaLibraryK11 FromReader(IDataReader reader, SemanticVersion version) { return new MediaLibraryK11( - reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibraryGroupID"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID") + reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibraryGroupID"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID") ); } }; -public partial record MediaLibraryK12(int LibraryID, string LibraryName, string LibraryDisplayName, string? LibraryDescription, string LibraryFolder, int? LibraryAccess, int? LibraryGroupID, int LibrarySiteID, Guid? LibraryGUID, DateTime? LibraryLastModified, string? LibraryTeaserPath, Guid? LibraryTeaserGUID): IMediaLibrary, ISourceModel +public partial record MediaLibraryK12(int LibraryID, string LibraryName, string LibraryDisplayName, string? LibraryDescription, string LibraryFolder, int? LibraryAccess, int? LibraryGroupID, int LibrarySiteID, Guid? LibraryGUID, DateTime? LibraryLastModified, string? LibraryTeaserPath, Guid? LibraryTeaserGUID) : IMediaLibrary, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "LibraryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "LibraryID"; public static string TableName => "Media_Library"; public static string GuidColumnName => "LibraryTeaserGUID"; static MediaLibraryK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new MediaLibraryK12( - reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibraryGroupID"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID") + reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibraryGroupID"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID") ); } public static MediaLibraryK12 FromReader(IDataReader reader, SemanticVersion version) { return new MediaLibraryK12( - reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibraryGroupID"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID") + reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibraryGroupID"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID") ); } }; -public partial record MediaLibraryK13(int LibraryID, string LibraryName, string LibraryDisplayName, string? LibraryDescription, string LibraryFolder, int? LibraryAccess, int LibrarySiteID, Guid? LibraryGUID, DateTime? LibraryLastModified, string? LibraryTeaserPath, Guid? LibraryTeaserGUID, bool? LibraryUseDirectPathForContent): IMediaLibrary, ISourceModel +public partial record MediaLibraryK13(int LibraryID, string LibraryName, string LibraryDisplayName, string? LibraryDescription, string LibraryFolder, int? LibraryAccess, int LibrarySiteID, Guid? LibraryGUID, DateTime? LibraryLastModified, string? LibraryTeaserPath, Guid? LibraryTeaserGUID, bool? LibraryUseDirectPathForContent) : IMediaLibrary, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "LibraryID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "LibraryID"; public static string TableName => "Media_Library"; public static string GuidColumnName => "LibraryTeaserGUID"; static MediaLibraryK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new MediaLibraryK13( - reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID"), reader.Unbox("LibraryUseDirectPathForContent") + reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID"), reader.Unbox("LibraryUseDirectPathForContent") ); } public static MediaLibraryK13 FromReader(IDataReader reader, SemanticVersion version) { return new MediaLibraryK13( - reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID"), reader.Unbox("LibraryUseDirectPathForContent") + reader.Unbox("LibraryID"), reader.Unbox("LibraryName"), reader.Unbox("LibraryDisplayName"), reader.Unbox("LibraryDescription"), reader.Unbox("LibraryFolder"), reader.Unbox("LibraryAccess"), reader.Unbox("LibrarySiteID"), reader.Unbox("LibraryGUID"), reader.Unbox("LibraryLastModified"), reader.Unbox("LibraryTeaserPath"), reader.Unbox("LibraryTeaserGUID"), reader.Unbox("LibraryUseDirectPathForContent") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/OmActivity.cs b/KVA/Migration.Toolkit.Source/Model/OmActivity.cs index 870fb4d0..3b264eae 100644 --- a/KVA/Migration.Toolkit.Source/Model/OmActivity.cs +++ b/KVA/Migration.Toolkit.Source/Model/OmActivity.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface IOmActivity: ISourceModel +public interface IOmActivity : ISourceModel { int ActivityID { get; } int ActivityContactID { get; } @@ -24,7 +24,7 @@ public interface IOmActivity: ISourceModel string? ActivityUTMSource { get; } string? ActivityABVariantName { get; } long ActivityURLHash { get; } - string? ActivityUTMContent { get; } + string? ActivityUTMContent { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -59,61 +59,60 @@ static IOmActivity ISourceModel.FromReader(IDataReader reader, Sema }; } } -public partial record OmActivityK11(int ActivityID, int ActivityContactID, DateTime? ActivityCreated, string ActivityType, int? ActivityItemID, int? ActivityItemDetailID, string? ActivityValue, string? ActivityURL, string? ActivityTitle, int ActivitySiteID, string? ActivityComment, string? ActivityCampaign, string? ActivityURLReferrer, string? ActivityCulture, int? ActivityNodeID, string? ActivityUTMSource, string? ActivityABVariantName, string? ActivityMVTCombinationName, long ActivityURLHash, string? ActivityUTMContent): IOmActivity, ISourceModel +public partial record OmActivityK11(int ActivityID, int ActivityContactID, DateTime? ActivityCreated, string ActivityType, int? ActivityItemID, int? ActivityItemDetailID, string? ActivityValue, string? ActivityURL, string? ActivityTitle, int ActivitySiteID, string? ActivityComment, string? ActivityCampaign, string? ActivityURLReferrer, string? ActivityCulture, int? ActivityNodeID, string? ActivityUTMSource, string? ActivityABVariantName, string? ActivityMVTCombinationName, long ActivityURLHash, string? ActivityUTMContent) : IOmActivity, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ActivityID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ActivityID"; public static string TableName => "OM_Activity"; public static string GuidColumnName => ""; static OmActivityK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmActivityK11( - reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityMVTCombinationName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") + reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityMVTCombinationName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") ); } public static OmActivityK11 FromReader(IDataReader reader, SemanticVersion version) { return new OmActivityK11( - reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityMVTCombinationName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") + reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityMVTCombinationName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") ); } }; -public partial record OmActivityK12(int ActivityID, int ActivityContactID, DateTime? ActivityCreated, string ActivityType, int? ActivityItemID, int? ActivityItemDetailID, string? ActivityValue, string? ActivityURL, string? ActivityTitle, int ActivitySiteID, string? ActivityComment, string? ActivityCampaign, string? ActivityURLReferrer, string? ActivityCulture, int? ActivityNodeID, string? ActivityUTMSource, string? ActivityABVariantName, string? ActivityMVTCombinationName, long ActivityURLHash, string? ActivityUTMContent): IOmActivity, ISourceModel +public partial record OmActivityK12(int ActivityID, int ActivityContactID, DateTime? ActivityCreated, string ActivityType, int? ActivityItemID, int? ActivityItemDetailID, string? ActivityValue, string? ActivityURL, string? ActivityTitle, int ActivitySiteID, string? ActivityComment, string? ActivityCampaign, string? ActivityURLReferrer, string? ActivityCulture, int? ActivityNodeID, string? ActivityUTMSource, string? ActivityABVariantName, string? ActivityMVTCombinationName, long ActivityURLHash, string? ActivityUTMContent) : IOmActivity, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ActivityID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ActivityID"; public static string TableName => "OM_Activity"; public static string GuidColumnName => ""; static OmActivityK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmActivityK12( - reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityMVTCombinationName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") + reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityMVTCombinationName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") ); } public static OmActivityK12 FromReader(IDataReader reader, SemanticVersion version) { return new OmActivityK12( - reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityMVTCombinationName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") + reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityMVTCombinationName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") ); } }; -public partial record OmActivityK13(int ActivityID, int ActivityContactID, DateTime? ActivityCreated, string ActivityType, int? ActivityItemID, int? ActivityItemDetailID, string? ActivityValue, string? ActivityURL, string? ActivityTitle, int ActivitySiteID, string? ActivityComment, string? ActivityCampaign, string? ActivityURLReferrer, string? ActivityCulture, int? ActivityNodeID, string? ActivityUTMSource, string? ActivityABVariantName, long ActivityURLHash, string? ActivityUTMContent): IOmActivity, ISourceModel +public partial record OmActivityK13(int ActivityID, int ActivityContactID, DateTime? ActivityCreated, string ActivityType, int? ActivityItemID, int? ActivityItemDetailID, string? ActivityValue, string? ActivityURL, string? ActivityTitle, int ActivitySiteID, string? ActivityComment, string? ActivityCampaign, string? ActivityURLReferrer, string? ActivityCulture, int? ActivityNodeID, string? ActivityUTMSource, string? ActivityABVariantName, long ActivityURLHash, string? ActivityUTMContent) : IOmActivity, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ActivityID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ActivityID"; public static string TableName => "OM_Activity"; public static string GuidColumnName => ""; static OmActivityK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmActivityK13( - reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") + reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") ); } public static OmActivityK13 FromReader(IDataReader reader, SemanticVersion version) { return new OmActivityK13( - reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") + reader.Unbox("ActivityID"), reader.Unbox("ActivityContactID"), reader.Unbox("ActivityCreated"), reader.Unbox("ActivityType"), reader.Unbox("ActivityItemID"), reader.Unbox("ActivityItemDetailID"), reader.Unbox("ActivityValue"), reader.Unbox("ActivityURL"), reader.Unbox("ActivityTitle"), reader.Unbox("ActivitySiteID"), reader.Unbox("ActivityComment"), reader.Unbox("ActivityCampaign"), reader.Unbox("ActivityURLReferrer"), reader.Unbox("ActivityCulture"), reader.Unbox("ActivityNodeID"), reader.Unbox("ActivityUTMSource"), reader.Unbox("ActivityABVariantName"), reader.Unbox("ActivityURLHash"), reader.Unbox("ActivityUTMContent") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/OmContact.cs b/KVA/Migration.Toolkit.Source/Model/OmContact.cs index 087f1707..b43faacb 100644 --- a/KVA/Migration.Toolkit.Source/Model/OmContact.cs +++ b/KVA/Migration.Toolkit.Source/Model/OmContact.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface IOmContact: ISourceModel +public interface IOmContact : ISourceModel { int ContactID { get; } string? ContactFirstName { get; } @@ -36,7 +36,7 @@ public interface IOmContact: ISourceModel DateTime? ContactSalesForceLeadReplicationSuspensionDateTime { get; } string? ContactCompanyName { get; } bool? ContactSalesForceLeadReplicationRequired { get; } - int? ContactPersonaID { get; } + int? ContactPersonaID { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -71,61 +71,60 @@ static IOmContact ISourceModel.FromReader(IDataReader reader, Semant }; } } -public partial record OmContactK11(int ContactID, string? ContactFirstName, string? ContactMiddleName, string? ContactLastName, string? ContactJobTitle, string? ContactAddress1, string? ContactCity, string? ContactZIP, int? ContactStateID, int? ContactCountryID, string? ContactMobilePhone, string? ContactBusinessPhone, string? ContactEmail, DateTime? ContactBirthday, int? ContactGender, int? ContactStatusID, string? ContactNotes, int? ContactOwnerUserID, bool? ContactMonitored, Guid ContactGUID, DateTime ContactLastModified, DateTime ContactCreated, int? ContactBounces, string? ContactCampaign, string? ContactSalesForceLeadID, bool? ContactSalesForceLeadReplicationDisabled, DateTime? ContactSalesForceLeadReplicationDateTime, DateTime? ContactSalesForceLeadReplicationSuspensionDateTime, string? ContactCompanyName, bool? ContactSalesForceLeadReplicationRequired, int? ContactPersonaID): IOmContact, ISourceModel +public partial record OmContactK11(int ContactID, string? ContactFirstName, string? ContactMiddleName, string? ContactLastName, string? ContactJobTitle, string? ContactAddress1, string? ContactCity, string? ContactZIP, int? ContactStateID, int? ContactCountryID, string? ContactMobilePhone, string? ContactBusinessPhone, string? ContactEmail, DateTime? ContactBirthday, int? ContactGender, int? ContactStatusID, string? ContactNotes, int? ContactOwnerUserID, bool? ContactMonitored, Guid ContactGUID, DateTime ContactLastModified, DateTime ContactCreated, int? ContactBounces, string? ContactCampaign, string? ContactSalesForceLeadID, bool? ContactSalesForceLeadReplicationDisabled, DateTime? ContactSalesForceLeadReplicationDateTime, DateTime? ContactSalesForceLeadReplicationSuspensionDateTime, string? ContactCompanyName, bool? ContactSalesForceLeadReplicationRequired, int? ContactPersonaID) : IOmContact, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ContactID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ContactID"; public static string TableName => "OM_Contact"; public static string GuidColumnName => "ContactGUID"; static OmContactK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmContactK11( - reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID") + reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID") ); } public static OmContactK11 FromReader(IDataReader reader, SemanticVersion version) { return new OmContactK11( - reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID") + reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID") ); } }; -public partial record OmContactK12(int ContactID, string? ContactFirstName, string? ContactMiddleName, string? ContactLastName, string? ContactJobTitle, string? ContactAddress1, string? ContactCity, string? ContactZIP, int? ContactStateID, int? ContactCountryID, string? ContactMobilePhone, string? ContactBusinessPhone, string? ContactEmail, DateTime? ContactBirthday, int? ContactGender, int? ContactStatusID, string? ContactNotes, int? ContactOwnerUserID, bool? ContactMonitored, Guid ContactGUID, DateTime ContactLastModified, DateTime ContactCreated, int? ContactBounces, string? ContactCampaign, string? ContactSalesForceLeadID, bool? ContactSalesForceLeadReplicationDisabled, DateTime? ContactSalesForceLeadReplicationDateTime, DateTime? ContactSalesForceLeadReplicationSuspensionDateTime, string? ContactCompanyName, bool? ContactSalesForceLeadReplicationRequired, int? ContactPersonaID, string? FirstUserAgent, string? FirstIPAddress, string? FirstRequestUrl, string? KenticoUrlReferrer, string? KenticoContactRegionName, string? KenticoContactRegionCode, string? KenticoContactPostalCode, string? KenticoContactCampaignSource, string? KenticoContactCampaignContent, bool? NeedRecalculation, int? ProfileScore, int? EngagementScore, int? TotalScore, int? Zone, Guid? DynamicsLeadGuid, Guid? DynamicsContactGuid, string? DynamicsAccountType, string? DynamicsAccountStatus, bool? LegitimateInterest, string? DynamicsActivePartnerships, DateTime? DynamicsDateOfSync, bool? PairedWithDynamicsCrm, DateTime? FirstPairDate, int? PairedBy, bool? IsArchived, DateTime? ArchivationDate, bool? HasFreeEmail, int? SameDomainContacts, string? AreYouLookingForCMS, string? Role, string? KenticoContactBusinessType, string? MarketingAutomationVariant, string? KontentIntercomUserID, string? KontentGoogleAnalyticsUserID, string? KontentAmplitudeUserID): IOmContact, ISourceModel +public partial record OmContactK12(int ContactID, string? ContactFirstName, string? ContactMiddleName, string? ContactLastName, string? ContactJobTitle, string? ContactAddress1, string? ContactCity, string? ContactZIP, int? ContactStateID, int? ContactCountryID, string? ContactMobilePhone, string? ContactBusinessPhone, string? ContactEmail, DateTime? ContactBirthday, int? ContactGender, int? ContactStatusID, string? ContactNotes, int? ContactOwnerUserID, bool? ContactMonitored, Guid ContactGUID, DateTime ContactLastModified, DateTime ContactCreated, int? ContactBounces, string? ContactCampaign, string? ContactSalesForceLeadID, bool? ContactSalesForceLeadReplicationDisabled, DateTime? ContactSalesForceLeadReplicationDateTime, DateTime? ContactSalesForceLeadReplicationSuspensionDateTime, string? ContactCompanyName, bool? ContactSalesForceLeadReplicationRequired, int? ContactPersonaID, string? FirstUserAgent, string? FirstIPAddress, string? FirstRequestUrl, string? KenticoUrlReferrer, string? KenticoContactRegionName, string? KenticoContactRegionCode, string? KenticoContactPostalCode, string? KenticoContactCampaignSource, string? KenticoContactCampaignContent, bool? NeedRecalculation, int? ProfileScore, int? EngagementScore, int? TotalScore, int? Zone, Guid? DynamicsLeadGuid, Guid? DynamicsContactGuid, string? DynamicsAccountType, string? DynamicsAccountStatus, bool? LegitimateInterest, string? DynamicsActivePartnerships, DateTime? DynamicsDateOfSync, bool? PairedWithDynamicsCrm, DateTime? FirstPairDate, int? PairedBy, bool? IsArchived, DateTime? ArchivationDate, bool? HasFreeEmail, int? SameDomainContacts, string? AreYouLookingForCMS, string? Role, string? KenticoContactBusinessType, string? MarketingAutomationVariant, string? KontentIntercomUserID, string? KontentGoogleAnalyticsUserID, string? KontentAmplitudeUserID) : IOmContact, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ContactID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ContactID"; public static string TableName => "OM_Contact"; public static string GuidColumnName => "ContactGUID"; static OmContactK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmContactK12( - reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID"), reader.Unbox("FirstUserAgent"), reader.Unbox("FirstIPAddress"), reader.Unbox("FirstRequestUrl"), reader.Unbox("KenticoUrlReferrer"), reader.Unbox("KenticoContactRegionName"), reader.Unbox("KenticoContactRegionCode"), reader.Unbox("KenticoContactPostalCode"), reader.Unbox("KenticoContactCampaignSource"), reader.Unbox("KenticoContactCampaignContent"), reader.Unbox("NeedRecalculation"), reader.Unbox("ProfileScore"), reader.Unbox("EngagementScore"), reader.Unbox("TotalScore"), reader.Unbox("Zone"), reader.Unbox("DynamicsLeadGuid"), reader.Unbox("DynamicsContactGuid"), reader.Unbox("DynamicsAccountType"), reader.Unbox("DynamicsAccountStatus"), reader.Unbox("LegitimateInterest"), reader.Unbox("DynamicsActivePartnerships"), reader.Unbox("DynamicsDateOfSync"), reader.Unbox("PairedWithDynamicsCrm"), reader.Unbox("FirstPairDate"), reader.Unbox("PairedBy"), reader.Unbox("IsArchived"), reader.Unbox("ArchivationDate"), reader.Unbox("HasFreeEmail"), reader.Unbox("SameDomainContacts"), reader.Unbox("AreYouLookingForCMS"), reader.Unbox("Role"), reader.Unbox("KenticoContactBusinessType"), reader.Unbox("MarketingAutomationVariant"), reader.Unbox("KontentIntercomUserID"), reader.Unbox("KontentGoogleAnalyticsUserID"), reader.Unbox("KontentAmplitudeUserID") + reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID"), reader.Unbox("FirstUserAgent"), reader.Unbox("FirstIPAddress"), reader.Unbox("FirstRequestUrl"), reader.Unbox("KenticoUrlReferrer"), reader.Unbox("KenticoContactRegionName"), reader.Unbox("KenticoContactRegionCode"), reader.Unbox("KenticoContactPostalCode"), reader.Unbox("KenticoContactCampaignSource"), reader.Unbox("KenticoContactCampaignContent"), reader.Unbox("NeedRecalculation"), reader.Unbox("ProfileScore"), reader.Unbox("EngagementScore"), reader.Unbox("TotalScore"), reader.Unbox("Zone"), reader.Unbox("DynamicsLeadGuid"), reader.Unbox("DynamicsContactGuid"), reader.Unbox("DynamicsAccountType"), reader.Unbox("DynamicsAccountStatus"), reader.Unbox("LegitimateInterest"), reader.Unbox("DynamicsActivePartnerships"), reader.Unbox("DynamicsDateOfSync"), reader.Unbox("PairedWithDynamicsCrm"), reader.Unbox("FirstPairDate"), reader.Unbox("PairedBy"), reader.Unbox("IsArchived"), reader.Unbox("ArchivationDate"), reader.Unbox("HasFreeEmail"), reader.Unbox("SameDomainContacts"), reader.Unbox("AreYouLookingForCMS"), reader.Unbox("Role"), reader.Unbox("KenticoContactBusinessType"), reader.Unbox("MarketingAutomationVariant"), reader.Unbox("KontentIntercomUserID"), reader.Unbox("KontentGoogleAnalyticsUserID"), reader.Unbox("KontentAmplitudeUserID") ); } public static OmContactK12 FromReader(IDataReader reader, SemanticVersion version) { return new OmContactK12( - reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID"), reader.Unbox("FirstUserAgent"), reader.Unbox("FirstIPAddress"), reader.Unbox("FirstRequestUrl"), reader.Unbox("KenticoUrlReferrer"), reader.Unbox("KenticoContactRegionName"), reader.Unbox("KenticoContactRegionCode"), reader.Unbox("KenticoContactPostalCode"), reader.Unbox("KenticoContactCampaignSource"), reader.Unbox("KenticoContactCampaignContent"), reader.Unbox("NeedRecalculation"), reader.Unbox("ProfileScore"), reader.Unbox("EngagementScore"), reader.Unbox("TotalScore"), reader.Unbox("Zone"), reader.Unbox("DynamicsLeadGuid"), reader.Unbox("DynamicsContactGuid"), reader.Unbox("DynamicsAccountType"), reader.Unbox("DynamicsAccountStatus"), reader.Unbox("LegitimateInterest"), reader.Unbox("DynamicsActivePartnerships"), reader.Unbox("DynamicsDateOfSync"), reader.Unbox("PairedWithDynamicsCrm"), reader.Unbox("FirstPairDate"), reader.Unbox("PairedBy"), reader.Unbox("IsArchived"), reader.Unbox("ArchivationDate"), reader.Unbox("HasFreeEmail"), reader.Unbox("SameDomainContacts"), reader.Unbox("AreYouLookingForCMS"), reader.Unbox("Role"), reader.Unbox("KenticoContactBusinessType"), reader.Unbox("MarketingAutomationVariant"), reader.Unbox("KontentIntercomUserID"), reader.Unbox("KontentGoogleAnalyticsUserID"), reader.Unbox("KontentAmplitudeUserID") + reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID"), reader.Unbox("FirstUserAgent"), reader.Unbox("FirstIPAddress"), reader.Unbox("FirstRequestUrl"), reader.Unbox("KenticoUrlReferrer"), reader.Unbox("KenticoContactRegionName"), reader.Unbox("KenticoContactRegionCode"), reader.Unbox("KenticoContactPostalCode"), reader.Unbox("KenticoContactCampaignSource"), reader.Unbox("KenticoContactCampaignContent"), reader.Unbox("NeedRecalculation"), reader.Unbox("ProfileScore"), reader.Unbox("EngagementScore"), reader.Unbox("TotalScore"), reader.Unbox("Zone"), reader.Unbox("DynamicsLeadGuid"), reader.Unbox("DynamicsContactGuid"), reader.Unbox("DynamicsAccountType"), reader.Unbox("DynamicsAccountStatus"), reader.Unbox("LegitimateInterest"), reader.Unbox("DynamicsActivePartnerships"), reader.Unbox("DynamicsDateOfSync"), reader.Unbox("PairedWithDynamicsCrm"), reader.Unbox("FirstPairDate"), reader.Unbox("PairedBy"), reader.Unbox("IsArchived"), reader.Unbox("ArchivationDate"), reader.Unbox("HasFreeEmail"), reader.Unbox("SameDomainContacts"), reader.Unbox("AreYouLookingForCMS"), reader.Unbox("Role"), reader.Unbox("KenticoContactBusinessType"), reader.Unbox("MarketingAutomationVariant"), reader.Unbox("KontentIntercomUserID"), reader.Unbox("KontentGoogleAnalyticsUserID"), reader.Unbox("KontentAmplitudeUserID") ); } }; -public partial record OmContactK13(int ContactID, string? ContactFirstName, string? ContactMiddleName, string? ContactLastName, string? ContactJobTitle, string? ContactAddress1, string? ContactCity, string? ContactZIP, int? ContactStateID, int? ContactCountryID, string? ContactMobilePhone, string? ContactBusinessPhone, string? ContactEmail, DateTime? ContactBirthday, int? ContactGender, int? ContactStatusID, string? ContactNotes, int? ContactOwnerUserID, bool? ContactMonitored, Guid ContactGUID, DateTime ContactLastModified, DateTime ContactCreated, int? ContactBounces, string? ContactCampaign, string? ContactSalesForceLeadID, bool? ContactSalesForceLeadReplicationDisabled, DateTime? ContactSalesForceLeadReplicationDateTime, DateTime? ContactSalesForceLeadReplicationSuspensionDateTime, string? ContactCompanyName, bool? ContactSalesForceLeadReplicationRequired, int? ContactPersonaID): IOmContact, ISourceModel +public partial record OmContactK13(int ContactID, string? ContactFirstName, string? ContactMiddleName, string? ContactLastName, string? ContactJobTitle, string? ContactAddress1, string? ContactCity, string? ContactZIP, int? ContactStateID, int? ContactCountryID, string? ContactMobilePhone, string? ContactBusinessPhone, string? ContactEmail, DateTime? ContactBirthday, int? ContactGender, int? ContactStatusID, string? ContactNotes, int? ContactOwnerUserID, bool? ContactMonitored, Guid ContactGUID, DateTime ContactLastModified, DateTime ContactCreated, int? ContactBounces, string? ContactCampaign, string? ContactSalesForceLeadID, bool? ContactSalesForceLeadReplicationDisabled, DateTime? ContactSalesForceLeadReplicationDateTime, DateTime? ContactSalesForceLeadReplicationSuspensionDateTime, string? ContactCompanyName, bool? ContactSalesForceLeadReplicationRequired, int? ContactPersonaID) : IOmContact, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ContactID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ContactID"; public static string TableName => "OM_Contact"; public static string GuidColumnName => "ContactGUID"; static OmContactK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmContactK13( - reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID") + reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID") ); } public static OmContactK13 FromReader(IDataReader reader, SemanticVersion version) { return new OmContactK13( - reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID") + reader.Unbox("ContactID"), reader.Unbox("ContactFirstName"), reader.Unbox("ContactMiddleName"), reader.Unbox("ContactLastName"), reader.Unbox("ContactJobTitle"), reader.Unbox("ContactAddress1"), reader.Unbox("ContactCity"), reader.Unbox("ContactZIP"), reader.Unbox("ContactStateID"), reader.Unbox("ContactCountryID"), reader.Unbox("ContactMobilePhone"), reader.Unbox("ContactBusinessPhone"), reader.Unbox("ContactEmail"), reader.Unbox("ContactBirthday"), reader.Unbox("ContactGender"), reader.Unbox("ContactStatusID"), reader.Unbox("ContactNotes"), reader.Unbox("ContactOwnerUserID"), reader.Unbox("ContactMonitored"), reader.Unbox("ContactGUID"), reader.Unbox("ContactLastModified"), reader.Unbox("ContactCreated"), reader.Unbox("ContactBounces"), reader.Unbox("ContactCampaign"), reader.Unbox("ContactSalesForceLeadID"), reader.Unbox("ContactSalesForceLeadReplicationDisabled"), reader.Unbox("ContactSalesForceLeadReplicationDateTime"), reader.Unbox("ContactSalesForceLeadReplicationSuspensionDateTime"), reader.Unbox("ContactCompanyName"), reader.Unbox("ContactSalesForceLeadReplicationRequired"), reader.Unbox("ContactPersonaID") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Model/OmContactStatus.cs b/KVA/Migration.Toolkit.Source/Model/OmContactStatus.cs index 13fc38f0..ed9e6c10 100644 --- a/KVA/Migration.Toolkit.Source/Model/OmContactStatus.cs +++ b/KVA/Migration.Toolkit.Source/Model/OmContactStatus.cs @@ -4,12 +4,12 @@ namespace Migration.Toolkit.Source.Model; using System.Data; using Migration.Toolkit.Common; -public interface IOmContactStatus: ISourceModel +public interface IOmContactStatus : ISourceModel { int ContactStatusID { get; } string ContactStatusName { get; } string ContactStatusDisplayName { get; } - string? ContactStatusDescription { get; } + string? ContactStatusDescription { get; } static string ISourceModel.GetPrimaryKeyName(SemanticVersion version) { @@ -44,61 +44,60 @@ static IOmContactStatus ISourceModel.FromReader(IDataReader re }; } } -public partial record OmContactStatusK11(int ContactStatusID, string ContactStatusName, string ContactStatusDisplayName, string? ContactStatusDescription): IOmContactStatus, ISourceModel +public partial record OmContactStatusK11(int ContactStatusID, string ContactStatusName, string ContactStatusDisplayName, string? ContactStatusDescription) : IOmContactStatus, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ContactStatusID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ContactStatusID"; public static string TableName => "OM_ContactStatus"; public static string GuidColumnName => ""; static OmContactStatusK11 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmContactStatusK11( - reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") + reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") ); } public static OmContactStatusK11 FromReader(IDataReader reader, SemanticVersion version) { return new OmContactStatusK11( - reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") + reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") ); } }; -public partial record OmContactStatusK12(int ContactStatusID, string ContactStatusName, string ContactStatusDisplayName, string? ContactStatusDescription): IOmContactStatus, ISourceModel +public partial record OmContactStatusK12(int ContactStatusID, string ContactStatusName, string ContactStatusDisplayName, string? ContactStatusDescription) : IOmContactStatus, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ContactStatusID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ContactStatusID"; public static string TableName => "OM_ContactStatus"; public static string GuidColumnName => ""; static OmContactStatusK12 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmContactStatusK12( - reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") + reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") ); } public static OmContactStatusK12 FromReader(IDataReader reader, SemanticVersion version) { return new OmContactStatusK12( - reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") + reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") ); } }; -public partial record OmContactStatusK13(int ContactStatusID, string ContactStatusName, string ContactStatusDisplayName, string? ContactStatusDescription): IOmContactStatus, ISourceModel +public partial record OmContactStatusK13(int ContactStatusID, string ContactStatusName, string ContactStatusDisplayName, string? ContactStatusDescription) : IOmContactStatus, ISourceModel { public static bool IsAvailable(SemanticVersion version) => true; - public static string GetPrimaryKeyName(SemanticVersion version) => "ContactStatusID"; + public static string GetPrimaryKeyName(SemanticVersion version) => "ContactStatusID"; public static string TableName => "OM_ContactStatus"; public static string GuidColumnName => ""; static OmContactStatusK13 ISourceModel.FromReader(IDataReader reader, SemanticVersion version) { return new OmContactStatusK13( - reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") + reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") ); } public static OmContactStatusK13 FromReader(IDataReader reader, SemanticVersion version) { return new OmContactStatusK13( - reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") + reader.Unbox("ContactStatusID"), reader.Unbox("ContactStatusName"), reader.Unbox("ContactStatusDisplayName"), reader.Unbox("ContactStatusDescription") ); } -}; - +}; \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Providers/ContentItemNameProvider.cs b/KVA/Migration.Toolkit.Source/Providers/ContentItemNameProvider.cs index 5f2fc8ab..aca24dc9 100644 --- a/KVA/Migration.Toolkit.Source/Providers/ContentItemNameProvider.cs +++ b/KVA/Migration.Toolkit.Source/Providers/ContentItemNameProvider.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Providers; +namespace Migration.Toolkit.Source.Providers; using System; using System.Threading.Tasks; diff --git a/KVA/Migration.Toolkit.Source/Services/AttachmentMigrator.cs b/KVA/Migration.Toolkit.Source/Services/AttachmentMigrator.cs index f735ef06..51f79a99 100644 --- a/KVA/Migration.Toolkit.Source/Services/AttachmentMigrator.cs +++ b/KVA/Migration.Toolkit.Source/Services/AttachmentMigrator.cs @@ -101,7 +101,10 @@ public MigrateAttachmentResult MigrateAttachment(ICmsAttachment ksAttachment, st logger.LogWarning("Attachment '{AttachmentGuid}' is temporary => skipping", ksAttachment.AttachmentGUID); protocol.Append(HandbookReferences.TemporaryAttachmentMigrationIsNotSupported.WithData(new { - ksAttachment.AttachmentID, ksAttachment.AttachmentGUID, ksAttachment.AttachmentName, ksAttachment.AttachmentSiteID + ksAttachment.AttachmentID, + ksAttachment.AttachmentGUID, + ksAttachment.AttachmentName, + ksAttachment.AttachmentSiteID })); return new(false, true); } @@ -176,7 +179,8 @@ public MigrateAttachmentResult MigrateAttachment(ICmsAttachment ksAttachment, st .WithIdentityPrint(mediaFileInfo) .WithData(new { - mediaFileInfo.FileGUID, mediaFileInfo.FileName + mediaFileInfo.FileGUID, + mediaFileInfo.FileName }) ); } diff --git a/KVA/Migration.Toolkit.Source/Services/CmsRelationshipService.cs b/KVA/Migration.Toolkit.Source/Services/CmsRelationshipService.cs index 719c12fc..2c6fd5ed 100644 --- a/KVA/Migration.Toolkit.Source/Services/CmsRelationshipService.cs +++ b/KVA/Migration.Toolkit.Source/Services/CmsRelationshipService.cs @@ -14,7 +14,7 @@ public IEnumerable GetNodeRelationships(int nodeId) var relationships = modelFacade.SelectWhere("LeftNodeId = @nodeId", new SqlParameter("nodeId", nodeId)); foreach (var cmsRelationship in relationships) { - yield return new (cmsRelationship, modelFacade.SelectById(cmsRelationship.RightNodeID)); + yield return new(cmsRelationship, modelFacade.SelectById(cmsRelationship.RightNodeID)); } // foreach (var cmsRelationship in kx13Context.CmsRelationships // .Include(r => r.RelationshipName) diff --git a/KVA/Migration.Toolkit.Source/Services/DeferredPathService.cs b/KVA/Migration.Toolkit.Source/Services/DeferredPathService.cs index 0352c5e2..784ee705 100644 --- a/KVA/Migration.Toolkit.Source/Services/DeferredPathService.cs +++ b/KVA/Migration.Toolkit.Source/Services/DeferredPathService.cs @@ -13,6 +13,6 @@ public IEnumerable GetWidgetsToPatch() public void AddPatch(Guid uniqueId, string className, int webSiteChannelId) { - _deferredWidgetPatch.Add(new (uniqueId, className, webSiteChannelId)); + _deferredWidgetPatch.Add(new(uniqueId, className, webSiteChannelId)); } } \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Services/IPrimaryKeyLocatorService.cs b/KVA/Migration.Toolkit.Source/Services/IPrimaryKeyLocatorService.cs index bd95d6fa..c479ac2c 100644 --- a/KVA/Migration.Toolkit.Source/Services/IPrimaryKeyLocatorService.cs +++ b/KVA/Migration.Toolkit.Source/Services/IPrimaryKeyLocatorService.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Source.Services; +namespace Migration.Toolkit.Source.Services; using System.Linq.Expressions; @@ -7,5 +7,5 @@ public record SourceTargetKeyMapping(int SourceId, int TargetId); public interface IPrimaryKeyLocatorService { bool TryLocate(Expression> keyNameSelector, int sourceId, out int targetId); - IEnumerable SelectAll(Expression> keyNameSelector); + IEnumerable SelectAll(Expression> keyNameSelector); } \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Services/Model/EditableAreasConfiguration.cs b/KVA/Migration.Toolkit.Source/Services/Model/EditableAreasConfiguration.cs index ce010efc..92d349c8 100644 --- a/KVA/Migration.Toolkit.Source/Services/Model/EditableAreasConfiguration.cs +++ b/KVA/Migration.Toolkit.Source/Services/Model/EditableAreasConfiguration.cs @@ -183,5 +183,4 @@ public sealed class WidgetVariantConfiguration public JObject PersonalizationConditionType { get; set; } } -#endregion - +#endregion \ No newline at end of file diff --git a/KVA/Migration.Toolkit.Source/Services/PrimaryKeyLocatorService.cs b/KVA/Migration.Toolkit.Source/Services/PrimaryKeyLocatorService.cs index e7d8569a..a39826e5 100644 --- a/KVA/Migration.Toolkit.Source/Services/PrimaryKeyLocatorService.cs +++ b/KVA/Migration.Toolkit.Source/Services/PrimaryKeyLocatorService.cs @@ -77,7 +77,7 @@ public IEnumerable SelectAll(Expression().Select(x => new { x.StateID, x.StateName }).ToList(); - var target = kxpContext.CmsStates.Select(x => new { x.StateId, x.StateName }).ToList(); + var target = kxpContext.CmsStates.Select(x => new { x.StateId, x.StateName }).ToList(); var result = source.Join(target, a => a.StateName, @@ -96,7 +96,7 @@ public IEnumerable SelectAll(Expression().Select(x => new { x.CountryID, x.CountryName }).ToList(); - var target = kxpContext.CmsCountries.Select(x => new { x.CountryId, x.CountryName }).ToList(); + var target = kxpContext.CmsCountries.Select(x => new { x.CountryId, x.CountryName }).ToList(); var result = source.Join(target, a => a.CountryName, diff --git a/KVA/Migration.Toolkit.Source/Services/SpoiledGuidContext.cs b/KVA/Migration.Toolkit.Source/Services/SpoiledGuidContext.cs index bfa17146..0302d378 100644 --- a/KVA/Migration.Toolkit.Source/Services/SpoiledGuidContext.cs +++ b/KVA/Migration.Toolkit.Source/Services/SpoiledGuidContext.cs @@ -97,7 +97,7 @@ public Guid EnsureNodeGuid(Guid nodeGuid, int siteId) new SqlParameter("siteId", siteId), new SqlParameter("nodeId", nodeId) ).FirstOrDefault(); - if(nodeGuid is not {} sNodeGuid) return null; + if (nodeGuid is not { } sNodeGuid) return null; if (!SpoiledNodeGuids.TryGetValue(sNodeGuid, out _)) return sNodeGuid; var newGuid = GuidHelper.CreateNodeGuid($"{nodeId}|{siteId}"); diff --git a/Migration.Toolkit.CLI/ConfigurationValidator.cs b/Migration.Toolkit.CLI/ConfigurationValidator.cs index 6672635d..6a0d306d 100644 --- a/Migration.Toolkit.CLI/ConfigurationValidator.cs +++ b/Migration.Toolkit.CLI/ConfigurationValidator.cs @@ -37,7 +37,7 @@ public static IEnumerable GetValidationErrors(IConfigurationR yield return new ValidationMessage(ValidationMessageType.Warning, Resources.ConfigurationValidator_GetValidationErrors_SourceCmsDirPath_IsRecommended); } - if (settings?.GetValue(ConfigurationNames.XbKConnectionString) is {}) + if (settings?.GetValue(ConfigurationNames.XbKConnectionString) is { }) { yield return new ValidationMessage(ValidationMessageType.Warning, $"Configuration key '{ConfigurationNames.XbKConnectionString}' is deprecated, use 'Settings:ConnectionStrings:CMSConnectionString' instead"); } @@ -161,7 +161,7 @@ ValidationMessage Required(int item, string fieldName) #region "Helper methods" [Pure] - private static bool StringIsNullOrFitsOneOf(string? s) where TEnum: Enum + private static bool StringIsNullOrFitsOneOf(string? s) where TEnum : Enum { return s is null || Enum.TryParse(ReflectionHelper.CurrentType, s, out var _); } diff --git a/Migration.Toolkit.CLI/Program.cs b/Migration.Toolkit.CLI/Program.cs index 20ea1eae..6486feee 100644 --- a/Migration.Toolkit.CLI/Program.cs +++ b/Migration.Toolkit.CLI/Program.cs @@ -109,37 +109,37 @@ switch (VersionHelper.GetInstanceVersion(conn)) { case { Major: 11 }: - { - services.UseK11DbContext(settings); - services.UseK11ToolkitCore(); - Console.WriteLine($@"Source instance {Green($"version 11")} detected."); - break; - } + { + services.UseK11DbContext(settings); + services.UseK11ToolkitCore(); + Console.WriteLine($@"Source instance {Green($"version 11")} detected."); + break; + } case { Major: 12 }: - { - services.UseKx12DbContext(settings); - services.UseKx12ToolkitCore(); - Console.WriteLine($@"Source instance {Green($"version 12")} detected"); - break; - } + { + services.UseKx12DbContext(settings); + services.UseKx12ToolkitCore(); + Console.WriteLine($@"Source instance {Green($"version 12")} detected"); + break; + } case { Major: 13 }: - { - services.UseKx13DbContext(settings); - services.UseKx13ToolkitCore(); - Console.WriteLine($@"Source instance {Green("version 13")} detected"); - break; - } + { + services.UseKx13DbContext(settings); + services.UseKx13ToolkitCore(); + Console.WriteLine($@"Source instance {Green("version 13")} detected"); + break; + } case { Major: { } version }: - { - Console.WriteLine($@"Source instance {Green($"version {version}")} detected. This instance is not supported"); - break; - } + { + Console.WriteLine($@"Source instance {Green($"version {version}")} detected. This instance is not supported"); + break; + } default: - { - Console.WriteLine( - $@"{Red("Parsing of source instance version failed")}, please check connection string and if source instance settings key with key name 'CMSDBVersion' is correctly filled."); - return; - } + { + Console.WriteLine( + $@"{Red("Parsing of source instance version failed")}, please check connection string and if source instance settings key with key name 'CMSDBVersion' is correctly filled."); + return; + } } } catch (Exception ex) diff --git a/Migration.Toolkit.Common/Abstractions/CommandResult.cs b/Migration.Toolkit.Common/Abstractions/CommandResult.cs index ac864af1..2c25bc11 100644 --- a/Migration.Toolkit.Common/Abstractions/CommandResult.cs +++ b/Migration.Toolkit.Common/Abstractions/CommandResult.cs @@ -1,7 +1,7 @@ -namespace Migration.Toolkit.Common.Abstractions; +namespace Migration.Toolkit.Common.Abstractions; public abstract record CommandResult(); -public record GenericCommandResult(): CommandResult; -public record CommandFailureResult(): CommandResult; -public record CommandCheckFailedResult(bool CanContinue): CommandResult; \ No newline at end of file +public record GenericCommandResult() : CommandResult; +public record CommandFailureResult() : CommandResult; +public record CommandCheckFailedResult(bool CanContinue) : CommandResult; \ No newline at end of file diff --git a/Migration.Toolkit.Common/Abstractions/EntityMapperBase.cs b/Migration.Toolkit.Common/Abstractions/EntityMapperBase.cs index d8fad3dc..a6f80bdb 100644 --- a/Migration.Toolkit.Common/Abstractions/EntityMapperBase.cs +++ b/Migration.Toolkit.Common/Abstractions/EntityMapperBase.cs @@ -4,7 +4,7 @@ namespace Migration.Toolkit.Common.Abstractions; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.MigrationProtocol; -public abstract class EntityMapperBase: IEntityMapper +public abstract class EntityMapperBase : IEntityMapper { private readonly ILogger _logger; private readonly IPrimaryKeyMappingContext _pkContext; diff --git a/Migration.Toolkit.Common/Abstractions/ModelMappingResult.cs b/Migration.Toolkit.Common/Abstractions/ModelMappingResult.cs index 94ed84fd..80c5b9a4 100644 --- a/Migration.Toolkit.Common/Abstractions/ModelMappingResult.cs +++ b/Migration.Toolkit.Common/Abstractions/ModelMappingResult.cs @@ -7,7 +7,7 @@ public interface IModelMappingResult bool Success { get; } } -public interface IModelMappingResult: IModelMappingResult +public interface IModelMappingResult : IModelMappingResult { TResult? Item { get; } bool NewInstance { get; } @@ -35,7 +35,7 @@ public record AggregatedResult(IEnumerable public bool Success => this.Results.All(x => x.Success); } -public record MapperResult(TResult? Item, bool NewInstance, bool Success, HandbookReference? HandbookReference): IModelMappingResult; +public record MapperResult(TResult? Item, bool NewInstance, bool Success, HandbookReference? HandbookReference) : IModelMappingResult; public record MapperResultSuccess(TResult? Item, bool NewInstance) : MapperResult(Item, NewInstance, true, null); public record MapperResultFailure(HandbookReference HandbookReference) : MapperResult(default, false, false, HandbookReference); diff --git a/Migration.Toolkit.Common/Abstractions/UmtMapperBase.cs b/Migration.Toolkit.Common/Abstractions/UmtMapperBase.cs index 9ebec950..a3f33581 100644 --- a/Migration.Toolkit.Common/Abstractions/UmtMapperBase.cs +++ b/Migration.Toolkit.Common/Abstractions/UmtMapperBase.cs @@ -2,7 +2,7 @@ namespace Migration.Toolkit.Common.Abstractions; using Kentico.Xperience.UMT.Model; -public abstract class UmtMapperBase: IUmtMapper +public abstract class UmtMapperBase : IUmtMapper { public IEnumerable Map(TSourceEntity source) { diff --git a/Migration.Toolkit.Common/Commands.cs b/Migration.Toolkit.Common/Commands.cs index 110b5254..b1f661ba 100644 --- a/Migration.Toolkit.Common/Commands.cs +++ b/Migration.Toolkit.Common/Commands.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Common; +namespace Migration.Toolkit.Common; using MediatR; using Migration.Toolkit.Common.Abstractions; @@ -45,7 +45,7 @@ public record MigrateContactManagementCommand : IRequest, IComman public record MigrateDataProtectionCommand : IRequest, ICommand { - public static readonly int Rank = 5 + + MigrateSitesCommand.Rank + MigrateContactManagementCommand.Rank; + public static readonly int Rank = 5 + +MigrateSitesCommand.Rank + MigrateContactManagementCommand.Rank; public static string Moniker => "data-protection"; public static string MonikerFriendly => "Data protection"; diff --git a/Migration.Toolkit.Common/EntityConfiguration.cs b/Migration.Toolkit.Common/EntityConfiguration.cs index 226a2894..037a15cf 100644 --- a/Migration.Toolkit.Common/EntityConfiguration.cs +++ b/Migration.Toolkit.Common/EntityConfiguration.cs @@ -6,11 +6,11 @@ namespace Migration.Toolkit.Common; public class EntityConfigurations : Dictionary { - public EntityConfigurations(): base(StringComparer.OrdinalIgnoreCase) + public EntityConfigurations() : base(StringComparer.OrdinalIgnoreCase) { - + } - + public EntityConfiguration GetEntityConfiguration(string? tableName) { if (this.TryGetValue(tableName ?? "*", out var result)) @@ -45,7 +45,7 @@ public class EntityConfiguration { [JsonPropertyName(ConfigurationNames.ExcludeCodeNames)] public string[] ExcludeCodeNames { get; set; } = Array.Empty(); - + [JsonPropertyName(ConfigurationNames.ExplicitPrimaryKeyMapping)] public Dictionary> ExplicitPrimaryKeyMapping { get; set; } = new(StringComparer.OrdinalIgnoreCase); } \ No newline at end of file diff --git a/Migration.Toolkit.Common/Enumerations/K12SystemClass.cs b/Migration.Toolkit.Common/Enumerations/K12SystemClass.cs index 95168053..a0a3edd3 100644 --- a/Migration.Toolkit.Common/Enumerations/K12SystemClass.cs +++ b/Migration.Toolkit.Common/Enumerations/K12SystemClass.cs @@ -334,20 +334,144 @@ public class K12SystemClass public const string Ecommerce_ShoppingCartCouponCode = "Ecommerce.ShoppingCartCouponCode"; public static readonly HashSet All = [ - CMS_AbuseReport, cms_acl, cms_aclitem, CMS_AllowedChildClass, cms_AlternativeForm, CMS_AlternativeUrl, cms_attachment, cms_attachmentforemail, cms_attachmenthistory, CMS_AutomationHistory, - CMS_AutomationState, cms_avatar, CMS_Badge, cms_BannedIP, CMS_Banner, CMS_BannerCategory, cms_category, cms_class, CMS_ClassSite, CMS_Consent, CMS_ConsentAgreement, CMS_ConsentArchive, - cms_country, cms_cssstylesheet, CMS_CSSStylesheetSite, cms_culture, CMS_CultureSite, CMS_DeviceProfile, CMS_DeviceProfileLayout, cms_document, CMS_DocumentAlias, cms_documentcategory, - cms_documenttag, CMS_DocumentTypeScope, CMS_DocumentTypeScopeClass, cms_email, cms_EmailAttachment, cms_emailtemplate, CMS_EmailUser, cms_EventAttendee, CMS_EventLog, CMS_ExternalLogin, - CMS_File, cms_form, cms_FormRole, cms_formusercontrol, CMS_HelpTopic, cms_layout, cms_LicenseKey, CMS_MacroIdentity, CMS_MacroRule, CMS_Membership, CMS_MembershipRole, CMS_MembershipUser, - cms_metafile, CMS_ModuleLicenseKey, CMS_ModuleUsageCounter, CMS_ObjectSettings, CMS_ObjectVersionHistory, CMS_ObjectWorkflowTrigger, cms_onlineuser, cms_OpenIDUser, cms_pagetemplate, - cms_pagetemplatecategory, CMS_PageTemplateConfiguration, cms_pagetemplatescope, CMS_PageTemplateSite, cms_permission, cms_personalization, cms_query, CMS_Relationship, cms_relationshipname, - CMS_RelationshipNameSite, cms_resource, CMS_ResourceLibrary, CMS_ResourceSite, CMS_ResourceString, CMS_ResourceTranslation, cms_Role, CMS_RoleApplication, cms_rolepermission, - CMS_RoleUIElement, CMS_Root, cms_ScheduledTask, CMS_SearchEngine, cms_SearchIndex, cms_SearchIndexCulture, cms_SearchIndexSite, CMS_SearchTask, CMS_SearchTaskAzure, cms_settingscategory, - CMS_SettingsKey, cms_site, cms_sitedomainalias, CMS_SMTPServer, CMS_SMTPServerSite, cms_state, cms_tag, CMS_TagGroup, CMS_TemplateDeviceLayout, cms_timezone, cms_transformation, - CMS_TranslationService, CMS_TranslationSubmission, CMS_TranslationSubmissionItem, cms_tree, CMS_UIElement, cms_user, cms_userculture, CMS_UserMacroIdentity, cms_UserRole, cms_usersettings, - CMS_UserSite, CMS_VersionAttachment, cms_versionhistory, cms_WebFarmServer, CMS_WebFarmServerLog, CMS_WebFarmServerMonitoring, cms_webfarmservertask, cms_WebFarmTask, cms_webpart, - cms_webpartcategory, cms_WebPartContainer, CMS_WebPartContainerSite, cms_WebPartLayout, cms_webtemplate, cms_Widget, CMS_WidgetCategory, CMS_WidgetRole, cms_workflow, cms_workflowaction, - cms_workflowhistory, cms_workflowscope, cms_workflowstep, CMS_WorkflowStepRole, CMS_WorkflowStepUser, CMS_WorkflowTransition, CMS_WorkflowUser + CMS_AbuseReport, + cms_acl, + cms_aclitem, + CMS_AllowedChildClass, + cms_AlternativeForm, + CMS_AlternativeUrl, + cms_attachment, + cms_attachmentforemail, + cms_attachmenthistory, + CMS_AutomationHistory, + CMS_AutomationState, + cms_avatar, + CMS_Badge, + cms_BannedIP, + CMS_Banner, + CMS_BannerCategory, + cms_category, + cms_class, + CMS_ClassSite, + CMS_Consent, + CMS_ConsentAgreement, + CMS_ConsentArchive, + cms_country, + cms_cssstylesheet, + CMS_CSSStylesheetSite, + cms_culture, + CMS_CultureSite, + CMS_DeviceProfile, + CMS_DeviceProfileLayout, + cms_document, + CMS_DocumentAlias, + cms_documentcategory, + cms_documenttag, + CMS_DocumentTypeScope, + CMS_DocumentTypeScopeClass, + cms_email, + cms_EmailAttachment, + cms_emailtemplate, + CMS_EmailUser, + cms_EventAttendee, + CMS_EventLog, + CMS_ExternalLogin, + CMS_File, + cms_form, + cms_FormRole, + cms_formusercontrol, + CMS_HelpTopic, + cms_layout, + cms_LicenseKey, + CMS_MacroIdentity, + CMS_MacroRule, + CMS_Membership, + CMS_MembershipRole, + CMS_MembershipUser, + cms_metafile, + CMS_ModuleLicenseKey, + CMS_ModuleUsageCounter, + CMS_ObjectSettings, + CMS_ObjectVersionHistory, + CMS_ObjectWorkflowTrigger, + cms_onlineuser, + cms_OpenIDUser, + cms_pagetemplate, + cms_pagetemplatecategory, + CMS_PageTemplateConfiguration, + cms_pagetemplatescope, + CMS_PageTemplateSite, + cms_permission, + cms_personalization, + cms_query, + CMS_Relationship, + cms_relationshipname, + CMS_RelationshipNameSite, + cms_resource, + CMS_ResourceLibrary, + CMS_ResourceSite, + CMS_ResourceString, + CMS_ResourceTranslation, + cms_Role, + CMS_RoleApplication, + cms_rolepermission, + CMS_RoleUIElement, + CMS_Root, + cms_ScheduledTask, + CMS_SearchEngine, + cms_SearchIndex, + cms_SearchIndexCulture, + cms_SearchIndexSite, + CMS_SearchTask, + CMS_SearchTaskAzure, + cms_settingscategory, + CMS_SettingsKey, + cms_site, + cms_sitedomainalias, + CMS_SMTPServer, + CMS_SMTPServerSite, + cms_state, + cms_tag, + CMS_TagGroup, + CMS_TemplateDeviceLayout, + cms_timezone, + cms_transformation, + CMS_TranslationService, + CMS_TranslationSubmission, + CMS_TranslationSubmissionItem, + cms_tree, + CMS_UIElement, + cms_user, + cms_userculture, + CMS_UserMacroIdentity, + cms_UserRole, + cms_usersettings, + CMS_UserSite, + CMS_VersionAttachment, + cms_versionhistory, + cms_WebFarmServer, + CMS_WebFarmServerLog, + CMS_WebFarmServerMonitoring, + cms_webfarmservertask, + cms_WebFarmTask, + cms_webpart, + cms_webpartcategory, + cms_WebPartContainer, + CMS_WebPartContainerSite, + cms_WebPartLayout, + cms_webtemplate, + cms_Widget, + CMS_WidgetCategory, + CMS_WidgetRole, + cms_workflow, + cms_workflowaction, + cms_workflowhistory, + cms_workflowscope, + cms_workflowstep, + CMS_WorkflowStepRole, + CMS_WorkflowStepUser, + CMS_WorkflowTransition, + CMS_WorkflowUser ]; public static HashSet Customizable = new(new[] { cms_user, media_file, OM_Account, OM_Contact }, StringComparer.InvariantCultureIgnoreCase); diff --git a/Migration.Toolkit.Common/Enumerations/K12SystemResource.cs b/Migration.Toolkit.Common/Enumerations/K12SystemResource.cs index ad7ade23..0f0b31fb 100644 --- a/Migration.Toolkit.Common/Enumerations/K12SystemResource.cs +++ b/Migration.Toolkit.Common/Enumerations/K12SystemResource.cs @@ -79,13 +79,78 @@ public class K12SystemResource public static readonly HashSet All = [ - CMS, CMS_ABTest, CMS_AbuseReport, CMS_Activities, CMS_Badges, CMS_Badwords, CMS_BannedIP, CMS_BannerManagement, CMS_Blog, CMS_Categories, CMS_Chat, CMS_Community, CMS_ContactManagement, - CMS_Content, CMS_ContentPersonalization, CMS_ContinuousIntegration, cms_customsystemmodule, CMS_CustomTables, CMS_DancingGoat_Samples, CMS_DataProtection, CMS_Design, CMS_DeviceProfiles, - CMS_DocumentEngine, CMS_Ecommerce, CMS_EmailEngine, CMS_EmailTemplates, CMS_EventLog, CMS_EventManager, CMS_Form, CMS_Forums, CMS_Globalization, CMS_GlobalPermissions, CMS_Groups, - CMS_Localization, CMS_MacroEngine, CMS_MediaDialog, CMS_MediaLibrary, CMS_Membership, CMS_MessageBoards, CMS_ModuleLicenses, CMS_ModuleUsageTracking, CMS_MVTest, CMS_Newsletter, - CMS_Notifications, CMS_OnlineMarketing, CMS_OnSiteEdit, CMS_Permissions, CMS_Personas, CMS_Polls, CMS_Relationships, CMS_Reporting, CMS_Roles, CMS_ScheduledTasks, CMS_Scoring, CMS_Search, - CMS_Search_Azure, CMS_SharePoint, CMS_SocialMarketing, CMS_Staging, CMS_StrandsRecommender, CMS_Synchronization, CMS_Taxonomy, CMS_TranslationServices, CMS_UIPersonalization, CMS_Users, - CMS_WebAnalytics, CMS_WebFarm, CMS_Widgets, CMS_WIFIntegration, CMS_WorkflowEngine, CMS_WYSIWYGEditor, Licenses + CMS, + CMS_ABTest, + CMS_AbuseReport, + CMS_Activities, + CMS_Badges, + CMS_Badwords, + CMS_BannedIP, + CMS_BannerManagement, + CMS_Blog, + CMS_Categories, + CMS_Chat, + CMS_Community, + CMS_ContactManagement, + CMS_Content, + CMS_ContentPersonalization, + CMS_ContinuousIntegration, + cms_customsystemmodule, + CMS_CustomTables, + CMS_DancingGoat_Samples, + CMS_DataProtection, + CMS_Design, + CMS_DeviceProfiles, + CMS_DocumentEngine, + CMS_Ecommerce, + CMS_EmailEngine, + CMS_EmailTemplates, + CMS_EventLog, + CMS_EventManager, + CMS_Form, + CMS_Forums, + CMS_Globalization, + CMS_GlobalPermissions, + CMS_Groups, + CMS_Localization, + CMS_MacroEngine, + CMS_MediaDialog, + CMS_MediaLibrary, + CMS_Membership, + CMS_MessageBoards, + CMS_ModuleLicenses, + CMS_ModuleUsageTracking, + CMS_MVTest, + CMS_Newsletter, + CMS_Notifications, + CMS_OnlineMarketing, + CMS_OnSiteEdit, + CMS_Permissions, + CMS_Personas, + CMS_Polls, + CMS_Relationships, + CMS_Reporting, + CMS_Roles, + CMS_ScheduledTasks, + CMS_Scoring, + CMS_Search, + CMS_Search_Azure, + CMS_SharePoint, + CMS_SocialMarketing, + CMS_Staging, + CMS_StrandsRecommender, + CMS_Synchronization, + CMS_Taxonomy, + CMS_TranslationServices, + CMS_UIPersonalization, + CMS_Users, + CMS_WebAnalytics, + CMS_WebFarm, + CMS_Widgets, + CMS_WIFIntegration, + CMS_WorkflowEngine, + CMS_WYSIWYGEditor, + Licenses ]; public static HashSet ConvertToNonSysResource = new(new[] { cms_customsystemmodule }, StringComparer.CurrentCultureIgnoreCase); diff --git a/Migration.Toolkit.Common/Extensions.cs b/Migration.Toolkit.Common/Extensions.cs index a919a100..5973a474 100644 --- a/Migration.Toolkit.Common/Extensions.cs +++ b/Migration.Toolkit.Common/Extensions.cs @@ -1,4 +1,4 @@ -using System.Linq.Expressions; +using System.Linq.Expressions; namespace Migration.Toolkit.Common; @@ -28,7 +28,7 @@ public static T Unbox(this IDataReader reader, string propertyName) public static bool IsIn(this T value, params T[] values) => values.Contains(value); - public static string GetMemberName(this Expression> expr) + public static string GetMemberName(this Expression> expr) { var stack = new Stack(); @@ -132,9 +132,11 @@ public static T Value(this XElement element) } - public static bool? ValueAsBool(this XElement element) { + public static bool? ValueAsBool(this XElement element) + { - if (element != null && bool.TryParse(element.Value, out var value)) { + if (element != null && bool.TryParse(element.Value, out var value)) + { return value; } else return default; diff --git a/Migration.Toolkit.Common/Helpers/AlignResult.cs b/Migration.Toolkit.Common/Helpers/AlignResult.cs index 36160c20..96b4cbbd 100644 --- a/Migration.Toolkit.Common/Helpers/AlignResult.cs +++ b/Migration.Toolkit.Common/Helpers/AlignResult.cs @@ -3,7 +3,7 @@ namespace Migration.Toolkit.Common.Helpers; public abstract record SimpleAlignResult(TLeft? A, TRight? B, TKey? Key); public record SimpleAlignResultMatch(TLeft A, TRight B, TKey Key) : SimpleAlignResult(A, B, Key); -public record SimpleAlignResultOnlyA(TLeft A, TKey Key) : SimpleAlignResult(A, default, Key); +public record SimpleAlignResultOnlyA(TLeft A, TKey Key) : SimpleAlignResult(A, default, Key); public record SimpleAlignResultOnlyB(TRight B, TKey Key) : SimpleAlignResult(default, B, Key); public record SimpleAlignFatalNoMatch(TLeft A, TRight B, TKey Key, string ErrorDescription) : SimpleAlignResult(A, B, Key); -public record AlignDefault(): SimpleAlignResult(default, default, default); \ No newline at end of file +public record AlignDefault() : SimpleAlignResult(default, default, default); \ No newline at end of file diff --git a/Migration.Toolkit.Common/Helpers/EnumerableHelper.cs b/Migration.Toolkit.Common/Helpers/EnumerableHelper.cs index b7275ec1..e47ab95f 100644 --- a/Migration.Toolkit.Common/Helpers/EnumerableHelper.cs +++ b/Migration.Toolkit.Common/Helpers/EnumerableHelper.cs @@ -5,7 +5,7 @@ public class EnumerableHelper public static SimpleAligner CreateAligner(IEnumerable eA, IEnumerable eB, IEnumerable eK, SimpleAligner.SelectKey selectKeyA, SimpleAligner.SelectKey selectKeyB, bool disposeEnumerators) where TLeft : class where TRight : class => SimpleAligner.Create(eA.GetEnumerator(), eB.GetEnumerator(), eK.GetEnumerator(), selectKeyA, selectKeyB, disposeEnumerators); - + public static DeferrableItemEnumerableWrapper CreateDeferrableItemWrapper(IEnumerable innerEnumerable, int maxRecurrenceLimit = 5) { return new DeferrableItemEnumerableWrapper(innerEnumerable, maxRecurrenceLimit); diff --git a/Migration.Toolkit.Common/Helpers/GuidHelper.cs b/Migration.Toolkit.Common/Helpers/GuidHelper.cs index ad04d584..a136fa9e 100644 --- a/Migration.Toolkit.Common/Helpers/GuidHelper.cs +++ b/Migration.Toolkit.Common/Helpers/GuidHelper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Common.Helpers; +namespace Migration.Toolkit.Common.Helpers; public static class GuidHelper { diff --git a/Migration.Toolkit.Common/Helpers/GuidV5.cs b/Migration.Toolkit.Common/Helpers/GuidV5.cs index b27c13ee..1cc6d652 100644 --- a/Migration.Toolkit.Common/Helpers/GuidV5.cs +++ b/Migration.Toolkit.Common/Helpers/GuidV5.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Common.Helpers; +namespace Migration.Toolkit.Common.Helpers; using System.Security.Cryptography; using System.Text; diff --git a/Migration.Toolkit.Common/Helpers/MediaHelper.cs b/Migration.Toolkit.Common/Helpers/MediaHelper.cs index 99071f5a..8f271f59 100644 --- a/Migration.Toolkit.Common/Helpers/MediaHelper.cs +++ b/Migration.Toolkit.Common/Helpers/MediaHelper.cs @@ -1,24 +1,29 @@ namespace Migration.Toolkit.Common.Helpers; -public enum MediaKind { +public enum MediaKind +{ None, Attachment, MediaFile, } -public enum MediaLinkKind { +public enum MediaLinkKind +{ None, Path, DirectMediaPath, Guid } -public class MediaHelper { - public record MatchMediaLinkResult(bool Success, MediaLinkKind LinkKind, MediaKind MediaKind, string? Path, Guid? MediaGuid) { +public class MediaHelper +{ + public record MatchMediaLinkResult(bool Success, MediaLinkKind LinkKind, MediaKind MediaKind, string? Path, Guid? MediaGuid) + { public static readonly MatchMediaLinkResult None = new(false, MediaLinkKind.None, MediaKind.None, null, null); }; - public static MatchMediaLinkResult MatchMediaLink(string? linkStr) { + public static MatchMediaLinkResult MatchMediaLink(string? linkStr) + { if (linkStr == null) return MatchMediaLinkResult.None; var link = linkStr.TrimStart(new[] { '~' }); @@ -32,59 +37,73 @@ public static MatchMediaLinkResult MatchMediaLink(string? linkStr) { var inspectNext = false; var path = ""; - if (Uri.IsWellFormedUriString(link, UriKind.Absolute)) { + if (Uri.IsWellFormedUriString(link, UriKind.Absolute)) + { path = new Uri(link, UriKind.Absolute).LocalPath; } - if (Uri.IsWellFormedUriString(link, UriKind.Relative)) { - try { + if (Uri.IsWellFormedUriString(link, UriKind.Relative)) + { + try + { path = new Uri(new Uri("http://mock.local/", UriKind.Absolute), new Uri(link, UriKind.Relative)).LocalPath; } - catch { + catch + { path = link; } } var spl = path.Split('/', StringSplitOptions.RemoveEmptyEntries); - for (var i = 0; i < spl.Length; i++) { + for (var i = 0; i < spl.Length; i++) + { var cs = spl[i]; - if (cs.Equals("getattachment", StringComparison.InvariantCultureIgnoreCase)) { + if (cs.Equals("getattachment", StringComparison.InvariantCultureIgnoreCase)) + { mediaKind = MediaKind.Attachment; inspectNext = true; } - if (cs.Equals("getimage", StringComparison.InvariantCultureIgnoreCase)) { + if (cs.Equals("getimage", StringComparison.InvariantCultureIgnoreCase)) + { mediaKind = MediaKind.MediaFile; inspectNext = true; } - else if (cs.Equals("getmedia", StringComparison.InvariantCultureIgnoreCase)) { + else if (cs.Equals("getmedia", StringComparison.InvariantCultureIgnoreCase)) + { mediaKind = MediaKind.MediaFile; inspectNext = true; } - else if (copyPath) { + else if (copyPath) + { mediaPathResult.Add(cs); mediaLinkKind = MediaLinkKind.Path; } - if (inspectNext) { + if (inspectNext) + { inspectNext = false; // now lets look forward var nsi = i + 1; - if (nsi < spl.Length) { + if (nsi < spl.Length) + { var nextSegment = spl[nsi]; - if (Guid.TryParse(nextSegment, out var mid)) { + if (Guid.TryParse(nextSegment, out var mid)) + { mediaId = mid; mediaLinkKind = MediaLinkKind.Guid; } - else { + else + { copyPath = true; } } } } - if (mediaLinkKind == MediaLinkKind.None || mediaKind == MediaKind.None) { + if (mediaLinkKind == MediaLinkKind.None || mediaKind == MediaKind.None) + { return MatchMediaLinkResult.None; } diff --git a/Migration.Toolkit.Common/Helpers/ReflectionHelper.cs b/Migration.Toolkit.Common/Helpers/ReflectionHelper.cs index 59095363..968baaa0 100644 --- a/Migration.Toolkit.Common/Helpers/ReflectionHelper.cs +++ b/Migration.Toolkit.Common/Helpers/ReflectionHelper.cs @@ -17,7 +17,7 @@ static ReflectionHelper() { Debugger.Break(); } - + PropertyGetterMaps.Add(propertyInfo.Name, new ObjectPropertyGetterMap { PropertyName = propertyInfo.Name, @@ -25,7 +25,7 @@ static ReflectionHelper() PropertyIndex = i++, }); } - + StaticPropertyGetterMaps = new Dictionary(); foreach (var propertyInfo in CurrentType.GetProperties(BindingFlags.Public | BindingFlags.Static)) { @@ -33,7 +33,7 @@ static ReflectionHelper() { Debugger.Break(); } - + StaticPropertyGetterMaps.Add(propertyInfo.Name, new ObjectPropertyGetterMap { PropertyName = propertyInfo.Name, @@ -46,7 +46,7 @@ static ReflectionHelper() public static Dictionary StaticPropertyGetterMaps { get; private set; } public static Dictionary PropertyGetterMaps { get; private set; } - public static List GetAttributes() where TAttribute: Attribute => Attribute + public static List GetAttributes() where TAttribute : Attribute => Attribute .GetCustomAttributes(typeof(T)).Aggregate(new List(), (list, attribute) => { if (attribute is TAttribute targetAttribute) @@ -72,10 +72,10 @@ public static List GetAttributes() where TAttribute: Att { throw new NullReferenceException($"Null reference, ReflectionHelper.GetPropertyValue needs obj argument reference"); } - + return PropertyGetterMaps[propertyName].PropertyGetMethod!.Invoke(obj, Array.Empty()); } - + public static bool TryGetPropertyValue(T obj, string propertyName, StringComparison propNameComparison, out object? value) { var propName = PropertyGetterMaps.Keys.FirstOrDefault(x => x.Equals(propertyName, propNameComparison)); @@ -115,13 +115,13 @@ public class ObjectPropertyGetterMap public class ReflectionHelper { public Type CurrentType { get; } - + public ReflectionHelper(Type type) { CurrentType = type; } - public List GetAttributes() where TAttribute: Attribute => Attribute + public List GetAttributes() where TAttribute : Attribute => Attribute .GetCustomAttributes(CurrentType).Aggregate(new List(), (list, attribute) => { if (attribute is TAttribute targetAttribute) diff --git a/Migration.Toolkit.Common/Helpers/SerializationHelper.cs b/Migration.Toolkit.Common/Helpers/SerializationHelper.cs index bac4cea8..09b0470d 100644 --- a/Migration.Toolkit.Common/Helpers/SerializationHelper.cs +++ b/Migration.Toolkit.Common/Helpers/SerializationHelper.cs @@ -18,7 +18,7 @@ protected override JsonProperty CreateProperty(MemberInfo member, MemberSerializ return property; } } - + public static string SerializeOnlyNonComplexProperties(T obj) { return JsonConvert.SerializeObject(obj, Formatting.Indented, diff --git a/Migration.Toolkit.Common/Helpers/SimpleAligner.cs b/Migration.Toolkit.Common/Helpers/SimpleAligner.cs index 7d339d8f..e43a12df 100644 --- a/Migration.Toolkit.Common/Helpers/SimpleAligner.cs +++ b/Migration.Toolkit.Common/Helpers/SimpleAligner.cs @@ -4,128 +4,128 @@ namespace Migration.Toolkit.Common.Helpers; public class SimpleAligner : IEnumerator> where TLeft : class where TRight : class { - public delegate TKey? SelectKey(T? current); - - private readonly SelectKey _selectKeyA; - private readonly SelectKey _selectKeyB; - private readonly bool _disposeEnumerators; - private readonly IEnumerator _eA; - private readonly IEnumerator _eB; - private readonly IEnumerator _eK; - - public int Ordinal { get; private set; } - - private SimpleAligner( - IEnumerator eA, - IEnumerator eB, - IEnumerator eK, - SelectKey selectKeyA, - SelectKey selectKeyB, - bool disposeEnumerators + public delegate TKey? SelectKey(T? current); + + private readonly SelectKey _selectKeyA; + private readonly SelectKey _selectKeyB; + private readonly bool _disposeEnumerators; + private readonly IEnumerator _eA; + private readonly IEnumerator _eB; + private readonly IEnumerator _eK; + + public int Ordinal { get; private set; } + + private SimpleAligner( + IEnumerator eA, + IEnumerator eB, + IEnumerator eK, + SelectKey selectKeyA, + SelectKey selectKeyB, + bool disposeEnumerators + ) + { + _selectKeyA = selectKeyA; + _selectKeyB = selectKeyB; + _disposeEnumerators = disposeEnumerators; + _eA = eA; + _eB = eB; + _eK = eK; + Current = new AlignDefault(); + } + + public static SimpleAligner Create( + IEnumerator eA, + IEnumerator eB, + IEnumerator eK, + SelectKey selectKeyA, + SelectKey selectKeyB, + bool disposeEnumerators ) - { - _selectKeyA = selectKeyA; - _selectKeyB = selectKeyB; - _disposeEnumerators = disposeEnumerators; - _eA = eA; - _eB = eB; - _eK = eK; - Current = new AlignDefault(); - } + { + return new SimpleAligner(eA, eB, eK, selectKeyA, selectKeyB, disposeEnumerators); + } + + private bool _hasA; + private bool _hasB; + private bool _hasK = true; - public static SimpleAligner Create( - IEnumerator eA, - IEnumerator eB, - IEnumerator eK, - SelectKey selectKeyA, - SelectKey selectKeyB, - bool disposeEnumerators - ) + private bool _firstMove = true; + + public bool MoveNext() + { + if (_firstMove) { - return new SimpleAligner(eA, eB, eK, selectKeyA, selectKeyB, disposeEnumerators); + _hasA = _eA.MoveNext(); + _hasB = _eB.MoveNext(); + _firstMove = false; } - private bool _hasA; - private bool _hasB; - private bool _hasK = true; - - private bool _firstMove = true; + _hasK = _eK.MoveNext(); + if (!_hasK) return false; - public bool MoveNext() + do { - if (_firstMove) + var keyA = _selectKeyA(_eA.Current); + var keyB = _selectKeyB(_eB.Current); + + var matchA = _eA.Current != default && Equals(keyA, _eK.Current); + var matchB = _eB.Current != default && Equals(keyB, _eK.Current); + if (matchA && matchB) { - _hasA = _eA.MoveNext(); - _hasB = _eB.MoveNext(); - _firstMove = false; - } + Current = new SimpleAlignResultMatch(_eA.Current, _eB.Current, _eK.Current); - _hasK = _eK.MoveNext(); - if (!_hasK) return false; + _hasA = _hasA && _eA.MoveNext(); + _hasB = _hasB && _eB.MoveNext(); + Ordinal++; + return _hasK; + } - do + if (matchA) { - var keyA = _selectKeyA(_eA.Current); - var keyB = _selectKeyB(_eB.Current); - - var matchA = _eA.Current != default && Equals(keyA, _eK.Current); - var matchB = _eB.Current != default && Equals(keyB, _eK.Current); - if (matchA && matchB) - { - Current = new SimpleAlignResultMatch(_eA.Current, _eB.Current, _eK.Current); - - _hasA = _hasA && _eA.MoveNext(); - _hasB = _hasB && _eB.MoveNext(); - Ordinal++; - return _hasK; - } - - if (matchA) - { - Current = new SimpleAlignResultOnlyA(_eA.Current, _eK.Current); - - _hasA = _hasA && _eA.MoveNext(); - Ordinal++; - return _hasK; - } - - if (matchB) - { - Current = new SimpleAlignResultOnlyB(_eB.Current, _eK.Current); - - _hasB = _hasB && _eB.MoveNext(); - Ordinal++; - return _hasK; - } - - if (!matchA && !matchB) - { - Current = new SimpleAlignFatalNoMatch(_eA.Current, _eB.Current, _eK.Current, "AB.NOMATCH: possibly error / wrongly sorted, selected source enumerators."); - - Ordinal++; - return _hasK; - } - } while (_hasA || _hasB); - - return false; - } + Current = new SimpleAlignResultOnlyA(_eA.Current, _eK.Current); - public void Reset() - { - _eA.Reset(); - _eB.Reset(); - _eK.Reset(); - } + _hasA = _hasA && _eA.MoveNext(); + Ordinal++; + return _hasK; + } - public SimpleAlignResult Current { get; private set; } + if (matchB) + { + Current = new SimpleAlignResultOnlyB(_eB.Current, _eK.Current); - object IEnumerator.Current => Current; + _hasB = _hasB && _eB.MoveNext(); + Ordinal++; + return _hasK; + } - public void Dispose() - { - if (!_disposeEnumerators) return; - _eA.Dispose(); - _eB.Dispose(); - _eK.Dispose(); - } - } \ No newline at end of file + if (!matchA && !matchB) + { + Current = new SimpleAlignFatalNoMatch(_eA.Current, _eB.Current, _eK.Current, "AB.NOMATCH: possibly error / wrongly sorted, selected source enumerators."); + + Ordinal++; + return _hasK; + } + } while (_hasA || _hasB); + + return false; + } + + public void Reset() + { + _eA.Reset(); + _eB.Reset(); + _eK.Reset(); + } + + public SimpleAlignResult Current { get; private set; } + + object IEnumerator.Current => Current; + + public void Dispose() + { + if (!_disposeEnumerators) return; + _eA.Dispose(); + _eB.Dispose(); + _eK.Dispose(); + } +} \ No newline at end of file diff --git a/Migration.Toolkit.Common/Helpers/TreePathConvertor.cs b/Migration.Toolkit.Common/Helpers/TreePathConvertor.cs index 24581006..cca8576e 100644 --- a/Migration.Toolkit.Common/Helpers/TreePathConvertor.cs +++ b/Migration.Toolkit.Common/Helpers/TreePathConvertor.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Common.Helpers; +namespace Migration.Toolkit.Common.Helpers; using CMS.ContentEngine.Internal; using CMS.Core; @@ -38,30 +38,30 @@ public async Task ConvertAndEnsureUniqueness(string no switch (nodeAliasPath) { case null: - { - result = new TreePathConversionResult(false, null); - break; - } + { + result = new TreePathConversionResult(false, null); + break; + } case "/": case "#": - { - result = new TreePathConversionResult(false, nodeAliasPath); - _nodeAliasPathToTreePath.Add(nodeAliasPath, nodeAliasPath); - break; - } + { + result = new TreePathConversionResult(false, nodeAliasPath); + _nodeAliasPathToTreePath.Add(nodeAliasPath, nodeAliasPath); + break; + } default: - { - var napSpl = nodeAliasPath.Split('/').Select(nodeAlias => TreePathUtils.NormalizePathSegment(nodeAlias)); - var normalized = string.Join("/", napSpl); - var treePathValidator = Service.Resolve(); - var uniqueTreePath = await new UniqueTreePathProvider(webSiteChannel, treePathValidator).GetUniqueValue(normalized); - var anythingChanged = !TreePathComparer.Equals(nodeAliasPath, uniqueTreePath); - result = new TreePathConversionResult(anythingChanged, uniqueTreePath); - _nodeAliasPathToTreePath.Add(nodeAliasPath, uniqueTreePath); - break; - } + { + var napSpl = nodeAliasPath.Split('/').Select(nodeAlias => TreePathUtils.NormalizePathSegment(nodeAlias)); + var normalized = string.Join("/", napSpl); + var treePathValidator = Service.Resolve(); + var uniqueTreePath = await new UniqueTreePathProvider(webSiteChannel, treePathValidator).GetUniqueValue(normalized); + var anythingChanged = !TreePathComparer.Equals(nodeAliasPath, uniqueTreePath); + result = new TreePathConversionResult(anythingChanged, uniqueTreePath); + _nodeAliasPathToTreePath.Add(nodeAliasPath, uniqueTreePath); + break; + } } return result; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.Common/Helpers/UriHelperXbyk.cs b/Migration.Toolkit.Common/Helpers/UriHelperXbyk.cs index 191fb355..0f2a60ea 100644 --- a/Migration.Toolkit.Common/Helpers/UriHelperXbyk.cs +++ b/Migration.Toolkit.Common/Helpers/UriHelperXbyk.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Common.Helpers; +namespace Migration.Toolkit.Common.Helpers; using System.Text; diff --git a/Migration.Toolkit.Common/IPrimaryKeyMappingContext.cs b/Migration.Toolkit.Common/IPrimaryKeyMappingContext.cs index 5fd0c4bd..5b37c054 100644 --- a/Migration.Toolkit.Common/IPrimaryKeyMappingContext.cs +++ b/Migration.Toolkit.Common/IPrimaryKeyMappingContext.cs @@ -15,4 +15,4 @@ public interface IPrimaryKeyMappingContext MapSourceIdResult MapSourceId(Expression> keyNameSelector, int? sourceId, bool useLocator = true); void PreloadDependencies(Expression> keyNameSelector); bool HasMapping(Expression> keyNameSelector, int? sourceId, bool useLocator = true); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.Common/IPrinter.cs b/Migration.Toolkit.Common/IPrinter.cs index 29a3f7f9..f4a704c2 100644 --- a/Migration.Toolkit.Common/IPrinter.cs +++ b/Migration.Toolkit.Common/IPrinter.cs @@ -6,4 +6,4 @@ namespace Migration.Toolkit.Common; // static abstract string GetEntityIdentityPrint(T model, bool printType = true); // static abstract string GetEntityIdentityPrints(IEnumerable models, string separator = "|"); // static abstract string PrintEnumValues(string separator) where TEnum : struct, Enum; -// } +// } \ No newline at end of file diff --git a/Migration.Toolkit.Common/LogExtensions.cs b/Migration.Toolkit.Common/LogExtensions.cs index b6c7f89f..03c36710 100644 --- a/Migration.Toolkit.Common/LogExtensions.cs +++ b/Migration.Toolkit.Common/LogExtensions.cs @@ -15,32 +15,32 @@ public static IModelMappingResult Log(this IModelMappingResult switch (mappingResult) { case { Success: false } result: - { - if (result is AggregatedResult aggregatedResult) { - foreach (var r in aggregatedResult.Results) + if (result is AggregatedResult aggregatedResult) { - protocol.Append(r.HandbookReference); - logger.LogError(r.HandbookReference?.ToString()); + foreach (var r in aggregatedResult.Results) + { + protocol.Append(r.HandbookReference); + logger.LogError(r.HandbookReference?.ToString()); + } } + else + { + protocol.Append(result.HandbookReference); + logger.LogError(result.HandbookReference?.ToString()); + } + + break; } - else + case { Success: true } result: { - protocol.Append(result.HandbookReference); - logger.LogError(result.HandbookReference?.ToString()); + logger.LogTrace("Success - {model}", PrintService.PrintKxpModelInfo(result.Item)); + break; } - - break; - } - case { Success: true } result: - { - logger.LogTrace("Success - {model}", PrintService.PrintKxpModelInfo(result.Item)); - break; - } default: - { - throw new ArgumentOutOfRangeException(nameof(mappingResult)); - } + { + throw new ArgumentOutOfRangeException(nameof(mappingResult)); + } } return mappingResult; diff --git a/Migration.Toolkit.Common/MigrationProtocol/DebugMigrationProtocol.cs b/Migration.Toolkit.Common/MigrationProtocol/DebugMigrationProtocol.cs index 817e06af..d1015ac2 100644 --- a/Migration.Toolkit.Common/MigrationProtocol/DebugMigrationProtocol.cs +++ b/Migration.Toolkit.Common/MigrationProtocol/DebugMigrationProtocol.cs @@ -1,10 +1,10 @@ -namespace Migration.Toolkit.Common.MigrationProtocol; +namespace Migration.Toolkit.Common.MigrationProtocol; using MediatR; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; -public class DebugMigrationProtocol: IMigrationProtocol +public class DebugMigrationProtocol : IMigrationProtocol { private readonly ILogger _logger; @@ -15,7 +15,7 @@ public DebugMigrationProtocol(ILogger logger) public void MappedTarget(IModelMappingResult mapped) { - + } public void FetchedTarget(TTarget? target) @@ -30,12 +30,12 @@ public void FetchedSource(TSource? source) public void Success(TSource source, TTarget target, IModelMappingResult? mapped) { - + } - + public void Warning(HandbookReference handbookRef, T? entity) { - + } public void CommandRequest(TRequest request) where TRequest : IRequest diff --git a/Migration.Toolkit.Common/MigrationProtocol/HandbookReference.cs b/Migration.Toolkit.Common/MigrationProtocol/HandbookReference.cs index 0f218287..97bb2369 100644 --- a/Migration.Toolkit.Common/MigrationProtocol/HandbookReference.cs +++ b/Migration.Toolkit.Common/MigrationProtocol/HandbookReference.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Common.MigrationProtocol; +namespace Migration.Toolkit.Common.MigrationProtocol; using System.Reflection; using System.Text; diff --git a/Migration.Toolkit.Common/MigrationProtocol/HandbookReferences.cs b/Migration.Toolkit.Common/MigrationProtocol/HandbookReferences.cs index 180deec4..a6712a5f 100644 --- a/Migration.Toolkit.Common/MigrationProtocol/HandbookReferences.cs +++ b/Migration.Toolkit.Common/MigrationProtocol/HandbookReferences.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Common.MigrationProtocol; +namespace Migration.Toolkit.Common.MigrationProtocol; using Microsoft.Data.SqlClient; using Migration.Toolkit.Common.Helpers; diff --git a/Migration.Toolkit.Common/MigrationProtocol/IMigrationProtocol.cs b/Migration.Toolkit.Common/MigrationProtocol/IMigrationProtocol.cs index 4ad5ac34..182c159b 100644 --- a/Migration.Toolkit.Common/MigrationProtocol/IMigrationProtocol.cs +++ b/Migration.Toolkit.Common/MigrationProtocol/IMigrationProtocol.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Common.MigrationProtocol; +namespace Migration.Toolkit.Common.MigrationProtocol; using MediatR; using Migration.Toolkit.Common.Abstractions; diff --git a/Migration.Toolkit.Common/MigrationProtocol/IProtocol.cs b/Migration.Toolkit.Common/MigrationProtocol/IProtocol.cs index 5c9682fb..2c4f63be 100644 --- a/Migration.Toolkit.Common/MigrationProtocol/IProtocol.cs +++ b/Migration.Toolkit.Common/MigrationProtocol/IProtocol.cs @@ -1,6 +1,6 @@ namespace Migration.Toolkit.Common.MigrationProtocol; -public interface IProtocol: IMigrationProtocol +public interface IProtocol : IMigrationProtocol { } \ No newline at end of file diff --git a/Migration.Toolkit.Common/MigrationProtocol/NullMigrationProtocol.cs b/Migration.Toolkit.Common/MigrationProtocol/NullMigrationProtocol.cs index 7813b3c8..3f813152 100644 --- a/Migration.Toolkit.Common/MigrationProtocol/NullMigrationProtocol.cs +++ b/Migration.Toolkit.Common/MigrationProtocol/NullMigrationProtocol.cs @@ -1,32 +1,32 @@ -namespace Migration.Toolkit.Common.MigrationProtocol; +namespace Migration.Toolkit.Common.MigrationProtocol; using MediatR; using Migration.Toolkit.Common.Abstractions; -public class NullMigrationProtocol: IMigrationProtocol -{ +public class NullMigrationProtocol : IMigrationProtocol +{ public void Warning(HandbookReference handbookRef, T? entity) { } public void CommandRequest(TRequest request) where TRequest : IRequest { - + } public void CommandFinished(TRequest request, TResponse response) where TRequest : IRequest where TResponse : CommandResult { - + } public void CommandError(Exception exception, TRequest request) where TRequest : IRequest { - + } public void Append(HandbookReference? handbookReference) { - + } public void MappedTarget(IModelMappingResult mapped) @@ -44,4 +44,4 @@ public void FetchedSource(TSource? source) public void Success(TSource source, TTarget target, IModelMappingResult? mapped) { } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.Common/MigrationProtocol/Protocol.cs b/Migration.Toolkit.Common/MigrationProtocol/Protocol.cs index ada694a9..90298ca0 100644 --- a/Migration.Toolkit.Common/MigrationProtocol/Protocol.cs +++ b/Migration.Toolkit.Common/MigrationProtocol/Protocol.cs @@ -3,7 +3,7 @@ namespace Migration.Toolkit.Common.MigrationProtocol; using MediatR; using Migration.Toolkit.Common.Abstractions; -public class Protocol: IProtocol +public class Protocol : IProtocol { private readonly IEnumerable _protocols; diff --git a/Migration.Toolkit.Common/MigrationProtocol/TextMigrationProtocol.cs b/Migration.Toolkit.Common/MigrationProtocol/TextMigrationProtocol.cs index b94f076c..3cd1ab0f 100644 --- a/Migration.Toolkit.Common/MigrationProtocol/TextMigrationProtocol.cs +++ b/Migration.Toolkit.Common/MigrationProtocol/TextMigrationProtocol.cs @@ -6,7 +6,7 @@ namespace Migration.Toolkit.Common.MigrationProtocol; using Migration.Toolkit.Common.Abstractions; using Migration.Toolkit.Common.Services; -public class TextMigrationProtocol: IMigrationProtocol, IDisposable +public class TextMigrationProtocol : IMigrationProtocol, IDisposable { private readonly ToolkitConfiguration _configuration; private readonly IPrintService _printService; @@ -18,7 +18,7 @@ public TextMigrationProtocol(ToolkitConfiguration configuration, IPrintService p _printService = printService; var nowStartDate = DateTime.Now; - if (string.IsNullOrWhiteSpace(configuration.MigrationProtocolPath) && Process.GetCurrentProcess().MainModule?.FileName is {} programPath) + if (string.IsNullOrWhiteSpace(configuration.MigrationProtocolPath) && Process.GetCurrentProcess().MainModule?.FileName is { } programPath) { var processDir = Path.GetDirectoryName(programPath); if (processDir != null) diff --git a/Migration.Toolkit.Common/SemanticVersion.cs b/Migration.Toolkit.Common/SemanticVersion.cs index 1faa796b..fd26034b 100644 --- a/Migration.Toolkit.Common/SemanticVersion.cs +++ b/Migration.Toolkit.Common/SemanticVersion.cs @@ -32,20 +32,20 @@ public static bool TryParse(string? s, [NotNullWhen(true)] out SemanticVersion? switch (split.Length) { case 1 when int.TryParse(split[0], out var major): - { - semVer = new(major, null, null); - return true; - } + { + semVer = new(major, null, null); + return true; + } case 2 when int.TryParse(split[0], out var major) && int.TryParse(split[1], out var minor): - { - semVer = new(major, minor, null); - return true; - } + { + semVer = new(major, minor, null); + return true; + } case 3 when int.TryParse(split[0], out var major) && int.TryParse(split[1], out var minor) && int.TryParse(split[2], out var hotfix): - { - semVer = new(major, minor, hotfix); - return true; - } + { + semVer = new(major, minor, hotfix); + return true; + } } } @@ -66,7 +66,7 @@ public bool IsLesserThan(SemanticVersion ver, bool compareOnlySpecified = true) { return true; } - + if (hotfix.HasValue && Hotfix.HasValue && Hotfix - hotfix < 0) { return true; @@ -83,7 +83,7 @@ public bool IsLesserThan(SemanticVersion ver, bool compareOnlySpecified = true) { return true; } - + if (Hotfix.GetValueOrDefault(0) - hotfix.GetValueOrDefault(0) < 0) { return true; diff --git a/Migration.Toolkit.Common/Services/BulkCopy/BulkCopyRequest.cs b/Migration.Toolkit.Common/Services/BulkCopy/BulkCopyRequest.cs index d7df8210..a6b45123 100644 --- a/Migration.Toolkit.Common/Services/BulkCopy/BulkCopyRequest.cs +++ b/Migration.Toolkit.Common/Services/BulkCopy/BulkCopyRequest.cs @@ -13,6 +13,6 @@ namespace Migration.Toolkit.Common.Services.BulkCopy; /// Use for data validation and error reporting, avoid expensive operations /// Called when row is skipped for whatever reason /// SQL ORDER BY definition -public record BulkCopyRequest(string TableName, Func ColumnFilter, Func DataFilter, int BatchSize, List? Columns = null, ValueInterceptor? ValueInterceptor = null, ValueInterceptingReaderSkippedRow? SkippedRowCallback = null, string? OrderBy = null); +public record BulkCopyRequest(string TableName, Func ColumnFilter, Func DataFilter, int BatchSize, List? Columns = null, ValueInterceptor? ValueInterceptor = null, ValueInterceptingReaderSkippedRow? SkippedRowCallback = null, string? OrderBy = null); -public record BulkCopyRequestExtended(string TableName, Func ColumnFilter, Func DataFilter, int BatchSize, Dictionary ColumnsMapping, ValueInterceptor? ValueInterceptor = null, ValueInterceptingReaderSkippedRow? SkippedRowCallback = null, string? OrderBy = null): BulkCopyRequest(TableName, ColumnFilter, DataFilter, BatchSize, ColumnsMapping.Keys.ToList(), ValueInterceptor, SkippedRowCallback, OrderBy); \ No newline at end of file +public record BulkCopyRequestExtended(string TableName, Func ColumnFilter, Func DataFilter, int BatchSize, Dictionary ColumnsMapping, ValueInterceptor? ValueInterceptor = null, ValueInterceptingReaderSkippedRow? SkippedRowCallback = null, string? OrderBy = null) : BulkCopyRequest(TableName, ColumnFilter, DataFilter, BatchSize, ColumnsMapping.Keys.ToList(), ValueInterceptor, SkippedRowCallback, OrderBy); \ No newline at end of file diff --git a/Migration.Toolkit.Common/Services/BulkCopy/BulkDataCopyService.cs b/Migration.Toolkit.Common/Services/BulkCopy/BulkDataCopyService.cs index 621269a0..3bbd1e91 100644 --- a/Migration.Toolkit.Common/Services/BulkCopy/BulkDataCopyService.cs +++ b/Migration.Toolkit.Common/Services/BulkCopy/BulkDataCopyService.cs @@ -26,10 +26,10 @@ public bool CheckForTableColumnsDifferences(string tableName, Dictionary checkedColumns?.Keys.Any(k=> k.Equals(c.ColumnName, StringComparison.InvariantCultureIgnoreCase)) ?? true) + .Where(c => checkedColumns?.Keys.Any(k => k.Equals(c.ColumnName, StringComparison.InvariantCultureIgnoreCase)) ?? true) .Select(x => x.ColumnName).OrderBy(x => x); var targetTableColumns = GetSqlTableColumns(tableName, configuration.XbKConnectionString) - .Where(c => checkedColumns?.Values.Any(k=> k.Equals(c.ColumnName, StringComparison.InvariantCultureIgnoreCase)) ?? true) + .Where(c => checkedColumns?.Values.Any(k => k.Equals(c.ColumnName, StringComparison.InvariantCultureIgnoreCase)) ?? true) .Select(x => x.ColumnName).OrderBy(x => x); var aligner = EnumerableHelper.CreateAligner( @@ -148,7 +148,7 @@ public void CopyTableToTable(BulkCopyRequest request) { sqlBulkCopy.WriteToServer(readerPipeline); } - catch(Exception ex) + catch (Exception ex) { throw; } @@ -210,9 +210,9 @@ public IEnumerable GetSqlTableColumns(string tableName, string? conne var ordinal = 0; var allowedColumnsList = allowedColumns?.ToList(); - var columnFiler =allowedColumnsList != null && allowedColumnsList.Count != 0 - ? new Func(s => allowedColumnsList.Contains(s, StringComparer.InvariantCultureIgnoreCase)) - : _ => true; + var columnFiler = allowedColumnsList != null && allowedColumnsList.Count != 0 + ? new Func(s => allowedColumnsList.Contains(s, StringComparer.InvariantCultureIgnoreCase)) + : _ => true; while (reader.Read()) { diff --git a/Migration.Toolkit.Common/Services/BulkCopy/DataReaderProxyBase.cs b/Migration.Toolkit.Common/Services/BulkCopy/DataReaderProxyBase.cs index 428b6125..7027ecde 100644 --- a/Migration.Toolkit.Common/Services/BulkCopy/DataReaderProxyBase.cs +++ b/Migration.Toolkit.Common/Services/BulkCopy/DataReaderProxyBase.cs @@ -2,7 +2,7 @@ namespace Migration.Toolkit.Common.Services.BulkCopy; using System.Data; -public class DataReaderProxyBase: IDataReader +public class DataReaderProxyBase : IDataReader { protected readonly IDataReader _innerReader; diff --git a/Migration.Toolkit.Common/Services/BulkCopy/ValueInterceptingReader.cs b/Migration.Toolkit.Common/Services/BulkCopy/ValueInterceptingReader.cs index 97793bdd..ce8111ea 100644 --- a/Migration.Toolkit.Common/Services/BulkCopy/ValueInterceptingReader.cs +++ b/Migration.Toolkit.Common/Services/BulkCopy/ValueInterceptingReader.cs @@ -33,12 +33,12 @@ public override bool Read() while (base.Read()) { _overwrittenValues = new Dictionary(); - + var skipCurrentDataRow = false; var currentRow = _columnOrdinals.ToDictionary(k => k.Value, v => base.GetValue(v.Key)); foreach (var (columnOrdinal, columnName) in this._columnOrdinals) { - + var (newValue, overwriteValue, skipDataRow) = _valueInterceptor.Invoke(columnOrdinal, columnName, base.GetValue(columnOrdinal), currentRow); if (skipDataRow) { @@ -57,10 +57,10 @@ public override bool Read() _skippedValueCallback?.Invoke(currentRow); continue; } - + return true; } return false; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.Common/Services/CommandParser.cs b/Migration.Toolkit.Common/Services/CommandParser.cs index 0c60dfb0..5e157310 100644 --- a/Migration.Toolkit.Common/Services/CommandParser.cs +++ b/Migration.Toolkit.Common/Services/CommandParser.cs @@ -6,7 +6,7 @@ namespace Migration.Toolkit.Common.Services; public class CommandParser : ICommandParser { - public List Parse(Queue args, ref bool bypassDependencyCheck, bool firstHaveToBeMigrate = true) + public List Parse(Queue args, ref bool bypassDependencyCheck, bool firstHaveToBeMigrate = true) { var commands = new List(); while (args.TryDequeue(out var arg)) diff --git a/Migration.Toolkit.Common/Services/CoupledDataService.cs b/Migration.Toolkit.Common/Services/CoupledDataService.cs index 6abd619d..902ad0da 100644 --- a/Migration.Toolkit.Common/Services/CoupledDataService.cs +++ b/Migration.Toolkit.Common/Services/CoupledDataService.cs @@ -10,19 +10,19 @@ public CoupledDataService(ToolkitConfiguration configuration) { _configuration = configuration; } - + public Dictionary? GetSourceCoupledDataRow(string tableName, string primaryKeyColumn, int? coupledDataId) { ArgumentNullException.ThrowIfNull(tableName); ArgumentNullException.ThrowIfNull(primaryKeyColumn); ArgumentNullException.ThrowIfNull(coupledDataId); - + using var targetConnection = new SqlConnection(_configuration.KxConnectionString); using var command = targetConnection.CreateCommand(); var query = $"SELECT * FROM {tableName} WHERE {primaryKeyColumn} = @{primaryKeyColumn}"; command.CommandText = query; command.Parameters.AddWithValue(primaryKeyColumn, coupledDataId); - + targetConnection.Open(); using var reader = command.ExecuteReader(); @@ -36,7 +36,7 @@ public CoupledDataService(ToolkitConfiguration configuration) return result; } - + return null; } } \ No newline at end of file diff --git a/Migration.Toolkit.Common/Services/Ipc/IpcService.cs b/Migration.Toolkit.Common/Services/Ipc/IpcService.cs index 9e276583..7c9e76cc 100644 --- a/Migration.Toolkit.Common/Services/Ipc/IpcService.cs +++ b/Migration.Toolkit.Common/Services/Ipc/IpcService.cs @@ -100,7 +100,7 @@ public async Task> GetSourceIns response.EnsureSuccessStatusCode(); var responseBody = await response.Content.ReadAsStringAsync(); - if (JsonConvert.DeserializeObject(responseBody) is {} deserializedResponse) + if (JsonConvert.DeserializeObject(responseBody) is { } deserializedResponse) { discoveredInfoList.Add(deserializedResponse.SiteName, deserializedResponse); } diff --git a/Migration.Toolkit.Common/Services/Ipc/Model.cs b/Migration.Toolkit.Common/Services/Ipc/Model.cs index d63d22ae..6dab699d 100644 --- a/Migration.Toolkit.Common/Services/Ipc/Model.cs +++ b/Migration.Toolkit.Common/Services/Ipc/Model.cs @@ -40,6 +40,6 @@ public class EditingFormControlModel /// Gets or sets the order weight of the form component. /// public int? Order { get; set; } - + public string PropertyName { get; set; } } \ No newline at end of file diff --git a/Migration.Toolkit.Core.K11/Auxiliary/NodeXmlAdapter.cs b/Migration.Toolkit.Core.K11/Auxiliary/NodeXmlAdapter.cs index 247e7c33..b0feddff 100644 --- a/Migration.Toolkit.Core.K11/Auxiliary/NodeXmlAdapter.cs +++ b/Migration.Toolkit.Core.K11/Auxiliary/NodeXmlAdapter.cs @@ -1,16 +1,18 @@ -namespace Migration.Toolkit.Core.K11.Auxiliary; +namespace Migration.Toolkit.Core.K11.Auxiliary; using System; using System.Xml.Linq; using Migration.Toolkit.Common; using Migration.Toolkit.Common.Enumerations; -internal class NodeXmlAdapter { +internal class NodeXmlAdapter +{ private readonly XElement _xClass; public bool ParsingSuccessful { get; } - public NodeXmlAdapter(string xml) { + public NodeXmlAdapter(string xml) + { var xDoc = XDocument.Parse(xml); if (xDoc.Root?.FirstNode is XElement dClass) { @@ -24,7 +26,8 @@ public NodeXmlAdapter(string xml) { } } - public string? GetValue(string columnName) { + public string? GetValue(string columnName) + { return _xClass.Element(columnName)?.Value; } @@ -72,4 +75,4 @@ public bool HasValueSet(string columnName) public string? ClassName => _xClass.Element(NodeXmlColumns.CLASS_NAME)?.Value; public string? DocumentPageTemplateConfiguration => _xClass.Element(NodeXmlColumns.DOCUMENT_PAGE_TEMPLATE_CONFIGURATION)?.Value; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.Core.K11/Behaviors/RequestHandlingBehavior.cs b/Migration.Toolkit.Core.K11/Behaviors/RequestHandlingBehavior.cs index 9f4e8fb9..35c40dc2 100644 --- a/Migration.Toolkit.Core.K11/Behaviors/RequestHandlingBehavior.cs +++ b/Migration.Toolkit.Core.K11/Behaviors/RequestHandlingBehavior.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Behaviors; +namespace Migration.Toolkit.Core.K11.Behaviors; using System.Diagnostics; using MediatR; diff --git a/Migration.Toolkit.Core.K11/Contexts/KeyMappingContext.cs b/Migration.Toolkit.Core.K11/Contexts/KeyMappingContext.cs index f2298ef5..7ac684be 100644 --- a/Migration.Toolkit.Core.K11/Contexts/KeyMappingContext.cs +++ b/Migration.Toolkit.Core.K11/Contexts/KeyMappingContext.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Contexts; +namespace Migration.Toolkit.Core.K11.Contexts; using System.Linq.Expressions; using Migration.Toolkit.Core.K11.Services; @@ -13,7 +13,7 @@ public MapSourceKeyResult MapSourceKey Expression> targetKeySelector, Expression> targetGuidSelector) where TSource : class where TTarget : class { - if (sourceKey is int id && primaryKeyMappingContext.MapSourceId(sourceKeySelector, id) is {Success:true, MappedId: TTargetKey targetKey }) + if (sourceKey is int id && primaryKeyMappingContext.MapSourceId(sourceKeySelector, id) is { Success: true, MappedId: TTargetKey targetKey }) { return new MapSourceKeyResult(true, targetKey); } diff --git a/Migration.Toolkit.Core.K11/Contexts/PrimaryKeyMappingContext.cs b/Migration.Toolkit.Core.K11/Contexts/PrimaryKeyMappingContext.cs index 1a2b5d6c..d2980148 100644 --- a/Migration.Toolkit.Core.K11/Contexts/PrimaryKeyMappingContext.cs +++ b/Migration.Toolkit.Core.K11/Contexts/PrimaryKeyMappingContext.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Contexts; +namespace Migration.Toolkit.Core.K11.Contexts; using System.Diagnostics; using System.Linq.Expressions; diff --git a/Migration.Toolkit.Core.K11/Handlers/MigrateContactManagementCommandHandler.cs b/Migration.Toolkit.Core.K11/Handlers/MigrateContactManagementCommandHandler.cs index 0a325bfc..e67627c8 100644 --- a/Migration.Toolkit.Core.K11/Handlers/MigrateContactManagementCommandHandler.cs +++ b/Migration.Toolkit.Core.K11/Handlers/MigrateContactManagementCommandHandler.cs @@ -124,7 +124,7 @@ public Task Handle(MigrateContactManagementCommand request, Cance { bulkDataCopyService.CopyTableToTable(bulkCopyRequest); } - catch(Exception ex) + catch (Exception ex) { logger.LogError(ex, "Failed to migrate contacts"); return new CommandFailureResult(); @@ -157,22 +157,22 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - // try search member - if (keyMappingContext.MapSourceKey( - s => s.UserId, - s => s.UserGuid, - sourceUserId, - t => t.MemberId, - t => t.MemberGuid - ) is { Success:true, Mapped: {} memberId }) { - return ValueInterceptorResult.ReplaceValue(memberId); + // try search member + if (keyMappingContext.MapSourceKey( + s => s.UserId, + s => s.UserGuid, + sourceUserId, + t => t.MemberId, + t => t.MemberGuid + ) is { Success: true, Mapped: { } memberId }) + { + return ValueInterceptorResult.ReplaceValue(memberId); + } + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; } - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } } } @@ -183,11 +183,11 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } + { + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; + } } } @@ -198,11 +198,11 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } + { + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; + } } } @@ -268,7 +268,7 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum { bulkDataCopyService.CopyTableToTable(bulkCopyRequest); } - catch(Exception ex) + catch (Exception ex) { logger.LogError(ex, "Failed to migrate activities"); return new CommandFailureResult(); @@ -288,29 +288,29 @@ private ValueInterceptorResult ActivityValueInterceptor(int columnOrdinal, strin t => t.ChannelId, t => t.ChannelGuid ); - switch(result) + switch (result) { case (true, var id): return ValueInterceptorResult.ReplaceValue(id ?? 0); case { Success: false }: - { - switch (toolkitConfiguration.UseOmActivitySiteRelationAutofix ?? AutofixEnum.Error) { - case AutofixEnum.DiscardData: - logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => discard data", sourceActivitySiteId); - return ValueInterceptorResult.SkipRow; - case AutofixEnum.AttemptFix: - logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => ActivityNodeId=0", sourceActivitySiteId); - return ValueInterceptorResult.ReplaceValue(0); - case AutofixEnum.Error: - default: //error - protocol.Append(HandbookReferences - .MissingRequiredDependency(columnName, value) - .WithData(currentRow) - ); - return ValueInterceptorResult.SkipRow; + switch (toolkitConfiguration.UseOmActivitySiteRelationAutofix ?? AutofixEnum.Error) + { + case AutofixEnum.DiscardData: + logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => discard data", sourceActivitySiteId); + return ValueInterceptorResult.SkipRow; + case AutofixEnum.AttemptFix: + logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => ActivityNodeId=0", sourceActivitySiteId); + return ValueInterceptorResult.ReplaceValue(0); + case AutofixEnum.Error: + default: //error + protocol.Append(HandbookReferences + .MissingRequiredDependency(columnName, value) + .WithData(currentRow) + ); + return ValueInterceptorResult.SkipRow; + } } - } } } @@ -342,7 +342,7 @@ private ValueInterceptorResult ActivityValueInterceptor(int columnOrdinal, strin } } - if (columnName.Equals( nameof(KXP.Models.OmActivity.ActivityLanguageId), StringComparison.InvariantCultureIgnoreCase) && value is string cultureCode) + if (columnName.Equals(nameof(KXP.Models.OmActivity.ActivityLanguageId), StringComparison.InvariantCultureIgnoreCase) && value is string cultureCode) { return ValueInterceptorResult.ReplaceValue(ContentLanguageInfoProvider.ProviderObject.Get(cultureCode)?.ContentLanguageID); } diff --git a/Migration.Toolkit.Core.K11/Handlers/MigrateDataProtectionCommandHandler.cs b/Migration.Toolkit.Core.K11/Handlers/MigrateDataProtectionCommandHandler.cs index 9a8d5025..37b25baa 100644 --- a/Migration.Toolkit.Core.K11/Handlers/MigrateDataProtectionCommandHandler.cs +++ b/Migration.Toolkit.Core.K11/Handlers/MigrateDataProtectionCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Handlers; +namespace Migration.Toolkit.Core.K11.Handlers; using CMS.DataProtection; using MediatR; @@ -76,7 +76,7 @@ private async Task MigrateConsent(CancellationToken cancellationT var mapped = _consentMapper.Map(k11Consent, kxoConsent); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsent, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsent, nameof(cmsConsent)); @@ -131,7 +131,7 @@ private async Task MigrateConsentArchive(CancellationToken cancel var mapped = _consentArchiveMapper.Map(k11ArchiveConsent, kxoConsentArchive); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsentArchive, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsentArchive, nameof(cmsConsentArchive)); @@ -177,7 +177,7 @@ private async Task MigrateConsentAgreement(CancellationToken canc await using var k11Context = await _k11ContextFactory.CreateDbContextAsync(cancellationToken); var index = 0; var indexFull = 0; - var consentAgreementUpdates= new List(); + var consentAgreementUpdates = new List(); var consentAgreementNews = new List(); var itemsCount = k11Context.CmsConsentAgreements.Count(); @@ -192,7 +192,7 @@ private async Task MigrateConsentAgreement(CancellationToken canc var mapped = _consentAgreementMapper.Map(k11ConsentAgreement, kxoConsentAgreement); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsentAgreement, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsentAgreement, nameof(cmsConsentAgreement)); diff --git a/Migration.Toolkit.Core.K11/Handlers/MigrateMembersCommandHandler.cs b/Migration.Toolkit.Core.K11/Handlers/MigrateMembersCommandHandler.cs index 7cf71052..81bf0a97 100644 --- a/Migration.Toolkit.Core.K11/Handlers/MigrateMembersCommandHandler.cs +++ b/Migration.Toolkit.Core.K11/Handlers/MigrateMembersCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Handlers; +namespace Migration.Toolkit.Core.K11.Handlers; using System.Diagnostics; using CMS.Membership; @@ -60,7 +60,7 @@ public async Task Handle(MigrateMembersCommand request, Cancellat private void SaveUserUsingKenticoApi(IModelMappingResult mapped, CmsUser k11User) { - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (memberInfo, newInstance) = result; ArgumentNullException.ThrowIfNull(memberInfo); diff --git a/Migration.Toolkit.Core.K11/Handlers/MigrateSettingKeysCommandHandler.cs b/Migration.Toolkit.Core.K11/Handlers/MigrateSettingKeysCommandHandler.cs index 5fca699d..f75c72d2 100644 --- a/Migration.Toolkit.Core.K11/Handlers/MigrateSettingKeysCommandHandler.cs +++ b/Migration.Toolkit.Core.K11/Handlers/MigrateSettingKeysCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Handlers; +namespace Migration.Toolkit.Core.K11.Handlers; using CMS.DataEngine; using MediatR; diff --git a/Migration.Toolkit.Core.K11/Handlers/MigrateSitesCommandHandler.cs b/Migration.Toolkit.Core.K11/Handlers/MigrateSitesCommandHandler.cs index 09972e9c..a8d4a18e 100644 --- a/Migration.Toolkit.Core.K11/Handlers/MigrateSitesCommandHandler.cs +++ b/Migration.Toolkit.Core.K11/Handlers/MigrateSitesCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Handlers; +namespace Migration.Toolkit.Core.K11.Handlers; using CMS.ContentEngine; using CMS.Websites; @@ -101,36 +101,36 @@ public async Task Handle(MigrateSitesCommand request, Cancellatio switch (result) { case (true, false, var candidate, null): - { - webSiteChannelDomain = candidate; - break; - } + { + webSiteChannelDomain = candidate; + break; + } case (true, true, var candidate, null): - { - webSiteChannelDomain = candidate; - logger.LogWarning("Domain '{Domain}' of site '{SiteName}' is not unique. '{Fallback}' is used instead", k11CmsSite.SiteDomainName, k11CmsSite.SiteName, candidate); - protocol.Warning(HandbookReferences - .InvalidSourceData() - .WithMessage($"Domain '{k11CmsSite.SiteDomainName}' of site '{k11CmsSite.SiteName}' is not unique. '{candidate}' is used instead"), k11CmsSite); - break; - } + { + webSiteChannelDomain = candidate; + logger.LogWarning("Domain '{Domain}' of site '{SiteName}' is not unique. '{Fallback}' is used instead", k11CmsSite.SiteDomainName, k11CmsSite.SiteName, candidate); + protocol.Warning(HandbookReferences + .InvalidSourceData() + .WithMessage($"Domain '{k11CmsSite.SiteDomainName}' of site '{k11CmsSite.SiteName}' is not unique. '{candidate}' is used instead"), k11CmsSite); + break; + } case { Success: false, Fallback: { } fallback }: - { - webSiteChannelDomain = fallback; - logger.LogWarning("Unable to use domain '{Domain}' of site '{SiteName}' as channel domain. Fallback '{Fallback}' is used", k11CmsSite.SiteDomainName, k11CmsSite.SiteName, fallback); - protocol.Warning(HandbookReferences - .InvalidSourceData() - .WithMessage($"Non-unique domain name '{k11CmsSite.SiteDomainName}', fallback '{fallback}' used"), k11CmsSite); - break; - } + { + webSiteChannelDomain = fallback; + logger.LogWarning("Unable to use domain '{Domain}' of site '{SiteName}' as channel domain. Fallback '{Fallback}' is used", k11CmsSite.SiteDomainName, k11CmsSite.SiteName, fallback); + protocol.Warning(HandbookReferences + .InvalidSourceData() + .WithMessage($"Non-unique domain name '{k11CmsSite.SiteDomainName}', fallback '{fallback}' used"), k11CmsSite); + break; + } default: - { - logger.LogError("Unable to use domain '{Domain}' of site '{SiteName}' as channel domain. No fallback available, skipping site", k11CmsSite.SiteDomainName, k11CmsSite.SiteName); - protocol.Warning(HandbookReferences - .InvalidSourceData() - .WithMessage($"Invalid domain name for migration '{k11CmsSite.SiteDomainName}'"), k11CmsSite); - continue; - } + { + logger.LogError("Unable to use domain '{Domain}' of site '{SiteName}' as channel domain. No fallback available, skipping site", k11CmsSite.SiteDomainName, k11CmsSite.SiteName); + protocol.Warning(HandbookReferences + .InvalidSourceData() + .WithMessage($"Invalid domain name for migration '{k11CmsSite.SiteDomainName}'"), k11CmsSite); + continue; + } } await importer.ImportAsync(new ChannelModel diff --git a/Migration.Toolkit.Core.K11/Handlers/MigrateUsersCommandHandler.cs b/Migration.Toolkit.Core.K11/Handlers/MigrateUsersCommandHandler.cs index 2279cc20..0f50478f 100644 --- a/Migration.Toolkit.Core.K11/Handlers/MigrateUsersCommandHandler.cs +++ b/Migration.Toolkit.Core.K11/Handlers/MigrateUsersCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Handlers; +namespace Migration.Toolkit.Core.K11.Handlers; using CMS.Membership; using MediatR; @@ -75,7 +75,7 @@ public async Task Handle(MigrateUsersCommand request, Cancellatio private bool SaveUserUsingKenticoApi(IModelMappingResult mapped, CmsUser k11User) { - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (userInfo, newInstance) = result; ArgumentNullException.ThrowIfNull(userInfo); @@ -142,7 +142,7 @@ Roles with RoleGuid ({RoleGuids}) have same RoleName '{RoleName}', due to remova protocol.Append(HandbookReferences.NotCurrentlySupportedSkip() .WithMessage($"Role '{r.RoleName}' with RoleGUID '{r.RoleGuid}' doesn't satisfy unique RoleName condition for migration") .WithIdentityPrint(r) - .WithData(new { r.RoleGuid, r.RoleName, r.SiteId}) + .WithData(new { r.RoleGuid, r.RoleName, r.SiteId }) ); } } @@ -165,7 +165,7 @@ Roles with RoleGuid ({RoleGuids}) have same RoleName '{RoleName}', due to remova var mapped = roleMapper.Map(k11CmsRole, xbkRoleInfo); protocol.MappedTarget(mapped); - if (mapped is not (var roleInfo, var newInstance) { Success : true }) + if (mapped is not (var roleInfo, var newInstance) { Success: true }) { continue; } @@ -235,7 +235,7 @@ private async Task MigrateUserRole(int k11RoleId) var mapped = userRoleMapper.Map(k11UserRole, xbkUserRole); protocol.MappedTarget(mapped); - if (mapped is { Success : true }) + if (mapped is { Success: true }) { var (userRoleInfo, newInstance) = mapped; ArgumentNullException.ThrowIfNull(userRoleInfo); diff --git a/Migration.Toolkit.Core.K11/Helpers/KenticoHelper.cs b/Migration.Toolkit.Core.K11/Helpers/KenticoHelper.cs index 98be8d90..01e4af31 100644 --- a/Migration.Toolkit.Core.K11/Helpers/KenticoHelper.cs +++ b/Migration.Toolkit.Core.K11/Helpers/KenticoHelper.cs @@ -22,11 +22,11 @@ public static void CopyCustomData(ContainerCustomData target, string? sourceXml) using var k11Context = ctxf.CreateDbContext(); var keys = k11Context.CmsSettingsKeys.Where(x => x.KeyName == keyName); - return (keys.FirstOrDefault(x => x.SiteId == siteId) + return (keys.FirstOrDefault(x => x.SiteId == siteId) ?? keys.FirstOrDefault(x => x.SiteId == null))?.KeyValue; } - public static T? GetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName) where T: struct, IParsable + public static T? GetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName) where T : struct, IParsable { using var k11Context = ctxf.CreateDbContext(); var keys = k11Context.CmsSettingsKeys.Where(x => x.KeyName == keyName); @@ -39,7 +39,7 @@ public static void CopyCustomData(ContainerCustomData target, string? sourceXml) : null; } - public static bool? TryGetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName, out T? result) where T: IParsable + public static bool? TryGetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName, out T? result) where T : IParsable { return T.TryParse(GetSettingsKey(ctxf, siteId, keyName), CultureInfo.InvariantCulture, out result); } diff --git a/Migration.Toolkit.Core.K11/Helpers/Printer.cs b/Migration.Toolkit.Core.K11/Helpers/Printer.cs index 76c18388..d536ca72 100644 --- a/Migration.Toolkit.Core.K11/Helpers/Printer.cs +++ b/Migration.Toolkit.Core.K11/Helpers/Printer.cs @@ -90,13 +90,14 @@ public static string GetEntityIdentityPrints(IEnumerable models, string se return string.Join(separator, models.Select(m => GetEntityIdentityPrint(m, false))); } - public static string PrintEnumValues(string separator) where TEnum: struct, Enum + public static string PrintEnumValues(string separator) where TEnum : struct, Enum { return string.Join(separator, Enum.GetValues()); } } -public class PrintService: IPrintService { +public class PrintService : IPrintService +{ public string PrintKxpModelInfo(T model) { return Printer.PrintKxpModelInfo(model); diff --git a/Migration.Toolkit.Core.K11/Mappers/CmsConsentAgreementMapper.cs b/Migration.Toolkit.Core.K11/Mappers/CmsConsentAgreementMapper.cs index cefb137c..aac8b025 100644 --- a/Migration.Toolkit.Core.K11/Mappers/CmsConsentAgreementMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/CmsConsentAgreementMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; diff --git a/Migration.Toolkit.Core.K11/Mappers/CmsConsentArchiveMapper.cs b/Migration.Toolkit.Core.K11/Mappers/CmsConsentArchiveMapper.cs index 0d04d79d..769f79f8 100644 --- a/Migration.Toolkit.Core.K11/Mappers/CmsConsentArchiveMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/CmsConsentArchiveMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; diff --git a/Migration.Toolkit.Core.K11/Mappers/CmsConsentMapper.cs b/Migration.Toolkit.Core.K11/Mappers/CmsConsentMapper.cs index 5c8f40c3..75b030ac 100644 --- a/Migration.Toolkit.Core.K11/Mappers/CmsConsentMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/CmsConsentMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using System.Text; using System.Xml.Linq; diff --git a/Migration.Toolkit.Core.K11/Mappers/CmsFormMapper.cs b/Migration.Toolkit.Core.K11/Mappers/CmsFormMapper.cs index a557810f..b7f4f169 100644 --- a/Migration.Toolkit.Core.K11/Mappers/CmsFormMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/CmsFormMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using CMS.FormEngine; using CMS.OnlineForms; diff --git a/Migration.Toolkit.Core.K11/Mappers/CmsSettingsCategoryMapper.cs b/Migration.Toolkit.Core.K11/Mappers/CmsSettingsCategoryMapper.cs index 722d814d..c0e83d8a 100644 --- a/Migration.Toolkit.Core.K11/Mappers/CmsSettingsCategoryMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/CmsSettingsCategoryMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; @@ -44,19 +44,19 @@ protected override KXP.Models.CmsSettingsCategory MapInternal(Toolkit.K11.Models switch (cmsResourceMapper.Map(source.CategoryResource, target.CategoryResource)) { case { Success: true } result: - { - target.CategoryResource = result.Item; - break; - } + { + target.CategoryResource = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result.HandbookReference)); + break; + } } } } - else if(mappingHelper.TranslateIdAllowNulls(r => r.ResourceId, source.CategoryResourceId, out var categoryResourceId)) + else if (mappingHelper.TranslateIdAllowNulls(r => r.ResourceId, source.CategoryResourceId, out var categoryResourceId)) { target.CategoryResourceId = categoryResourceId; } @@ -66,18 +66,18 @@ protected override KXP.Models.CmsSettingsCategory MapInternal(Toolkit.K11.Models switch (Map(source.CategoryParent, target.CategoryParent)) { case { Success: true } result: - { - target.CategoryParent = result.Item; - break; - } + { + target.CategoryParent = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result.HandbookReference)); + break; + } } } - else if(mappingHelper.TranslateIdAllowNulls(c => c.CategoryId, source.CategoryParentId, out var categoryParentId)) + else if (mappingHelper.TranslateIdAllowNulls(c => c.CategoryId, source.CategoryParentId, out var categoryParentId)) { target.CategoryParentId = categoryParentId; } diff --git a/Migration.Toolkit.Core.K11/Mappers/CmsSettingsKeyMapper.cs b/Migration.Toolkit.Core.K11/Mappers/CmsSettingsKeyMapper.cs index af19d2d1..432ab30e 100644 --- a/Migration.Toolkit.Core.K11/Mappers/CmsSettingsKeyMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/CmsSettingsKeyMapper.cs @@ -44,14 +44,14 @@ protected override SettingsKeyInfo MapInternal(CmsSettingsKey source, SettingsKe switch (source.KeyName) { case SOURCE_KEY_NAME: - { - target.KeyValue = int.TryParse(source.KeyValue, out var cmsDefaultUserId) - ? mappingHelper.TranslateRequiredId(u => u.UserId, cmsDefaultUserId, out var targetCmsDefaultUserId) - ? targetCmsDefaultUserId.ToString() - : source.KeyValue - : source.KeyValue; - break; - } + { + target.KeyValue = int.TryParse(source.KeyValue, out var cmsDefaultUserId) + ? mappingHelper.TranslateRequiredId(u => u.UserId, cmsDefaultUserId, out var targetCmsDefaultUserId) + ? targetCmsDefaultUserId.ToString() + : source.KeyValue + : source.KeyValue; + break; + } default: target.KeyValue = source.KeyValue; break; diff --git a/Migration.Toolkit.Core.K11/Mappers/CmsUserMapper.cs b/Migration.Toolkit.Core.K11/Mappers/CmsUserMapper.cs index 5523689a..9e9f555a 100644 --- a/Migration.Toolkit.Core.K11/Mappers/CmsUserMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/CmsUserMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; diff --git a/Migration.Toolkit.Core.K11/Mappers/MemberInfoMapper.cs b/Migration.Toolkit.Core.K11/Mappers/MemberInfoMapper.cs index fde0f814..de886eb6 100644 --- a/Migration.Toolkit.Core.K11/Mappers/MemberInfoMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/MemberInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using System.Data; using CMS.FormEngine; diff --git a/Migration.Toolkit.Core.K11/Mappers/OmContactMapper.cs b/Migration.Toolkit.Core.K11/Mappers/OmContactMapper.cs index 931a9f73..70c34eba 100644 --- a/Migration.Toolkit.Core.K11/Mappers/OmContactMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/OmContactMapper.cs @@ -58,15 +58,15 @@ protected override OmContact MapInternal(Toolkit.K11.Models.OmContact source, Om switch (contactStatusMapper.Map(source.ContactStatus, target.ContactStatus)) { case { Success: true } result: - { - target.ContactStatus = result.Item; - break; - } + { + target.ContactStatus = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result?.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result?.HandbookReference)); + break; + } } } else diff --git a/Migration.Toolkit.Core.K11/Mappers/ResourceMapper.cs b/Migration.Toolkit.Core.K11/Mappers/ResourceMapper.cs index 258d5e51..f35f2adb 100644 --- a/Migration.Toolkit.Core.K11/Mappers/ResourceMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/ResourceMapper.cs @@ -35,7 +35,7 @@ protected override ResourceInfo MapInternal(CmsResource source, ResourceInfo tar if (target.ResourceName.StartsWith("CMS.", StringComparison.InvariantCultureIgnoreCase)) { var targetResourceNamePatched = target.ResourceName.Substring(4, target.ResourceName.Length - 4); - logger.LogInformation("Patching CMS Resource '{ResourceName}': name changed to '{ResourceNamePatched}'", target.ResourceName, targetResourceNamePatched); + logger.LogInformation("Patching CMS Resource '{ResourceName}': name changed to '{ResourceNamePatched}'", target.ResourceName, targetResourceNamePatched); target.ResourceName = targetResourceNamePatched; } } diff --git a/Migration.Toolkit.Core.K11/Mappers/RoleInfoMapper.cs b/Migration.Toolkit.Core.K11/Mappers/RoleInfoMapper.cs index 136904bd..773669c6 100644 --- a/Migration.Toolkit.Core.K11/Mappers/RoleInfoMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/RoleInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using CMS.Membership; using Microsoft.Extensions.Logging; diff --git a/Migration.Toolkit.Core.K11/Mappers/UserInfoMapper.cs b/Migration.Toolkit.Core.K11/Mappers/UserInfoMapper.cs index abba9931..a0b1a3f8 100644 --- a/Migration.Toolkit.Core.K11/Mappers/UserInfoMapper.cs +++ b/Migration.Toolkit.Core.K11/Mappers/UserInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Mappers; +namespace Migration.Toolkit.Core.K11.Mappers; using System.Data; using CMS.Membership; diff --git a/Migration.Toolkit.Core.K11/Providers/ContentItemNameProvider.cs b/Migration.Toolkit.Core.K11/Providers/ContentItemNameProvider.cs index 34d14f14..258b74fe 100644 --- a/Migration.Toolkit.Core.K11/Providers/ContentItemNameProvider.cs +++ b/Migration.Toolkit.Core.K11/Providers/ContentItemNameProvider.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Providers; +namespace Migration.Toolkit.Core.K11.Providers; using System; using System.Threading.Tasks; diff --git a/Migration.Toolkit.Core.K11/Services/CmsClass/EditableAreasConfiguration.cs b/Migration.Toolkit.Core.K11/Services/CmsClass/EditableAreasConfiguration.cs index db7f0f01..424796df 100644 --- a/Migration.Toolkit.Core.K11/Services/CmsClass/EditableAreasConfiguration.cs +++ b/Migration.Toolkit.Core.K11/Services/CmsClass/EditableAreasConfiguration.cs @@ -184,4 +184,4 @@ // } // // #endregion -// +// \ No newline at end of file diff --git a/Migration.Toolkit.Core.K11/Services/IPrimaryKeyLocatorService.cs b/Migration.Toolkit.Core.K11/Services/IPrimaryKeyLocatorService.cs index 263b105d..c70ab2d6 100644 --- a/Migration.Toolkit.Core.K11/Services/IPrimaryKeyLocatorService.cs +++ b/Migration.Toolkit.Core.K11/Services/IPrimaryKeyLocatorService.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.K11.Services; +namespace Migration.Toolkit.Core.K11.Services; using System.Linq.Expressions; @@ -7,5 +7,5 @@ public record SourceTargetKeyMapping(int SourceId, int TargetId); public interface IPrimaryKeyLocatorService { bool TryLocate(Expression> keyNameSelector, int sourceId, out int targetId); - IEnumerable SelectAll(Expression> keyNameSelector); + IEnumerable SelectAll(Expression> keyNameSelector); } \ No newline at end of file diff --git a/Migration.Toolkit.Core.K11/Services/KeyLocatorService.cs b/Migration.Toolkit.Core.K11/Services/KeyLocatorService.cs index d8a14c80..9370e74c 100644 --- a/Migration.Toolkit.Core.K11/Services/KeyLocatorService.cs +++ b/Migration.Toolkit.Core.K11/Services/KeyLocatorService.cs @@ -17,7 +17,7 @@ public bool TryLocate( Expression> sourceGuidSelector, Expression> targetGuidSelector, object? sourceKey, out TTargetKey targetId - ) where TSource : class where TTarget: class + ) where TSource : class where TTarget : class { using var kxpContext = kxpContextFactory.CreateDbContext(); using var k11Context = k11ContextFactory.CreateDbContext(); @@ -70,7 +70,7 @@ public bool TryLocate( } } - public bool TryGetSourceGuid(Expression> keySelector, Expression> guidSelector, object? key, out Guid? guid) + public bool TryGetSourceGuid(Expression> keySelector, Expression> guidSelector, object? key, out Guid? guid) where T : class { using var KX12Context = k11ContextFactory.CreateDbContext(); diff --git a/Migration.Toolkit.Core.K11/Services/PrimaryKeyLocatorService.cs b/Migration.Toolkit.Core.K11/Services/PrimaryKeyLocatorService.cs index 013e35d1..82ba36a1 100644 --- a/Migration.Toolkit.Core.K11/Services/PrimaryKeyLocatorService.cs +++ b/Migration.Toolkit.Core.K11/Services/PrimaryKeyLocatorService.cs @@ -79,7 +79,7 @@ public IEnumerable SelectAll(Expression new { x.StateId, x.StateName }).ToList(); - var target = kxpContext.CmsStates.Select(x => new { x.StateId, x.StateName }).ToList(); + var target = kxpContext.CmsStates.Select(x => new { x.StateId, x.StateName }).ToList(); var result = source.Join(target, a => a.StateName, @@ -98,7 +98,7 @@ public IEnumerable SelectAll(Expression new { x.CountryId, x.CountryName }).ToList(); - var target = kxpContext.CmsCountries.Select(x => new { x.CountryId, x.CountryName }).ToList(); + var target = kxpContext.CmsCountries.Select(x => new { x.CountryId, x.CountryName }).ToList(); var result = source.Join(target, a => a.CountryName, diff --git a/Migration.Toolkit.Core.K11/Services/TableReflectionService.cs b/Migration.Toolkit.Core.K11/Services/TableReflectionService.cs index 98c16eaa..b96c281d 100644 --- a/Migration.Toolkit.Core.K11/Services/TableReflectionService.cs +++ b/Migration.Toolkit.Core.K11/Services/TableReflectionService.cs @@ -8,7 +8,7 @@ namespace Migration.Toolkit.Core.K11.Services; public class TableReflectionService { private readonly ILogger _logger; - private readonly Dictionary _tableNameLookup; + private readonly Dictionary _tableNameLookup; public TableReflectionService(ILogger logger) { @@ -20,7 +20,7 @@ public TableReflectionService(ILogger logger) { var rh = new ReflectionHelper(type); - if (rh.GetFirstAttributeOrNull()?.Name is {} tableName && !string.IsNullOrWhiteSpace(tableName)) + if (rh.GetFirstAttributeOrNull()?.Name is { } tableName && !string.IsNullOrWhiteSpace(tableName)) { lookups.tableNameLookup[tableName] = type; lookups.nameLookup[type.Name] = type; diff --git a/Migration.Toolkit.Core.KX12/Auxiliary/NodeXmlAdapter.cs b/Migration.Toolkit.Core.KX12/Auxiliary/NodeXmlAdapter.cs index fece3926..c54169fb 100644 --- a/Migration.Toolkit.Core.KX12/Auxiliary/NodeXmlAdapter.cs +++ b/Migration.Toolkit.Core.KX12/Auxiliary/NodeXmlAdapter.cs @@ -1,16 +1,18 @@ -namespace Migration.Toolkit.Core.KX12.Auxiliary; +namespace Migration.Toolkit.Core.KX12.Auxiliary; using System; using System.Xml.Linq; using Migration.Toolkit.Common; using Migration.Toolkit.Common.Enumerations; -internal class NodeXmlAdapter { +internal class NodeXmlAdapter +{ private readonly XElement _xClass; public bool ParsingSuccessful { get; } - public NodeXmlAdapter(string xml) { + public NodeXmlAdapter(string xml) + { var xDoc = XDocument.Parse(xml); if (xDoc.Root?.FirstNode is XElement dClass) { @@ -24,7 +26,8 @@ public NodeXmlAdapter(string xml) { } } - public string? GetValue(string columnName) { + public string? GetValue(string columnName) + { return _xClass.Element(columnName)?.Value; } @@ -72,4 +75,4 @@ public bool HasValueSet(string columnName) public string? ClassName => _xClass.Element(NodeXmlColumns.CLASS_NAME)?.Value; public string? DocumentPageTemplateConfiguration => _xClass.Element(NodeXmlColumns.DOCUMENT_PAGE_TEMPLATE_CONFIGURATION)?.Value; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.Core.KX12/Behaviors/RequestHandlingBehavior.cs b/Migration.Toolkit.Core.KX12/Behaviors/RequestHandlingBehavior.cs index 1b2a79ac..534de934 100644 --- a/Migration.Toolkit.Core.KX12/Behaviors/RequestHandlingBehavior.cs +++ b/Migration.Toolkit.Core.KX12/Behaviors/RequestHandlingBehavior.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Behaviors; +namespace Migration.Toolkit.Core.KX12.Behaviors; using System.Diagnostics; using MediatR; diff --git a/Migration.Toolkit.Core.KX12/Contexts/KeyMappingContext.cs b/Migration.Toolkit.Core.KX12/Contexts/KeyMappingContext.cs index 48546086..a8c9961a 100644 --- a/Migration.Toolkit.Core.KX12/Contexts/KeyMappingContext.cs +++ b/Migration.Toolkit.Core.KX12/Contexts/KeyMappingContext.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Contexts; +namespace Migration.Toolkit.Core.KX12.Contexts; using System.Linq.Expressions; using Migration.Toolkit.Core.KX12.Services; @@ -22,7 +22,7 @@ public MapSourceKeyResult MapSourceKey Expression> targetKeySelector, Expression> targetGuidSelector) where TSource : class where TTarget : class { - if (sourceKey is int id && _primaryKeyMappingContext.MapSourceId(sourceKeySelector, id) is {Success:true, MappedId: TTargetKey targetKey }) + if (sourceKey is int id && _primaryKeyMappingContext.MapSourceId(sourceKeySelector, id) is { Success: true, MappedId: TTargetKey targetKey }) { return new MapSourceKeyResult(true, targetKey); } diff --git a/Migration.Toolkit.Core.KX12/Contexts/PrimaryKeyMappingContext.cs b/Migration.Toolkit.Core.KX12/Contexts/PrimaryKeyMappingContext.cs index 93f40b6a..9d72e34b 100644 --- a/Migration.Toolkit.Core.KX12/Contexts/PrimaryKeyMappingContext.cs +++ b/Migration.Toolkit.Core.KX12/Contexts/PrimaryKeyMappingContext.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Contexts; +namespace Migration.Toolkit.Core.KX12.Contexts; using System.Diagnostics; using System.Linq.Expressions; diff --git a/Migration.Toolkit.Core.KX12/Exceptions.cs b/Migration.Toolkit.Core.KX12/Exceptions.cs index 083e6b90..8006fb28 100644 --- a/Migration.Toolkit.Core.KX12/Exceptions.cs +++ b/Migration.Toolkit.Core.KX12/Exceptions.cs @@ -1,11 +1,11 @@ namespace Migration.Toolkit.Core.KX12; -public class MappingFailureException: InvalidOperationException +public class MappingFailureException : InvalidOperationException { public string KeyName { get; } public string Reason { get; } - public MappingFailureException(string keyName, string reason): base($"Key '{keyName}' mapping failed: {reason}") + public MappingFailureException(string keyName, string reason) : base($"Key '{keyName}' mapping failed: {reason}") { KeyName = keyName; Reason = reason; diff --git a/Migration.Toolkit.Core.KX12/Handlers/MigrateContactManagementCommandHandler.cs b/Migration.Toolkit.Core.KX12/Handlers/MigrateContactManagementCommandHandler.cs index bb898bb3..6023d2d4 100644 --- a/Migration.Toolkit.Core.KX12/Handlers/MigrateContactManagementCommandHandler.cs +++ b/Migration.Toolkit.Core.KX12/Handlers/MigrateContactManagementCommandHandler.cs @@ -126,7 +126,7 @@ public Task Handle(MigrateContactManagementCommand request, Cance { bulkDataCopyService.CopyTableToTable(bulkCopyRequest); } - catch(Exception ex) + catch (Exception ex) { logger.LogError(ex, "Failed to migrate contacts"); return new CommandFailureResult(); @@ -159,22 +159,22 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - // try search member - if (keyMappingContext.MapSourceKey( - s => s.UserId, - s => s.UserGuid, - sourceUserId, - t => t.MemberId, - t => t.MemberGuid - ) is { Success:true, Mapped: {} memberId }) { - return ValueInterceptorResult.ReplaceValue(memberId); + // try search member + if (keyMappingContext.MapSourceKey( + s => s.UserId, + s => s.UserGuid, + sourceUserId, + t => t.MemberId, + t => t.MemberGuid + ) is { Success: true, Mapped: { } memberId }) + { + return ValueInterceptorResult.ReplaceValue(memberId); + } + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; } - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } } } @@ -185,11 +185,11 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } + { + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; + } } } @@ -200,11 +200,11 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } + { + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; + } } } @@ -274,7 +274,7 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum { bulkDataCopyService.CopyTableToTable(bulkCopyRequest); } - catch(Exception ex) + catch (Exception ex) { logger.LogError(ex, "Failed to migrate activities"); return new CommandFailureResult(); @@ -294,29 +294,29 @@ private ValueInterceptorResult ActivityValueInterceptor(int columnOrdinal, strin t => t.ChannelId, t => t.ChannelGuid ); - switch(result) + switch (result) { case (true, var id): return ValueInterceptorResult.ReplaceValue(id ?? 0); case { Success: false }: - { - switch (toolkitConfiguration.UseOmActivitySiteRelationAutofix ?? AutofixEnum.Error) { - case AutofixEnum.DiscardData: - logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => discard data", sourceActivitySiteId); - return ValueInterceptorResult.SkipRow; - case AutofixEnum.AttemptFix: - logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => ActivityNodeId=0", sourceActivitySiteId); - return ValueInterceptorResult.ReplaceValue(0); - case AutofixEnum.Error: - default: //error - protocol.Append(HandbookReferences - .MissingRequiredDependency(columnName, value) - .WithData(currentRow) - ); - return ValueInterceptorResult.SkipRow; + switch (toolkitConfiguration.UseOmActivitySiteRelationAutofix ?? AutofixEnum.Error) + { + case AutofixEnum.DiscardData: + logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => discard data", sourceActivitySiteId); + return ValueInterceptorResult.SkipRow; + case AutofixEnum.AttemptFix: + logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => ActivityNodeId=0", sourceActivitySiteId); + return ValueInterceptorResult.ReplaceValue(0); + case AutofixEnum.Error: + default: //error + protocol.Append(HandbookReferences + .MissingRequiredDependency(columnName, value) + .WithData(currentRow) + ); + return ValueInterceptorResult.SkipRow; + } } - } } } @@ -348,7 +348,7 @@ private ValueInterceptorResult ActivityValueInterceptor(int columnOrdinal, strin } } - if (columnName.Equals( nameof(KXP.Models.OmActivity.ActivityLanguageId), StringComparison.InvariantCultureIgnoreCase) && value is string cultureCode) + if (columnName.Equals(nameof(KXP.Models.OmActivity.ActivityLanguageId), StringComparison.InvariantCultureIgnoreCase) && value is string cultureCode) { return ValueInterceptorResult.ReplaceValue(ContentLanguageInfoProvider.ProviderObject.Get(cultureCode)?.ContentLanguageID); } diff --git a/Migration.Toolkit.Core.KX12/Handlers/MigrateDataProtectionCommandHandler.cs b/Migration.Toolkit.Core.KX12/Handlers/MigrateDataProtectionCommandHandler.cs index 1f932527..990a6eb4 100644 --- a/Migration.Toolkit.Core.KX12/Handlers/MigrateDataProtectionCommandHandler.cs +++ b/Migration.Toolkit.Core.KX12/Handlers/MigrateDataProtectionCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Handlers; +namespace Migration.Toolkit.Core.KX12.Handlers; using CMS.DataProtection; using MediatR; @@ -76,7 +76,7 @@ private async Task MigrateConsent(CancellationToken cancellationT var mapped = _consentMapper.Map(k12Consent, kxoConsent); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsent, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsent, nameof(cmsConsent)); @@ -131,7 +131,7 @@ private async Task MigrateConsentArchive(CancellationToken cancel var mapped = _consentArchiveMapper.Map(k12ArchiveConsent, kxoConsentArchive); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsentArchive, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsentArchive, nameof(cmsConsentArchive)); @@ -177,7 +177,7 @@ private async Task MigrateConsentAgreement(CancellationToken canc await using var kx12Context = await _kx12ContextFactory.CreateDbContextAsync(cancellationToken); var index = 0; var indexFull = 0; - var consentAgreementUpdates= new List(); + var consentAgreementUpdates = new List(); var consentAgreementNews = new List(); var itemsCount = kx12Context.CmsConsentAgreements.Count(); @@ -192,7 +192,7 @@ private async Task MigrateConsentAgreement(CancellationToken canc var mapped = _consentAgreementMapper.Map(k12ConsentAgreement, kxoConsentAgreement); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsentAgreement, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsentAgreement, nameof(cmsConsentAgreement)); diff --git a/Migration.Toolkit.Core.KX12/Handlers/MigrateMembersCommandHandler.cs b/Migration.Toolkit.Core.KX12/Handlers/MigrateMembersCommandHandler.cs index 0eceefd4..e143e2eb 100644 --- a/Migration.Toolkit.Core.KX12/Handlers/MigrateMembersCommandHandler.cs +++ b/Migration.Toolkit.Core.KX12/Handlers/MigrateMembersCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Handlers; +namespace Migration.Toolkit.Core.KX12.Handlers; using System.Diagnostics; using CMS.Membership; @@ -64,7 +64,7 @@ public async Task Handle(MigrateMembersCommand request, Cancellat private void SaveUserUsingKenticoApi(IModelMappingResult mapped, KX12M.CmsUser k12User) { - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (memberInfo, newInstance) = result; ArgumentNullException.ThrowIfNull(memberInfo); diff --git a/Migration.Toolkit.Core.KX12/Handlers/MigrateSettingKeysCommandHandler.cs b/Migration.Toolkit.Core.KX12/Handlers/MigrateSettingKeysCommandHandler.cs index 44c748e4..b9f2b323 100644 --- a/Migration.Toolkit.Core.KX12/Handlers/MigrateSettingKeysCommandHandler.cs +++ b/Migration.Toolkit.Core.KX12/Handlers/MigrateSettingKeysCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Handlers; +namespace Migration.Toolkit.Core.KX12.Handlers; using CMS.DataEngine; using MediatR; @@ -10,7 +10,7 @@ using Migration.Toolkit.KX12.Context; using Migration.Toolkit.KX12.Models; -public class MigrateSettingKeysCommandHandler: IRequestHandler +public class MigrateSettingKeysCommandHandler : IRequestHandler { private readonly ILogger _logger; private readonly IDbContextFactory _kx12ContextFactory; diff --git a/Migration.Toolkit.Core.KX12/Handlers/MigrateSitesCommandHandler.cs b/Migration.Toolkit.Core.KX12/Handlers/MigrateSitesCommandHandler.cs index 03e56d25..1c85a12d 100644 --- a/Migration.Toolkit.Core.KX12/Handlers/MigrateSitesCommandHandler.cs +++ b/Migration.Toolkit.Core.KX12/Handlers/MigrateSitesCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Handlers; +namespace Migration.Toolkit.Core.KX12.Handlers; using CMS.ContentEngine; using CMS.Websites; diff --git a/Migration.Toolkit.Core.KX12/Handlers/MigrateUsersCommandHandler.cs b/Migration.Toolkit.Core.KX12/Handlers/MigrateUsersCommandHandler.cs index 15b8746d..df6ec3d5 100644 --- a/Migration.Toolkit.Core.KX12/Handlers/MigrateUsersCommandHandler.cs +++ b/Migration.Toolkit.Core.KX12/Handlers/MigrateUsersCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Handlers; +namespace Migration.Toolkit.Core.KX12.Handlers; using CMS.Membership; using MediatR; @@ -75,7 +75,7 @@ public async Task Handle(MigrateUsersCommand request, Cancellatio private void SaveUserUsingKenticoApi(IModelMappingResult mapped, KX12M.CmsUser k12User) { - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (userInfo, newInstance) = result; ArgumentNullException.ThrowIfNull(userInfo); @@ -130,7 +130,7 @@ private async Task MigrateUserCmsRoles(KX12Context kx12Context, CancellationToke var mapped = roleMapper.Map(k12CmsRole, xbkRoleInfo); protocol.MappedTarget(mapped); - if (mapped is not (var roleInfo, var newInstance) { Success : true }) + if (mapped is not (var roleInfo, var newInstance) { Success: true }) { continue; } @@ -200,7 +200,7 @@ private async Task MigrateUserRole(int k12RoleId) var mapped = userRoleMapper.Map(k12UserRole, xbkUserRole); protocol.MappedTarget(mapped); - if (mapped is { Success : true }) + if (mapped is { Success: true }) { var (userRoleInfo, newInstance) = mapped; ArgumentNullException.ThrowIfNull(userRoleInfo); diff --git a/Migration.Toolkit.Core.KX12/Helpers/KenticoHelper.cs b/Migration.Toolkit.Core.KX12/Helpers/KenticoHelper.cs index 8a1dbe13..c39e1e5d 100644 --- a/Migration.Toolkit.Core.KX12/Helpers/KenticoHelper.cs +++ b/Migration.Toolkit.Core.KX12/Helpers/KenticoHelper.cs @@ -22,11 +22,11 @@ public static void CopyCustomData(ContainerCustomData target, string? sourceXml) using var kx12Context = ctxf.CreateDbContext(); var keys = kx12Context.CmsSettingsKeys.Where(x => x.KeyName == keyName); - return (keys.FirstOrDefault(x => x.SiteId == siteId) + return (keys.FirstOrDefault(x => x.SiteId == siteId) ?? keys.FirstOrDefault(x => x.SiteId == null))?.KeyValue; } - public static T? GetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName) where T: struct, IParsable + public static T? GetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName) where T : struct, IParsable { using var kx12Context = ctxf.CreateDbContext(); var keys = kx12Context.CmsSettingsKeys.Where(x => x.KeyName == keyName); @@ -39,7 +39,7 @@ public static void CopyCustomData(ContainerCustomData target, string? sourceXml) : null; } - public static bool? TryGetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName, out T? result) where T: IParsable + public static bool? TryGetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName, out T? result) where T : IParsable { return T.TryParse(GetSettingsKey(ctxf, siteId, keyName), CultureInfo.InvariantCulture, out result); } diff --git a/Migration.Toolkit.Core.KX12/Helpers/Printer.cs b/Migration.Toolkit.Core.KX12/Helpers/Printer.cs index 55d5126b..7d86799c 100644 --- a/Migration.Toolkit.Core.KX12/Helpers/Printer.cs +++ b/Migration.Toolkit.Core.KX12/Helpers/Printer.cs @@ -91,13 +91,14 @@ public static string GetEntityIdentityPrints(IEnumerable models, string se return string.Join(separator, models.Select(m => GetEntityIdentityPrint(m, false))); } - public static string PrintEnumValues(string separator) where TEnum: struct, Enum + public static string PrintEnumValues(string separator) where TEnum : struct, Enum { return string.Join(separator, Enum.GetValues()); } } -public class PrintService: IPrintService { +public class PrintService : IPrintService +{ public string PrintKxpModelInfo(T model) { return Printer.PrintKxpModelInfo(model); diff --git a/Migration.Toolkit.Core.KX12/Mappers/CmsAttachmentMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/CmsAttachmentMapper.cs index 09e4b716..632888df 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/CmsAttachmentMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/CmsAttachmentMapper.cs @@ -12,7 +12,7 @@ namespace Migration.Toolkit.Core.KX12.Mappers; public record CmsAttachmentMapperSource(CmsAttachment Attachment, int TargetLibraryId, IUploadedFile File, string LibrarySubFolder, CmsDocument? AttachmentDocument); -public class CmsAttachmentMapper: EntityMapperBase +public class CmsAttachmentMapper : EntityMapperBase { private const string LegacyOriginalPath = "__LegacyOriginalPath"; diff --git a/Migration.Toolkit.Core.KX12/Mappers/CmsConsentAgreementMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/CmsConsentAgreementMapper.cs index f86d32f1..2eded61b 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/CmsConsentAgreementMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/CmsConsentAgreementMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; @@ -8,7 +8,7 @@ public class CmsConsentAgreementMapper : EntityMapperBase { - public CmsConsentAgreementMapper(ILogger logger, PrimaryKeyMappingContext primaryKeyMappingContext, IProtocol protocol): base(logger, primaryKeyMappingContext, protocol) + public CmsConsentAgreementMapper(ILogger logger, PrimaryKeyMappingContext primaryKeyMappingContext, IProtocol protocol) : base(logger, primaryKeyMappingContext, protocol) { } diff --git a/Migration.Toolkit.Core.KX12/Mappers/CmsConsentArchiveMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/CmsConsentArchiveMapper.cs index 370de111..3e2ec886 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/CmsConsentArchiveMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/CmsConsentArchiveMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; diff --git a/Migration.Toolkit.Core.KX12/Mappers/CmsConsentMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/CmsConsentMapper.cs index 54059f8c..cc89ae97 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/CmsConsentMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/CmsConsentMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using System.Text; using System.Xml.Linq; diff --git a/Migration.Toolkit.Core.KX12/Mappers/CmsFormMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/CmsFormMapper.cs index a6d7c1c6..00a35a6c 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/CmsFormMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/CmsFormMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using CMS.FormEngine; using CMS.OnlineForms; diff --git a/Migration.Toolkit.Core.KX12/Mappers/CmsSettingsCategoryMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/CmsSettingsCategoryMapper.cs index 42b4f43d..4abb661a 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/CmsSettingsCategoryMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/CmsSettingsCategoryMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; @@ -54,19 +54,19 @@ protected override CmsSettingsCategory MapInternal(KX12M.CmsSettingsCategory sou switch (_cmsResourceMapper.Map(source.CategoryResource, target.CategoryResource)) { case { Success: true } result: - { - target.CategoryResource = result.Item; - break; - } + { + target.CategoryResource = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result.HandbookReference)); + break; + } } } } - else if(mappingHelper.TranslateIdAllowNulls(r => r.ResourceId, source.CategoryResourceId, out var categoryResourceId)) + else if (mappingHelper.TranslateIdAllowNulls(r => r.ResourceId, source.CategoryResourceId, out var categoryResourceId)) { target.CategoryResourceId = categoryResourceId; } @@ -76,18 +76,18 @@ protected override CmsSettingsCategory MapInternal(KX12M.CmsSettingsCategory sou switch (Map(source.CategoryParent, target.CategoryParent)) { case { Success: true } result: - { - target.CategoryParent = result.Item; - break; - } + { + target.CategoryParent = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result.HandbookReference)); + break; + } } } - else if(mappingHelper.TranslateIdAllowNulls(c => c.CategoryId, source.CategoryParentId, out var categoryParentId)) + else if (mappingHelper.TranslateIdAllowNulls(c => c.CategoryId, source.CategoryParentId, out var categoryParentId)) { target.CategoryParentId = categoryParentId; } diff --git a/Migration.Toolkit.Core.KX12/Mappers/CmsSettingsKeyMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/CmsSettingsKeyMapper.cs index c1c8d357..c928d0cd 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/CmsSettingsKeyMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/CmsSettingsKeyMapper.cs @@ -48,14 +48,14 @@ protected override SettingsKeyInfo MapInternal(KX12M.CmsSettingsKey source, Sett switch (source.KeyName) { case SOURCE_KEY_NAME: - { - target.KeyValue = int.TryParse(source.KeyValue, out var cmsDefaultUserId) - ? mappingHelper.TranslateRequiredId(u => u.UserId, cmsDefaultUserId, out var targetCmsDefaultUserId) - ? targetCmsDefaultUserId.ToString() - : source.KeyValue - : source.KeyValue; - break; - } + { + target.KeyValue = int.TryParse(source.KeyValue, out var cmsDefaultUserId) + ? mappingHelper.TranslateRequiredId(u => u.UserId, cmsDefaultUserId, out var targetCmsDefaultUserId) + ? targetCmsDefaultUserId.ToString() + : source.KeyValue + : source.KeyValue; + break; + } default: target.KeyValue = source.KeyValue; break; diff --git a/Migration.Toolkit.Core.KX12/Mappers/CmsUserMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/CmsUserMapper.cs index b3a07aca..bdc72874 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/CmsUserMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/CmsUserMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; diff --git a/Migration.Toolkit.Core.KX12/Mappers/MemberInfoMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/MemberInfoMapper.cs index b8feaad9..30e5dbe9 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/MemberInfoMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/MemberInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using System.Data; using CMS.FormEngine; diff --git a/Migration.Toolkit.Core.KX12/Mappers/OmContactMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/OmContactMapper.cs index fe4574bf..3802a5d4 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/OmContactMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/OmContactMapper.cs @@ -16,7 +16,7 @@ public OmContactMapper( PrimaryKeyMappingContext primaryKeyMappingContext, IEntityMapper contactStatusMapper, IProtocol protocol - ): base(logger, primaryKeyMappingContext, protocol) + ) : base(logger, primaryKeyMappingContext, protocol) { _logger = logger; _contactStatusMapper = contactStatusMapper; @@ -68,15 +68,15 @@ protected override OmContact MapInternal(KX12M.OmContact source, OmContact targe switch (_contactStatusMapper.Map(source.ContactStatus, target.ContactStatus)) { case { Success: true } result: - { - target.ContactStatus = result.Item; - break; - } + { + target.ContactStatus = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result?.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result?.HandbookReference)); + break; + } } } else diff --git a/Migration.Toolkit.Core.KX12/Mappers/ResourceMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/ResourceMapper.cs index 9d45f7bf..93414d3a 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/ResourceMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/ResourceMapper.cs @@ -42,7 +42,7 @@ protected override ResourceInfo MapInternal(CmsResource source, ResourceInfo tar if (target.ResourceName.StartsWith("CMS.", StringComparison.InvariantCultureIgnoreCase)) { var targetResourceNamePatched = target.ResourceName.Substring(4, target.ResourceName.Length - 4); - _logger.LogInformation("Patching CMS Resource '{ResourceName}': name changed to '{ResourceNamePatched}'", target.ResourceName, targetResourceNamePatched); + _logger.LogInformation("Patching CMS Resource '{ResourceName}': name changed to '{ResourceNamePatched}'", target.ResourceName, targetResourceNamePatched); target.ResourceName = targetResourceNamePatched; } } diff --git a/Migration.Toolkit.Core.KX12/Mappers/RoleInfoMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/RoleInfoMapper.cs index d0339285..ff62b3db 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/RoleInfoMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/RoleInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using CMS.Membership; using Microsoft.Extensions.Logging; diff --git a/Migration.Toolkit.Core.KX12/Mappers/UserInfoMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/UserInfoMapper.cs index 91c239d8..a50568ef 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/UserInfoMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/UserInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Mappers; +namespace Migration.Toolkit.Core.KX12.Mappers; using System.Data; using CMS.Membership; diff --git a/Migration.Toolkit.Core.KX12/Mappers/UserRoleInfoMapper.cs b/Migration.Toolkit.Core.KX12/Mappers/UserRoleInfoMapper.cs index 91dad88c..b95799f5 100644 --- a/Migration.Toolkit.Core.KX12/Mappers/UserRoleInfoMapper.cs +++ b/Migration.Toolkit.Core.KX12/Mappers/UserRoleInfoMapper.cs @@ -6,7 +6,7 @@ namespace Migration.Toolkit.Core.KX12.Mappers; using Migration.Toolkit.Common.MigrationProtocol; using Migration.Toolkit.Core.KX12.Contexts; -public class UserRoleInfoMapper: EntityMapperBase +public class UserRoleInfoMapper : EntityMapperBase { public UserRoleInfoMapper(ILogger logger, PrimaryKeyMappingContext pkContext, IProtocol protocol) : base(logger, pkContext, protocol) { diff --git a/Migration.Toolkit.Core.KX12/Providers/ContentItemNameProvider.cs b/Migration.Toolkit.Core.KX12/Providers/ContentItemNameProvider.cs index 64e2c39d..e39da261 100644 --- a/Migration.Toolkit.Core.KX12/Providers/ContentItemNameProvider.cs +++ b/Migration.Toolkit.Core.KX12/Providers/ContentItemNameProvider.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Providers; +namespace Migration.Toolkit.Core.KX12.Providers; using System; using System.Threading.Tasks; diff --git a/Migration.Toolkit.Core.KX12/Services/IPrimaryKeyLocatorService.cs b/Migration.Toolkit.Core.KX12/Services/IPrimaryKeyLocatorService.cs index 97bf033d..85d6c209 100644 --- a/Migration.Toolkit.Core.KX12/Services/IPrimaryKeyLocatorService.cs +++ b/Migration.Toolkit.Core.KX12/Services/IPrimaryKeyLocatorService.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX12.Services; +namespace Migration.Toolkit.Core.KX12.Services; using System.Linq.Expressions; @@ -7,5 +7,5 @@ public record SourceTargetKeyMapping(int SourceId, int TargetId); public interface IPrimaryKeyLocatorService { bool TryLocate(Expression> keyNameSelector, int sourceId, out int targetId); - IEnumerable SelectAll(Expression> keyNameSelector); + IEnumerable SelectAll(Expression> keyNameSelector); } \ No newline at end of file diff --git a/Migration.Toolkit.Core.KX12/Services/KeyLocatorService.cs b/Migration.Toolkit.Core.KX12/Services/KeyLocatorService.cs index dbe3e95c..9684df30 100644 --- a/Migration.Toolkit.Core.KX12/Services/KeyLocatorService.cs +++ b/Migration.Toolkit.Core.KX12/Services/KeyLocatorService.cs @@ -30,7 +30,7 @@ public bool TryLocate( Expression> sourceGuidSelector, Expression> targetGuidSelector, object? sourceKey, out TTargetKey targetId - ) where TSource : class where TTarget: class + ) where TSource : class where TTarget : class { using var kxpContext = _kxpContextFactory.CreateDbContext(); using var kx12Context = _kx12ContextFactory.CreateDbContext(); @@ -83,7 +83,7 @@ public bool TryLocate( } } - public bool TryGetSourceGuid(Expression> keySelector, Expression> guidSelector, object? key, out Guid? guid) + public bool TryGetSourceGuid(Expression> keySelector, Expression> guidSelector, object? key, out Guid? guid) where T : class { using var KX12Context = _kx12ContextFactory.CreateDbContext(); diff --git a/Migration.Toolkit.Core.KX12/Services/PrimaryKeyLocatorService.cs b/Migration.Toolkit.Core.KX12/Services/PrimaryKeyLocatorService.cs index 51430aca..212e4893 100644 --- a/Migration.Toolkit.Core.KX12/Services/PrimaryKeyLocatorService.cs +++ b/Migration.Toolkit.Core.KX12/Services/PrimaryKeyLocatorService.cs @@ -29,7 +29,7 @@ private class KeyEqualityComparerWithLambda : IEqualityComparer { private readonly Func _equalityComparer; - public KeyEqualityComparerWithLambda(Func equalityComparer) + public KeyEqualityComparerWithLambda(Func equalityComparer) { _equalityComparer = equalityComparer; } @@ -97,7 +97,7 @@ public IEnumerable SelectAll(Expression new { x.StateId, x.StateName }).ToList(); - var target = kxpContext.CmsStates.Select(x => new { x.StateId, x.StateName }).ToList(); + var target = kxpContext.CmsStates.Select(x => new { x.StateId, x.StateName }).ToList(); var result = source.Join(target, a => a.StateName, @@ -116,7 +116,7 @@ public IEnumerable SelectAll(Expression new { x.CountryId, x.CountryName }).ToList(); - var target = kxpContext.CmsCountries.Select(x => new { x.CountryId, x.CountryName }).ToList(); + var target = kxpContext.CmsCountries.Select(x => new { x.CountryId, x.CountryName }).ToList(); var result = source.Join(target, a => a.CountryName, diff --git a/Migration.Toolkit.Core.KX12/Services/TableReflectionService.cs b/Migration.Toolkit.Core.KX12/Services/TableReflectionService.cs index 571b064b..a86c4917 100644 --- a/Migration.Toolkit.Core.KX12/Services/TableReflectionService.cs +++ b/Migration.Toolkit.Core.KX12/Services/TableReflectionService.cs @@ -8,7 +8,7 @@ namespace Migration.Toolkit.Core.KX12.Services; public class TableReflectionService { private readonly ILogger _logger; - private readonly Dictionary _tableNameLookup; + private readonly Dictionary _tableNameLookup; public TableReflectionService(ILogger logger) { @@ -20,7 +20,7 @@ public TableReflectionService(ILogger logger) { var rh = new ReflectionHelper(type); - if (rh.GetFirstAttributeOrNull()?.Name is {} tableName && !string.IsNullOrWhiteSpace(tableName)) + if (rh.GetFirstAttributeOrNull()?.Name is { } tableName && !string.IsNullOrWhiteSpace(tableName)) { lookups.tableNameLookup[tableName] = type; lookups.nameLookup[type.Name] = type; diff --git a/Migration.Toolkit.Core.KX13/Auxiliary/NodeXmlAdapter.cs b/Migration.Toolkit.Core.KX13/Auxiliary/NodeXmlAdapter.cs index 471e8c48..447de888 100644 --- a/Migration.Toolkit.Core.KX13/Auxiliary/NodeXmlAdapter.cs +++ b/Migration.Toolkit.Core.KX13/Auxiliary/NodeXmlAdapter.cs @@ -1,16 +1,18 @@ -namespace Migration.Toolkit.Core.KX13.Auxiliary; +namespace Migration.Toolkit.Core.KX13.Auxiliary; using System; using System.Xml.Linq; using Migration.Toolkit.Common; using Migration.Toolkit.Common.Enumerations; -internal class NodeXmlAdapter { +internal class NodeXmlAdapter +{ private readonly XElement _xClass; public bool ParsingSuccessful { get; } - public NodeXmlAdapter(string xml) { + public NodeXmlAdapter(string xml) + { var xDoc = XDocument.Parse(xml); if (xDoc.Root?.FirstNode is XElement dClass) { @@ -24,7 +26,8 @@ public NodeXmlAdapter(string xml) { } } - public string? GetValue(string columnName) { + public string? GetValue(string columnName) + { return _xClass.Element(columnName)?.Value; } @@ -72,4 +75,4 @@ public bool HasValueSet(string columnName) public string? ClassName => _xClass.Element(NodeXmlColumns.CLASS_NAME)?.Value; public string? DocumentPageTemplateConfiguration => _xClass.Element(NodeXmlColumns.DOCUMENT_PAGE_TEMPLATE_CONFIGURATION)?.Value; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.Core.KX13/Behaviors/RequestHandlingBehavior.cs b/Migration.Toolkit.Core.KX13/Behaviors/RequestHandlingBehavior.cs index 282f83f0..fc6dbb51 100644 --- a/Migration.Toolkit.Core.KX13/Behaviors/RequestHandlingBehavior.cs +++ b/Migration.Toolkit.Core.KX13/Behaviors/RequestHandlingBehavior.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Behaviors; +namespace Migration.Toolkit.Core.KX13.Behaviors; using System.Diagnostics; using MediatR; diff --git a/Migration.Toolkit.Core.KX13/Contexts/KeyMappingContext.cs b/Migration.Toolkit.Core.KX13/Contexts/KeyMappingContext.cs index 88bac073..10305799 100644 --- a/Migration.Toolkit.Core.KX13/Contexts/KeyMappingContext.cs +++ b/Migration.Toolkit.Core.KX13/Contexts/KeyMappingContext.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Contexts; +namespace Migration.Toolkit.Core.KX13.Contexts; using System.Linq.Expressions; using Migration.Toolkit.Core.KX13.Services; @@ -22,7 +22,7 @@ public MapSourceKeyResult MapSourceKey Expression> targetKeySelector, Expression> targetGuidSelector) where TSource : class where TTarget : class { - if (sourceKey is int id && _primaryKeyMappingContext.MapSourceId(sourceKeySelector, id) is {Success:true, MappedId: TTargetKey targetKey }) + if (sourceKey is int id && _primaryKeyMappingContext.MapSourceId(sourceKeySelector, id) is { Success: true, MappedId: TTargetKey targetKey }) { return new MapSourceKeyResult(true, targetKey); } diff --git a/Migration.Toolkit.Core.KX13/Contexts/PrimaryKeyMappingContext.cs b/Migration.Toolkit.Core.KX13/Contexts/PrimaryKeyMappingContext.cs index 72e15c8d..168e2a4b 100644 --- a/Migration.Toolkit.Core.KX13/Contexts/PrimaryKeyMappingContext.cs +++ b/Migration.Toolkit.Core.KX13/Contexts/PrimaryKeyMappingContext.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Contexts; +namespace Migration.Toolkit.Core.KX13.Contexts; using System.Diagnostics; using System.Linq.Expressions; diff --git a/Migration.Toolkit.Core.KX13/Exceptions.cs b/Migration.Toolkit.Core.KX13/Exceptions.cs index e3b8e8ee..d6234594 100644 --- a/Migration.Toolkit.Core.KX13/Exceptions.cs +++ b/Migration.Toolkit.Core.KX13/Exceptions.cs @@ -1,11 +1,11 @@ namespace Migration.Toolkit.Core.KX13; -public class MappingFailureException: InvalidOperationException +public class MappingFailureException : InvalidOperationException { public string KeyName { get; } public string Reason { get; } - public MappingFailureException(string keyName, string reason): base($"Key '{keyName}' mapping failed: {reason}") + public MappingFailureException(string keyName, string reason) : base($"Key '{keyName}' mapping failed: {reason}") { KeyName = keyName; Reason = reason; diff --git a/Migration.Toolkit.Core.KX13/Handlers/MigrateContactManagementCommandHandler.cs b/Migration.Toolkit.Core.KX13/Handlers/MigrateContactManagementCommandHandler.cs index f78a2fd9..9ec4c3c5 100644 --- a/Migration.Toolkit.Core.KX13/Handlers/MigrateContactManagementCommandHandler.cs +++ b/Migration.Toolkit.Core.KX13/Handlers/MigrateContactManagementCommandHandler.cs @@ -125,7 +125,7 @@ public Task Handle(MigrateContactManagementCommand request, Cance { bulkDataCopyService.CopyTableToTable(bulkCopyRequest); } - catch(Exception ex) + catch (Exception ex) { logger.LogError(ex, "Failed to migrate contacts"); return new CommandFailureResult(); @@ -158,22 +158,22 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - // try search member - if (keyMappingContext.MapSourceKey( - s => s.UserId, - s => s.UserGuid, - sourceUserId, - t => t.MemberId, - t => t.MemberGuid - ) is { Success:true, Mapped: {} memberId }) { - return ValueInterceptorResult.ReplaceValue(memberId); + // try search member + if (keyMappingContext.MapSourceKey( + s => s.UserId, + s => s.UserGuid, + sourceUserId, + t => t.MemberId, + t => t.MemberGuid + ) is { Success: true, Mapped: { } memberId }) + { + return ValueInterceptorResult.ReplaceValue(memberId); + } + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; } - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } } } @@ -184,11 +184,11 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } + { + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; + } } } @@ -199,11 +199,11 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum case (true, var id): return ValueInterceptorResult.ReplaceValue(id); case { Success: false }: - { - protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) - .WithData(currentRow)); - return ValueInterceptorResult.SkipRow; - } + { + protocol.Append(HandbookReferences.MissingRequiredDependency(columnName, value) + .WithData(currentRow)); + return ValueInterceptorResult.SkipRow; + } } } @@ -273,7 +273,7 @@ private ValueInterceptorResult ContactValueInterceptor(int ordinal, string colum { bulkDataCopyService.CopyTableToTable(bulkCopyRequest); } - catch(Exception ex) + catch (Exception ex) { logger.LogError(ex, "Failed to migrate activities"); return new CommandFailureResult(); @@ -293,29 +293,29 @@ private ValueInterceptorResult ActivityValueInterceptor(int columnOrdinal, strin t => t.ChannelId, t => t.ChannelGuid ); - switch(result) + switch (result) { case (true, var id): return ValueInterceptorResult.ReplaceValue(id ?? 0); case { Success: false }: - { - switch (toolkitConfiguration.UseOmActivitySiteRelationAutofix ?? AutofixEnum.Error) { - case AutofixEnum.DiscardData: - logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => discard data", sourceActivitySiteId); - return ValueInterceptorResult.SkipRow; - case AutofixEnum.AttemptFix: - logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => ActivityNodeId=0", sourceActivitySiteId); - return ValueInterceptorResult.ReplaceValue(0); - case AutofixEnum.Error: - default: //error - protocol.Append(HandbookReferences - .MissingRequiredDependency(columnName, value) - .WithData(currentRow) - ); - return ValueInterceptorResult.SkipRow; + switch (toolkitConfiguration.UseOmActivitySiteRelationAutofix ?? AutofixEnum.Error) + { + case AutofixEnum.DiscardData: + logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => discard data", sourceActivitySiteId); + return ValueInterceptorResult.SkipRow; + case AutofixEnum.AttemptFix: + logger.LogTrace("Autofix (ActivitySiteId={ActivitySiteId} not exists) => ActivityNodeId=0", sourceActivitySiteId); + return ValueInterceptorResult.ReplaceValue(0); + case AutofixEnum.Error: + default: //error + protocol.Append(HandbookReferences + .MissingRequiredDependency(columnName, value) + .WithData(currentRow) + ); + return ValueInterceptorResult.SkipRow; + } } - } } } @@ -347,7 +347,7 @@ private ValueInterceptorResult ActivityValueInterceptor(int columnOrdinal, strin } } - if (columnName.Equals( nameof(KX13M.OmActivity.ActivityCulture), StringComparison.InvariantCultureIgnoreCase) && value is string cultureCode) + if (columnName.Equals(nameof(KX13M.OmActivity.ActivityCulture), StringComparison.InvariantCultureIgnoreCase) && value is string cultureCode) { return ValueInterceptorResult.ReplaceValue(ContentLanguageInfoProvider.ProviderObject.Get(cultureCode)?.ContentLanguageID); } diff --git a/Migration.Toolkit.Core.KX13/Handlers/MigrateDataProtectionCommandHandler.cs b/Migration.Toolkit.Core.KX13/Handlers/MigrateDataProtectionCommandHandler.cs index b97d1ac2..9bafdc0f 100644 --- a/Migration.Toolkit.Core.KX13/Handlers/MigrateDataProtectionCommandHandler.cs +++ b/Migration.Toolkit.Core.KX13/Handlers/MigrateDataProtectionCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Handlers; +namespace Migration.Toolkit.Core.KX13.Handlers; using CMS.DataProtection; using MediatR; @@ -76,7 +76,7 @@ private async Task MigrateConsent(CancellationToken cancellationT var mapped = _consentMapper.Map(kx13Consent, kxoConsent); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsent, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsent, nameof(cmsConsent)); @@ -131,7 +131,7 @@ private async Task MigrateConsentArchive(CancellationToken cancel var mapped = _consentArchiveMapper.Map(kx13ArchiveConsent, kxoConsentArchive); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsentArchive, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsentArchive, nameof(cmsConsentArchive)); @@ -177,7 +177,7 @@ private async Task MigrateConsentAgreement(CancellationToken canc await using var kx13Context = await _kx13ContextFactory.CreateDbContextAsync(cancellationToken); var index = 0; var indexFull = 0; - var consentAgreementUpdates= new List(); + var consentAgreementUpdates = new List(); var consentAgreementNews = new List(); var itemsCount = kx13Context.CmsConsentAgreements.Count(); @@ -192,7 +192,7 @@ private async Task MigrateConsentAgreement(CancellationToken canc var mapped = _consentAgreementMapper.Map(kx13ConsentAgreement, kxoConsentAgreement); _protocol.MappedTarget(mapped); - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (cmsConsentAgreement, newInstance) = result; ArgumentNullException.ThrowIfNull(cmsConsentAgreement, nameof(cmsConsentAgreement)); diff --git a/Migration.Toolkit.Core.KX13/Handlers/MigrateMembersCommandHandler.cs b/Migration.Toolkit.Core.KX13/Handlers/MigrateMembersCommandHandler.cs index f8f1b06b..20712e98 100644 --- a/Migration.Toolkit.Core.KX13/Handlers/MigrateMembersCommandHandler.cs +++ b/Migration.Toolkit.Core.KX13/Handlers/MigrateMembersCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Handlers; +namespace Migration.Toolkit.Core.KX13.Handlers; using System.Diagnostics; using CMS.Membership; @@ -64,7 +64,7 @@ public async Task Handle(MigrateMembersCommand request, Cancellat private void SaveUserUsingKenticoApi(IModelMappingResult mapped, KX13M.CmsUser kx13User) { - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (memberInfo, newInstance) = result; ArgumentNullException.ThrowIfNull(memberInfo); diff --git a/Migration.Toolkit.Core.KX13/Handlers/MigrateSettingKeysCommandHandler.cs b/Migration.Toolkit.Core.KX13/Handlers/MigrateSettingKeysCommandHandler.cs index 4502281c..dbce12aa 100644 --- a/Migration.Toolkit.Core.KX13/Handlers/MigrateSettingKeysCommandHandler.cs +++ b/Migration.Toolkit.Core.KX13/Handlers/MigrateSettingKeysCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Handlers; +namespace Migration.Toolkit.Core.KX13.Handlers; using CMS.DataEngine; using MediatR; @@ -10,7 +10,7 @@ using Migration.Toolkit.KX13.Context; using Migration.Toolkit.KX13.Models; -public class MigrateSettingKeysCommandHandler: IRequestHandler +public class MigrateSettingKeysCommandHandler : IRequestHandler { private readonly ILogger _logger; private readonly IDbContextFactory _kx13ContextFactory; diff --git a/Migration.Toolkit.Core.KX13/Handlers/MigrateSitesCommandHandler.cs b/Migration.Toolkit.Core.KX13/Handlers/MigrateSitesCommandHandler.cs index 8a8b6c82..056674fd 100644 --- a/Migration.Toolkit.Core.KX13/Handlers/MigrateSitesCommandHandler.cs +++ b/Migration.Toolkit.Core.KX13/Handlers/MigrateSitesCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Handlers; +namespace Migration.Toolkit.Core.KX13.Handlers; using CMS.ContentEngine; using CMS.DataEngine; diff --git a/Migration.Toolkit.Core.KX13/Handlers/MigrateUsersCommandHandler.cs b/Migration.Toolkit.Core.KX13/Handlers/MigrateUsersCommandHandler.cs index 21767a79..009f27d9 100644 --- a/Migration.Toolkit.Core.KX13/Handlers/MigrateUsersCommandHandler.cs +++ b/Migration.Toolkit.Core.KX13/Handlers/MigrateUsersCommandHandler.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Handlers; +namespace Migration.Toolkit.Core.KX13.Handlers; using CMS.Membership; using MediatR; @@ -75,7 +75,7 @@ public async Task Handle(MigrateUsersCommand request, Cancellatio private Task SaveUserUsingKenticoApi(IModelMappingResult mapped, KX13M.CmsUser kx13User) { - if (mapped is { Success : true } result) + if (mapped is { Success: true } result) { var (userInfo, newInstance) = result; ArgumentNullException.ThrowIfNull(userInfo); @@ -133,7 +133,7 @@ private async Task MigrateUserCmsRoles(KX13Context kx13Context, CancellationToke var mapped = roleMapper.Map(kx13CmsRole, xbkRoleInfo); protocol.MappedTarget(mapped); - if (mapped is not (var roleInfo, var newInstance) { Success : true }) + if (mapped is not (var roleInfo, var newInstance) { Success: true }) { continue; } @@ -203,7 +203,7 @@ private async Task MigrateUserRole(int kx13RoleId) var mapped = userRoleMapper.Map(kx13UserRole, xbkUserRole); protocol.MappedTarget(mapped); - if (mapped is { Success : true }) + if (mapped is { Success: true }) { var (userRoleInfo, newInstance) = mapped; ArgumentNullException.ThrowIfNull(userRoleInfo); diff --git a/Migration.Toolkit.Core.KX13/Helpers/KenticoHelper.cs b/Migration.Toolkit.Core.KX13/Helpers/KenticoHelper.cs index 7125b1c3..1414aec6 100644 --- a/Migration.Toolkit.Core.KX13/Helpers/KenticoHelper.cs +++ b/Migration.Toolkit.Core.KX13/Helpers/KenticoHelper.cs @@ -22,11 +22,11 @@ public static void CopyCustomData(ContainerCustomData target, string? sourceXml) using var kx13Context = ctxf.CreateDbContext(); var keys = kx13Context.CmsSettingsKeys.Where(x => x.KeyName == keyName); - return (keys.FirstOrDefault(x => x.SiteId == siteId) + return (keys.FirstOrDefault(x => x.SiteId == siteId) ?? keys.FirstOrDefault(x => x.SiteId == null))?.KeyValue; } - public static T? GetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName) where T: struct, IParsable + public static T? GetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName) where T : struct, IParsable { using var kx13Context = ctxf.CreateDbContext(); var keys = kx13Context.CmsSettingsKeys.Where(x => x.KeyName == keyName); @@ -39,7 +39,7 @@ public static void CopyCustomData(ContainerCustomData target, string? sourceXml) : null; } - public static bool? TryGetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName, out T? result) where T: IParsable + public static bool? TryGetSettingsKey(IDbContextFactory ctxf, int? siteId, string keyName, out T? result) where T : IParsable { return T.TryParse(GetSettingsKey(ctxf, siteId, keyName), CultureInfo.InvariantCulture, out result); } diff --git a/Migration.Toolkit.Core.KX13/Helpers/Printer.cs b/Migration.Toolkit.Core.KX13/Helpers/Printer.cs index a92147bb..758959c1 100644 --- a/Migration.Toolkit.Core.KX13/Helpers/Printer.cs +++ b/Migration.Toolkit.Core.KX13/Helpers/Printer.cs @@ -91,13 +91,14 @@ public static string GetEntityIdentityPrints(IEnumerable models, string se return string.Join(separator, models.Select(m => GetEntityIdentityPrint(m, false))); } - public static string PrintEnumValues(string separator) where TEnum: struct, Enum + public static string PrintEnumValues(string separator) where TEnum : struct, Enum { return string.Join(separator, Enum.GetValues()); } } -public class PrintService: IPrintService { +public class PrintService : IPrintService +{ public string PrintKxpModelInfo(T model) { return Printer.PrintKxpModelInfo(model); diff --git a/Migration.Toolkit.Core.KX13/Mappers/CmsAttachmentMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/CmsAttachmentMapper.cs index cb8b3ed7..e62ca549 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/CmsAttachmentMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/CmsAttachmentMapper.cs @@ -12,7 +12,7 @@ namespace Migration.Toolkit.Core.KX13.Mappers; public record CmsAttachmentMapperSource(CmsAttachment Attachment, int TargetLibraryId, IUploadedFile File, string LibrarySubFolder, CmsDocument? AttachmentDocument); -public class CmsAttachmentMapper: EntityMapperBase +public class CmsAttachmentMapper : EntityMapperBase { private const string LegacyOriginalPath = "__LegacyOriginalPath"; diff --git a/Migration.Toolkit.Core.KX13/Mappers/CmsConsentAgreementMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/CmsConsentAgreementMapper.cs index 5500ba9d..3e31a475 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/CmsConsentAgreementMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/CmsConsentAgreementMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Mappers; +namespace Migration.Toolkit.Core.KX13.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; @@ -8,7 +8,7 @@ public class CmsConsentAgreementMapper : EntityMapperBase { - public CmsConsentAgreementMapper(ILogger logger, PrimaryKeyMappingContext primaryKeyMappingContext, IProtocol protocol): base(logger, primaryKeyMappingContext, protocol) + public CmsConsentAgreementMapper(ILogger logger, PrimaryKeyMappingContext primaryKeyMappingContext, IProtocol protocol) : base(logger, primaryKeyMappingContext, protocol) { } diff --git a/Migration.Toolkit.Core.KX13/Mappers/CmsConsentArchiveMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/CmsConsentArchiveMapper.cs index d38916bc..389553f3 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/CmsConsentArchiveMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/CmsConsentArchiveMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Mappers; +namespace Migration.Toolkit.Core.KX13.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; diff --git a/Migration.Toolkit.Core.KX13/Mappers/CmsConsentMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/CmsConsentMapper.cs index 9d8df42e..0fd1a42c 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/CmsConsentMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/CmsConsentMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Mappers; +namespace Migration.Toolkit.Core.KX13.Mappers; using System.Text; using System.Xml.Linq; diff --git a/Migration.Toolkit.Core.KX13/Mappers/CmsSettingsCategoryMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/CmsSettingsCategoryMapper.cs index f1b4c5ff..3e33008b 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/CmsSettingsCategoryMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/CmsSettingsCategoryMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Mappers; +namespace Migration.Toolkit.Core.KX13.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; @@ -54,19 +54,19 @@ protected override CmsSettingsCategory MapInternal(Toolkit.KX13.Models.CmsSettin switch (_cmsResourceMapper.Map(source.CategoryResource, target.CategoryResource)) { case { Success: true } result: - { - target.CategoryResource = result.Item; - break; - } + { + target.CategoryResource = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result.HandbookReference)); + break; + } } } } - else if(mappingHelper.TranslateIdAllowNulls(r => r.ResourceId, source.CategoryResourceId, out var categoryResourceId)) + else if (mappingHelper.TranslateIdAllowNulls(r => r.ResourceId, source.CategoryResourceId, out var categoryResourceId)) { target.CategoryResourceId = categoryResourceId; } @@ -76,18 +76,18 @@ protected override CmsSettingsCategory MapInternal(Toolkit.KX13.Models.CmsSettin switch (Map(source.CategoryParent, target.CategoryParent)) { case { Success: true } result: - { - target.CategoryParent = result.Item; - break; - } + { + target.CategoryParent = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result.HandbookReference)); + break; + } } } - else if(mappingHelper.TranslateIdAllowNulls(c => c.CategoryId, source.CategoryParentId, out var categoryParentId)) + else if (mappingHelper.TranslateIdAllowNulls(c => c.CategoryId, source.CategoryParentId, out var categoryParentId)) { target.CategoryParentId = categoryParentId; } diff --git a/Migration.Toolkit.Core.KX13/Mappers/CmsSettingsKeyMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/CmsSettingsKeyMapper.cs index ba760731..b6dab4cf 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/CmsSettingsKeyMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/CmsSettingsKeyMapper.cs @@ -48,14 +48,14 @@ protected override SettingsKeyInfo MapInternal(Toolkit.KX13.Models.CmsSettingsKe switch (source.KeyName) { case SOURCE_KEY_NAME: - { - target.KeyValue = int.TryParse(source.KeyValue, out var cmsDefaultUserId) - ? mappingHelper.TranslateRequiredId(u => u.UserId, cmsDefaultUserId, out var targetCmsDefaultUserId) - ? targetCmsDefaultUserId.ToString() - : source.KeyValue - : source.KeyValue; - break; - } + { + target.KeyValue = int.TryParse(source.KeyValue, out var cmsDefaultUserId) + ? mappingHelper.TranslateRequiredId(u => u.UserId, cmsDefaultUserId, out var targetCmsDefaultUserId) + ? targetCmsDefaultUserId.ToString() + : source.KeyValue + : source.KeyValue; + break; + } default: target.KeyValue = source.KeyValue; break; diff --git a/Migration.Toolkit.Core.KX13/Mappers/CmsUserMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/CmsUserMapper.cs index fd14bf6c..1fa5d35a 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/CmsUserMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/CmsUserMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Mappers; +namespace Migration.Toolkit.Core.KX13.Mappers; using Microsoft.Extensions.Logging; using Migration.Toolkit.Common.Abstractions; diff --git a/Migration.Toolkit.Core.KX13/Mappers/MemberInfoMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/MemberInfoMapper.cs index 6012b9a2..453b1ce9 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/MemberInfoMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/MemberInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Mappers; +namespace Migration.Toolkit.Core.KX13.Mappers; using System.Data; using CMS.FormEngine; diff --git a/Migration.Toolkit.Core.KX13/Mappers/OmContactMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/OmContactMapper.cs index 13bccdf6..fe1db30c 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/OmContactMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/OmContactMapper.cs @@ -16,7 +16,7 @@ public OmContactMapper( PrimaryKeyMappingContext primaryKeyMappingContext, IEntityMapper contactStatusMapper, IProtocol protocol - ): base(logger, primaryKeyMappingContext, protocol) + ) : base(logger, primaryKeyMappingContext, protocol) { _logger = logger; _contactStatusMapper = contactStatusMapper; @@ -68,15 +68,15 @@ protected override OmContact MapInternal(Toolkit.KX13.Models.OmContact source, O switch (_contactStatusMapper.Map(source.ContactStatus, target.ContactStatus)) { case { Success: true } result: - { - target.ContactStatus = result.Item; - break; - } + { + target.ContactStatus = result.Item; + break; + } case { Success: false } result: - { - addFailure(new MapperResultFailure(result?.HandbookReference)); - break; - } + { + addFailure(new MapperResultFailure(result?.HandbookReference)); + break; + } } } else diff --git a/Migration.Toolkit.Core.KX13/Mappers/ResourceMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/ResourceMapper.cs index a36796ef..06b0dfd8 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/ResourceMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/ResourceMapper.cs @@ -42,7 +42,7 @@ protected override ResourceInfo MapInternal(CmsResource source, ResourceInfo tar if (target.ResourceName.StartsWith("CMS.", StringComparison.InvariantCultureIgnoreCase)) { var targetResourceNamePatched = target.ResourceName.Substring(4, target.ResourceName.Length - 4); - _logger.LogInformation("Patching CMS Resource '{ResourceName}': name changed to '{ResourceNamePatched}'", target.ResourceName, targetResourceNamePatched); + _logger.LogInformation("Patching CMS Resource '{ResourceName}': name changed to '{ResourceNamePatched}'", target.ResourceName, targetResourceNamePatched); target.ResourceName = targetResourceNamePatched; } } diff --git a/Migration.Toolkit.Core.KX13/Mappers/RoleInfoMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/RoleInfoMapper.cs index 9115c30e..d2877bb2 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/RoleInfoMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/RoleInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Mappers; +namespace Migration.Toolkit.Core.KX13.Mappers; using CMS.Membership; using Microsoft.Extensions.Logging; diff --git a/Migration.Toolkit.Core.KX13/Mappers/StateInfoMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/StateInfoMapper.cs index 576ab258..8a77d8e1 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/StateInfoMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/StateInfoMapper.cs @@ -23,12 +23,12 @@ protected override StateInfo MapInternal(CmsState source, StateInfo target, bool target.StateLastModified = source.StateLastModified; target.StateGUID = source.StateGuid; target.StateCode = source.StateCode; - + if (mappingHelper.TranslateRequiredId(k => k.CountryId, source.CountryId, out var countryId)) { target.CountryID = countryId; } - + return target; } } \ No newline at end of file diff --git a/Migration.Toolkit.Core.KX13/Mappers/UserInfoMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/UserInfoMapper.cs index d4b12957..43708efb 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/UserInfoMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/UserInfoMapper.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Mappers; +namespace Migration.Toolkit.Core.KX13.Mappers; using System.Data; using CMS.Membership; diff --git a/Migration.Toolkit.Core.KX13/Mappers/UserRoleInfoMapper.cs b/Migration.Toolkit.Core.KX13/Mappers/UserRoleInfoMapper.cs index 93c973d1..76b82b91 100644 --- a/Migration.Toolkit.Core.KX13/Mappers/UserRoleInfoMapper.cs +++ b/Migration.Toolkit.Core.KX13/Mappers/UserRoleInfoMapper.cs @@ -6,7 +6,7 @@ namespace Migration.Toolkit.Core.KX13.Mappers; using Migration.Toolkit.Common.MigrationProtocol; using Migration.Toolkit.Core.KX13.Contexts; -public class UserRoleInfoMapper: EntityMapperBase +public class UserRoleInfoMapper : EntityMapperBase { public UserRoleInfoMapper(ILogger logger, PrimaryKeyMappingContext pkContext, IProtocol protocol) : base(logger, pkContext, protocol) { diff --git a/Migration.Toolkit.Core.KX13/Providers/ContentItemNameProvider.cs b/Migration.Toolkit.Core.KX13/Providers/ContentItemNameProvider.cs index eec19758..fb83c089 100644 --- a/Migration.Toolkit.Core.KX13/Providers/ContentItemNameProvider.cs +++ b/Migration.Toolkit.Core.KX13/Providers/ContentItemNameProvider.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Providers; +namespace Migration.Toolkit.Core.KX13.Providers; using System; using System.Threading.Tasks; diff --git a/Migration.Toolkit.Core.KX13/Services/IPrimaryKeyLocatorService.cs b/Migration.Toolkit.Core.KX13/Services/IPrimaryKeyLocatorService.cs index 031b99b0..cf465468 100644 --- a/Migration.Toolkit.Core.KX13/Services/IPrimaryKeyLocatorService.cs +++ b/Migration.Toolkit.Core.KX13/Services/IPrimaryKeyLocatorService.cs @@ -1,4 +1,4 @@ -namespace Migration.Toolkit.Core.KX13.Services; +namespace Migration.Toolkit.Core.KX13.Services; using System.Linq.Expressions; @@ -7,5 +7,5 @@ public record SourceTargetKeyMapping(int SourceId, int TargetId); public interface IPrimaryKeyLocatorService { bool TryLocate(Expression> keyNameSelector, int sourceId, out int targetId); - IEnumerable SelectAll(Expression> keyNameSelector); + IEnumerable SelectAll(Expression> keyNameSelector); } \ No newline at end of file diff --git a/Migration.Toolkit.Core.KX13/Services/KeyLocatorService.cs b/Migration.Toolkit.Core.KX13/Services/KeyLocatorService.cs index 142e650a..656f0e83 100644 --- a/Migration.Toolkit.Core.KX13/Services/KeyLocatorService.cs +++ b/Migration.Toolkit.Core.KX13/Services/KeyLocatorService.cs @@ -30,7 +30,7 @@ public bool TryLocate( Expression> sourceGuidSelector, Expression> targetGuidSelector, object? sourceKey, out TTargetKey targetId - ) where TSource : class where TTarget: class + ) where TSource : class where TTarget : class { using var kxpContext = _kxpContextFactory.CreateDbContext(); using var kx13Context = _kx13ContextFactory.CreateDbContext(); @@ -83,7 +83,7 @@ public bool TryLocate( } } - public bool TryGetSourceGuid(Expression> keySelector, Expression> guidSelector, object? key, out Guid? guid) + public bool TryGetSourceGuid(Expression> keySelector, Expression> guidSelector, object? key, out Guid? guid) where T : class { using var kx13Context = _kx13ContextFactory.CreateDbContext(); diff --git a/Migration.Toolkit.Core.KX13/Services/PrimaryKeyLocatorService.cs b/Migration.Toolkit.Core.KX13/Services/PrimaryKeyLocatorService.cs index 77f7f6a8..66654bf9 100644 --- a/Migration.Toolkit.Core.KX13/Services/PrimaryKeyLocatorService.cs +++ b/Migration.Toolkit.Core.KX13/Services/PrimaryKeyLocatorService.cs @@ -77,7 +77,7 @@ public IEnumerable SelectAll(Expression new { x.StateId, x.StateName }).ToList(); - var target = kxpContext.CmsStates.Select(x => new { x.StateId, x.StateName }).ToList(); + var target = kxpContext.CmsStates.Select(x => new { x.StateId, x.StateName }).ToList(); var result = source.Join(target, a => a.StateName, @@ -96,7 +96,7 @@ public IEnumerable SelectAll(Expression new { x.CountryId, x.CountryName }).ToList(); - var target = kxpContext.CmsCountries.Select(x => new { x.CountryId, x.CountryName }).ToList(); + var target = kxpContext.CmsCountries.Select(x => new { x.CountryId, x.CountryName }).ToList(); var result = source.Join(target, a => a.CountryName, diff --git a/Migration.Toolkit.Core.KX13/Services/TableReflectionService.cs b/Migration.Toolkit.Core.KX13/Services/TableReflectionService.cs index efb3db12..c8f20272 100644 --- a/Migration.Toolkit.Core.KX13/Services/TableReflectionService.cs +++ b/Migration.Toolkit.Core.KX13/Services/TableReflectionService.cs @@ -7,7 +7,7 @@ namespace Migration.Toolkit.Core.KX13.Services; public class TableReflectionService { private readonly ILogger _logger; - private readonly Dictionary _tableNameLookup; + private readonly Dictionary _tableNameLookup; public TableReflectionService(ILogger logger) { @@ -19,7 +19,7 @@ public TableReflectionService(ILogger logger) { var rh = new ReflectionHelper(type); - if (rh.GetFirstAttributeOrNull()?.Name is {} tableName && !string.IsNullOrWhiteSpace(tableName)) + if (rh.GetFirstAttributeOrNull()?.Name is { } tableName && !string.IsNullOrWhiteSpace(tableName)) { lookups.tableNameLookup[tableName] = type; lookups.nameLookup[type.Name] = type; diff --git a/Migration.Toolkit.K11/Context/K11Context.cs b/Migration.Toolkit.K11/Context/K11Context.cs index d98bc7e3..16863cd1 100644 --- a/Migration.Toolkit.K11/Context/K11Context.cs +++ b/Migration.Toolkit.K11/Context/K11Context.cs @@ -5757,4 +5757,4 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) } partial void OnModelCreatingPartial(ModelBuilder modelBuilder); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsCampaign.cs b/Migration.Toolkit.K11/Models/AnalyticsCampaign.cs index 8bc93593..f96f8452 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsCampaign.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsCampaign.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class AnalyticsCampaign [InverseProperty("TwitterPostCampaign")] public virtual ICollection SmTwitterPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsCampaignAsset.cs b/Migration.Toolkit.K11/Models/AnalyticsCampaignAsset.cs index ba221202..27b09c01 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsCampaignAsset.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsCampaignAsset.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class AnalyticsCampaignAsset [ForeignKey("CampaignAssetCampaignId")] [InverseProperty("AnalyticsCampaignAssets")] public virtual AnalyticsCampaign CampaignAssetCampaign { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsCampaignAssetUrl.cs b/Migration.Toolkit.K11/Models/AnalyticsCampaignAssetUrl.cs index 878a6c64..b0063964 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsCampaignAssetUrl.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsCampaignAssetUrl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class AnalyticsCampaignAssetUrl [ForeignKey("CampaignAssetUrlCampaignAssetId")] [InverseProperty("AnalyticsCampaignAssetUrls")] public virtual AnalyticsCampaignAsset CampaignAssetUrlCampaignAsset { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsCampaignConversion.cs b/Migration.Toolkit.K11/Models/AnalyticsCampaignConversion.cs index 0310f078..d46f2773 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsCampaignConversion.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsCampaignConversion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class AnalyticsCampaignConversion [ForeignKey("CampaignConversionCampaignId")] [InverseProperty("AnalyticsCampaignConversions")] public virtual AnalyticsCampaign CampaignConversionCampaign { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsCampaignConversionHit.cs b/Migration.Toolkit.K11/Models/AnalyticsCampaignConversionHit.cs index 71b0ea71..0e4ec023 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsCampaignConversionHit.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsCampaignConversionHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsCampaignConversionHit [ForeignKey("CampaignConversionHitsConversionId")] [InverseProperty("AnalyticsCampaignConversionHits")] public virtual AnalyticsCampaignConversion CampaignConversionHitsConversion { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsCampaignObjective.cs b/Migration.Toolkit.K11/Models/AnalyticsCampaignObjective.cs index dfed6fc6..8df691cf 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsCampaignObjective.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsCampaignObjective.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class AnalyticsCampaignObjective [ForeignKey("CampaignObjectiveCampaignConversionId")] [InverseProperty("AnalyticsCampaignObjectives")] public virtual AnalyticsCampaignConversion CampaignObjectiveCampaignConversion { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsConversion.cs b/Migration.Toolkit.K11/Models/AnalyticsConversion.cs index 1008e1f9..3da26300 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsConversion.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsConversion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class AnalyticsConversion [ForeignKey("ConversionSiteId")] [InverseProperty("AnalyticsConversions")] public virtual CmsSite ConversionSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsDayHit.cs b/Migration.Toolkit.K11/Models/AnalyticsDayHit.cs index 55b1a784..6fdbfaaa 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsDayHit.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsDayHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsDayHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsDayHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsExitPage.cs b/Migration.Toolkit.K11/Models/AnalyticsExitPage.cs index c3fffb7e..c02785e5 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsExitPage.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsExitPage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class AnalyticsExitPage [StringLength(10)] public string? ExitPageCulture { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsHourHit.cs b/Migration.Toolkit.K11/Models/AnalyticsHourHit.cs index c478bc77..983471ed 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsHourHit.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsHourHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsHourHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsHourHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsMonthHit.cs b/Migration.Toolkit.K11/Models/AnalyticsMonthHit.cs index 397d7c93..bcd52829 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsMonthHit.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsMonthHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsMonthHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsMonthHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsStatistic.cs b/Migration.Toolkit.K11/Models/AnalyticsStatistic.cs index dcbb865e..413b760a 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsStatistic.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsStatistic.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class AnalyticsStatistic [ForeignKey("StatisticsSiteId")] [InverseProperty("AnalyticsStatistics")] public virtual CmsSite? StatisticsSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsWeekHit.cs b/Migration.Toolkit.K11/Models/AnalyticsWeekHit.cs index 8758d0b1..7cf1e5fb 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsWeekHit.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsWeekHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsWeekHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsWeekHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/AnalyticsYearHit.cs b/Migration.Toolkit.K11/Models/AnalyticsYearHit.cs index 8e7457fc..22a24f7a 100644 --- a/Migration.Toolkit.K11/Models/AnalyticsYearHit.cs +++ b/Migration.Toolkit.K11/Models/AnalyticsYearHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsYearHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsYearHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/BadWordsWord.cs b/Migration.Toolkit.K11/Models/BadWordsWord.cs index a715037f..2349d4f4 100644 --- a/Migration.Toolkit.K11/Models/BadWordsWord.cs +++ b/Migration.Toolkit.K11/Models/BadWordsWord.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class BadWordsWord [ForeignKey("WordId")] [InverseProperty("Words")] public virtual ICollection Cultures { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/BlogComment.cs b/Migration.Toolkit.K11/Models/BlogComment.cs index 0705a7c4..877f28fe 100644 --- a/Migration.Toolkit.K11/Models/BlogComment.cs +++ b/Migration.Toolkit.K11/Models/BlogComment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class BlogComment [ForeignKey("CommentUserId")] [InverseProperty("BlogCommentCommentUsers")] public virtual CmsUser? CommentUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/BlogPostSubscription.cs b/Migration.Toolkit.K11/Models/BlogPostSubscription.cs index 882659ef..7ebb7a0d 100644 --- a/Migration.Toolkit.K11/Models/BlogPostSubscription.cs +++ b/Migration.Toolkit.K11/Models/BlogPostSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class BlogPostSubscription [ForeignKey("SubscriptionUserId")] [InverseProperty("BlogPostSubscriptions")] public virtual CmsUser? SubscriptionUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/BoardBoard.cs b/Migration.Toolkit.K11/Models/BoardBoard.cs index b0f0d340..a48895dc 100644 --- a/Migration.Toolkit.K11/Models/BoardBoard.cs +++ b/Migration.Toolkit.K11/Models/BoardBoard.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -114,4 +114,4 @@ public partial class BoardBoard [ForeignKey("BoardId")] [InverseProperty("Boards")] public virtual ICollection Users { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/BoardMessage.cs b/Migration.Toolkit.K11/Models/BoardMessage.cs index bc23b50c..ffcb95a0 100644 --- a/Migration.Toolkit.K11/Models/BoardMessage.cs +++ b/Migration.Toolkit.K11/Models/BoardMessage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -67,4 +67,4 @@ public partial class BoardMessage [ForeignKey("MessageUserId")] [InverseProperty("BoardMessageMessageUsers")] public virtual CmsUser? MessageUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/BoardSubscription.cs b/Migration.Toolkit.K11/Models/BoardSubscription.cs index 0e792d42..4714ce39 100644 --- a/Migration.Toolkit.K11/Models/BoardSubscription.cs +++ b/Migration.Toolkit.K11/Models/BoardSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class BoardSubscription [ForeignKey("SubscriptionUserId")] [InverseProperty("BoardSubscriptions")] public virtual CmsUser? SubscriptionUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatInitiatedChatRequest.cs b/Migration.Toolkit.K11/Models/ChatInitiatedChatRequest.cs index 44279e93..a4c972c9 100644 --- a/Migration.Toolkit.K11/Models/ChatInitiatedChatRequest.cs +++ b/Migration.Toolkit.K11/Models/ChatInitiatedChatRequest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class ChatInitiatedChatRequest [ForeignKey("InitiatedChatRequestUserId")] [InverseProperty("ChatInitiatedChatRequests")] public virtual CmsUser? InitiatedChatRequestUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatMessage.cs b/Migration.Toolkit.K11/Models/ChatMessage.cs index 4e62ac63..b01393ee 100644 --- a/Migration.Toolkit.K11/Models/ChatMessage.cs +++ b/Migration.Toolkit.K11/Models/ChatMessage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class ChatMessage [ForeignKey("ChatMessageUserId")] [InverseProperty("ChatMessageChatMessageUsers")] public virtual ChatUser? ChatMessageUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatNotification.cs b/Migration.Toolkit.K11/Models/ChatNotification.cs index 1bd69821..d90cfd60 100644 --- a/Migration.Toolkit.K11/Models/ChatNotification.cs +++ b/Migration.Toolkit.K11/Models/ChatNotification.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class ChatNotification [ForeignKey("ChatNotificationSiteId")] [InverseProperty("ChatNotifications")] public virtual CmsSite? ChatNotificationSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatOnlineSupport.cs b/Migration.Toolkit.K11/Models/ChatOnlineSupport.cs index 8fe9c51c..e705b9f7 100644 --- a/Migration.Toolkit.K11/Models/ChatOnlineSupport.cs +++ b/Migration.Toolkit.K11/Models/ChatOnlineSupport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class ChatOnlineSupport [ForeignKey("ChatOnlineSupportSiteId")] [InverseProperty("ChatOnlineSupports")] public virtual CmsSite ChatOnlineSupportSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatOnlineUser.cs b/Migration.Toolkit.K11/Models/ChatOnlineUser.cs index 5ac36527..7dae63ff 100644 --- a/Migration.Toolkit.K11/Models/ChatOnlineUser.cs +++ b/Migration.Toolkit.K11/Models/ChatOnlineUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class ChatOnlineUser [ForeignKey("ChatOnlineUserSiteId")] [InverseProperty("ChatOnlineUsers")] public virtual CmsSite ChatOnlineUserSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatPopupWindowSetting.cs b/Migration.Toolkit.K11/Models/ChatPopupWindowSetting.cs index 6aa76dca..788aef57 100644 --- a/Migration.Toolkit.K11/Models/ChatPopupWindowSetting.cs +++ b/Migration.Toolkit.K11/Models/ChatPopupWindowSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class ChatPopupWindowSetting public string UserTransformationName { get; set; } = null!; public int ChatPopupWindowSettingsHashCode { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatRoom.cs b/Migration.Toolkit.K11/Models/ChatRoom.cs index 0a0c4dfb..c2d6905b 100644 --- a/Migration.Toolkit.K11/Models/ChatRoom.cs +++ b/Migration.Toolkit.K11/Models/ChatRoom.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -78,4 +78,4 @@ public partial class ChatRoom [InverseProperty("ChatSupportTakenRoomRoom")] public virtual ICollection ChatSupportTakenRooms { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatRoomUser.cs b/Migration.Toolkit.K11/Models/ChatRoomUser.cs index 32bcbe68..0a1f91b8 100644 --- a/Migration.Toolkit.K11/Models/ChatRoomUser.cs +++ b/Migration.Toolkit.K11/Models/ChatRoomUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class ChatRoomUser [ForeignKey("ChatRoomUserRoomId")] [InverseProperty("ChatRoomUsers")] public virtual ChatRoom ChatRoomUserRoom { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatSupportCannedResponse.cs b/Migration.Toolkit.K11/Models/ChatSupportCannedResponse.cs index 0a0ed664..ce27dfe4 100644 --- a/Migration.Toolkit.K11/Models/ChatSupportCannedResponse.cs +++ b/Migration.Toolkit.K11/Models/ChatSupportCannedResponse.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ChatSupportCannedResponse [ForeignKey("ChatSupportCannedResponseSiteId")] [InverseProperty("ChatSupportCannedResponses")] public virtual CmsSite? ChatSupportCannedResponseSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatSupportTakenRoom.cs b/Migration.Toolkit.K11/Models/ChatSupportTakenRoom.cs index 414970b2..33d7469f 100644 --- a/Migration.Toolkit.K11/Models/ChatSupportTakenRoom.cs +++ b/Migration.Toolkit.K11/Models/ChatSupportTakenRoom.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ChatSupportTakenRoom [ForeignKey("ChatSupportTakenRoomRoomId")] [InverseProperty("ChatSupportTakenRooms")] public virtual ChatRoom ChatSupportTakenRoomRoom { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ChatUser.cs b/Migration.Toolkit.K11/Models/ChatUser.cs index 86f4904c..9464b9a9 100644 --- a/Migration.Toolkit.K11/Models/ChatUser.cs +++ b/Migration.Toolkit.K11/Models/ChatUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class ChatUser [ForeignKey("ChatUserUserId")] [InverseProperty("ChatUsers")] public virtual CmsUser? ChatUserUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CiFileMetadatum.cs b/Migration.Toolkit.K11/Models/CiFileMetadatum.cs index b3055f83..f206f026 100644 --- a/Migration.Toolkit.K11/Models/CiFileMetadatum.cs +++ b/Migration.Toolkit.K11/Models/CiFileMetadatum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -19,4 +19,4 @@ public partial class CiFileMetadatum [StringLength(32)] public string FileHash { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CiMigration.cs b/Migration.Toolkit.K11/Models/CiMigration.cs index 06a437b9..894eb3f8 100644 --- a/Migration.Toolkit.K11/Models/CiMigration.cs +++ b/Migration.Toolkit.K11/Models/CiMigration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class CiMigration public DateTime DateApplied { get; set; } public int? RowsAffected { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAbuseReport.cs b/Migration.Toolkit.K11/Models/CmsAbuseReport.cs index 49d5a86c..66225f10 100644 --- a/Migration.Toolkit.K11/Models/CmsAbuseReport.cs +++ b/Migration.Toolkit.K11/Models/CmsAbuseReport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class CmsAbuseReport [ForeignKey("ReportUserId")] [InverseProperty("CmsAbuseReports")] public virtual CmsUser? ReportUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAcl.cs b/Migration.Toolkit.K11/Models/CmsAcl.cs index 3f033967..a038cd83 100644 --- a/Migration.Toolkit.K11/Models/CmsAcl.cs +++ b/Migration.Toolkit.K11/Models/CmsAcl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsAcl [InverseProperty("NodeAcl")] public virtual ICollection CmsTrees { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAclitem.cs b/Migration.Toolkit.K11/Models/CmsAclitem.cs index 0b408e01..2a81367f 100644 --- a/Migration.Toolkit.K11/Models/CmsAclitem.cs +++ b/Migration.Toolkit.K11/Models/CmsAclitem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class CmsAclitem [ForeignKey("UserId")] [InverseProperty("CmsAclitemUsers")] public virtual CmsUser? User { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAlternativeForm.cs b/Migration.Toolkit.K11/Models/CmsAlternativeForm.cs index 5fcfac83..8663e39a 100644 --- a/Migration.Toolkit.K11/Models/CmsAlternativeForm.cs +++ b/Migration.Toolkit.K11/Models/CmsAlternativeForm.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsAlternativeForm [ForeignKey("FormCoupledClassId")] [InverseProperty("CmsAlternativeFormFormCoupledClasses")] public virtual CmsClass? FormCoupledClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAttachment.cs b/Migration.Toolkit.K11/Models/CmsAttachment.cs index cf14d621..d360c3da 100644 --- a/Migration.Toolkit.K11/Models/CmsAttachment.cs +++ b/Migration.Toolkit.K11/Models/CmsAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -88,4 +88,4 @@ public partial class CmsAttachment [InverseProperty("AttachmentVariantParent")] public virtual ICollection InverseAttachmentVariantParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAttachmentHistory.cs b/Migration.Toolkit.K11/Models/CmsAttachmentHistory.cs index d484d585..ac71e63e 100644 --- a/Migration.Toolkit.K11/Models/CmsAttachmentHistory.cs +++ b/Migration.Toolkit.K11/Models/CmsAttachmentHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -87,4 +87,4 @@ public partial class CmsAttachmentHistory [ForeignKey("AttachmentHistoryId")] [InverseProperty("AttachmentHistories")] public virtual ICollection VersionHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAutomationHistory.cs b/Migration.Toolkit.K11/Models/CmsAutomationHistory.cs index a5593ac8..7f699870 100644 --- a/Migration.Toolkit.K11/Models/CmsAutomationHistory.cs +++ b/Migration.Toolkit.K11/Models/CmsAutomationHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -79,4 +79,4 @@ public partial class CmsAutomationHistory [ForeignKey("HistoryWorkflowId")] [InverseProperty("CmsAutomationHistories")] public virtual CmsWorkflow HistoryWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAutomationState.cs b/Migration.Toolkit.K11/Models/CmsAutomationState.cs index f972918c..4108fbe3 100644 --- a/Migration.Toolkit.K11/Models/CmsAutomationState.cs +++ b/Migration.Toolkit.K11/Models/CmsAutomationState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -68,4 +68,4 @@ public partial class CmsAutomationState [ForeignKey("StateWorkflowId")] [InverseProperty("CmsAutomationStates")] public virtual CmsWorkflow StateWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsAvatar.cs b/Migration.Toolkit.K11/Models/CmsAvatar.cs index c70bc9cf..ea798dc1 100644 --- a/Migration.Toolkit.K11/Models/CmsAvatar.cs +++ b/Migration.Toolkit.K11/Models/CmsAvatar.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class CmsAvatar [InverseProperty("GroupAvatar")] public virtual ICollection CommunityGroups { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsBadge.cs b/Migration.Toolkit.K11/Models/CmsBadge.cs index f6ebbbe2..7aaaced5 100644 --- a/Migration.Toolkit.K11/Models/CmsBadge.cs +++ b/Migration.Toolkit.K11/Models/CmsBadge.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class CmsBadge [InverseProperty("UserBadge")] public virtual ICollection CmsUserSettings { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsBannedIp.cs b/Migration.Toolkit.K11/Models/CmsBannedIp.cs index 70ac832b..479e966f 100644 --- a/Migration.Toolkit.K11/Models/CmsBannedIp.cs +++ b/Migration.Toolkit.K11/Models/CmsBannedIp.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class CmsBannedIp [ForeignKey("IpaddressSiteId")] [InverseProperty("CmsBannedIps")] public virtual CmsSite? IpaddressSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsBanner.cs b/Migration.Toolkit.K11/Models/CmsBanner.cs index 11ad982c..f4f5fb05 100644 --- a/Migration.Toolkit.K11/Models/CmsBanner.cs +++ b/Migration.Toolkit.K11/Models/CmsBanner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class CmsBanner [ForeignKey("BannerSiteId")] [InverseProperty("CmsBanners")] public virtual CmsSite? BannerSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsBannerCategory.cs b/Migration.Toolkit.K11/Models/CmsBannerCategory.cs index 0f73094e..43e24e7f 100644 --- a/Migration.Toolkit.K11/Models/CmsBannerCategory.cs +++ b/Migration.Toolkit.K11/Models/CmsBannerCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsBannerCategory [InverseProperty("BannerCategory")] public virtual ICollection CmsBanners { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsCategory.cs b/Migration.Toolkit.K11/Models/CmsCategory.cs index c1cf4ec0..0827a351 100644 --- a/Migration.Toolkit.K11/Models/CmsCategory.cs +++ b/Migration.Toolkit.K11/Models/CmsCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -64,4 +64,4 @@ public partial class CmsCategory [ForeignKey("CategoryId")] [InverseProperty("Categories")] public virtual ICollection Documents { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsClass.cs b/Migration.Toolkit.K11/Models/CmsClass.cs index 854b4071..0485f1c7 100644 --- a/Migration.Toolkit.K11/Models/CmsClass.cs +++ b/Migration.Toolkit.K11/Models/CmsClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -218,4 +218,4 @@ public partial class CmsClass [ForeignKey("ClassId")] [InverseProperty("Classes")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsConsent.cs b/Migration.Toolkit.K11/Models/CmsConsent.cs index bd1ff0a3..1b3decf3 100644 --- a/Migration.Toolkit.K11/Models/CmsConsent.cs +++ b/Migration.Toolkit.K11/Models/CmsConsent.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class CmsConsent [InverseProperty("ConsentArchiveConsent")] public virtual ICollection CmsConsentArchives { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsConsentAgreement.cs b/Migration.Toolkit.K11/Models/CmsConsentAgreement.cs index 913f22d8..a5b5c727 100644 --- a/Migration.Toolkit.K11/Models/CmsConsentAgreement.cs +++ b/Migration.Toolkit.K11/Models/CmsConsentAgreement.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsConsentAgreement [ForeignKey("ConsentAgreementContactId")] [InverseProperty("CmsConsentAgreements")] public virtual OmContact ConsentAgreementContact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsConsentArchive.cs b/Migration.Toolkit.K11/Models/CmsConsentArchive.cs index 3e5521e7..cc7ff365 100644 --- a/Migration.Toolkit.K11/Models/CmsConsentArchive.cs +++ b/Migration.Toolkit.K11/Models/CmsConsentArchive.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsConsentArchive [ForeignKey("ConsentArchiveConsentId")] [InverseProperty("CmsConsentArchives")] public virtual CmsConsent ConsentArchiveConsent { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsCountry.cs b/Migration.Toolkit.K11/Models/CmsCountry.cs index 0607b3c2..975b4b6d 100644 --- a/Migration.Toolkit.K11/Models/CmsCountry.cs +++ b/Migration.Toolkit.K11/Models/CmsCountry.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsCountry [InverseProperty("ContactCountry")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsCssStylesheet.cs b/Migration.Toolkit.K11/Models/CmsCssStylesheet.cs index 2ca5b464..d42a171d 100644 --- a/Migration.Toolkit.K11/Models/CmsCssStylesheet.cs +++ b/Migration.Toolkit.K11/Models/CmsCssStylesheet.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsCssStylesheet [ForeignKey("StylesheetId")] [InverseProperty("Stylesheets")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsCulture.cs b/Migration.Toolkit.K11/Models/CmsCulture.cs index 1fe57517..dabff491 100644 --- a/Migration.Toolkit.K11/Models/CmsCulture.cs +++ b/Migration.Toolkit.K11/Models/CmsCulture.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class CmsCulture [ForeignKey("CultureId")] [InverseProperty("Cultures")] public virtual ICollection Words { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsDeviceProfile.cs b/Migration.Toolkit.K11/Models/CmsDeviceProfile.cs index e641a5e0..49398366 100644 --- a/Migration.Toolkit.K11/Models/CmsDeviceProfile.cs +++ b/Migration.Toolkit.K11/Models/CmsDeviceProfile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsDeviceProfile [InverseProperty("Profile")] public virtual ICollection CmsTemplateDeviceLayouts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsDeviceProfileLayout.cs b/Migration.Toolkit.K11/Models/CmsDeviceProfileLayout.cs index 8e97c66f..884aebba 100644 --- a/Migration.Toolkit.K11/Models/CmsDeviceProfileLayout.cs +++ b/Migration.Toolkit.K11/Models/CmsDeviceProfileLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsDeviceProfileLayout [ForeignKey("TargetLayoutId")] [InverseProperty("CmsDeviceProfileLayoutTargetLayouts")] public virtual CmsLayout TargetLayout { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsDocument.cs b/Migration.Toolkit.K11/Models/CmsDocument.cs index 617515a4..0892e8f4 100644 --- a/Migration.Toolkit.K11/Models/CmsDocument.cs +++ b/Migration.Toolkit.K11/Models/CmsDocument.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -281,4 +281,4 @@ public partial class CmsDocument [ForeignKey("DocumentId")] [InverseProperty("Documents")] public virtual ICollection Tags { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsDocumentAlias.cs b/Migration.Toolkit.K11/Models/CmsDocumentAlias.cs index 9516d049..a7eb5e54 100644 --- a/Migration.Toolkit.K11/Models/CmsDocumentAlias.cs +++ b/Migration.Toolkit.K11/Models/CmsDocumentAlias.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class CmsDocumentAlias [ForeignKey("AliasSiteId")] [InverseProperty("CmsDocumentAliases")] public virtual CmsSite AliasSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsDocumentTypeScope.cs b/Migration.Toolkit.K11/Models/CmsDocumentTypeScope.cs index 75d44beb..b8e7b794 100644 --- a/Migration.Toolkit.K11/Models/CmsDocumentTypeScope.cs +++ b/Migration.Toolkit.K11/Models/CmsDocumentTypeScope.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsDocumentTypeScope [ForeignKey("ScopeId")] [InverseProperty("Scopes")] public virtual ICollection Classes { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsEmail.cs b/Migration.Toolkit.K11/Models/CmsEmail.cs index 64fc1a03..6493e247 100644 --- a/Migration.Toolkit.K11/Models/CmsEmail.cs +++ b/Migration.Toolkit.K11/Models/CmsEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class CmsEmail [ForeignKey("EmailId")] [InverseProperty("Emails")] public virtual ICollection Attachments { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsEmailAttachment.cs b/Migration.Toolkit.K11/Models/CmsEmailAttachment.cs index e34d954e..2a4bdb1f 100644 --- a/Migration.Toolkit.K11/Models/CmsEmailAttachment.cs +++ b/Migration.Toolkit.K11/Models/CmsEmailAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsEmailAttachment [ForeignKey("AttachmentId")] [InverseProperty("Attachments")] public virtual ICollection Emails { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsEmailTemplate.cs b/Migration.Toolkit.K11/Models/CmsEmailTemplate.cs index 84a8737e..4285a79b 100644 --- a/Migration.Toolkit.K11/Models/CmsEmailTemplate.cs +++ b/Migration.Toolkit.K11/Models/CmsEmailTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class CmsEmailTemplate [ForeignKey("EmailTemplateSiteId")] [InverseProperty("CmsEmailTemplates")] public virtual CmsSite? EmailTemplateSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsEmailUser.cs b/Migration.Toolkit.K11/Models/CmsEmailUser.cs index 4c963f91..2fac0c2f 100644 --- a/Migration.Toolkit.K11/Models/CmsEmailUser.cs +++ b/Migration.Toolkit.K11/Models/CmsEmailUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class CmsEmailUser [ForeignKey("UserId")] [InverseProperty("CmsEmailUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsEventLog.cs b/Migration.Toolkit.K11/Models/CmsEventLog.cs index 59465e80..119a1da6 100644 --- a/Migration.Toolkit.K11/Models/CmsEventLog.cs +++ b/Migration.Toolkit.K11/Models/CmsEventLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class CmsEventLog public string? EventUserAgent { get; set; } public string? EventUrlReferrer { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsExternalLogin.cs b/Migration.Toolkit.K11/Models/CmsExternalLogin.cs index 4f1acac1..0b3ed3cc 100644 --- a/Migration.Toolkit.K11/Models/CmsExternalLogin.cs +++ b/Migration.Toolkit.K11/Models/CmsExternalLogin.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class CmsExternalLogin [ForeignKey("UserId")] [InverseProperty("CmsExternalLogins")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsForm.cs b/Migration.Toolkit.K11/Models/CmsForm.cs index 113a2dd0..d8960d78 100644 --- a/Migration.Toolkit.K11/Models/CmsForm.cs +++ b/Migration.Toolkit.K11/Models/CmsForm.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -88,4 +88,4 @@ public partial class CmsForm [ForeignKey("FormId")] [InverseProperty("Forms")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsFormUserControl.cs b/Migration.Toolkit.K11/Models/CmsFormUserControl.cs index efa097db..94140bb7 100644 --- a/Migration.Toolkit.K11/Models/CmsFormUserControl.cs +++ b/Migration.Toolkit.K11/Models/CmsFormUserControl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -106,4 +106,4 @@ public partial class CmsFormUserControl [ForeignKey("UserControlResourceId")] [InverseProperty("CmsFormUserControls")] public virtual CmsResource? UserControlResource { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsHelpTopic.cs b/Migration.Toolkit.K11/Models/CmsHelpTopic.cs index aafed82a..3854d6b9 100644 --- a/Migration.Toolkit.K11/Models/CmsHelpTopic.cs +++ b/Migration.Toolkit.K11/Models/CmsHelpTopic.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class CmsHelpTopic [ForeignKey("HelpTopicUielementId")] [InverseProperty("CmsHelpTopics")] public virtual CmsUielement HelpTopicUielement { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsLayout.cs b/Migration.Toolkit.K11/Models/CmsLayout.cs index 93dddff0..eafdaa94 100644 --- a/Migration.Toolkit.K11/Models/CmsLayout.cs +++ b/Migration.Toolkit.K11/Models/CmsLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -60,4 +60,4 @@ public partial class CmsLayout [InverseProperty("Layout")] public virtual ICollection CmsTemplateDeviceLayouts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsLicenseKey.cs b/Migration.Toolkit.K11/Models/CmsLicenseKey.cs index b51796d4..52c593de 100644 --- a/Migration.Toolkit.K11/Models/CmsLicenseKey.cs +++ b/Migration.Toolkit.K11/Models/CmsLicenseKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class CmsLicenseKey public string? LicenseExpiration { get; set; } public int? LicenseServers { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsMacroIdentity.cs b/Migration.Toolkit.K11/Models/CmsMacroIdentity.cs index d845caff..25752f8b 100644 --- a/Migration.Toolkit.K11/Models/CmsMacroIdentity.cs +++ b/Migration.Toolkit.K11/Models/CmsMacroIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsMacroIdentity [ForeignKey("MacroIdentityEffectiveUserId")] [InverseProperty("CmsMacroIdentities")] public virtual CmsUser? MacroIdentityEffectiveUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsMacroRule.cs b/Migration.Toolkit.K11/Models/CmsMacroRule.cs index 1797ee0a..708c31f8 100644 --- a/Migration.Toolkit.K11/Models/CmsMacroRule.cs +++ b/Migration.Toolkit.K11/Models/CmsMacroRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class CmsMacroRule public string? MacroRuleRequiredData { get; set; } public bool? MacroRuleEnabled { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsMembership.cs b/Migration.Toolkit.K11/Models/CmsMembership.cs index 8f1f6f71..a24f1fa8 100644 --- a/Migration.Toolkit.K11/Models/CmsMembership.cs +++ b/Migration.Toolkit.K11/Models/CmsMembership.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class CmsMembership [ForeignKey("MembershipId")] [InverseProperty("Memberships")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsMembershipUser.cs b/Migration.Toolkit.K11/Models/CmsMembershipUser.cs index 98450040..cfec8e03 100644 --- a/Migration.Toolkit.K11/Models/CmsMembershipUser.cs +++ b/Migration.Toolkit.K11/Models/CmsMembershipUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsMembershipUser [ForeignKey("UserId")] [InverseProperty("CmsMembershipUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsMetaFile.cs b/Migration.Toolkit.K11/Models/CmsMetaFile.cs index 97b60ad3..0eac2f52 100644 --- a/Migration.Toolkit.K11/Models/CmsMetaFile.cs +++ b/Migration.Toolkit.K11/Models/CmsMetaFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class CmsMetaFile [ForeignKey("MetaFileSiteId")] [InverseProperty("CmsMetaFiles")] public virtual CmsSite? MetaFileSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsModuleLicenseKey.cs b/Migration.Toolkit.K11/Models/CmsModuleLicenseKey.cs index d066efd5..fce1ac41 100644 --- a/Migration.Toolkit.K11/Models/CmsModuleLicenseKey.cs +++ b/Migration.Toolkit.K11/Models/CmsModuleLicenseKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class CmsModuleLicenseKey [ForeignKey("ModuleLicenseKeyResourceId")] [InverseProperty("CmsModuleLicenseKeys")] public virtual CmsResource ModuleLicenseKeyResource { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsModuleUsageCounter.cs b/Migration.Toolkit.K11/Models/CmsModuleUsageCounter.cs index 325b7e32..3aba29ff 100644 --- a/Migration.Toolkit.K11/Models/CmsModuleUsageCounter.cs +++ b/Migration.Toolkit.K11/Models/CmsModuleUsageCounter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class CmsModuleUsageCounter public string ModuleUsageCounterName { get; set; } = null!; public long ModuleUsageCounterValue { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsObjectSetting.cs b/Migration.Toolkit.K11/Models/CmsObjectSetting.cs index 83bb1c06..1a639b82 100644 --- a/Migration.Toolkit.K11/Models/CmsObjectSetting.cs +++ b/Migration.Toolkit.K11/Models/CmsObjectSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class CmsObjectSetting [ForeignKey("ObjectWorkflowStepId")] [InverseProperty("CmsObjectSettings")] public virtual CmsWorkflowStep? ObjectWorkflowStep { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsObjectVersionHistory.cs b/Migration.Toolkit.K11/Models/CmsObjectVersionHistory.cs index b9a8c5e5..b1221d2a 100644 --- a/Migration.Toolkit.K11/Models/CmsObjectVersionHistory.cs +++ b/Migration.Toolkit.K11/Models/CmsObjectVersionHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -70,4 +70,4 @@ public partial class CmsObjectVersionHistory [ForeignKey("VersionObjectSiteId")] [InverseProperty("CmsObjectVersionHistories")] public virtual CmsSite? VersionObjectSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsObjectWorkflowTrigger.cs b/Migration.Toolkit.K11/Models/CmsObjectWorkflowTrigger.cs index c5eae38e..74d62e99 100644 --- a/Migration.Toolkit.K11/Models/CmsObjectWorkflowTrigger.cs +++ b/Migration.Toolkit.K11/Models/CmsObjectWorkflowTrigger.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsObjectWorkflowTrigger [ForeignKey("TriggerWorkflowId")] [InverseProperty("CmsObjectWorkflowTriggers")] public virtual CmsWorkflow TriggerWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsOpenIduser.cs b/Migration.Toolkit.K11/Models/CmsOpenIduser.cs index b4706336..ccc6d899 100644 --- a/Migration.Toolkit.K11/Models/CmsOpenIduser.cs +++ b/Migration.Toolkit.K11/Models/CmsOpenIduser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsOpenIduser [ForeignKey("UserId")] [InverseProperty("CmsOpenIdusers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsPageTemplate.cs b/Migration.Toolkit.K11/Models/CmsPageTemplate.cs index 4aed210b..156f8a70 100644 --- a/Migration.Toolkit.K11/Models/CmsPageTemplate.cs +++ b/Migration.Toolkit.K11/Models/CmsPageTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -139,4 +139,4 @@ public partial class CmsPageTemplate [ForeignKey("PageTemplateId")] [InverseProperty("PageTemplates")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsPageTemplateCategory.cs b/Migration.Toolkit.K11/Models/CmsPageTemplateCategory.cs index 730fb978..cea3cb9e 100644 --- a/Migration.Toolkit.K11/Models/CmsPageTemplateCategory.cs +++ b/Migration.Toolkit.K11/Models/CmsPageTemplateCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class CmsPageTemplateCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsPageTemplateScope.cs b/Migration.Toolkit.K11/Models/CmsPageTemplateScope.cs index 42e0c354..d1d73fe8 100644 --- a/Migration.Toolkit.K11/Models/CmsPageTemplateScope.cs +++ b/Migration.Toolkit.K11/Models/CmsPageTemplateScope.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class CmsPageTemplateScope [ForeignKey("PageTemplateScopeTemplateId")] [InverseProperty("CmsPageTemplateScopes")] public virtual CmsPageTemplate PageTemplateScopeTemplate { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsPermission.cs b/Migration.Toolkit.K11/Models/CmsPermission.cs index 630b9291..b6e07312 100644 --- a/Migration.Toolkit.K11/Models/CmsPermission.cs +++ b/Migration.Toolkit.K11/Models/CmsPermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class CmsPermission [ForeignKey("PermissionId")] [InverseProperty("Permissions")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsPersonalization.cs b/Migration.Toolkit.K11/Models/CmsPersonalization.cs index e1c5b128..64d3fa5e 100644 --- a/Migration.Toolkit.K11/Models/CmsPersonalization.cs +++ b/Migration.Toolkit.K11/Models/CmsPersonalization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class CmsPersonalization [ForeignKey("PersonalizationUserId")] [InverseProperty("CmsPersonalizations")] public virtual CmsUser? PersonalizationUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsQuery.cs b/Migration.Toolkit.K11/Models/CmsQuery.cs index e94bbdb7..d178ef2a 100644 --- a/Migration.Toolkit.K11/Models/CmsQuery.cs +++ b/Migration.Toolkit.K11/Models/CmsQuery.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsQuery [ForeignKey("ClassId")] [InverseProperty("CmsQueries")] public virtual CmsClass? Class { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsRelationship.cs b/Migration.Toolkit.K11/Models/CmsRelationship.cs index a6640e07..00a58b95 100644 --- a/Migration.Toolkit.K11/Models/CmsRelationship.cs +++ b/Migration.Toolkit.K11/Models/CmsRelationship.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsRelationship [ForeignKey("RightNodeId")] [InverseProperty("CmsRelationshipRightNodes")] public virtual CmsTree RightNode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsRelationshipName.cs b/Migration.Toolkit.K11/Models/CmsRelationshipName.cs index bdb57e34..d8b94dc2 100644 --- a/Migration.Toolkit.K11/Models/CmsRelationshipName.cs +++ b/Migration.Toolkit.K11/Models/CmsRelationshipName.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsRelationshipName [ForeignKey("RelationshipNameId")] [InverseProperty("RelationshipNames")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsResource.cs b/Migration.Toolkit.K11/Models/CmsResource.cs index 28fd8655..ed036bd4 100644 --- a/Migration.Toolkit.K11/Models/CmsResource.cs +++ b/Migration.Toolkit.K11/Models/CmsResource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -82,4 +82,4 @@ public partial class CmsResource [ForeignKey("ResourceId")] [InverseProperty("Resources")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsResourceLibrary.cs b/Migration.Toolkit.K11/Models/CmsResourceLibrary.cs index f9cdc1a4..1201f36e 100644 --- a/Migration.Toolkit.K11/Models/CmsResourceLibrary.cs +++ b/Migration.Toolkit.K11/Models/CmsResourceLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class CmsResourceLibrary [ForeignKey("ResourceLibraryResourceId")] [InverseProperty("CmsResourceLibraries")] public virtual CmsResource ResourceLibraryResource { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsResourceString.cs b/Migration.Toolkit.K11/Models/CmsResourceString.cs index 6e53f583..8aa41128 100644 --- a/Migration.Toolkit.K11/Models/CmsResourceString.cs +++ b/Migration.Toolkit.K11/Models/CmsResourceString.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class CmsResourceString [InverseProperty("TranslationString")] public virtual ICollection CmsResourceTranslations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsResourceTranslation.cs b/Migration.Toolkit.K11/Models/CmsResourceTranslation.cs index a02ac56d..6bc9b8e6 100644 --- a/Migration.Toolkit.K11/Models/CmsResourceTranslation.cs +++ b/Migration.Toolkit.K11/Models/CmsResourceTranslation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsResourceTranslation [ForeignKey("TranslationStringId")] [InverseProperty("CmsResourceTranslations")] public virtual CmsResourceString TranslationString { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsRole.cs b/Migration.Toolkit.K11/Models/CmsRole.cs index 990c248f..806d6e48 100644 --- a/Migration.Toolkit.K11/Models/CmsRole.cs +++ b/Migration.Toolkit.K11/Models/CmsRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -95,4 +95,4 @@ public partial class CmsRole [ForeignKey("RoleId")] [InverseProperty("Roles")] public virtual ICollection Polls { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsScheduledTask.cs b/Migration.Toolkit.K11/Models/CmsScheduledTask.cs index 47f35f08..a8dae0ee 100644 --- a/Migration.Toolkit.K11/Models/CmsScheduledTask.cs +++ b/Migration.Toolkit.K11/Models/CmsScheduledTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -109,4 +109,4 @@ public partial class CmsScheduledTask [ForeignKey("TaskUserId")] [InverseProperty("CmsScheduledTasks")] public virtual CmsUser? TaskUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSearchEngine.cs b/Migration.Toolkit.K11/Models/CmsSearchEngine.cs index bb3933b7..1aa124f5 100644 --- a/Migration.Toolkit.K11/Models/CmsSearchEngine.cs +++ b/Migration.Toolkit.K11/Models/CmsSearchEngine.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsSearchEngine [StringLength(200)] public string? SearchEngineCrawler { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSearchIndex.cs b/Migration.Toolkit.K11/Models/CmsSearchIndex.cs index 8ce7f49d..cb3954fd 100644 --- a/Migration.Toolkit.K11/Models/CmsSearchIndex.cs +++ b/Migration.Toolkit.K11/Models/CmsSearchIndex.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -85,4 +85,4 @@ public partial class CmsSearchIndex [ForeignKey("IndexId")] [InverseProperty("Indices")] public virtual ICollection IndexSites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSearchTask.cs b/Migration.Toolkit.K11/Models/CmsSearchTask.cs index 4a3d4828..1f0df5b3 100644 --- a/Migration.Toolkit.K11/Models/CmsSearchTask.cs +++ b/Migration.Toolkit.K11/Models/CmsSearchTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class CmsSearchTask [Column("SearchTaskRelatedObjectID")] public int? SearchTaskRelatedObjectId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSearchTaskAzure.cs b/Migration.Toolkit.K11/Models/CmsSearchTaskAzure.cs index b103b059..4f135882 100644 --- a/Migration.Toolkit.K11/Models/CmsSearchTaskAzure.cs +++ b/Migration.Toolkit.K11/Models/CmsSearchTaskAzure.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class CmsSearchTaskAzure public string? SearchTaskAzureErrorMessage { get; set; } public DateTime SearchTaskAzureCreated { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSession.cs b/Migration.Toolkit.K11/Models/CmsSession.cs index f2a1eb2b..8afb907d 100644 --- a/Migration.Toolkit.K11/Models/CmsSession.cs +++ b/Migration.Toolkit.K11/Models/CmsSession.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class CmsSession [ForeignKey("SessionUserId")] [InverseProperty("CmsSessions")] public virtual CmsUser? SessionUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSettingsCategory.cs b/Migration.Toolkit.K11/Models/CmsSettingsCategory.cs index 0cea2075..d81ecd91 100644 --- a/Migration.Toolkit.K11/Models/CmsSettingsCategory.cs +++ b/Migration.Toolkit.K11/Models/CmsSettingsCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsSettingsCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSettingsKey.cs b/Migration.Toolkit.K11/Models/CmsSettingsKey.cs index 97fbb8fe..c1eb6867 100644 --- a/Migration.Toolkit.K11/Models/CmsSettingsKey.cs +++ b/Migration.Toolkit.K11/Models/CmsSettingsKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class CmsSettingsKey [ForeignKey("SiteId")] [InverseProperty("CmsSettingsKeys")] public virtual CmsSite? Site { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSite.cs b/Migration.Toolkit.K11/Models/CmsSite.cs index d8535754..83a2440d 100644 --- a/Migration.Toolkit.K11/Models/CmsSite.cs +++ b/Migration.Toolkit.K11/Models/CmsSite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -405,4 +405,4 @@ public partial class CmsSite [ForeignKey("SiteId")] [InverseProperty("Sites")] public virtual ICollection Stylesheets { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSiteDomainAlias.cs b/Migration.Toolkit.K11/Models/CmsSiteDomainAlias.cs index 5b554dff..cddf9372 100644 --- a/Migration.Toolkit.K11/Models/CmsSiteDomainAlias.cs +++ b/Migration.Toolkit.K11/Models/CmsSiteDomainAlias.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class CmsSiteDomainAlias [ForeignKey("SiteId")] [InverseProperty("CmsSiteDomainAliases")] public virtual CmsSite Site { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsSmtpserver.cs b/Migration.Toolkit.K11/Models/CmsSmtpserver.cs index 75826b05..9dae83ca 100644 --- a/Migration.Toolkit.K11/Models/CmsSmtpserver.cs +++ b/Migration.Toolkit.K11/Models/CmsSmtpserver.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class CmsSmtpserver [ForeignKey("ServerId")] [InverseProperty("Servers")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsState.cs b/Migration.Toolkit.K11/Models/CmsState.cs index 5c12dcdc..04a94a29 100644 --- a/Migration.Toolkit.K11/Models/CmsState.cs +++ b/Migration.Toolkit.K11/Models/CmsState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class CmsState [InverseProperty("ContactState")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTag.cs b/Migration.Toolkit.K11/Models/CmsTag.cs index e2f57c1b..8dfe0dda 100644 --- a/Migration.Toolkit.K11/Models/CmsTag.cs +++ b/Migration.Toolkit.K11/Models/CmsTag.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsTag [ForeignKey("TagId")] [InverseProperty("Tags")] public virtual ICollection Documents { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTagGroup.cs b/Migration.Toolkit.K11/Models/CmsTagGroup.cs index 55508a7c..50d2a2cd 100644 --- a/Migration.Toolkit.K11/Models/CmsTagGroup.cs +++ b/Migration.Toolkit.K11/Models/CmsTagGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsTagGroup [ForeignKey("TagGroupSiteId")] [InverseProperty("CmsTagGroups")] public virtual CmsSite TagGroupSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTemplateDeviceLayout.cs b/Migration.Toolkit.K11/Models/CmsTemplateDeviceLayout.cs index 20647839..dcbdbf89 100644 --- a/Migration.Toolkit.K11/Models/CmsTemplateDeviceLayout.cs +++ b/Migration.Toolkit.K11/Models/CmsTemplateDeviceLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class CmsTemplateDeviceLayout [ForeignKey("ProfileId")] [InverseProperty("CmsTemplateDeviceLayouts")] public virtual CmsDeviceProfile Profile { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTimeZone.cs b/Migration.Toolkit.K11/Models/CmsTimeZone.cs index 61b415a5..d77ec1db 100644 --- a/Migration.Toolkit.K11/Models/CmsTimeZone.cs +++ b/Migration.Toolkit.K11/Models/CmsTimeZone.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsTimeZone [InverseProperty("UserTimeZone")] public virtual ICollection CmsUserSettings { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTransformation.cs b/Migration.Toolkit.K11/Models/CmsTransformation.cs index 2a1f7128..7250391f 100644 --- a/Migration.Toolkit.K11/Models/CmsTransformation.cs +++ b/Migration.Toolkit.K11/Models/CmsTransformation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsTransformation [ForeignKey("TransformationClassId")] [InverseProperty("CmsTransformations")] public virtual CmsClass TransformationClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTranslationService.cs b/Migration.Toolkit.K11/Models/CmsTranslationService.cs index dd8ec69b..5fabfc77 100644 --- a/Migration.Toolkit.K11/Models/CmsTranslationService.cs +++ b/Migration.Toolkit.K11/Models/CmsTranslationService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class CmsTranslationService [InverseProperty("SubmissionService")] public virtual ICollection CmsTranslationSubmissions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTranslationSubmission.cs b/Migration.Toolkit.K11/Models/CmsTranslationSubmission.cs index f378c66c..9621a88b 100644 --- a/Migration.Toolkit.K11/Models/CmsTranslationSubmission.cs +++ b/Migration.Toolkit.K11/Models/CmsTranslationSubmission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -73,4 +73,4 @@ public partial class CmsTranslationSubmission [ForeignKey("SubmissionSubmittedByUserId")] [InverseProperty("CmsTranslationSubmissions")] public virtual CmsUser? SubmissionSubmittedByUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTranslationSubmissionItem.cs b/Migration.Toolkit.K11/Models/CmsTranslationSubmissionItem.cs index 9b1d5182..bc5bb27d 100644 --- a/Migration.Toolkit.K11/Models/CmsTranslationSubmissionItem.cs +++ b/Migration.Toolkit.K11/Models/CmsTranslationSubmissionItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -55,4 +55,4 @@ public partial class CmsTranslationSubmissionItem [ForeignKey("SubmissionItemSubmissionId")] [InverseProperty("CmsTranslationSubmissionItems")] public virtual CmsTranslationSubmission SubmissionItemSubmission { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsTree.cs b/Migration.Toolkit.K11/Models/CmsTree.cs index cd99c658..67285a90 100644 --- a/Migration.Toolkit.K11/Models/CmsTree.cs +++ b/Migration.Toolkit.K11/Models/CmsTree.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -181,4 +181,4 @@ public partial class CmsTree [InverseProperty("Node")] public virtual ICollection PersonasPersonaNodes { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsUielement.cs b/Migration.Toolkit.K11/Models/CmsUielement.cs index 4954cac3..0172a2f3 100644 --- a/Migration.Toolkit.K11/Models/CmsUielement.cs +++ b/Migration.Toolkit.K11/Models/CmsUielement.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -113,4 +113,4 @@ public partial class CmsUielement [ForeignKey("ElementId")] [InverseProperty("ElementsNavigation")] public virtual ICollection RolesNavigation { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsUser.cs b/Migration.Toolkit.K11/Models/CmsUser.cs index 1e86c051..a197b919 100644 --- a/Migration.Toolkit.K11/Models/CmsUser.cs +++ b/Migration.Toolkit.K11/Models/CmsUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -337,4 +337,4 @@ public partial class CmsUser [ForeignKey("UserId")] [InverseProperty("Users")] public virtual ICollection Workflows { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsUserCulture.cs b/Migration.Toolkit.K11/Models/CmsUserCulture.cs index 36171179..9f9d060f 100644 --- a/Migration.Toolkit.K11/Models/CmsUserCulture.cs +++ b/Migration.Toolkit.K11/Models/CmsUserCulture.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsUserCulture [ForeignKey("UserId")] [InverseProperty("CmsUserCultures")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsUserMacroIdentity.cs b/Migration.Toolkit.K11/Models/CmsUserMacroIdentity.cs index 6102c7f8..8ce428ec 100644 --- a/Migration.Toolkit.K11/Models/CmsUserMacroIdentity.cs +++ b/Migration.Toolkit.K11/Models/CmsUserMacroIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsUserMacroIdentity [ForeignKey("UserMacroIdentityUserId")] [InverseProperty("CmsUserMacroIdentity")] public virtual CmsUser UserMacroIdentityUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsUserRole.cs b/Migration.Toolkit.K11/Models/CmsUserRole.cs index 4c3f03c3..90bc4083 100644 --- a/Migration.Toolkit.K11/Models/CmsUserRole.cs +++ b/Migration.Toolkit.K11/Models/CmsUserRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class CmsUserRole [ForeignKey("UserId")] [InverseProperty("CmsUserRoles")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsUserSetting.cs b/Migration.Toolkit.K11/Models/CmsUserSetting.cs index 27332f7c..10869dee 100644 --- a/Migration.Toolkit.K11/Models/CmsUserSetting.cs +++ b/Migration.Toolkit.K11/Models/CmsUserSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -168,4 +168,4 @@ public partial class CmsUserSetting [ForeignKey("UserTimeZoneId")] [InverseProperty("CmsUserSettings")] public virtual CmsTimeZone? UserTimeZone { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsUserSite.cs b/Migration.Toolkit.K11/Models/CmsUserSite.cs index e87edf54..55c9bff1 100644 --- a/Migration.Toolkit.K11/Models/CmsUserSite.cs +++ b/Migration.Toolkit.K11/Models/CmsUserSite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsUserSite [ForeignKey("UserId")] [InverseProperty("CmsUserSites")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsVersionHistory.cs b/Migration.Toolkit.K11/Models/CmsVersionHistory.cs index 9b0d4efd..4717dced 100644 --- a/Migration.Toolkit.K11/Models/CmsVersionHistory.cs +++ b/Migration.Toolkit.K11/Models/CmsVersionHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -114,4 +114,4 @@ public partial class CmsVersionHistory [ForeignKey("VersionHistoryId")] [InverseProperty("VersionHistories")] public virtual ICollection AttachmentHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebFarmServer.cs b/Migration.Toolkit.K11/Models/CmsWebFarmServer.cs index d29c912d..ec9a523b 100644 --- a/Migration.Toolkit.K11/Models/CmsWebFarmServer.cs +++ b/Migration.Toolkit.K11/Models/CmsWebFarmServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class CmsWebFarmServer [InverseProperty("Server")] public virtual ICollection CmsWebFarmServerTasks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebFarmServerLog.cs b/Migration.Toolkit.K11/Models/CmsWebFarmServerLog.cs index fc00ae4e..6b4864f6 100644 --- a/Migration.Toolkit.K11/Models/CmsWebFarmServerLog.cs +++ b/Migration.Toolkit.K11/Models/CmsWebFarmServerLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class CmsWebFarmServerLog [Column("ServerID")] public int ServerId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebFarmServerMonitoring.cs b/Migration.Toolkit.K11/Models/CmsWebFarmServerMonitoring.cs index 6b4fa203..a69a071f 100644 --- a/Migration.Toolkit.K11/Models/CmsWebFarmServerMonitoring.cs +++ b/Migration.Toolkit.K11/Models/CmsWebFarmServerMonitoring.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class CmsWebFarmServerMonitoring public int ServerId { get; set; } public DateTime? ServerPing { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebFarmServerTask.cs b/Migration.Toolkit.K11/Models/CmsWebFarmServerTask.cs index 70b423b6..8161dbc1 100644 --- a/Migration.Toolkit.K11/Models/CmsWebFarmServerTask.cs +++ b/Migration.Toolkit.K11/Models/CmsWebFarmServerTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsWebFarmServerTask [ForeignKey("TaskId")] [InverseProperty("CmsWebFarmServerTasks")] public virtual CmsWebFarmTask Task { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebFarmTask.cs b/Migration.Toolkit.K11/Models/CmsWebFarmTask.cs index a287b32e..0ef81786 100644 --- a/Migration.Toolkit.K11/Models/CmsWebFarmTask.cs +++ b/Migration.Toolkit.K11/Models/CmsWebFarmTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class CmsWebFarmTask [InverseProperty("Task")] public virtual ICollection CmsWebFarmServerTasks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebPart.cs b/Migration.Toolkit.K11/Models/CmsWebPart.cs index b896533a..36f32802 100644 --- a/Migration.Toolkit.K11/Models/CmsWebPart.cs +++ b/Migration.Toolkit.K11/Models/CmsWebPart.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -83,4 +83,4 @@ public partial class CmsWebPart [ForeignKey("WebPartResourceId")] [InverseProperty("CmsWebParts")] public virtual CmsResource? WebPartResource { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebPartCategory.cs b/Migration.Toolkit.K11/Models/CmsWebPartCategory.cs index 7fec6117..2d73210a 100644 --- a/Migration.Toolkit.K11/Models/CmsWebPartCategory.cs +++ b/Migration.Toolkit.K11/Models/CmsWebPartCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsWebPartCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebPartContainer.cs b/Migration.Toolkit.K11/Models/CmsWebPartContainer.cs index f9e65db4..173ceaa7 100644 --- a/Migration.Toolkit.K11/Models/CmsWebPartContainer.cs +++ b/Migration.Toolkit.K11/Models/CmsWebPartContainer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsWebPartContainer [ForeignKey("ContainerId")] [InverseProperty("Containers")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebPartLayout.cs b/Migration.Toolkit.K11/Models/CmsWebPartLayout.cs index 603d082b..eb46697b 100644 --- a/Migration.Toolkit.K11/Models/CmsWebPartLayout.cs +++ b/Migration.Toolkit.K11/Models/CmsWebPartLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsWebPartLayout [ForeignKey("WebPartLayoutWebPartId")] [InverseProperty("CmsWebPartLayouts")] public virtual CmsWebPart WebPartLayoutWebPart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWebTemplate.cs b/Migration.Toolkit.K11/Models/CmsWebTemplate.cs index ba78915d..1f8e040a 100644 --- a/Migration.Toolkit.K11/Models/CmsWebTemplate.cs +++ b/Migration.Toolkit.K11/Models/CmsWebTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class CmsWebTemplate public Guid? WebTemplateThumbnailGuid { get; set; } public string? WebTemplateShortDescription { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWidget.cs b/Migration.Toolkit.K11/Models/CmsWidget.cs index d34313ae..a384768f 100644 --- a/Migration.Toolkit.K11/Models/CmsWidget.cs +++ b/Migration.Toolkit.K11/Models/CmsWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -81,4 +81,4 @@ public partial class CmsWidget [ForeignKey("WidgetWebPartId")] [InverseProperty("CmsWidgets")] public virtual CmsWebPart WidgetWebPart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWidgetCategory.cs b/Migration.Toolkit.K11/Models/CmsWidgetCategory.cs index 9172606a..e4855436 100644 --- a/Migration.Toolkit.K11/Models/CmsWidgetCategory.cs +++ b/Migration.Toolkit.K11/Models/CmsWidgetCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsWidgetCategory [ForeignKey("WidgetCategoryParentId")] [InverseProperty("InverseWidgetCategoryParent")] public virtual CmsWidgetCategory? WidgetCategoryParent { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWidgetRole.cs b/Migration.Toolkit.K11/Models/CmsWidgetRole.cs index c294fc3e..5656f6f8 100644 --- a/Migration.Toolkit.K11/Models/CmsWidgetRole.cs +++ b/Migration.Toolkit.K11/Models/CmsWidgetRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsWidgetRole [ForeignKey("WidgetId")] [InverseProperty("CmsWidgetRoles")] public virtual CmsWidget Widget { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWorkflow.cs b/Migration.Toolkit.K11/Models/CmsWorkflow.cs index 1c07f0ad..7065bfc7 100644 --- a/Migration.Toolkit.K11/Models/CmsWorkflow.cs +++ b/Migration.Toolkit.K11/Models/CmsWorkflow.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -93,4 +93,4 @@ public partial class CmsWorkflow [ForeignKey("WorkflowId")] [InverseProperty("Workflows")] public virtual ICollection Users { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWorkflowAction.cs b/Migration.Toolkit.K11/Models/CmsWorkflowAction.cs index 67ae8175..50861b37 100644 --- a/Migration.Toolkit.K11/Models/CmsWorkflowAction.cs +++ b/Migration.Toolkit.K11/Models/CmsWorkflowAction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class CmsWorkflowAction [InverseProperty("StepAction")] public virtual ICollection CmsWorkflowSteps { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWorkflowHistory.cs b/Migration.Toolkit.K11/Models/CmsWorkflowHistory.cs index ee165cef..69d8b44d 100644 --- a/Migration.Toolkit.K11/Models/CmsWorkflowHistory.cs +++ b/Migration.Toolkit.K11/Models/CmsWorkflowHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -85,4 +85,4 @@ public partial class CmsWorkflowHistory [ForeignKey("VersionHistoryId")] [InverseProperty("CmsWorkflowHistories")] public virtual CmsVersionHistory VersionHistory { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWorkflowScope.cs b/Migration.Toolkit.K11/Models/CmsWorkflowScope.cs index 723868c7..229cf497 100644 --- a/Migration.Toolkit.K11/Models/CmsWorkflowScope.cs +++ b/Migration.Toolkit.K11/Models/CmsWorkflowScope.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsWorkflowScope [ForeignKey("ScopeWorkflowId")] [InverseProperty("CmsWorkflowScopes")] public virtual CmsWorkflow ScopeWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWorkflowStep.cs b/Migration.Toolkit.K11/Models/CmsWorkflowStep.cs index 773dc3d5..d03c2537 100644 --- a/Migration.Toolkit.K11/Models/CmsWorkflowStep.cs +++ b/Migration.Toolkit.K11/Models/CmsWorkflowStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -112,4 +112,4 @@ public partial class CmsWorkflowStep [ForeignKey("StepWorkflowId")] [InverseProperty("CmsWorkflowSteps")] public virtual CmsWorkflow StepWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWorkflowStepRole.cs b/Migration.Toolkit.K11/Models/CmsWorkflowStepRole.cs index 745ffaf9..d57d0211 100644 --- a/Migration.Toolkit.K11/Models/CmsWorkflowStepRole.cs +++ b/Migration.Toolkit.K11/Models/CmsWorkflowStepRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsWorkflowStepRole [ForeignKey("StepId")] [InverseProperty("CmsWorkflowStepRoles")] public virtual CmsWorkflowStep Step { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWorkflowStepUser.cs b/Migration.Toolkit.K11/Models/CmsWorkflowStepUser.cs index 2b92e6bd..cf562ba6 100644 --- a/Migration.Toolkit.K11/Models/CmsWorkflowStepUser.cs +++ b/Migration.Toolkit.K11/Models/CmsWorkflowStepUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsWorkflowStepUser [ForeignKey("UserId")] [InverseProperty("CmsWorkflowStepUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CmsWorkflowTransition.cs b/Migration.Toolkit.K11/Models/CmsWorkflowTransition.cs index eca21feb..7007f686 100644 --- a/Migration.Toolkit.K11/Models/CmsWorkflowTransition.cs +++ b/Migration.Toolkit.K11/Models/CmsWorkflowTransition.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsWorkflowTransition [ForeignKey("TransitionWorkflowId")] [InverseProperty("CmsWorkflowTransitions")] public virtual CmsWorkflow TransitionWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComAddress.cs b/Migration.Toolkit.K11/Models/ComAddress.cs index 213516c8..8db17775 100644 --- a/Migration.Toolkit.K11/Models/ComAddress.cs +++ b/Migration.Toolkit.K11/Models/ComAddress.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class ComAddress [InverseProperty("ShoppingCartShippingAddress")] public virtual ICollection ComShoppingCartShoppingCartShippingAddresses { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComBrand.cs b/Migration.Toolkit.K11/Models/ComBrand.cs index fc5eaab6..36d6f01c 100644 --- a/Migration.Toolkit.K11/Models/ComBrand.cs +++ b/Migration.Toolkit.K11/Models/ComBrand.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ComBrand [InverseProperty("Skubrand")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComCarrier.cs b/Migration.Toolkit.K11/Models/ComCarrier.cs index 5720b570..0e77ac09 100644 --- a/Migration.Toolkit.K11/Models/ComCarrier.cs +++ b/Migration.Toolkit.K11/Models/ComCarrier.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class ComCarrier [InverseProperty("ShippingOptionCarrier")] public virtual ICollection ComShippingOptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComCollection.cs b/Migration.Toolkit.K11/Models/ComCollection.cs index 80c3f596..5b6005b3 100644 --- a/Migration.Toolkit.K11/Models/ComCollection.cs +++ b/Migration.Toolkit.K11/Models/ComCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class ComCollection [InverseProperty("Skucollection")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComCouponCode.cs b/Migration.Toolkit.K11/Models/ComCouponCode.cs index c5557461..f104a0aa 100644 --- a/Migration.Toolkit.K11/Models/ComCouponCode.cs +++ b/Migration.Toolkit.K11/Models/ComCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComCouponCode [ForeignKey("CouponCodeDiscountId")] [InverseProperty("ComCouponCodes")] public virtual ComDiscount CouponCodeDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComCurrency.cs b/Migration.Toolkit.K11/Models/ComCurrency.cs index a392c36c..7196bcaf 100644 --- a/Migration.Toolkit.K11/Models/ComCurrency.cs +++ b/Migration.Toolkit.K11/Models/ComCurrency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class ComCurrency [ForeignKey("CurrencySiteId")] [InverseProperty("ComCurrencies")] public virtual CmsSite? CurrencySite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComCurrencyExchangeRate.cs b/Migration.Toolkit.K11/Models/ComCurrencyExchangeRate.cs index bdf91565..def740f1 100644 --- a/Migration.Toolkit.K11/Models/ComCurrencyExchangeRate.cs +++ b/Migration.Toolkit.K11/Models/ComCurrencyExchangeRate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ComCurrencyExchangeRate [ForeignKey("ExchangeTableId")] [InverseProperty("ComCurrencyExchangeRates")] public virtual ComExchangeTable ExchangeTable { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComCustomer.cs b/Migration.Toolkit.K11/Models/ComCustomer.cs index 36b742b3..aa9bad87 100644 --- a/Migration.Toolkit.K11/Models/ComCustomer.cs +++ b/Migration.Toolkit.K11/Models/ComCustomer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -76,4 +76,4 @@ public partial class ComCustomer [ForeignKey("CustomerUserId")] [InverseProperty("ComCustomers")] public virtual CmsUser? CustomerUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComCustomerCreditHistory.cs b/Migration.Toolkit.K11/Models/ComCustomerCreditHistory.cs index 041d59cc..2063bc53 100644 --- a/Migration.Toolkit.K11/Models/ComCustomerCreditHistory.cs +++ b/Migration.Toolkit.K11/Models/ComCustomerCreditHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class ComCustomerCreditHistory [ForeignKey("EventSiteId")] [InverseProperty("ComCustomerCreditHistories")] public virtual CmsSite? EventSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComDepartment.cs b/Migration.Toolkit.K11/Models/ComDepartment.cs index 9f4caef3..e5dcc9d7 100644 --- a/Migration.Toolkit.K11/Models/ComDepartment.cs +++ b/Migration.Toolkit.K11/Models/ComDepartment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ComDepartment [ForeignKey("DepartmentId")] [InverseProperty("Departments")] public virtual ICollection MultiBuyDiscounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComDiscount.cs b/Migration.Toolkit.K11/Models/ComDiscount.cs index 7deef208..7bcd6124 100644 --- a/Migration.Toolkit.K11/Models/ComDiscount.cs +++ b/Migration.Toolkit.K11/Models/ComDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class ComDiscount [ForeignKey("DiscountSiteId")] [InverseProperty("ComDiscounts")] public virtual CmsSite DiscountSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComExchangeTable.cs b/Migration.Toolkit.K11/Models/ComExchangeTable.cs index 97b71e75..f6646faa 100644 --- a/Migration.Toolkit.K11/Models/ComExchangeTable.cs +++ b/Migration.Toolkit.K11/Models/ComExchangeTable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class ComExchangeTable [ForeignKey("ExchangeTableSiteId")] [InverseProperty("ComExchangeTables")] public virtual CmsSite? ExchangeTableSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComGiftCard.cs b/Migration.Toolkit.K11/Models/ComGiftCard.cs index 1e89ce36..6d7035e2 100644 --- a/Migration.Toolkit.K11/Models/ComGiftCard.cs +++ b/Migration.Toolkit.K11/Models/ComGiftCard.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class ComGiftCard [ForeignKey("GiftCardSiteId")] [InverseProperty("ComGiftCards")] public virtual CmsSite GiftCardSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComGiftCardCouponCode.cs b/Migration.Toolkit.K11/Models/ComGiftCardCouponCode.cs index 701278fd..0c90b618 100644 --- a/Migration.Toolkit.K11/Models/ComGiftCardCouponCode.cs +++ b/Migration.Toolkit.K11/Models/ComGiftCardCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComGiftCardCouponCode [ForeignKey("GiftCardCouponCodeGiftCardId")] [InverseProperty("ComGiftCardCouponCodes")] public virtual ComGiftCard GiftCardCouponCodeGiftCard { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComInternalStatus.cs b/Migration.Toolkit.K11/Models/ComInternalStatus.cs index 0a5bd1c5..88eb2a6f 100644 --- a/Migration.Toolkit.K11/Models/ComInternalStatus.cs +++ b/Migration.Toolkit.K11/Models/ComInternalStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ComInternalStatus [ForeignKey("InternalStatusSiteId")] [InverseProperty("ComInternalStatuses")] public virtual CmsSite? InternalStatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComManufacturer.cs b/Migration.Toolkit.K11/Models/ComManufacturer.cs index 797f89a0..e84ef7c9 100644 --- a/Migration.Toolkit.K11/Models/ComManufacturer.cs +++ b/Migration.Toolkit.K11/Models/ComManufacturer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class ComManufacturer [ForeignKey("ManufacturerSiteId")] [InverseProperty("ComManufacturers")] public virtual CmsSite? ManufacturerSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComMultiBuyCouponCode.cs b/Migration.Toolkit.K11/Models/ComMultiBuyCouponCode.cs index df798b4c..df601a94 100644 --- a/Migration.Toolkit.K11/Models/ComMultiBuyCouponCode.cs +++ b/Migration.Toolkit.K11/Models/ComMultiBuyCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComMultiBuyCouponCode [ForeignKey("MultiBuyCouponCodeMultiBuyDiscountId")] [InverseProperty("ComMultiBuyCouponCodes")] public virtual ComMultiBuyDiscount MultiBuyCouponCodeMultiBuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComMultiBuyDiscount.cs b/Migration.Toolkit.K11/Models/ComMultiBuyDiscount.cs index 9f5d4c7c..d5f8febb 100644 --- a/Migration.Toolkit.K11/Models/ComMultiBuyDiscount.cs +++ b/Migration.Toolkit.K11/Models/ComMultiBuyDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -95,4 +95,4 @@ public partial class ComMultiBuyDiscount [ForeignKey("MultiBuyDiscountId")] [InverseProperty("MultiBuyDiscounts")] public virtual ICollection Skus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComMultiBuyDiscountBrand.cs b/Migration.Toolkit.K11/Models/ComMultiBuyDiscountBrand.cs index 042b9f7a..3d829dc8 100644 --- a/Migration.Toolkit.K11/Models/ComMultiBuyDiscountBrand.cs +++ b/Migration.Toolkit.K11/Models/ComMultiBuyDiscountBrand.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountBrand [ForeignKey("MultiBuyDiscountId")] [InverseProperty("ComMultiBuyDiscountBrands")] public virtual ComMultiBuyDiscount MultiBuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComMultiBuyDiscountCollection.cs b/Migration.Toolkit.K11/Models/ComMultiBuyDiscountCollection.cs index 1981f22c..3d25deb1 100644 --- a/Migration.Toolkit.K11/Models/ComMultiBuyDiscountCollection.cs +++ b/Migration.Toolkit.K11/Models/ComMultiBuyDiscountCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountCollection [ForeignKey("MultibuyDiscountId")] [InverseProperty("ComMultiBuyDiscountCollections")] public virtual ComMultiBuyDiscount MultibuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComMultiBuyDiscountTree.cs b/Migration.Toolkit.K11/Models/ComMultiBuyDiscountTree.cs index 9da5160d..86f5c8ac 100644 --- a/Migration.Toolkit.K11/Models/ComMultiBuyDiscountTree.cs +++ b/Migration.Toolkit.K11/Models/ComMultiBuyDiscountTree.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountTree [ForeignKey("NodeId")] [InverseProperty("ComMultiBuyDiscountTrees")] public virtual CmsTree Node { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComOptionCategory.cs b/Migration.Toolkit.K11/Models/ComOptionCategory.cs index d25b9785..d53a2e1f 100644 --- a/Migration.Toolkit.K11/Models/ComOptionCategory.cs +++ b/Migration.Toolkit.K11/Models/ComOptionCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class ComOptionCategory [InverseProperty("SkuoptionCategory")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComOrder.cs b/Migration.Toolkit.K11/Models/ComOrder.cs index 87731aa7..044a9e4d 100644 --- a/Migration.Toolkit.K11/Models/ComOrder.cs +++ b/Migration.Toolkit.K11/Models/ComOrder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -150,4 +150,4 @@ public partial class ComOrder [ForeignKey("OrderStatusId")] [InverseProperty("ComOrders")] public virtual ComOrderStatus? OrderStatus { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComOrderAddress.cs b/Migration.Toolkit.K11/Models/ComOrderAddress.cs index c4c7fdcb..683363c2 100644 --- a/Migration.Toolkit.K11/Models/ComOrderAddress.cs +++ b/Migration.Toolkit.K11/Models/ComOrderAddress.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -60,4 +60,4 @@ public partial class ComOrderAddress [InverseProperty("OrderShippingAddress")] public virtual ICollection ComOrderOrderShippingAddresses { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComOrderItem.cs b/Migration.Toolkit.K11/Models/ComOrderItem.cs index d6811d19..5cab3f52 100644 --- a/Migration.Toolkit.K11/Models/ComOrderItem.cs +++ b/Migration.Toolkit.K11/Models/ComOrderItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -67,4 +67,4 @@ public partial class ComOrderItem [ForeignKey("OrderItemSkuid")] [InverseProperty("ComOrderItems")] public virtual ComSku OrderItemSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComOrderItemSkufile.cs b/Migration.Toolkit.K11/Models/ComOrderItemSkufile.cs index 5a68d588..df071892 100644 --- a/Migration.Toolkit.K11/Models/ComOrderItemSkufile.cs +++ b/Migration.Toolkit.K11/Models/ComOrderItemSkufile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComOrderItemSkufile [ForeignKey("OrderItemId")] [InverseProperty("ComOrderItemSkufiles")] public virtual ComOrderItem OrderItem { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComOrderStatus.cs b/Migration.Toolkit.K11/Models/ComOrderStatus.cs index e9866162..509127e5 100644 --- a/Migration.Toolkit.K11/Models/ComOrderStatus.cs +++ b/Migration.Toolkit.K11/Models/ComOrderStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ComOrderStatus [ForeignKey("StatusSiteId")] [InverseProperty("ComOrderStatuses")] public virtual CmsSite? StatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComOrderStatusUser.cs b/Migration.Toolkit.K11/Models/ComOrderStatusUser.cs index d8b5dad2..5adac50f 100644 --- a/Migration.Toolkit.K11/Models/ComOrderStatusUser.cs +++ b/Migration.Toolkit.K11/Models/ComOrderStatusUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ComOrderStatusUser [ForeignKey("ToStatusId")] [InverseProperty("ComOrderStatusUserToStatuses")] public virtual ComOrderStatus ToStatus { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComPaymentOption.cs b/Migration.Toolkit.K11/Models/ComPaymentOption.cs index 4d52004b..8f96285b 100644 --- a/Migration.Toolkit.K11/Models/ComPaymentOption.cs +++ b/Migration.Toolkit.K11/Models/ComPaymentOption.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -80,4 +80,4 @@ public partial class ComPaymentOption [ForeignKey("PaymentOptionSucceededOrderStatusId")] [InverseProperty("ComPaymentOptionPaymentOptionSucceededOrderStatuses")] public virtual ComOrderStatus? PaymentOptionSucceededOrderStatus { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComPublicStatus.cs b/Migration.Toolkit.K11/Models/ComPublicStatus.cs index eebaf544..03fb1f0b 100644 --- a/Migration.Toolkit.K11/Models/ComPublicStatus.cs +++ b/Migration.Toolkit.K11/Models/ComPublicStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ComPublicStatus [ForeignKey("PublicStatusSiteId")] [InverseProperty("ComPublicStatuses")] public virtual CmsSite? PublicStatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComShippingCost.cs b/Migration.Toolkit.K11/Models/ComShippingCost.cs index a126c35e..bd20c174 100644 --- a/Migration.Toolkit.K11/Models/ComShippingCost.cs +++ b/Migration.Toolkit.K11/Models/ComShippingCost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComShippingCost [ForeignKey("ShippingCostShippingOptionId")] [InverseProperty("ComShippingCosts")] public virtual ComShippingOption ShippingCostShippingOption { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComShippingOption.cs b/Migration.Toolkit.K11/Models/ComShippingOption.cs index f8962811..dadb6a35 100644 --- a/Migration.Toolkit.K11/Models/ComShippingOption.cs +++ b/Migration.Toolkit.K11/Models/ComShippingOption.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -67,4 +67,4 @@ public partial class ComShippingOption [ForeignKey("ShippingOptionTaxClassId")] [InverseProperty("ComShippingOptions")] public virtual ComTaxClass? ShippingOptionTaxClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComShoppingCart.cs b/Migration.Toolkit.K11/Models/ComShoppingCart.cs index 70f5b31c..999e6986 100644 --- a/Migration.Toolkit.K11/Models/ComShoppingCart.cs +++ b/Migration.Toolkit.K11/Models/ComShoppingCart.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -104,4 +104,4 @@ public partial class ComShoppingCart [ForeignKey("ShoppingCartUserId")] [InverseProperty("ComShoppingCarts")] public virtual CmsUser? ShoppingCartUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComShoppingCartCouponCode.cs b/Migration.Toolkit.K11/Models/ComShoppingCartCouponCode.cs index 2f77f11f..d0a46145 100644 --- a/Migration.Toolkit.K11/Models/ComShoppingCartCouponCode.cs +++ b/Migration.Toolkit.K11/Models/ComShoppingCartCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class ComShoppingCartCouponCode [ForeignKey("ShoppingCartId")] [InverseProperty("ComShoppingCartCouponCodes")] public virtual ComShoppingCart ShoppingCart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComShoppingCartSku.cs b/Migration.Toolkit.K11/Models/ComShoppingCartSku.cs index ac8625ac..09280e83 100644 --- a/Migration.Toolkit.K11/Models/ComShoppingCartSku.cs +++ b/Migration.Toolkit.K11/Models/ComShoppingCartSku.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ComShoppingCartSku [ForeignKey("Skuid")] [InverseProperty("ComShoppingCartSkus")] public virtual ComSku Sku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComSku.cs b/Migration.Toolkit.K11/Models/ComSku.cs index 71b26053..f215feec 100644 --- a/Migration.Toolkit.K11/Models/ComSku.cs +++ b/Migration.Toolkit.K11/Models/ComSku.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -275,4 +275,4 @@ public partial class ComSku [ForeignKey("OptionSkuid")] [InverseProperty("OptionSkusNavigation")] public virtual ICollection VariantSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComSkufile.cs b/Migration.Toolkit.K11/Models/ComSkufile.cs index ae70d855..88a3312c 100644 --- a/Migration.Toolkit.K11/Models/ComSkufile.cs +++ b/Migration.Toolkit.K11/Models/ComSkufile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class ComSkufile [ForeignKey("FileSkuid")] [InverseProperty("ComSkufiles")] public virtual ComSku FileSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComSkuoptionCategory.cs b/Migration.Toolkit.K11/Models/ComSkuoptionCategory.cs index 3acf2755..df46c429 100644 --- a/Migration.Toolkit.K11/Models/ComSkuoptionCategory.cs +++ b/Migration.Toolkit.K11/Models/ComSkuoptionCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class ComSkuoptionCategory [ForeignKey("Skuid")] [InverseProperty("ComSkuoptionCategories")] public virtual ComSku Sku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComSupplier.cs b/Migration.Toolkit.K11/Models/ComSupplier.cs index 590cdf8a..8b159c59 100644 --- a/Migration.Toolkit.K11/Models/ComSupplier.cs +++ b/Migration.Toolkit.K11/Models/ComSupplier.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ComSupplier [ForeignKey("SupplierSiteId")] [InverseProperty("ComSuppliers")] public virtual CmsSite? SupplierSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComTaxClass.cs b/Migration.Toolkit.K11/Models/ComTaxClass.cs index 0be24775..19668f33 100644 --- a/Migration.Toolkit.K11/Models/ComTaxClass.cs +++ b/Migration.Toolkit.K11/Models/ComTaxClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ComTaxClass [ForeignKey("TaxClassSiteId")] [InverseProperty("ComTaxClasses")] public virtual CmsSite? TaxClassSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComTaxClassCountry.cs b/Migration.Toolkit.K11/Models/ComTaxClassCountry.cs index 84224314..353738d4 100644 --- a/Migration.Toolkit.K11/Models/ComTaxClassCountry.cs +++ b/Migration.Toolkit.K11/Models/ComTaxClassCountry.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ComTaxClassCountry [ForeignKey("TaxClassId")] [InverseProperty("ComTaxClassCountries")] public virtual ComTaxClass TaxClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComTaxClassState.cs b/Migration.Toolkit.K11/Models/ComTaxClassState.cs index 195ecb06..2d04b91e 100644 --- a/Migration.Toolkit.K11/Models/ComTaxClassState.cs +++ b/Migration.Toolkit.K11/Models/ComTaxClassState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ComTaxClassState [ForeignKey("TaxClassId")] [InverseProperty("ComTaxClassStates")] public virtual ComTaxClass TaxClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComVolumeDiscount.cs b/Migration.Toolkit.K11/Models/ComVolumeDiscount.cs index e1c46abf..ad01d5ae 100644 --- a/Migration.Toolkit.K11/Models/ComVolumeDiscount.cs +++ b/Migration.Toolkit.K11/Models/ComVolumeDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComVolumeDiscount [ForeignKey("VolumeDiscountSkuid")] [InverseProperty("ComVolumeDiscounts")] public virtual ComSku VolumeDiscountSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ComWishlist.cs b/Migration.Toolkit.K11/Models/ComWishlist.cs index 0ee33a02..c0569c67 100644 --- a/Migration.Toolkit.K11/Models/ComWishlist.cs +++ b/Migration.Toolkit.K11/Models/ComWishlist.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ComWishlist [ForeignKey("UserId")] [InverseProperty("ComWishlists")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CommunityFriend.cs b/Migration.Toolkit.K11/Models/CommunityFriend.cs index 1853672a..8588e9ef 100644 --- a/Migration.Toolkit.K11/Models/CommunityFriend.cs +++ b/Migration.Toolkit.K11/Models/CommunityFriend.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class CommunityFriend [ForeignKey("FriendUserId")] [InverseProperty("CommunityFriendFriendUsers")] public virtual CmsUser FriendUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CommunityGroup.cs b/Migration.Toolkit.K11/Models/CommunityGroup.cs index 38948680..2ae90de6 100644 --- a/Migration.Toolkit.K11/Models/CommunityGroup.cs +++ b/Migration.Toolkit.K11/Models/CommunityGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -107,4 +107,4 @@ public partial class CommunityGroup [InverseProperty("PollGroup")] public virtual ICollection PollsPolls { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CommunityGroupMember.cs b/Migration.Toolkit.K11/Models/CommunityGroupMember.cs index 04f5623f..80121e3e 100644 --- a/Migration.Toolkit.K11/Models/CommunityGroupMember.cs +++ b/Migration.Toolkit.K11/Models/CommunityGroupMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class CommunityGroupMember [ForeignKey("MemberUserId")] [InverseProperty("CommunityGroupMemberMemberUsers")] public virtual CmsUser MemberUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CommunityGroupRolePermission.cs b/Migration.Toolkit.K11/Models/CommunityGroupRolePermission.cs index 478d7935..a59e8164 100644 --- a/Migration.Toolkit.K11/Models/CommunityGroupRolePermission.cs +++ b/Migration.Toolkit.K11/Models/CommunityGroupRolePermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CommunityGroupRolePermission [ForeignKey("RoleId")] [InverseProperty("CommunityGroupRolePermissions")] public virtual CmsRole Role { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CommunityInvitation.cs b/Migration.Toolkit.K11/Models/CommunityInvitation.cs index 307a7f78..4d10fb69 100644 --- a/Migration.Toolkit.K11/Models/CommunityInvitation.cs +++ b/Migration.Toolkit.K11/Models/CommunityInvitation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class CommunityInvitation [ForeignKey("InvitedUserId")] [InverseProperty("CommunityInvitationInvitedUsers")] public virtual CmsUser? InvitedUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentArticle.cs b/Migration.Toolkit.K11/Models/ContentArticle.cs index 2330ddaa..cd55cb13 100644 --- a/Migration.Toolkit.K11/Models/ContentArticle.cs +++ b/Migration.Toolkit.K11/Models/ContentArticle.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class ContentArticle public Guid? ArticleTeaserImage { get; set; } public string? ArticleText { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentBlog.cs b/Migration.Toolkit.K11/Models/ContentBlog.cs index dcfb24cb..2d7cc0d5 100644 --- a/Migration.Toolkit.K11/Models/ContentBlog.cs +++ b/Migration.Toolkit.K11/Models/ContentBlog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class ContentBlog [Column("BlogOptInApprovalURL")] [StringLength(450)] public string? BlogOptInApprovalUrl { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentBlogMonth.cs b/Migration.Toolkit.K11/Models/ContentBlogMonth.cs index 8dc15b15..ab42bd56 100644 --- a/Migration.Toolkit.K11/Models/ContentBlogMonth.cs +++ b/Migration.Toolkit.K11/Models/ContentBlogMonth.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class ContentBlogMonth public string BlogMonthName { get; set; } = null!; public DateTime BlogMonthStartingDate { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentBlogPost.cs b/Migration.Toolkit.K11/Models/ContentBlogPost.cs index a47e314b..e9d6dc9c 100644 --- a/Migration.Toolkit.K11/Models/ContentBlogPost.cs +++ b/Migration.Toolkit.K11/Models/ContentBlogPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ContentBlogPost [StringLength(200)] public string? LinkedInAutoPost { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentBookingEvent.cs b/Migration.Toolkit.K11/Models/ContentBookingEvent.cs index 9f86e52d..230e2200 100644 --- a/Migration.Toolkit.K11/Models/ContentBookingEvent.cs +++ b/Migration.Toolkit.K11/Models/ContentBookingEvent.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ContentBookingEvent public DateTime? EventOpenTo { get; set; } public bool? EventLogActivity { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentCellphone.cs b/Migration.Toolkit.K11/Models/ContentCellphone.cs index 60dcdda0..6102bf8d 100644 --- a/Migration.Toolkit.K11/Models/ContentCellphone.cs +++ b/Migration.Toolkit.K11/Models/ContentCellphone.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class ContentCellphone [Column("CellMP3")] public bool? CellMp3 { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentEbook.cs b/Migration.Toolkit.K11/Models/ContentEbook.cs index 328df3e8..d404212a 100644 --- a/Migration.Toolkit.K11/Models/ContentEbook.cs +++ b/Migration.Toolkit.K11/Models/ContentEbook.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class ContentEbook [StringLength(100)] public string? BookFormat { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentEvent.cs b/Migration.Toolkit.K11/Models/ContentEvent.cs index 99bf4180..10f367e8 100644 --- a/Migration.Toolkit.K11/Models/ContentEvent.cs +++ b/Migration.Toolkit.K11/Models/ContentEvent.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class ContentEvent public string? EventLocation { get; set; } public DateTime? EventDate { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentFaq.cs b/Migration.Toolkit.K11/Models/ContentFaq.cs index f32d0ccd..06998d28 100644 --- a/Migration.Toolkit.K11/Models/ContentFaq.cs +++ b/Migration.Toolkit.K11/Models/ContentFaq.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -19,4 +19,4 @@ public partial class ContentFaq [Column("FAQAnswer")] public string Faqanswer { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentFile.cs b/Migration.Toolkit.K11/Models/ContentFile.cs index 341ab357..5c6c3948 100644 --- a/Migration.Toolkit.K11/Models/ContentFile.cs +++ b/Migration.Toolkit.K11/Models/ContentFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class ContentFile public string FileName { get; set; } = null!; public Guid? FileAttachment { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentHeadlineBanner.cs b/Migration.Toolkit.K11/Models/ContentHeadlineBanner.cs index 48cde3ef..164dc3c5 100644 --- a/Migration.Toolkit.K11/Models/ContentHeadlineBanner.cs +++ b/Migration.Toolkit.K11/Models/ContentHeadlineBanner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class ContentHeadlineBanner [StringLength(300)] public string HeadlineBannerDocumentUrl { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentImageGallery.cs b/Migration.Toolkit.K11/Models/ContentImageGallery.cs index 6f0237ec..5caf81b1 100644 --- a/Migration.Toolkit.K11/Models/ContentImageGallery.cs +++ b/Migration.Toolkit.K11/Models/ContentImageGallery.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -19,4 +19,4 @@ public partial class ContentImageGallery public string? GalleryDescription { get; set; } public Guid? GalleryTeaserImage { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentJob.cs b/Migration.Toolkit.K11/Models/ContentJob.cs index cd9b5952..a2003187 100644 --- a/Migration.Toolkit.K11/Models/ContentJob.cs +++ b/Migration.Toolkit.K11/Models/ContentJob.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class ContentJob public string? JobContact { get; set; } public Guid? JobAttachment { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentKbarticle.cs b/Migration.Toolkit.K11/Models/ContentKbarticle.cs index 522a79d4..dca6f4be 100644 --- a/Migration.Toolkit.K11/Models/ContentKbarticle.cs +++ b/Migration.Toolkit.K11/Models/ContentKbarticle.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class ContentKbarticle public string ArticleText { get; set; } = null!; public string? ArticleSeeAlso { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentLaptop.cs b/Migration.Toolkit.K11/Models/ContentLaptop.cs index 76aa4b5a..e445ae84 100644 --- a/Migration.Toolkit.K11/Models/ContentLaptop.cs +++ b/Migration.Toolkit.K11/Models/ContentLaptop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class ContentLaptop public string? LaptopAccessories { get; set; } public double? LaptopWeight { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentMenuItem.cs b/Migration.Toolkit.K11/Models/ContentMenuItem.cs index f51f33e4..77408d5e 100644 --- a/Migration.Toolkit.K11/Models/ContentMenuItem.cs +++ b/Migration.Toolkit.K11/Models/ContentMenuItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class ContentMenuItem [StringLength(100)] public string? MenuItemGroup { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentNews.cs b/Migration.Toolkit.K11/Models/ContentNews.cs index 3f2b6bff..53ca34e2 100644 --- a/Migration.Toolkit.K11/Models/ContentNews.cs +++ b/Migration.Toolkit.K11/Models/ContentNews.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class ContentNews public string? NewsText { get; set; } public Guid? NewsTeaser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentOffice.cs b/Migration.Toolkit.K11/Models/ContentOffice.cs index 678f3b2e..94501925 100644 --- a/Migration.Toolkit.K11/Models/ContentOffice.cs +++ b/Migration.Toolkit.K11/Models/ContentOffice.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class ContentOffice [Column("OfficeIconURL")] [StringLength(200)] public string? OfficeIconUrl { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentPressRelease.cs b/Migration.Toolkit.K11/Models/ContentPressRelease.cs index 4463f5b2..1996a5ac 100644 --- a/Migration.Toolkit.K11/Models/ContentPressRelease.cs +++ b/Migration.Toolkit.K11/Models/ContentPressRelease.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class ContentPressRelease public string? PressReleaseAbout { get; set; } public string? PressReleaseTrademarks { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentProduct.cs b/Migration.Toolkit.K11/Models/ContentProduct.cs index 690acca2..0efca9a2 100644 --- a/Migration.Toolkit.K11/Models/ContentProduct.cs +++ b/Migration.Toolkit.K11/Models/ContentProduct.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -15,4 +15,4 @@ public partial class ContentProduct [StringLength(440)] public string? ProductName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentSimpleArticle.cs b/Migration.Toolkit.K11/Models/ContentSimpleArticle.cs index 7e9250d5..29ff8652 100644 --- a/Migration.Toolkit.K11/Models/ContentSimpleArticle.cs +++ b/Migration.Toolkit.K11/Models/ContentSimpleArticle.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class ContentSimpleArticle public string ArticleTitle { get; set; } = null!; public string ArticleText { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentSmartphone.cs b/Migration.Toolkit.K11/Models/ContentSmartphone.cs index 83fe2b14..aa856386 100644 --- a/Migration.Toolkit.K11/Models/ContentSmartphone.cs +++ b/Migration.Toolkit.K11/Models/ContentSmartphone.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class ContentSmartphone [Column("SmartphoneGPS")] public bool? SmartphoneGps { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ContentSoftware.cs b/Migration.Toolkit.K11/Models/ContentSoftware.cs index 6f9969c1..8b529f75 100644 --- a/Migration.Toolkit.K11/Models/ContentSoftware.cs +++ b/Migration.Toolkit.K11/Models/ContentSoftware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class ContentSoftware [StringLength(100)] public string? SoftwareLanguage { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/CustomtableSampleTable.cs b/Migration.Toolkit.K11/Models/CustomtableSampleTable.cs index 64c1c7da..e0f81448 100644 --- a/Migration.Toolkit.K11/Models/CustomtableSampleTable.cs +++ b/Migration.Toolkit.K11/Models/CustomtableSampleTable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CustomtableSampleTable [Column("ItemGUID")] public Guid ItemGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatArticle.cs b/Migration.Toolkit.K11/Models/DancingGoatArticle.cs index 9695b2ee..0a9254bd 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatArticle.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatArticle.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -22,4 +22,4 @@ public partial class DancingGoatArticle public string ArticleSummary { get; set; } = null!; public string ArticleText { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatBrewer.cs b/Migration.Toolkit.K11/Models/DancingGoatBrewer.cs index 8666c89a..2d67da7c 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatBrewer.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatBrewer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class DancingGoatBrewer [StringLength(200)] public string? BrewerBannerText { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatCafe.cs b/Migration.Toolkit.K11/Models/DancingGoatCafe.cs index 98649d5e..bcb9a546 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatCafe.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatCafe.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class DancingGoatCafe [StringLength(50)] public string? CafeName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatCity.cs b/Migration.Toolkit.K11/Models/DancingGoatCity.cs index bbf1ccc9..9a02544e 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatCity.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatCity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -18,4 +18,4 @@ public partial class DancingGoatCity [StringLength(100)] public string? CityCountry { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatCoffee.cs b/Migration.Toolkit.K11/Models/DancingGoatCoffee.cs index ea19f9bc..112be386 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatCoffee.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatCoffee.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class DancingGoatCoffee [StringLength(200)] public string? CoffeeBannerText { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatEbook.cs b/Migration.Toolkit.K11/Models/DancingGoatEbook.cs index d3eb8725..b792aa7d 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatEbook.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatEbook.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -19,4 +19,4 @@ public partial class DancingGoatEbook [Column("EbookISBN")] [StringLength(200)] public string? EbookIsbn { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatElectricGrinder.cs b/Migration.Toolkit.K11/Models/DancingGoatElectricGrinder.cs index 6bdd1951..566c006d 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatElectricGrinder.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatElectricGrinder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class DancingGoatElectricGrinder [StringLength(200)] public string? ElectricGrinderBannerText { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatFilterPack.cs b/Migration.Toolkit.K11/Models/DancingGoatFilterPack.cs index f0fd3ba9..4b7c60d3 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatFilterPack.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatFilterPack.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class DancingGoatFilterPack [StringLength(200)] public string? FilterBannerText { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatGrinder.cs b/Migration.Toolkit.K11/Models/DancingGoatGrinder.cs index 7a434db2..2e9b43ad 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatGrinder.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatGrinder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class DancingGoatGrinder [StringLength(200)] public string? GrinderBannerText { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatMembership.cs b/Migration.Toolkit.K11/Models/DancingGoatMembership.cs index b2dd333a..d9ceccf9 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatMembership.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatMembership.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class DancingGoatMembership [StringLength(200)] public string? MembershipBannerText { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatOffice.cs b/Migration.Toolkit.K11/Models/DancingGoatOffice.cs index 40786059..0c2ec32d 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatOffice.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatOffice.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class DancingGoatOffice [StringLength(200)] public string OfficeEmail { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatPartnerCafe.cs b/Migration.Toolkit.K11/Models/DancingGoatPartnerCafe.cs index 67211130..57b039da 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatPartnerCafe.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatPartnerCafe.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class DancingGoatPartnerCafe [StringLength(20)] public string? PartnerCafePhone { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/DancingGoatTableware.cs b/Migration.Toolkit.K11/Models/DancingGoatTableware.cs index 8b187c9a..4906d0ec 100644 --- a/Migration.Toolkit.K11/Models/DancingGoatTableware.cs +++ b/Migration.Toolkit.K11/Models/DancingGoatTableware.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class DancingGoatTableware [StringLength(200)] public string? TablewareBannerText { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/EcommerceCheckoutStep.cs b/Migration.Toolkit.K11/Models/EcommerceCheckoutStep.cs index 6c0575fb..5479c6d5 100644 --- a/Migration.Toolkit.K11/Models/EcommerceCheckoutStep.cs +++ b/Migration.Toolkit.K11/Models/EcommerceCheckoutStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -15,4 +15,4 @@ public partial class EcommerceCheckoutStep [StringLength(1000)] public string StepName { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/EcommerceCheckoutWizard.cs b/Migration.Toolkit.K11/Models/EcommerceCheckoutWizard.cs index c9ac9fff..99fc1275 100644 --- a/Migration.Toolkit.K11/Models/EcommerceCheckoutWizard.cs +++ b/Migration.Toolkit.K11/Models/EcommerceCheckoutWizard.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -15,4 +15,4 @@ public partial class EcommerceCheckoutWizard [StringLength(1000)] public string? WizardName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/EventsAttendee.cs b/Migration.Toolkit.K11/Models/EventsAttendee.cs index d523bee4..8ae526c4 100644 --- a/Migration.Toolkit.K11/Models/EventsAttendee.cs +++ b/Migration.Toolkit.K11/Models/EventsAttendee.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class EventsAttendee [ForeignKey("AttendeeEventNodeId")] [InverseProperty("EventsAttendees")] public virtual CmsTree AttendeeEventNode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ExportHistory.cs b/Migration.Toolkit.K11/Models/ExportHistory.cs index c2248bf9..19b1f358 100644 --- a/Migration.Toolkit.K11/Models/ExportHistory.cs +++ b/Migration.Toolkit.K11/Models/ExportHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ExportHistory [ForeignKey("ExportUserId")] [InverseProperty("ExportHistories")] public virtual CmsUser? ExportUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ExportTask.cs b/Migration.Toolkit.K11/Models/ExportTask.cs index ba619755..1ac098bf 100644 --- a/Migration.Toolkit.K11/Models/ExportTask.cs +++ b/Migration.Toolkit.K11/Models/ExportTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ExportTask [ForeignKey("TaskSiteId")] [InverseProperty("ExportTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/FormContactU.cs b/Migration.Toolkit.K11/Models/FormContactU.cs index 7b443173..826e8b16 100644 --- a/Migration.Toolkit.K11/Models/FormContactU.cs +++ b/Migration.Toolkit.K11/Models/FormContactU.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class FormContactU public string PhoneNumber { get; set; } = null!; public string Message { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/FormDancingGoatBusinessCustomerRegistration.cs b/Migration.Toolkit.K11/Models/FormDancingGoatBusinessCustomerRegistration.cs index b9fa7cb4..8d64ac6c 100644 --- a/Migration.Toolkit.K11/Models/FormDancingGoatBusinessCustomerRegistration.cs +++ b/Migration.Toolkit.K11/Models/FormDancingGoatBusinessCustomerRegistration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class FormDancingGoatBusinessCustomerRegistration [Precision(0)] public DateTime FormUpdated { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/FormDancingGoatContactU.cs b/Migration.Toolkit.K11/Models/FormDancingGoatContactU.cs index e7e7bb95..d0a19e3f 100644 --- a/Migration.Toolkit.K11/Models/FormDancingGoatContactU.cs +++ b/Migration.Toolkit.K11/Models/FormDancingGoatContactU.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class FormDancingGoatContactU [Precision(0)] public DateTime FormUpdated { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/FormDancingGoatMachineRental.cs b/Migration.Toolkit.K11/Models/FormDancingGoatMachineRental.cs index 344ca7bb..873dd775 100644 --- a/Migration.Toolkit.K11/Models/FormDancingGoatMachineRental.cs +++ b/Migration.Toolkit.K11/Models/FormDancingGoatMachineRental.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class FormDancingGoatMachineRental [Precision(0)] public DateTime FormUpdated { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/FormDancingGoatTryFreeSample.cs b/Migration.Toolkit.K11/Models/FormDancingGoatTryFreeSample.cs index e7dd275a..244ccfc7 100644 --- a/Migration.Toolkit.K11/Models/FormDancingGoatTryFreeSample.cs +++ b/Migration.Toolkit.K11/Models/FormDancingGoatTryFreeSample.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class FormDancingGoatTryFreeSample [StringLength(500)] public string? State { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/FormEcommerceSiteGeneralQuestion.cs b/Migration.Toolkit.K11/Models/FormEcommerceSiteGeneralQuestion.cs index 67e09a5c..06361fe3 100644 --- a/Migration.Toolkit.K11/Models/FormEcommerceSiteGeneralQuestion.cs +++ b/Migration.Toolkit.K11/Models/FormEcommerceSiteGeneralQuestion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class FormEcommerceSiteGeneralQuestion public DateTime FormInserted { get; set; } public DateTime FormUpdated { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/FormEcommerceSiteProductQuestion.cs b/Migration.Toolkit.K11/Models/FormEcommerceSiteProductQuestion.cs index b774dded..c72ef3e4 100644 --- a/Migration.Toolkit.K11/Models/FormEcommerceSiteProductQuestion.cs +++ b/Migration.Toolkit.K11/Models/FormEcommerceSiteProductQuestion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class FormEcommerceSiteProductQuestion public DateTime FormInserted { get; set; } public DateTime FormUpdated { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ForumsAttachment.cs b/Migration.Toolkit.K11/Models/ForumsAttachment.cs index a052dde7..1803d115 100644 --- a/Migration.Toolkit.K11/Models/ForumsAttachment.cs +++ b/Migration.Toolkit.K11/Models/ForumsAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class ForumsAttachment [ForeignKey("AttachmentSiteId")] [InverseProperty("ForumsAttachments")] public virtual CmsSite AttachmentSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ForumsForum.cs b/Migration.Toolkit.K11/Models/ForumsForum.cs index eafb591e..97406619 100644 --- a/Migration.Toolkit.K11/Models/ForumsForum.cs +++ b/Migration.Toolkit.K11/Models/ForumsForum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -144,4 +144,4 @@ public partial class ForumsForum [ForeignKey("ForumId")] [InverseProperty("Forums")] public virtual ICollection Users { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ForumsForumGroup.cs b/Migration.Toolkit.K11/Models/ForumsForumGroup.cs index c6b1a1c8..11f2b00c 100644 --- a/Migration.Toolkit.K11/Models/ForumsForumGroup.cs +++ b/Migration.Toolkit.K11/Models/ForumsForumGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -86,4 +86,4 @@ public partial class ForumsForumGroup [ForeignKey("GroupSiteId")] [InverseProperty("ForumsForumGroups")] public virtual CmsSite GroupSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ForumsForumPost.cs b/Migration.Toolkit.K11/Models/ForumsForumPost.cs index 55d429ec..b4a67e6e 100644 --- a/Migration.Toolkit.K11/Models/ForumsForumPost.cs +++ b/Migration.Toolkit.K11/Models/ForumsForumPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -121,4 +121,4 @@ public partial class ForumsForumPost [ForeignKey("PostUserId")] [InverseProperty("ForumsForumPostPostUsers")] public virtual CmsUser? PostUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ForumsForumRole.cs b/Migration.Toolkit.K11/Models/ForumsForumRole.cs index fd2890e4..00ce1c47 100644 --- a/Migration.Toolkit.K11/Models/ForumsForumRole.cs +++ b/Migration.Toolkit.K11/Models/ForumsForumRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ForumsForumRole [ForeignKey("RoleId")] [InverseProperty("ForumsForumRoles")] public virtual CmsRole Role { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ForumsForumSubscription.cs b/Migration.Toolkit.K11/Models/ForumsForumSubscription.cs index dfc65a19..99df4720 100644 --- a/Migration.Toolkit.K11/Models/ForumsForumSubscription.cs +++ b/Migration.Toolkit.K11/Models/ForumsForumSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ForumsForumSubscription [ForeignKey("SubscriptionUserId")] [InverseProperty("ForumsForumSubscriptions")] public virtual CmsUser? SubscriptionUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ForumsUserFavorite.cs b/Migration.Toolkit.K11/Models/ForumsUserFavorite.cs index 2915aedf..1b23f615 100644 --- a/Migration.Toolkit.K11/Models/ForumsUserFavorite.cs +++ b/Migration.Toolkit.K11/Models/ForumsUserFavorite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class ForumsUserFavorite [ForeignKey("UserId")] [InverseProperty("ForumsUserFavorites")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/IntegrationConnector.cs b/Migration.Toolkit.K11/Models/IntegrationConnector.cs index b587e9df..6f8dabf5 100644 --- a/Migration.Toolkit.K11/Models/IntegrationConnector.cs +++ b/Migration.Toolkit.K11/Models/IntegrationConnector.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class IntegrationConnector [InverseProperty("SynchronizationConnector")] public virtual ICollection IntegrationSynchronizations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/IntegrationSyncLog.cs b/Migration.Toolkit.K11/Models/IntegrationSyncLog.cs index 8b84fb48..1ffe1dcd 100644 --- a/Migration.Toolkit.K11/Models/IntegrationSyncLog.cs +++ b/Migration.Toolkit.K11/Models/IntegrationSyncLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class IntegrationSyncLog [ForeignKey("SyncLogSynchronizationId")] [InverseProperty("IntegrationSyncLogs")] public virtual IntegrationSynchronization SyncLogSynchronization { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/IntegrationSynchronization.cs b/Migration.Toolkit.K11/Models/IntegrationSynchronization.cs index 7d91eb5a..bf524744 100644 --- a/Migration.Toolkit.K11/Models/IntegrationSynchronization.cs +++ b/Migration.Toolkit.K11/Models/IntegrationSynchronization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class IntegrationSynchronization [ForeignKey("SynchronizationTaskId")] [InverseProperty("IntegrationSynchronizations")] public virtual IntegrationTask SynchronizationTask { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/IntegrationTask.cs b/Migration.Toolkit.K11/Models/IntegrationTask.cs index 25c12395..c5f3cf35 100644 --- a/Migration.Toolkit.K11/Models/IntegrationTask.cs +++ b/Migration.Toolkit.K11/Models/IntegrationTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class IntegrationTask [ForeignKey("TaskSiteId")] [InverseProperty("IntegrationTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/IntranetPortalDepartment.cs b/Migration.Toolkit.K11/Models/IntranetPortalDepartment.cs index 5abce3a9..83870309 100644 --- a/Migration.Toolkit.K11/Models/IntranetPortalDepartment.cs +++ b/Migration.Toolkit.K11/Models/IntranetPortalDepartment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class IntranetPortalDepartment [StringLength(100)] public string? DepartmentRoles { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/IntranetPortalWorkingEnvironment.cs b/Migration.Toolkit.K11/Models/IntranetPortalWorkingEnvironment.cs index 887ac15c..f36c76ec 100644 --- a/Migration.Toolkit.K11/Models/IntranetPortalWorkingEnvironment.cs +++ b/Migration.Toolkit.K11/Models/IntranetPortalWorkingEnvironment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class IntranetPortalWorkingEnvironment public string OfficeSatisfaction { get; set; } = null!; public string? Suggestions { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/MediaFile.cs b/Migration.Toolkit.K11/Models/MediaFile.cs index 5d6652ba..95b84a59 100644 --- a/Migration.Toolkit.K11/Models/MediaFile.cs +++ b/Migration.Toolkit.K11/Models/MediaFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -75,4 +75,4 @@ public partial class MediaFile [ForeignKey("FileSiteId")] [InverseProperty("MediaFiles")] public virtual CmsSite FileSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/MediaLibrary.cs b/Migration.Toolkit.K11/Models/MediaLibrary.cs index c86a38c0..490986c3 100644 --- a/Migration.Toolkit.K11/Models/MediaLibrary.cs +++ b/Migration.Toolkit.K11/Models/MediaLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class MediaLibrary [InverseProperty("Library")] public virtual ICollection MediaLibraryRolePermissions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/MediaLibraryRolePermission.cs b/Migration.Toolkit.K11/Models/MediaLibraryRolePermission.cs index 7753c6bc..d2ed0ee5 100644 --- a/Migration.Toolkit.K11/Models/MediaLibraryRolePermission.cs +++ b/Migration.Toolkit.K11/Models/MediaLibraryRolePermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class MediaLibraryRolePermission [ForeignKey("RoleId")] [InverseProperty("MediaLibraryRolePermissions")] public virtual CmsRole Role { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/MessagingMessage.cs b/Migration.Toolkit.K11/Models/MessagingMessage.cs index b88c7222..b042e6db 100644 --- a/Migration.Toolkit.K11/Models/MessagingMessage.cs +++ b/Migration.Toolkit.K11/Models/MessagingMessage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class MessagingMessage [ForeignKey("MessageSenderUserId")] [InverseProperty("MessagingMessageMessageSenderUsers")] public virtual CmsUser? MessageSenderUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterAbtest.cs b/Migration.Toolkit.K11/Models/NewsletterAbtest.cs index ff0ab3ad..4e99e007 100644 --- a/Migration.Toolkit.K11/Models/NewsletterAbtest.cs +++ b/Migration.Toolkit.K11/Models/NewsletterAbtest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class NewsletterAbtest [ForeignKey("TestWinnerScheduledTaskId")] [InverseProperty("NewsletterAbtests")] public virtual CmsScheduledTask? TestWinnerScheduledTask { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterClickedLink.cs b/Migration.Toolkit.K11/Models/NewsletterClickedLink.cs index 564eea55..81f5b8ff 100644 --- a/Migration.Toolkit.K11/Models/NewsletterClickedLink.cs +++ b/Migration.Toolkit.K11/Models/NewsletterClickedLink.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class NewsletterClickedLink [ForeignKey("ClickedLinkNewsletterLinkId")] [InverseProperty("NewsletterClickedLinks")] public virtual NewsletterLink ClickedLinkNewsletterLink { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterEmail.cs b/Migration.Toolkit.K11/Models/NewsletterEmail.cs index 201b595a..850fc920 100644 --- a/Migration.Toolkit.K11/Models/NewsletterEmail.cs +++ b/Migration.Toolkit.K11/Models/NewsletterEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class NewsletterEmail [ForeignKey("EmailSubscriberId")] [InverseProperty("NewsletterEmails")] public virtual NewsletterSubscriber? EmailSubscriber { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterEmailTemplate.cs b/Migration.Toolkit.K11/Models/NewsletterEmailTemplate.cs index 8b2349a3..2cbb8c4e 100644 --- a/Migration.Toolkit.K11/Models/NewsletterEmailTemplate.cs +++ b/Migration.Toolkit.K11/Models/NewsletterEmailTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class NewsletterEmailTemplate [ForeignKey("TemplateId")] [InverseProperty("Templates")] public virtual ICollection Newsletters { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterEmailWidget.cs b/Migration.Toolkit.K11/Models/NewsletterEmailWidget.cs index deee907e..3f4ca57c 100644 --- a/Migration.Toolkit.K11/Models/NewsletterEmailWidget.cs +++ b/Migration.Toolkit.K11/Models/NewsletterEmailWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class NewsletterEmailWidget [InverseProperty("EmailWidget")] public virtual ICollection NewsletterEmailWidgetTemplates { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterEmailWidgetTemplate.cs b/Migration.Toolkit.K11/Models/NewsletterEmailWidgetTemplate.cs index 5485c76b..c38baf2b 100644 --- a/Migration.Toolkit.K11/Models/NewsletterEmailWidgetTemplate.cs +++ b/Migration.Toolkit.K11/Models/NewsletterEmailWidgetTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class NewsletterEmailWidgetTemplate [ForeignKey("TemplateId")] [InverseProperty("NewsletterEmailWidgetTemplates")] public virtual NewsletterEmailTemplate Template { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterIssueContactGroup.cs b/Migration.Toolkit.K11/Models/NewsletterIssueContactGroup.cs index 926941e9..d809036f 100644 --- a/Migration.Toolkit.K11/Models/NewsletterIssueContactGroup.cs +++ b/Migration.Toolkit.K11/Models/NewsletterIssueContactGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class NewsletterIssueContactGroup [ForeignKey("ContactGroupId")] [InverseProperty("NewsletterIssueContactGroups")] public virtual OmContactGroup ContactGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterLink.cs b/Migration.Toolkit.K11/Models/NewsletterLink.cs index 7347ae87..461cbb76 100644 --- a/Migration.Toolkit.K11/Models/NewsletterLink.cs +++ b/Migration.Toolkit.K11/Models/NewsletterLink.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class NewsletterLink [InverseProperty("ClickedLinkNewsletterLink")] public virtual ICollection NewsletterClickedLinks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterNewsletter.cs b/Migration.Toolkit.K11/Models/NewsletterNewsletter.cs index 23b689ac..e036499b 100644 --- a/Migration.Toolkit.K11/Models/NewsletterNewsletter.cs +++ b/Migration.Toolkit.K11/Models/NewsletterNewsletter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -113,4 +113,4 @@ public partial class NewsletterNewsletter [ForeignKey("NewsletterId")] [InverseProperty("Newsletters")] public virtual ICollection Templates { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterNewsletterIssue.cs b/Migration.Toolkit.K11/Models/NewsletterNewsletterIssue.cs index d2b7258c..7618706c 100644 --- a/Migration.Toolkit.K11/Models/NewsletterNewsletterIssue.cs +++ b/Migration.Toolkit.K11/Models/NewsletterNewsletterIssue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -123,4 +123,4 @@ public partial class NewsletterNewsletterIssue [InverseProperty("UnsubscriptionFromIssue")] public virtual ICollection NewsletterUnsubscriptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterOpenedEmail.cs b/Migration.Toolkit.K11/Models/NewsletterOpenedEmail.cs index 121b8e38..f1799e18 100644 --- a/Migration.Toolkit.K11/Models/NewsletterOpenedEmail.cs +++ b/Migration.Toolkit.K11/Models/NewsletterOpenedEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class NewsletterOpenedEmail [ForeignKey("OpenedEmailIssueId")] [InverseProperty("NewsletterOpenedEmails")] public virtual NewsletterNewsletterIssue OpenedEmailIssue { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterSubscriber.cs b/Migration.Toolkit.K11/Models/NewsletterSubscriber.cs index 2a7aa84f..c2d2d7a3 100644 --- a/Migration.Toolkit.K11/Models/NewsletterSubscriber.cs +++ b/Migration.Toolkit.K11/Models/NewsletterSubscriber.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class NewsletterSubscriber [ForeignKey("SubscriberSiteId")] [InverseProperty("NewsletterSubscribers")] public virtual CmsSite SubscriberSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterSubscriberNewsletter.cs b/Migration.Toolkit.K11/Models/NewsletterSubscriberNewsletter.cs index edd3aa78..81ed420e 100644 --- a/Migration.Toolkit.K11/Models/NewsletterSubscriberNewsletter.cs +++ b/Migration.Toolkit.K11/Models/NewsletterSubscriberNewsletter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class NewsletterSubscriberNewsletter [ForeignKey("SubscriberId")] [InverseProperty("NewsletterSubscriberNewsletters")] public virtual NewsletterSubscriber Subscriber { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NewsletterUnsubscription.cs b/Migration.Toolkit.K11/Models/NewsletterUnsubscription.cs index 1fc92b2f..8c98e31e 100644 --- a/Migration.Toolkit.K11/Models/NewsletterUnsubscription.cs +++ b/Migration.Toolkit.K11/Models/NewsletterUnsubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class NewsletterUnsubscription [ForeignKey("UnsubscriptionNewsletterId")] [InverseProperty("NewsletterUnsubscriptions")] public virtual NewsletterNewsletter? UnsubscriptionNewsletter { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NotificationGateway.cs b/Migration.Toolkit.K11/Models/NotificationGateway.cs index 6624f5cd..811e3dad 100644 --- a/Migration.Toolkit.K11/Models/NotificationGateway.cs +++ b/Migration.Toolkit.K11/Models/NotificationGateway.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class NotificationGateway [InverseProperty("Gateway")] public virtual ICollection NotificationTemplateTexts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NotificationSubscription.cs b/Migration.Toolkit.K11/Models/NotificationSubscription.cs index 4b1b4bf7..4ad919e9 100644 --- a/Migration.Toolkit.K11/Models/NotificationSubscription.cs +++ b/Migration.Toolkit.K11/Models/NotificationSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -74,4 +74,4 @@ public partial class NotificationSubscription [ForeignKey("SubscriptionUserId")] [InverseProperty("NotificationSubscriptions")] public virtual CmsUser SubscriptionUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NotificationTemplate.cs b/Migration.Toolkit.K11/Models/NotificationTemplate.cs index 1840fe3e..ba755284 100644 --- a/Migration.Toolkit.K11/Models/NotificationTemplate.cs +++ b/Migration.Toolkit.K11/Models/NotificationTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class NotificationTemplate [ForeignKey("TemplateSiteId")] [InverseProperty("NotificationTemplates")] public virtual CmsSite? TemplateSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/NotificationTemplateText.cs b/Migration.Toolkit.K11/Models/NotificationTemplateText.cs index 1bd2e6c7..f8a6f03c 100644 --- a/Migration.Toolkit.K11/Models/NotificationTemplateText.cs +++ b/Migration.Toolkit.K11/Models/NotificationTemplateText.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class NotificationTemplateText [ForeignKey("TemplateId")] [InverseProperty("NotificationTemplateTexts")] public virtual NotificationTemplate Template { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmAbtest.cs b/Migration.Toolkit.K11/Models/OmAbtest.cs index 8cbece62..cfc5adfe 100644 --- a/Migration.Toolkit.K11/Models/OmAbtest.cs +++ b/Migration.Toolkit.K11/Models/OmAbtest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class OmAbtest [InverseProperty("AbvariantTest")] public virtual ICollection OmAbvariants { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmAbvariant.cs b/Migration.Toolkit.K11/Models/OmAbvariant.cs index dec3fd1e..325071b9 100644 --- a/Migration.Toolkit.K11/Models/OmAbvariant.cs +++ b/Migration.Toolkit.K11/Models/OmAbvariant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class OmAbvariant [ForeignKey("AbvariantTestId")] [InverseProperty("OmAbvariants")] public virtual OmAbtest AbvariantTest { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmAccount.cs b/Migration.Toolkit.K11/Models/OmAccount.cs index 5afdc04b..5e2e1030 100644 --- a/Migration.Toolkit.K11/Models/OmAccount.cs +++ b/Migration.Toolkit.K11/Models/OmAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -111,4 +111,4 @@ public partial class OmAccount [InverseProperty("Account")] public virtual ICollection OmAccountContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmAccountContact.cs b/Migration.Toolkit.K11/Models/OmAccountContact.cs index c7fa133d..bfd9c3b6 100644 --- a/Migration.Toolkit.K11/Models/OmAccountContact.cs +++ b/Migration.Toolkit.K11/Models/OmAccountContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class OmAccountContact [ForeignKey("ContactRoleId")] [InverseProperty("OmAccountContacts")] public virtual OmContactRole? ContactRole { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmAccountStatus.cs b/Migration.Toolkit.K11/Models/OmAccountStatus.cs index f2797792..a2853f35 100644 --- a/Migration.Toolkit.K11/Models/OmAccountStatus.cs +++ b/Migration.Toolkit.K11/Models/OmAccountStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmAccountStatus [InverseProperty("AccountStatus")] public virtual ICollection OmAccounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmActivity.cs b/Migration.Toolkit.K11/Models/OmActivity.cs index 4567ca18..fdbfd9e2 100644 --- a/Migration.Toolkit.K11/Models/OmActivity.cs +++ b/Migration.Toolkit.K11/Models/OmActivity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -76,4 +76,4 @@ public partial class OmActivity [Column("ActivityUTMContent")] [StringLength(200)] public string? ActivityUtmcontent { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmActivityRecalculationQueue.cs b/Migration.Toolkit.K11/Models/OmActivityRecalculationQueue.cs index bb5442ba..5ebdecda 100644 --- a/Migration.Toolkit.K11/Models/OmActivityRecalculationQueue.cs +++ b/Migration.Toolkit.K11/Models/OmActivityRecalculationQueue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -15,4 +15,4 @@ public partial class OmActivityRecalculationQueue [Column("ActivityRecalculationQueueActivityID")] public int ActivityRecalculationQueueActivityId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmActivityType.cs b/Migration.Toolkit.K11/Models/OmActivityType.cs index 5b8b63c5..573c0061 100644 --- a/Migration.Toolkit.K11/Models/OmActivityType.cs +++ b/Migration.Toolkit.K11/Models/OmActivityType.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class OmActivityType [StringLength(7)] public string? ActivityTypeColor { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmContact.cs b/Migration.Toolkit.K11/Models/OmContact.cs index 9ce6f5a6..3e58b9c6 100644 --- a/Migration.Toolkit.K11/Models/OmContact.cs +++ b/Migration.Toolkit.K11/Models/OmContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -138,4 +138,4 @@ public partial class OmContact [InverseProperty("VisitorToContactContact")] public virtual ICollection OmVisitorToContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmContactChangeRecalculationQueue.cs b/Migration.Toolkit.K11/Models/OmContactChangeRecalculationQueue.cs index 4dddcfb5..ad09c441 100644 --- a/Migration.Toolkit.K11/Models/OmContactChangeRecalculationQueue.cs +++ b/Migration.Toolkit.K11/Models/OmContactChangeRecalculationQueue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class OmContactChangeRecalculationQueue public bool ContactChangeRecalculationQueueContactIsNew { get; set; } public bool ContactChangeRecalculationQueueContactWasMerged { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmContactGroup.cs b/Migration.Toolkit.K11/Models/OmContactGroup.cs index bbbe41fb..8177c987 100644 --- a/Migration.Toolkit.K11/Models/OmContactGroup.cs +++ b/Migration.Toolkit.K11/Models/OmContactGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class OmContactGroup [InverseProperty("ContactGroupMemberContactGroup")] public virtual ICollection OmContactGroupMembers { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmContactGroupMember.cs b/Migration.Toolkit.K11/Models/OmContactGroupMember.cs index 6f7b0e53..5d256f59 100644 --- a/Migration.Toolkit.K11/Models/OmContactGroupMember.cs +++ b/Migration.Toolkit.K11/Models/OmContactGroupMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class OmContactGroupMember [ForeignKey("ContactGroupMemberContactGroupId")] [InverseProperty("OmContactGroupMembers")] public virtual OmContactGroup ContactGroupMemberContactGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmContactRole.cs b/Migration.Toolkit.K11/Models/OmContactRole.cs index 630c55e0..11ba9454 100644 --- a/Migration.Toolkit.K11/Models/OmContactRole.cs +++ b/Migration.Toolkit.K11/Models/OmContactRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmContactRole [InverseProperty("ContactRole")] public virtual ICollection OmAccountContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmContactStatus.cs b/Migration.Toolkit.K11/Models/OmContactStatus.cs index 39b07e79..ea1d8fbd 100644 --- a/Migration.Toolkit.K11/Models/OmContactStatus.cs +++ b/Migration.Toolkit.K11/Models/OmContactStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmContactStatus [InverseProperty("ContactStatus")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmMembership.cs b/Migration.Toolkit.K11/Models/OmMembership.cs index 8ff4c41b..fc8e9fa8 100644 --- a/Migration.Toolkit.K11/Models/OmMembership.cs +++ b/Migration.Toolkit.K11/Models/OmMembership.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class OmMembership [ForeignKey("ContactId")] [InverseProperty("OmMemberships")] public virtual OmContact Contact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmMvtcombination.cs b/Migration.Toolkit.K11/Models/OmMvtcombination.cs index f9c29622..86a3a06a 100644 --- a/Migration.Toolkit.K11/Models/OmMvtcombination.cs +++ b/Migration.Toolkit.K11/Models/OmMvtcombination.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class OmMvtcombination [ForeignKey("MvtcombinationId")] [InverseProperty("Mvtcombinations")] public virtual ICollection Mvtvariants { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmMvtest.cs b/Migration.Toolkit.K11/Models/OmMvtest.cs index 9966bf22..7294d2be 100644 --- a/Migration.Toolkit.K11/Models/OmMvtest.cs +++ b/Migration.Toolkit.K11/Models/OmMvtest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -64,4 +64,4 @@ public partial class OmMvtest [ForeignKey("MvtestSiteId")] [InverseProperty("OmMvtests")] public virtual CmsSite MvtestSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmMvtvariant.cs b/Migration.Toolkit.K11/Models/OmMvtvariant.cs index c36d1047..0291c112 100644 --- a/Migration.Toolkit.K11/Models/OmMvtvariant.cs +++ b/Migration.Toolkit.K11/Models/OmMvtvariant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class OmMvtvariant [ForeignKey("MvtvariantId")] [InverseProperty("Mvtvariants")] public virtual ICollection Mvtcombinations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmPersonalizationVariant.cs b/Migration.Toolkit.K11/Models/OmPersonalizationVariant.cs index 39b8b090..6ec91844 100644 --- a/Migration.Toolkit.K11/Models/OmPersonalizationVariant.cs +++ b/Migration.Toolkit.K11/Models/OmPersonalizationVariant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class OmPersonalizationVariant [ForeignKey("VariantPageTemplateId")] [InverseProperty("OmPersonalizationVariants")] public virtual CmsPageTemplate VariantPageTemplate { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmRule.cs b/Migration.Toolkit.K11/Models/OmRule.cs index f0ff456d..5894eed3 100644 --- a/Migration.Toolkit.K11/Models/OmRule.cs +++ b/Migration.Toolkit.K11/Models/OmRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class OmRule [ForeignKey("RuleScoreId")] [InverseProperty("OmRules")] public virtual OmScore RuleScore { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmScore.cs b/Migration.Toolkit.K11/Models/OmScore.cs index 70370692..54bd3185 100644 --- a/Migration.Toolkit.K11/Models/OmScore.cs +++ b/Migration.Toolkit.K11/Models/OmScore.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class OmScore [InverseProperty("Score")] public virtual ICollection OmScoreContactRules { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmScoreContactRule.cs b/Migration.Toolkit.K11/Models/OmScoreContactRule.cs index fe645c1f..7b7105cf 100644 --- a/Migration.Toolkit.K11/Models/OmScoreContactRule.cs +++ b/Migration.Toolkit.K11/Models/OmScoreContactRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class OmScoreContactRule [ForeignKey("ScoreId")] [InverseProperty("OmScoreContactRules")] public virtual OmScore Score { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/OmVisitorToContact.cs b/Migration.Toolkit.K11/Models/OmVisitorToContact.cs index d50bbc66..84f3b233 100644 --- a/Migration.Toolkit.K11/Models/OmVisitorToContact.cs +++ b/Migration.Toolkit.K11/Models/OmVisitorToContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class OmVisitorToContact [ForeignKey("VisitorToContactContactId")] [InverseProperty("OmVisitorToContacts")] public virtual OmContact VisitorToContactContact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/PersonasPersona.cs b/Migration.Toolkit.K11/Models/PersonasPersona.cs index f22ad172..ecded82e 100644 --- a/Migration.Toolkit.K11/Models/PersonasPersona.cs +++ b/Migration.Toolkit.K11/Models/PersonasPersona.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class PersonasPersona [InverseProperty("PersonaContactHistoryPersona")] public virtual ICollection PersonasPersonaContactHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/PersonasPersonaContactHistory.cs b/Migration.Toolkit.K11/Models/PersonasPersonaContactHistory.cs index 0593f7e9..e8dd10ba 100644 --- a/Migration.Toolkit.K11/Models/PersonasPersonaContactHistory.cs +++ b/Migration.Toolkit.K11/Models/PersonasPersonaContactHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class PersonasPersonaContactHistory [ForeignKey("PersonaContactHistoryPersonaId")] [InverseProperty("PersonasPersonaContactHistories")] public virtual PersonasPersona? PersonaContactHistoryPersona { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/PersonasPersonaNode.cs b/Migration.Toolkit.K11/Models/PersonasPersonaNode.cs index b5d039b7..1da80556 100644 --- a/Migration.Toolkit.K11/Models/PersonasPersonaNode.cs +++ b/Migration.Toolkit.K11/Models/PersonasPersonaNode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class PersonasPersonaNode [ForeignKey("NodeId")] [InverseProperty("PersonasPersonaNodes")] public virtual CmsTree Node { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/PollsPoll.cs b/Migration.Toolkit.K11/Models/PollsPoll.cs index 9df9a38b..9123a9e5 100644 --- a/Migration.Toolkit.K11/Models/PollsPoll.cs +++ b/Migration.Toolkit.K11/Models/PollsPoll.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -69,4 +69,4 @@ public partial class PollsPoll [ForeignKey("PollId")] [InverseProperty("Polls")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/PollsPollAnswer.cs b/Migration.Toolkit.K11/Models/PollsPollAnswer.cs index 88899872..c46350f9 100644 --- a/Migration.Toolkit.K11/Models/PollsPollAnswer.cs +++ b/Migration.Toolkit.K11/Models/PollsPollAnswer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class PollsPollAnswer [ForeignKey("AnswerPollId")] [InverseProperty("PollsPollAnswers")] public virtual PollsPoll AnswerPoll { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ReportingReport.cs b/Migration.Toolkit.K11/Models/ReportingReport.cs index bee39153..ad8b515b 100644 --- a/Migration.Toolkit.K11/Models/ReportingReport.cs +++ b/Migration.Toolkit.K11/Models/ReportingReport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class ReportingReport [InverseProperty("SavedReportReport")] public virtual ICollection ReportingSavedReports { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ReportingReportCategory.cs b/Migration.Toolkit.K11/Models/ReportingReportCategory.cs index eae5866b..6112fce5 100644 --- a/Migration.Toolkit.K11/Models/ReportingReportCategory.cs +++ b/Migration.Toolkit.K11/Models/ReportingReportCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ReportingReportCategory [InverseProperty("ReportCategory")] public virtual ICollection ReportingReports { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ReportingReportGraph.cs b/Migration.Toolkit.K11/Models/ReportingReportGraph.cs index b4970f36..4ee60a95 100644 --- a/Migration.Toolkit.K11/Models/ReportingReportGraph.cs +++ b/Migration.Toolkit.K11/Models/ReportingReportGraph.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class ReportingReportGraph [InverseProperty("ReportSubscriptionGraph")] public virtual ICollection ReportingReportSubscriptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ReportingReportSubscription.cs b/Migration.Toolkit.K11/Models/ReportingReportSubscription.cs index 90389ad9..938c8c77 100644 --- a/Migration.Toolkit.K11/Models/ReportingReportSubscription.cs +++ b/Migration.Toolkit.K11/Models/ReportingReportSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -90,4 +90,4 @@ public partial class ReportingReportSubscription [ForeignKey("ReportSubscriptionValueId")] [InverseProperty("ReportingReportSubscriptions")] public virtual ReportingReportValue? ReportSubscriptionValue { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ReportingReportTable.cs b/Migration.Toolkit.K11/Models/ReportingReportTable.cs index 6fadd208..7f668c79 100644 --- a/Migration.Toolkit.K11/Models/ReportingReportTable.cs +++ b/Migration.Toolkit.K11/Models/ReportingReportTable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class ReportingReportTable [ForeignKey("TableReportId")] [InverseProperty("ReportingReportTables")] public virtual ReportingReport TableReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ReportingReportValue.cs b/Migration.Toolkit.K11/Models/ReportingReportValue.cs index e38e87f9..44527f6e 100644 --- a/Migration.Toolkit.K11/Models/ReportingReportValue.cs +++ b/Migration.Toolkit.K11/Models/ReportingReportValue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class ReportingReportValue [ForeignKey("ValueReportId")] [InverseProperty("ReportingReportValues")] public virtual ReportingReport ValueReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ReportingSavedGraph.cs b/Migration.Toolkit.K11/Models/ReportingSavedGraph.cs index 57ee766d..909b71a4 100644 --- a/Migration.Toolkit.K11/Models/ReportingSavedGraph.cs +++ b/Migration.Toolkit.K11/Models/ReportingSavedGraph.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ReportingSavedGraph [ForeignKey("SavedGraphSavedReportId")] [InverseProperty("ReportingSavedGraphs")] public virtual ReportingSavedReport SavedGraphSavedReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ReportingSavedReport.cs b/Migration.Toolkit.K11/Models/ReportingSavedReport.cs index 0bb0eb0b..28efed9f 100644 --- a/Migration.Toolkit.K11/Models/ReportingSavedReport.cs +++ b/Migration.Toolkit.K11/Models/ReportingSavedReport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class ReportingSavedReport [ForeignKey("SavedReportReportId")] [InverseProperty("ReportingSavedReports")] public virtual ReportingReport SavedReportReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SharePointSharePointConnection.cs b/Migration.Toolkit.K11/Models/SharePointSharePointConnection.cs index 48da68c4..7d900fc5 100644 --- a/Migration.Toolkit.K11/Models/SharePointSharePointConnection.cs +++ b/Migration.Toolkit.K11/Models/SharePointSharePointConnection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class SharePointSharePointConnection [InverseProperty("SharePointLibrarySharePointConnection")] public virtual ICollection SharePointSharePointLibraries { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SharePointSharePointFile.cs b/Migration.Toolkit.K11/Models/SharePointSharePointFile.cs index d6f176ff..7a183eb3 100644 --- a/Migration.Toolkit.K11/Models/SharePointSharePointFile.cs +++ b/Migration.Toolkit.K11/Models/SharePointSharePointFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class SharePointSharePointFile [ForeignKey("SharePointFileSiteId")] [InverseProperty("SharePointSharePointFiles")] public virtual CmsSite SharePointFileSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SharePointSharePointLibrary.cs b/Migration.Toolkit.K11/Models/SharePointSharePointLibrary.cs index 9fe40ad9..fa01b267 100644 --- a/Migration.Toolkit.K11/Models/SharePointSharePointLibrary.cs +++ b/Migration.Toolkit.K11/Models/SharePointSharePointLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class SharePointSharePointLibrary [InverseProperty("SharePointFileSharePointLibrary")] public virtual ICollection SharePointSharePointFiles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmFacebookAccount.cs b/Migration.Toolkit.K11/Models/SmFacebookAccount.cs index 5549cae3..0328411b 100644 --- a/Migration.Toolkit.K11/Models/SmFacebookAccount.cs +++ b/Migration.Toolkit.K11/Models/SmFacebookAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -55,4 +55,4 @@ public partial class SmFacebookAccount [InverseProperty("FacebookPostFacebookAccount")] public virtual ICollection SmFacebookPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmFacebookApplication.cs b/Migration.Toolkit.K11/Models/SmFacebookApplication.cs index ef7794b3..1a7ebe59 100644 --- a/Migration.Toolkit.K11/Models/SmFacebookApplication.cs +++ b/Migration.Toolkit.K11/Models/SmFacebookApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class SmFacebookApplication [InverseProperty("FacebookAccountFacebookApplication")] public virtual ICollection SmFacebookAccounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmFacebookPost.cs b/Migration.Toolkit.K11/Models/SmFacebookPost.cs index d0516fa0..d62f6ba9 100644 --- a/Migration.Toolkit.K11/Models/SmFacebookPost.cs +++ b/Migration.Toolkit.K11/Models/SmFacebookPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -86,4 +86,4 @@ public partial class SmFacebookPost [ForeignKey("FacebookPostSiteId")] [InverseProperty("SmFacebookPosts")] public virtual CmsSite FacebookPostSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmInsight.cs b/Migration.Toolkit.K11/Models/SmInsight.cs index d2e5493a..158c9305 100644 --- a/Migration.Toolkit.K11/Models/SmInsight.cs +++ b/Migration.Toolkit.K11/Models/SmInsight.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class SmInsight [InverseProperty("InsightHitInsight")] public virtual ICollection SmInsightHitYears { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmInsightHitDay.cs b/Migration.Toolkit.K11/Models/SmInsightHitDay.cs index c148619d..6624ceeb 100644 --- a/Migration.Toolkit.K11/Models/SmInsightHitDay.cs +++ b/Migration.Toolkit.K11/Models/SmInsightHitDay.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitDay [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitDays")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmInsightHitMonth.cs b/Migration.Toolkit.K11/Models/SmInsightHitMonth.cs index e9ed316a..3995ea7f 100644 --- a/Migration.Toolkit.K11/Models/SmInsightHitMonth.cs +++ b/Migration.Toolkit.K11/Models/SmInsightHitMonth.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitMonth [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitMonths")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmInsightHitWeek.cs b/Migration.Toolkit.K11/Models/SmInsightHitWeek.cs index e7e59e2a..9ca8367e 100644 --- a/Migration.Toolkit.K11/Models/SmInsightHitWeek.cs +++ b/Migration.Toolkit.K11/Models/SmInsightHitWeek.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitWeek [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitWeeks")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmInsightHitYear.cs b/Migration.Toolkit.K11/Models/SmInsightHitYear.cs index 752971e2..65458107 100644 --- a/Migration.Toolkit.K11/Models/SmInsightHitYear.cs +++ b/Migration.Toolkit.K11/Models/SmInsightHitYear.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitYear [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitYears")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmLinkedInAccount.cs b/Migration.Toolkit.K11/Models/SmLinkedInAccount.cs index 73d9926d..1f6e078d 100644 --- a/Migration.Toolkit.K11/Models/SmLinkedInAccount.cs +++ b/Migration.Toolkit.K11/Models/SmLinkedInAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class SmLinkedInAccount [InverseProperty("LinkedInPostLinkedInAccount")] public virtual ICollection SmLinkedInPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmLinkedInApplication.cs b/Migration.Toolkit.K11/Models/SmLinkedInApplication.cs index 27da8392..2be39e3d 100644 --- a/Migration.Toolkit.K11/Models/SmLinkedInApplication.cs +++ b/Migration.Toolkit.K11/Models/SmLinkedInApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class SmLinkedInApplication [ForeignKey("LinkedInApplicationSiteId")] [InverseProperty("SmLinkedInApplications")] public virtual CmsSite LinkedInApplicationSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmLinkedInPost.cs b/Migration.Toolkit.K11/Models/SmLinkedInPost.cs index dc26005c..9bb42f4a 100644 --- a/Migration.Toolkit.K11/Models/SmLinkedInPost.cs +++ b/Migration.Toolkit.K11/Models/SmLinkedInPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -82,4 +82,4 @@ public partial class SmLinkedInPost [ForeignKey("LinkedInPostSiteId")] [InverseProperty("SmLinkedInPosts")] public virtual CmsSite LinkedInPostSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmTwitterAccount.cs b/Migration.Toolkit.K11/Models/SmTwitterAccount.cs index 7a5a9e3d..0e847905 100644 --- a/Migration.Toolkit.K11/Models/SmTwitterAccount.cs +++ b/Migration.Toolkit.K11/Models/SmTwitterAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class SmTwitterAccount [ForeignKey("TwitterAccountTwitterApplicationId")] [InverseProperty("SmTwitterAccounts")] public virtual SmTwitterApplication TwitterAccountTwitterApplication { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmTwitterApplication.cs b/Migration.Toolkit.K11/Models/SmTwitterApplication.cs index 7f6a4634..817428b6 100644 --- a/Migration.Toolkit.K11/Models/SmTwitterApplication.cs +++ b/Migration.Toolkit.K11/Models/SmTwitterApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class SmTwitterApplication [ForeignKey("TwitterApplicationSiteId")] [InverseProperty("SmTwitterApplications")] public virtual CmsSite TwitterApplicationSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/SmTwitterPost.cs b/Migration.Toolkit.K11/Models/SmTwitterPost.cs index 10568fa8..61f866fe 100644 --- a/Migration.Toolkit.K11/Models/SmTwitterPost.cs +++ b/Migration.Toolkit.K11/Models/SmTwitterPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -68,4 +68,4 @@ public partial class SmTwitterPost [ForeignKey("TwitterPostTwitterAccountId")] [InverseProperty("SmTwitterPosts")] public virtual SmTwitterAccount TwitterPostTwitterAccount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StagingServer.cs b/Migration.Toolkit.K11/Models/StagingServer.cs index 15205402..9fbc4ae2 100644 --- a/Migration.Toolkit.K11/Models/StagingServer.cs +++ b/Migration.Toolkit.K11/Models/StagingServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class StagingServer [InverseProperty("SynchronizationServer")] public virtual ICollection StagingSynchronizations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StagingSynchronization.cs b/Migration.Toolkit.K11/Models/StagingSynchronization.cs index 7097c6fd..e52f7cae 100644 --- a/Migration.Toolkit.K11/Models/StagingSynchronization.cs +++ b/Migration.Toolkit.K11/Models/StagingSynchronization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class StagingSynchronization [ForeignKey("SynchronizationTaskId")] [InverseProperty("StagingSynchronizations")] public virtual StagingTask SynchronizationTask { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StagingTask.cs b/Migration.Toolkit.K11/Models/StagingTask.cs index c6997b1b..d25d986d 100644 --- a/Migration.Toolkit.K11/Models/StagingTask.cs +++ b/Migration.Toolkit.K11/Models/StagingTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class StagingTask [ForeignKey("TaskSiteId")] [InverseProperty("StagingTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StagingTaskGroup.cs b/Migration.Toolkit.K11/Models/StagingTaskGroup.cs index 3d282a47..8fb6f2f6 100644 --- a/Migration.Toolkit.K11/Models/StagingTaskGroup.cs +++ b/Migration.Toolkit.K11/Models/StagingTaskGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class StagingTaskGroup [InverseProperty("TaskGroup")] public virtual ICollection StagingTaskGroupUsers { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StagingTaskGroupTask.cs b/Migration.Toolkit.K11/Models/StagingTaskGroupTask.cs index f9acb6da..7126193f 100644 --- a/Migration.Toolkit.K11/Models/StagingTaskGroupTask.cs +++ b/Migration.Toolkit.K11/Models/StagingTaskGroupTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskGroupTask [ForeignKey("TaskGroupId")] [InverseProperty("StagingTaskGroupTasks")] public virtual StagingTaskGroup TaskGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StagingTaskGroupUser.cs b/Migration.Toolkit.K11/Models/StagingTaskGroupUser.cs index 270ae177..76cc49ae 100644 --- a/Migration.Toolkit.K11/Models/StagingTaskGroupUser.cs +++ b/Migration.Toolkit.K11/Models/StagingTaskGroupUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskGroupUser [ForeignKey("UserId")] [InverseProperty("StagingTaskGroupUser")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StagingTaskUser.cs b/Migration.Toolkit.K11/Models/StagingTaskUser.cs index c9bfd8a3..75a1a6a2 100644 --- a/Migration.Toolkit.K11/Models/StagingTaskUser.cs +++ b/Migration.Toolkit.K11/Models/StagingTaskUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskUser [ForeignKey("UserId")] [InverseProperty("StagingTaskUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentBook.cs b/Migration.Toolkit.K11/Models/StorecontentBook.cs index 1116e317..17ae9b29 100644 --- a/Migration.Toolkit.K11/Models/StorecontentBook.cs +++ b/Migration.Toolkit.K11/Models/StorecontentBook.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class StorecontentBook public string? BookIsbn { get; set; } public int? BookEdition { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentCellPhone.cs b/Migration.Toolkit.K11/Models/StorecontentCellPhone.cs index dd387576..ab16b91a 100644 --- a/Migration.Toolkit.K11/Models/StorecontentCellPhone.cs +++ b/Migration.Toolkit.K11/Models/StorecontentCellPhone.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -69,4 +69,4 @@ public partial class StorecontentCellPhone [Column("CellPhoneGPS")] public bool? CellPhoneGps { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentComputer.cs b/Migration.Toolkit.K11/Models/StorecontentComputer.cs index 025d71f7..4b9253be 100644 --- a/Migration.Toolkit.K11/Models/StorecontentComputer.cs +++ b/Migration.Toolkit.K11/Models/StorecontentComputer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class StorecontentComputer public string? ComputerDimensions { get; set; } public double? ComputerWeight { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentCup.cs b/Migration.Toolkit.K11/Models/StorecontentCup.cs index 3d40c090..bfc883a3 100644 --- a/Migration.Toolkit.K11/Models/StorecontentCup.cs +++ b/Migration.Toolkit.K11/Models/StorecontentCup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class StorecontentCup [StringLength(100)] public string? CupStyle { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentLaptop.cs b/Migration.Toolkit.K11/Models/StorecontentLaptop.cs index 67f05f12..b37361fe 100644 --- a/Migration.Toolkit.K11/Models/StorecontentLaptop.cs +++ b/Migration.Toolkit.K11/Models/StorecontentLaptop.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class StorecontentLaptop public string? LaptopDimensions { get; set; } public double? LaptopWeight { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentMediaPlayer.cs b/Migration.Toolkit.K11/Models/StorecontentMediaPlayer.cs index 818cea6c..fcd9a7da 100644 --- a/Migration.Toolkit.K11/Models/StorecontentMediaPlayer.cs +++ b/Migration.Toolkit.K11/Models/StorecontentMediaPlayer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class StorecontentMediaPlayer [StringLength(100)] public string? MediaPlayerDisplay { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentPant.cs b/Migration.Toolkit.K11/Models/StorecontentPant.cs index 5e14b473..33996734 100644 --- a/Migration.Toolkit.K11/Models/StorecontentPant.cs +++ b/Migration.Toolkit.K11/Models/StorecontentPant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -18,4 +18,4 @@ public partial class StorecontentPant [StringLength(100)] public string? PantsStyle { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentPerfume.cs b/Migration.Toolkit.K11/Models/StorecontentPerfume.cs index cd35095e..c2c6114e 100644 --- a/Migration.Toolkit.K11/Models/StorecontentPerfume.cs +++ b/Migration.Toolkit.K11/Models/StorecontentPerfume.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -18,4 +18,4 @@ public partial class StorecontentPerfume [StringLength(100)] public string? PerfumeSize { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentShoe.cs b/Migration.Toolkit.K11/Models/StorecontentShoe.cs index ae6db223..32ab3170 100644 --- a/Migration.Toolkit.K11/Models/StorecontentShoe.cs +++ b/Migration.Toolkit.K11/Models/StorecontentShoe.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -18,4 +18,4 @@ public partial class StorecontentShoe [StringLength(100)] public string? ShoesStyle { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentTablet.cs b/Migration.Toolkit.K11/Models/StorecontentTablet.cs index 8af4fc6a..57717caa 100644 --- a/Migration.Toolkit.K11/Models/StorecontentTablet.cs +++ b/Migration.Toolkit.K11/Models/StorecontentTablet.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class StorecontentTablet public string? TabletDimensions { get; set; } public double? TabletWeight { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentTshirt.cs b/Migration.Toolkit.K11/Models/StorecontentTshirt.cs index 0e8785a7..e2449eca 100644 --- a/Migration.Toolkit.K11/Models/StorecontentTshirt.cs +++ b/Migration.Toolkit.K11/Models/StorecontentTshirt.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -18,4 +18,4 @@ public partial class StorecontentTshirt [StringLength(100)] public string? TshirtStyle { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentTv.cs b/Migration.Toolkit.K11/Models/StorecontentTv.cs index 78cf1af9..dfb07b2d 100644 --- a/Migration.Toolkit.K11/Models/StorecontentTv.cs +++ b/Migration.Toolkit.K11/Models/StorecontentTv.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class StorecontentTv [Column("TVWeight")] public double? Tvweight { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/StorecontentWatch.cs b/Migration.Toolkit.K11/Models/StorecontentWatch.cs index 2bcf0392..4148fd2b 100644 --- a/Migration.Toolkit.K11/Models/StorecontentWatch.cs +++ b/Migration.Toolkit.K11/Models/StorecontentWatch.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class StorecontentWatch [StringLength(100)] public string? WatchWaterResistance { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/TempFile.cs b/Migration.Toolkit.K11/Models/TempFile.cs index 1cf34db5..74493538 100644 --- a/Migration.Toolkit.K11/Models/TempFile.cs +++ b/Migration.Toolkit.K11/Models/TempFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class TempFile public string? FileTitle { get; set; } public string? FileDescription { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewBoardsBoardMessageJoined.cs b/Migration.Toolkit.K11/Models/ViewBoardsBoardMessageJoined.cs index c362d53a..2047f74d 100644 --- a/Migration.Toolkit.K11/Models/ViewBoardsBoardMessageJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewBoardsBoardMessageJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -156,4 +156,4 @@ public partial class ViewBoardsBoardMessageJoined public bool? GroupSendWaitingForApprovalNotification { get; set; } public int? GroupSecurity { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsAclitemItemsAndOperator.cs b/Migration.Toolkit.K11/Models/ViewCmsAclitemItemsAndOperator.cs index be9d3ca6..e5807b64 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsAclitemItemsAndOperator.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsAclitemItemsAndOperator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class ViewCmsAclitemItemsAndOperator [Column("SiteID")] public int? SiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsObjectVersionHistoryUserJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsObjectVersionHistoryUserJoined.cs index 046931b3..e6f572ef 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsObjectVersionHistoryUserJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsObjectVersionHistoryUserJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -121,4 +121,4 @@ public partial class ViewCmsObjectVersionHistoryUserJoined [Column("UserMFTimestep")] public long? UserMftimestep { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs index 89ffdc0f..aebd8fa4 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -55,4 +55,4 @@ public partial class ViewCmsPageTemplateCategoryPageTemplateJoined [StringLength(200)] public string? PageTemplateIconClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsRelationshipJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsRelationshipJoined.cs index 30d170ef..4e9aa9f1 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsRelationshipJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsRelationshipJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ViewCmsRelationshipJoined public int RelationshipId { get; set; } public int? RelationshipOrder { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsResourceStringJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsResourceStringJoined.cs index ede08b9e..1c7eeab8 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsResourceStringJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsResourceStringJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class ViewCmsResourceStringJoined public Guid? CultureGuid { get; set; } public DateTime? CultureLastModified { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsResourceTranslatedJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsResourceTranslatedJoined.cs index 39be8ce8..0cba0173 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsResourceTranslatedJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsResourceTranslatedJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class ViewCmsResourceTranslatedJoined [StringLength(50)] public string CultureCode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsRoleResourcePermissionJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsRoleResourcePermissionJoined.cs index b56373da..277e2442 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsRoleResourcePermissionJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsRoleResourcePermissionJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class ViewCmsRoleResourcePermissionJoined [Column("PermissionID")] public int PermissionId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsSiteDocumentCount.cs b/Migration.Toolkit.K11/Models/ViewCmsSiteDocumentCount.cs index 489eb377..6752a0d5 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsSiteDocumentCount.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsSiteDocumentCount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class ViewCmsSiteDocumentCount public int? Documents { get; set; } public bool? SiteIsOffline { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsSiteRoleResourceUielementJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsSiteRoleResourceUielementJoined.cs index 98060ff7..96507f90 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsSiteRoleResourceUielementJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsSiteRoleResourceUielementJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class ViewCmsSiteRoleResourceUielementJoined [Column("RoleSiteID")] public int? RoleSiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsTreeJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsTreeJoined.cs index f76761cf..930c0329 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsTreeJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsTreeJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -289,4 +289,4 @@ public partial class ViewCmsTreeJoined public bool DocumentCanBePublished { get; set; } public bool DocumentInheritsStylesheet { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsUser.cs b/Migration.Toolkit.K11/Models/ViewCmsUser.cs index 29be3585..fc930755 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsUser.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -215,4 +215,4 @@ public partial class ViewCmsUser [Column("AvatarGUID")] public Guid? AvatarGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsUserDocument.cs b/Migration.Toolkit.K11/Models/ViewCmsUserDocument.cs index ed76d469..77618538 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsUserDocument.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsUserDocument.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class ViewCmsUserDocument [StringLength(12)] [Unicode(false)] public string Type { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsUserRoleJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsUserRoleJoined.cs index 9fb7f4f0..896eb30b 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsUserRoleJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsUserRoleJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ViewCmsUserRoleJoined [Column("SiteGUID")] public Guid? SiteGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsUserRoleMembershipRole.cs b/Migration.Toolkit.K11/Models/ViewCmsUserRoleMembershipRole.cs index 391a4a89..ee96892f 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsUserRoleMembershipRole.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsUserRoleMembershipRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -22,4 +22,4 @@ public partial class ViewCmsUserRoleMembershipRole public int UserId { get; set; } public DateTime? ValidTo { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs index 99ae5481..45d4f614 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -16,4 +16,4 @@ public partial class ViewCmsUserRoleMembershipRoleValidOnlyJoined public int RoleId { get; set; } public DateTime? ValidTo { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsUserSettingsRoleJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsUserSettingsRoleJoined.cs index 13aba39f..396dc573 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsUserSettingsRoleJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsUserSettingsRoleJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class ViewCmsUserSettingsRoleJoined public string SiteName { get; set; } = null!; public bool UserEnabled { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsWebPartCategoryWebpartJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsWebPartCategoryWebpartJoined.cs index b4d5316e..990afcd4 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsWebPartCategoryWebpartJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsWebPartCategoryWebpartJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -65,4 +65,4 @@ public partial class ViewCmsWebPartCategoryWebpartJoined public string? IconClass { get; set; } public bool? WebPartSkipInsertProperties { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCmsWidgetCategoryWidgetJoined.cs b/Migration.Toolkit.K11/Models/ViewCmsWidgetCategoryWidgetJoined.cs index fccf2518..bf450c01 100644 --- a/Migration.Toolkit.K11/Models/ViewCmsWidgetCategoryWidgetJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewCmsWidgetCategoryWidgetJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ViewCmsWidgetCategoryWidgetJoined [StringLength(14)] [Unicode(false)] public string ObjectType { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs b/Migration.Toolkit.K11/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs index 48d199b2..433da293 100644 --- a/Migration.Toolkit.K11/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ViewComSkuoptionCategoryOptionCategoryJoined [StringLength(200)] public string? CategoryLiveSiteDisplayName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCommunityFriendFriend.cs b/Migration.Toolkit.K11/Models/ViewCommunityFriendFriend.cs index d65cdd76..21012724 100644 --- a/Migration.Toolkit.K11/Models/ViewCommunityFriendFriend.cs +++ b/Migration.Toolkit.K11/Models/ViewCommunityFriendFriend.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -241,4 +241,4 @@ public partial class ViewCommunityFriendFriend [Column("AvatarGUID")] public Guid? AvatarGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCommunityFriendRequestedFriend.cs b/Migration.Toolkit.K11/Models/ViewCommunityFriendRequestedFriend.cs index 42c51603..85f379f0 100644 --- a/Migration.Toolkit.K11/Models/ViewCommunityFriendRequestedFriend.cs +++ b/Migration.Toolkit.K11/Models/ViewCommunityFriendRequestedFriend.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -241,4 +241,4 @@ public partial class ViewCommunityFriendRequestedFriend [Column("AvatarGUID")] public Guid? AvatarGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCommunityGroup.cs b/Migration.Toolkit.K11/Models/ViewCommunityGroup.cs index 51d7e3a4..41d99b32 100644 --- a/Migration.Toolkit.K11/Models/ViewCommunityGroup.cs +++ b/Migration.Toolkit.K11/Models/ViewCommunityGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -64,4 +64,4 @@ public partial class ViewCommunityGroup [Column("AvatarGUID")] public Guid? AvatarGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewCommunityMember.cs b/Migration.Toolkit.K11/Models/ViewCommunityMember.cs index 637788d7..d969cadf 100644 --- a/Migration.Toolkit.K11/Models/ViewCommunityMember.cs +++ b/Migration.Toolkit.K11/Models/ViewCommunityMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -246,4 +246,4 @@ public partial class ViewCommunityMember [StringLength(200)] public string? AvatarName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewForumsGroupForumPostJoined.cs b/Migration.Toolkit.K11/Models/ViewForumsGroupForumPostJoined.cs index 6d98d748..b4f0f9b2 100644 --- a/Migration.Toolkit.K11/Models/ViewForumsGroupForumPostJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewForumsGroupForumPostJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -225,4 +225,4 @@ public partial class ViewForumsGroupForumPostJoined public bool? PostQuestionSolved { get; set; } public int? PostIsNotAnswer { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewIntegrationTaskJoined.cs b/Migration.Toolkit.K11/Models/ViewIntegrationTaskJoined.cs index 6fd03d90..f97ee90c 100644 --- a/Migration.Toolkit.K11/Models/ViewIntegrationTaskJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewIntegrationTaskJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -62,4 +62,4 @@ public partial class ViewIntegrationTaskJoined [StringLength(50)] public string? TaskDataType { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewMembershipMembershipUserJoined.cs b/Migration.Toolkit.K11/Models/ViewMembershipMembershipUserJoined.cs index ff957452..58cc5c92 100644 --- a/Migration.Toolkit.K11/Models/ViewMembershipMembershipUserJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewMembershipMembershipUserJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class ViewMembershipMembershipUserJoined [Column("MembershipSiteID")] public int? MembershipSiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewMessagingContactList.cs b/Migration.Toolkit.K11/Models/ViewMessagingContactList.cs index fcbfd044..ef95e4f0 100644 --- a/Migration.Toolkit.K11/Models/ViewMessagingContactList.cs +++ b/Migration.Toolkit.K11/Models/ViewMessagingContactList.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ViewMessagingContactList public int? UserAccountLockReason { get; set; } public bool UserEnabled { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewMessagingIgnoreList.cs b/Migration.Toolkit.K11/Models/ViewMessagingIgnoreList.cs index 1f88a114..f8962985 100644 --- a/Migration.Toolkit.K11/Models/ViewMessagingIgnoreList.cs +++ b/Migration.Toolkit.K11/Models/ViewMessagingIgnoreList.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class ViewMessagingIgnoreList [StringLength(450)] public string? FullName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewNewsletterSubscriptionsJoined.cs b/Migration.Toolkit.K11/Models/ViewNewsletterSubscriptionsJoined.cs index 875e0ae3..02eb5918 100644 --- a/Migration.Toolkit.K11/Models/ViewNewsletterSubscriptionsJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewNewsletterSubscriptionsJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ViewNewsletterSubscriptionsJoined [Column("SubscriberNewsletterID")] public int SubscriberNewsletterId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewOmAccountContactAccountJoined.cs b/Migration.Toolkit.K11/Models/ViewOmAccountContactAccountJoined.cs index 4104c53f..15359bd1 100644 --- a/Migration.Toolkit.K11/Models/ViewOmAccountContactAccountJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewOmAccountContactAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ViewOmAccountContactAccountJoined [Column("AccountStatusID")] public int? AccountStatusId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewOmAccountContactContactJoined.cs b/Migration.Toolkit.K11/Models/ViewOmAccountContactContactJoined.cs index c50e3f4d..45330f91 100644 --- a/Migration.Toolkit.K11/Models/ViewOmAccountContactContactJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewOmAccountContactContactJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class ViewOmAccountContactContactJoined [Column("ContactRoleID")] public int? ContactRoleId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewOmAccountJoined.cs b/Migration.Toolkit.K11/Models/ViewOmAccountJoined.cs index 85ecf298..b4ccca6d 100644 --- a/Migration.Toolkit.K11/Models/ViewOmAccountJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewOmAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -99,4 +99,4 @@ public partial class ViewOmAccountJoined [StringLength(201)] public string AccountFullAddress { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewOmContactGroupMemberAccountJoined.cs b/Migration.Toolkit.K11/Models/ViewOmContactGroupMemberAccountJoined.cs index 0f3059bd..773c1a18 100644 --- a/Migration.Toolkit.K11/Models/ViewOmContactGroupMemberAccountJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewOmContactGroupMemberAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -75,4 +75,4 @@ public partial class ViewOmContactGroupMemberAccountJoined [Column("ContactGroupMemberID")] public int ContactGroupMemberId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewOmContactGroupMemberContactJoined.cs b/Migration.Toolkit.K11/Models/ViewOmContactGroupMemberContactJoined.cs index 9339cd3b..657347d8 100644 --- a/Migration.Toolkit.K11/Models/ViewOmContactGroupMemberContactJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewOmContactGroupMemberContactJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -98,4 +98,4 @@ public partial class ViewOmContactGroupMemberContactJoined [StringLength(100)] public string? ContactCompanyName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewPollAnswerCount.cs b/Migration.Toolkit.K11/Models/ViewPollAnswerCount.cs index 612c521f..942d8b03 100644 --- a/Migration.Toolkit.K11/Models/ViewPollAnswerCount.cs +++ b/Migration.Toolkit.K11/Models/ViewPollAnswerCount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ViewPollAnswerCount public bool? PollLogActivity { get; set; } public int? AnswerCount { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/Models/ViewReportingCategoryReportJoined.cs b/Migration.Toolkit.K11/Models/ViewReportingCategoryReportJoined.cs index 0dd230e6..d1b9ca19 100644 --- a/Migration.Toolkit.K11/Models/ViewReportingCategoryReportJoined.cs +++ b/Migration.Toolkit.K11/Models/ViewReportingCategoryReportJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ViewReportingCategoryReportJoined [StringLength(14)] [Unicode(false)] public string ObjectType { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.K11/SettingsKeys.cs b/Migration.Toolkit.K11/SettingsKeys.cs index bdbdcf70..b55d54fd 100644 --- a/Migration.Toolkit.K11/SettingsKeys.cs +++ b/Migration.Toolkit.K11/SettingsKeys.cs @@ -2,7 +2,8 @@ // ReSharper disable IdentifierTypo namespace Migration.Toolkit.K11; -public static class SettingsKeys { +public static class SettingsKeys +{ public const string CMSABTestingEnabled = "CMSABTestingEnabled"; public const string CMSAccessDeniedPageURL = "CMSAccessDeniedPageURL"; public const string CMSActivityPointsForBlogCommentPost = "CMSActivityPointsForBlogCommentPost"; diff --git a/Migration.Toolkit.KX12/Context/KX12Context.cs b/Migration.Toolkit.KX12/Context/KX12Context.cs index d44b7aa9..e3b4570a 100644 --- a/Migration.Toolkit.KX12/Context/KX12Context.cs +++ b/Migration.Toolkit.KX12/Context/KX12Context.cs @@ -5220,4 +5220,4 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) } partial void OnModelCreatingPartial(ModelBuilder modelBuilder); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsCampaign.cs b/Migration.Toolkit.KX12/Models/AnalyticsCampaign.cs index acc60bac..6939ae86 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsCampaign.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsCampaign.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class AnalyticsCampaign [InverseProperty("TwitterPostCampaign")] public virtual ICollection SmTwitterPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsCampaignAsset.cs b/Migration.Toolkit.KX12/Models/AnalyticsCampaignAsset.cs index 685082ff..79293c86 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsCampaignAsset.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsCampaignAsset.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class AnalyticsCampaignAsset [ForeignKey("CampaignAssetCampaignId")] [InverseProperty("AnalyticsCampaignAssets")] public virtual AnalyticsCampaign CampaignAssetCampaign { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsCampaignAssetUrl.cs b/Migration.Toolkit.KX12/Models/AnalyticsCampaignAssetUrl.cs index cd35389b..469fa757 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsCampaignAssetUrl.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsCampaignAssetUrl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class AnalyticsCampaignAssetUrl [ForeignKey("CampaignAssetUrlCampaignAssetId")] [InverseProperty("AnalyticsCampaignAssetUrls")] public virtual AnalyticsCampaignAsset CampaignAssetUrlCampaignAsset { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsCampaignConversion.cs b/Migration.Toolkit.KX12/Models/AnalyticsCampaignConversion.cs index d193c3ee..9b34cda3 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsCampaignConversion.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsCampaignConversion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class AnalyticsCampaignConversion [ForeignKey("CampaignConversionCampaignId")] [InverseProperty("AnalyticsCampaignConversions")] public virtual AnalyticsCampaign CampaignConversionCampaign { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsCampaignConversionHit.cs b/Migration.Toolkit.KX12/Models/AnalyticsCampaignConversionHit.cs index f606461e..bd127566 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsCampaignConversionHit.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsCampaignConversionHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsCampaignConversionHit [ForeignKey("CampaignConversionHitsConversionId")] [InverseProperty("AnalyticsCampaignConversionHits")] public virtual AnalyticsCampaignConversion CampaignConversionHitsConversion { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsCampaignObjective.cs b/Migration.Toolkit.KX12/Models/AnalyticsCampaignObjective.cs index ec3d72ca..4b9d5287 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsCampaignObjective.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsCampaignObjective.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class AnalyticsCampaignObjective [ForeignKey("CampaignObjectiveCampaignConversionId")] [InverseProperty("AnalyticsCampaignObjectives")] public virtual AnalyticsCampaignConversion CampaignObjectiveCampaignConversion { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsConversion.cs b/Migration.Toolkit.KX12/Models/AnalyticsConversion.cs index 3559fd62..5fbacf0b 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsConversion.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsConversion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class AnalyticsConversion [ForeignKey("ConversionSiteId")] [InverseProperty("AnalyticsConversions")] public virtual CmsSite ConversionSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsDayHit.cs b/Migration.Toolkit.KX12/Models/AnalyticsDayHit.cs index 402a548b..f8405953 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsDayHit.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsDayHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsDayHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsDayHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsExitPage.cs b/Migration.Toolkit.KX12/Models/AnalyticsExitPage.cs index 727ccb19..c80a5d71 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsExitPage.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsExitPage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class AnalyticsExitPage [StringLength(10)] public string? ExitPageCulture { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsHourHit.cs b/Migration.Toolkit.KX12/Models/AnalyticsHourHit.cs index 0d86bfb8..a936474c 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsHourHit.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsHourHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsHourHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsHourHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsMonthHit.cs b/Migration.Toolkit.KX12/Models/AnalyticsMonthHit.cs index 3c597a38..7aae25ee 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsMonthHit.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsMonthHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsMonthHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsMonthHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsStatistic.cs b/Migration.Toolkit.KX12/Models/AnalyticsStatistic.cs index 02a47170..de8a9e86 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsStatistic.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsStatistic.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class AnalyticsStatistic [ForeignKey("StatisticsSiteId")] [InverseProperty("AnalyticsStatistics")] public virtual CmsSite? StatisticsSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsWeekHit.cs b/Migration.Toolkit.KX12/Models/AnalyticsWeekHit.cs index 325547d3..46c2c7b1 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsWeekHit.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsWeekHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsWeekHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsWeekHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/AnalyticsYearHit.cs b/Migration.Toolkit.KX12/Models/AnalyticsYearHit.cs index 92975a8e..54b2159a 100644 --- a/Migration.Toolkit.KX12/Models/AnalyticsYearHit.cs +++ b/Migration.Toolkit.KX12/Models/AnalyticsYearHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsYearHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsYearHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/BadWordsWord.cs b/Migration.Toolkit.KX12/Models/BadWordsWord.cs index f93edd98..64853a40 100644 --- a/Migration.Toolkit.KX12/Models/BadWordsWord.cs +++ b/Migration.Toolkit.KX12/Models/BadWordsWord.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class BadWordsWord [ForeignKey("WordId")] [InverseProperty("Words")] public virtual ICollection Cultures { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/BlogComment.cs b/Migration.Toolkit.KX12/Models/BlogComment.cs index 73601940..32bc8cde 100644 --- a/Migration.Toolkit.KX12/Models/BlogComment.cs +++ b/Migration.Toolkit.KX12/Models/BlogComment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class BlogComment [ForeignKey("CommentUserId")] [InverseProperty("BlogCommentCommentUsers")] public virtual CmsUser? CommentUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/BlogPostSubscription.cs b/Migration.Toolkit.KX12/Models/BlogPostSubscription.cs index 76ce3c56..bd9bb9a4 100644 --- a/Migration.Toolkit.KX12/Models/BlogPostSubscription.cs +++ b/Migration.Toolkit.KX12/Models/BlogPostSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class BlogPostSubscription [ForeignKey("SubscriptionUserId")] [InverseProperty("BlogPostSubscriptions")] public virtual CmsUser? SubscriptionUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/BoardBoard.cs b/Migration.Toolkit.KX12/Models/BoardBoard.cs index b180d6d3..1c017f4a 100644 --- a/Migration.Toolkit.KX12/Models/BoardBoard.cs +++ b/Migration.Toolkit.KX12/Models/BoardBoard.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -114,4 +114,4 @@ public partial class BoardBoard [ForeignKey("BoardId")] [InverseProperty("Boards")] public virtual ICollection Users { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/BoardMessage.cs b/Migration.Toolkit.KX12/Models/BoardMessage.cs index 797b151e..c2569f8b 100644 --- a/Migration.Toolkit.KX12/Models/BoardMessage.cs +++ b/Migration.Toolkit.KX12/Models/BoardMessage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -67,4 +67,4 @@ public partial class BoardMessage [ForeignKey("MessageUserId")] [InverseProperty("BoardMessageMessageUsers")] public virtual CmsUser? MessageUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/BoardSubscription.cs b/Migration.Toolkit.KX12/Models/BoardSubscription.cs index 81c5c891..090b9d08 100644 --- a/Migration.Toolkit.KX12/Models/BoardSubscription.cs +++ b/Migration.Toolkit.KX12/Models/BoardSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class BoardSubscription [ForeignKey("SubscriptionUserId")] [InverseProperty("BoardSubscriptions")] public virtual CmsUser? SubscriptionUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatInitiatedChatRequest.cs b/Migration.Toolkit.KX12/Models/ChatInitiatedChatRequest.cs index 0eee51be..b5351de3 100644 --- a/Migration.Toolkit.KX12/Models/ChatInitiatedChatRequest.cs +++ b/Migration.Toolkit.KX12/Models/ChatInitiatedChatRequest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class ChatInitiatedChatRequest [ForeignKey("InitiatedChatRequestUserId")] [InverseProperty("ChatInitiatedChatRequests")] public virtual CmsUser? InitiatedChatRequestUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatMessage.cs b/Migration.Toolkit.KX12/Models/ChatMessage.cs index bafd16f5..bb3e1010 100644 --- a/Migration.Toolkit.KX12/Models/ChatMessage.cs +++ b/Migration.Toolkit.KX12/Models/ChatMessage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class ChatMessage [ForeignKey("ChatMessageUserId")] [InverseProperty("ChatMessageChatMessageUsers")] public virtual ChatUser? ChatMessageUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatNotification.cs b/Migration.Toolkit.KX12/Models/ChatNotification.cs index c23bd798..7121a0dd 100644 --- a/Migration.Toolkit.KX12/Models/ChatNotification.cs +++ b/Migration.Toolkit.KX12/Models/ChatNotification.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class ChatNotification [ForeignKey("ChatNotificationSiteId")] [InverseProperty("ChatNotifications")] public virtual CmsSite? ChatNotificationSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatOnlineSupport.cs b/Migration.Toolkit.KX12/Models/ChatOnlineSupport.cs index d281ade8..93ae3fff 100644 --- a/Migration.Toolkit.KX12/Models/ChatOnlineSupport.cs +++ b/Migration.Toolkit.KX12/Models/ChatOnlineSupport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class ChatOnlineSupport [ForeignKey("ChatOnlineSupportSiteId")] [InverseProperty("ChatOnlineSupports")] public virtual CmsSite ChatOnlineSupportSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatOnlineUser.cs b/Migration.Toolkit.KX12/Models/ChatOnlineUser.cs index 24801900..d86f83ac 100644 --- a/Migration.Toolkit.KX12/Models/ChatOnlineUser.cs +++ b/Migration.Toolkit.KX12/Models/ChatOnlineUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class ChatOnlineUser [ForeignKey("ChatOnlineUserSiteId")] [InverseProperty("ChatOnlineUsers")] public virtual CmsSite ChatOnlineUserSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatPopupWindowSetting.cs b/Migration.Toolkit.KX12/Models/ChatPopupWindowSetting.cs index c3319300..e5620883 100644 --- a/Migration.Toolkit.KX12/Models/ChatPopupWindowSetting.cs +++ b/Migration.Toolkit.KX12/Models/ChatPopupWindowSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class ChatPopupWindowSetting public string UserTransformationName { get; set; } = null!; public int ChatPopupWindowSettingsHashCode { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatRoom.cs b/Migration.Toolkit.KX12/Models/ChatRoom.cs index e244c2f4..38be9141 100644 --- a/Migration.Toolkit.KX12/Models/ChatRoom.cs +++ b/Migration.Toolkit.KX12/Models/ChatRoom.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -78,4 +78,4 @@ public partial class ChatRoom [InverseProperty("ChatSupportTakenRoomRoom")] public virtual ICollection ChatSupportTakenRooms { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatRoomUser.cs b/Migration.Toolkit.KX12/Models/ChatRoomUser.cs index 4859409d..bd4e0004 100644 --- a/Migration.Toolkit.KX12/Models/ChatRoomUser.cs +++ b/Migration.Toolkit.KX12/Models/ChatRoomUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class ChatRoomUser [ForeignKey("ChatRoomUserRoomId")] [InverseProperty("ChatRoomUsers")] public virtual ChatRoom ChatRoomUserRoom { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatSupportCannedResponse.cs b/Migration.Toolkit.KX12/Models/ChatSupportCannedResponse.cs index 663e8279..8f5d6c93 100644 --- a/Migration.Toolkit.KX12/Models/ChatSupportCannedResponse.cs +++ b/Migration.Toolkit.KX12/Models/ChatSupportCannedResponse.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ChatSupportCannedResponse [ForeignKey("ChatSupportCannedResponseSiteId")] [InverseProperty("ChatSupportCannedResponses")] public virtual CmsSite? ChatSupportCannedResponseSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatSupportTakenRoom.cs b/Migration.Toolkit.KX12/Models/ChatSupportTakenRoom.cs index 1b20de1a..f1c922cd 100644 --- a/Migration.Toolkit.KX12/Models/ChatSupportTakenRoom.cs +++ b/Migration.Toolkit.KX12/Models/ChatSupportTakenRoom.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ChatSupportTakenRoom [ForeignKey("ChatSupportTakenRoomRoomId")] [InverseProperty("ChatSupportTakenRooms")] public virtual ChatRoom ChatSupportTakenRoomRoom { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ChatUser.cs b/Migration.Toolkit.KX12/Models/ChatUser.cs index 200431c5..9e9f43a6 100644 --- a/Migration.Toolkit.KX12/Models/ChatUser.cs +++ b/Migration.Toolkit.KX12/Models/ChatUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class ChatUser [ForeignKey("ChatUserUserId")] [InverseProperty("ChatUsers")] public virtual CmsUser? ChatUserUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CiFileMetadatum.cs b/Migration.Toolkit.KX12/Models/CiFileMetadatum.cs index 752c8c15..e33ce759 100644 --- a/Migration.Toolkit.KX12/Models/CiFileMetadatum.cs +++ b/Migration.Toolkit.KX12/Models/CiFileMetadatum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -19,4 +19,4 @@ public partial class CiFileMetadatum [StringLength(32)] public string FileHash { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CiMigration.cs b/Migration.Toolkit.KX12/Models/CiMigration.cs index 47591810..f8f56d51 100644 --- a/Migration.Toolkit.KX12/Models/CiMigration.cs +++ b/Migration.Toolkit.KX12/Models/CiMigration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class CiMigration public DateTime DateApplied { get; set; } public int? RowsAffected { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAbuseReport.cs b/Migration.Toolkit.KX12/Models/CmsAbuseReport.cs index 3fa980c5..d78818e9 100644 --- a/Migration.Toolkit.KX12/Models/CmsAbuseReport.cs +++ b/Migration.Toolkit.KX12/Models/CmsAbuseReport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class CmsAbuseReport [ForeignKey("ReportUserId")] [InverseProperty("CmsAbuseReports")] public virtual CmsUser? ReportUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAcl.cs b/Migration.Toolkit.KX12/Models/CmsAcl.cs index 49aa857b..80611ef8 100644 --- a/Migration.Toolkit.KX12/Models/CmsAcl.cs +++ b/Migration.Toolkit.KX12/Models/CmsAcl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsAcl [InverseProperty("NodeAcl")] public virtual ICollection CmsTrees { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAclitem.cs b/Migration.Toolkit.KX12/Models/CmsAclitem.cs index 66480d29..cb2f0d60 100644 --- a/Migration.Toolkit.KX12/Models/CmsAclitem.cs +++ b/Migration.Toolkit.KX12/Models/CmsAclitem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class CmsAclitem [ForeignKey("UserId")] [InverseProperty("CmsAclitemUsers")] public virtual CmsUser? User { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAlternativeForm.cs b/Migration.Toolkit.KX12/Models/CmsAlternativeForm.cs index 5c63b5ed..077d0986 100644 --- a/Migration.Toolkit.KX12/Models/CmsAlternativeForm.cs +++ b/Migration.Toolkit.KX12/Models/CmsAlternativeForm.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsAlternativeForm [ForeignKey("FormCoupledClassId")] [InverseProperty("CmsAlternativeFormFormCoupledClasses")] public virtual CmsClass? FormCoupledClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAlternativeUrl.cs b/Migration.Toolkit.KX12/Models/CmsAlternativeUrl.cs index cb03b966..1bebe06f 100644 --- a/Migration.Toolkit.KX12/Models/CmsAlternativeUrl.cs +++ b/Migration.Toolkit.KX12/Models/CmsAlternativeUrl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsAlternativeUrl [ForeignKey("AlternativeUrlSiteId")] [InverseProperty("CmsAlternativeUrls")] public virtual CmsSite AlternativeUrlSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAttachment.cs b/Migration.Toolkit.KX12/Models/CmsAttachment.cs index 33a2e9ac..491186aa 100644 --- a/Migration.Toolkit.KX12/Models/CmsAttachment.cs +++ b/Migration.Toolkit.KX12/Models/CmsAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -88,4 +88,4 @@ public partial class CmsAttachment [InverseProperty("AttachmentVariantParent")] public virtual ICollection InverseAttachmentVariantParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAttachmentHistory.cs b/Migration.Toolkit.KX12/Models/CmsAttachmentHistory.cs index 5e1844e5..4a624418 100644 --- a/Migration.Toolkit.KX12/Models/CmsAttachmentHistory.cs +++ b/Migration.Toolkit.KX12/Models/CmsAttachmentHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -87,4 +87,4 @@ public partial class CmsAttachmentHistory [ForeignKey("AttachmentHistoryId")] [InverseProperty("AttachmentHistories")] public virtual ICollection VersionHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAutomationHistory.cs b/Migration.Toolkit.KX12/Models/CmsAutomationHistory.cs index 7f3d9fba..7386007b 100644 --- a/Migration.Toolkit.KX12/Models/CmsAutomationHistory.cs +++ b/Migration.Toolkit.KX12/Models/CmsAutomationHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -79,4 +79,4 @@ public partial class CmsAutomationHistory [ForeignKey("HistoryWorkflowId")] [InverseProperty("CmsAutomationHistories")] public virtual CmsWorkflow HistoryWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAutomationState.cs b/Migration.Toolkit.KX12/Models/CmsAutomationState.cs index d0904502..b5cac7a7 100644 --- a/Migration.Toolkit.KX12/Models/CmsAutomationState.cs +++ b/Migration.Toolkit.KX12/Models/CmsAutomationState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -68,4 +68,4 @@ public partial class CmsAutomationState [ForeignKey("StateWorkflowId")] [InverseProperty("CmsAutomationStates")] public virtual CmsWorkflow StateWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsAvatar.cs b/Migration.Toolkit.KX12/Models/CmsAvatar.cs index 47d0e160..1699b93d 100644 --- a/Migration.Toolkit.KX12/Models/CmsAvatar.cs +++ b/Migration.Toolkit.KX12/Models/CmsAvatar.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class CmsAvatar [InverseProperty("GroupAvatar")] public virtual ICollection CommunityGroups { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsBadge.cs b/Migration.Toolkit.KX12/Models/CmsBadge.cs index 10702c98..0d1646c5 100644 --- a/Migration.Toolkit.KX12/Models/CmsBadge.cs +++ b/Migration.Toolkit.KX12/Models/CmsBadge.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class CmsBadge [InverseProperty("UserBadge")] public virtual ICollection CmsUserSettings { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsBannedIp.cs b/Migration.Toolkit.KX12/Models/CmsBannedIp.cs index 1a525d91..a1f2bef4 100644 --- a/Migration.Toolkit.KX12/Models/CmsBannedIp.cs +++ b/Migration.Toolkit.KX12/Models/CmsBannedIp.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class CmsBannedIp [ForeignKey("IpaddressSiteId")] [InverseProperty("CmsBannedIps")] public virtual CmsSite? IpaddressSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsBanner.cs b/Migration.Toolkit.KX12/Models/CmsBanner.cs index 3c5fd038..97dddf31 100644 --- a/Migration.Toolkit.KX12/Models/CmsBanner.cs +++ b/Migration.Toolkit.KX12/Models/CmsBanner.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class CmsBanner [ForeignKey("BannerSiteId")] [InverseProperty("CmsBanners")] public virtual CmsSite? BannerSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsBannerCategory.cs b/Migration.Toolkit.KX12/Models/CmsBannerCategory.cs index ffbc9d2b..d9e2b4b4 100644 --- a/Migration.Toolkit.KX12/Models/CmsBannerCategory.cs +++ b/Migration.Toolkit.KX12/Models/CmsBannerCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsBannerCategory [InverseProperty("BannerCategory")] public virtual ICollection CmsBanners { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsCategory.cs b/Migration.Toolkit.KX12/Models/CmsCategory.cs index 6ec2c3af..f30a110e 100644 --- a/Migration.Toolkit.KX12/Models/CmsCategory.cs +++ b/Migration.Toolkit.KX12/Models/CmsCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -64,4 +64,4 @@ public partial class CmsCategory [ForeignKey("CategoryId")] [InverseProperty("Categories")] public virtual ICollection Documents { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsClass.cs b/Migration.Toolkit.KX12/Models/CmsClass.cs index 3b612695..0d315339 100644 --- a/Migration.Toolkit.KX12/Models/CmsClass.cs +++ b/Migration.Toolkit.KX12/Models/CmsClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -218,4 +218,4 @@ public partial class CmsClass [ForeignKey("ClassId")] [InverseProperty("Classes")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsConsent.cs b/Migration.Toolkit.KX12/Models/CmsConsent.cs index ebfa9265..37c17ca7 100644 --- a/Migration.Toolkit.KX12/Models/CmsConsent.cs +++ b/Migration.Toolkit.KX12/Models/CmsConsent.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class CmsConsent [InverseProperty("ConsentArchiveConsent")] public virtual ICollection CmsConsentArchives { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsConsentAgreement.cs b/Migration.Toolkit.KX12/Models/CmsConsentAgreement.cs index d22c1c09..ea9c1d9e 100644 --- a/Migration.Toolkit.KX12/Models/CmsConsentAgreement.cs +++ b/Migration.Toolkit.KX12/Models/CmsConsentAgreement.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsConsentAgreement [ForeignKey("ConsentAgreementContactId")] [InverseProperty("CmsConsentAgreements")] public virtual OmContact ConsentAgreementContact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsConsentArchive.cs b/Migration.Toolkit.KX12/Models/CmsConsentArchive.cs index 224d4185..e1486c35 100644 --- a/Migration.Toolkit.KX12/Models/CmsConsentArchive.cs +++ b/Migration.Toolkit.KX12/Models/CmsConsentArchive.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsConsentArchive [ForeignKey("ConsentArchiveConsentId")] [InverseProperty("CmsConsentArchives")] public virtual CmsConsent ConsentArchiveConsent { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsCountry.cs b/Migration.Toolkit.KX12/Models/CmsCountry.cs index 8b9ef7aa..301b9977 100644 --- a/Migration.Toolkit.KX12/Models/CmsCountry.cs +++ b/Migration.Toolkit.KX12/Models/CmsCountry.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsCountry [InverseProperty("ContactCountry")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsCssStylesheet.cs b/Migration.Toolkit.KX12/Models/CmsCssStylesheet.cs index d542ab1a..b9136904 100644 --- a/Migration.Toolkit.KX12/Models/CmsCssStylesheet.cs +++ b/Migration.Toolkit.KX12/Models/CmsCssStylesheet.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsCssStylesheet [ForeignKey("StylesheetId")] [InverseProperty("Stylesheets")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsCulture.cs b/Migration.Toolkit.KX12/Models/CmsCulture.cs index dcd14e56..697b488c 100644 --- a/Migration.Toolkit.KX12/Models/CmsCulture.cs +++ b/Migration.Toolkit.KX12/Models/CmsCulture.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class CmsCulture [ForeignKey("CultureId")] [InverseProperty("Cultures")] public virtual ICollection Words { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsDeviceProfile.cs b/Migration.Toolkit.KX12/Models/CmsDeviceProfile.cs index fa49b2c4..c3d9b9f9 100644 --- a/Migration.Toolkit.KX12/Models/CmsDeviceProfile.cs +++ b/Migration.Toolkit.KX12/Models/CmsDeviceProfile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsDeviceProfile [InverseProperty("Profile")] public virtual ICollection CmsTemplateDeviceLayouts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsDeviceProfileLayout.cs b/Migration.Toolkit.KX12/Models/CmsDeviceProfileLayout.cs index fd881046..afae9383 100644 --- a/Migration.Toolkit.KX12/Models/CmsDeviceProfileLayout.cs +++ b/Migration.Toolkit.KX12/Models/CmsDeviceProfileLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsDeviceProfileLayout [ForeignKey("TargetLayoutId")] [InverseProperty("CmsDeviceProfileLayoutTargetLayouts")] public virtual CmsLayout TargetLayout { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsDocument.cs b/Migration.Toolkit.KX12/Models/CmsDocument.cs index ffcfce0b..2a87ede6 100644 --- a/Migration.Toolkit.KX12/Models/CmsDocument.cs +++ b/Migration.Toolkit.KX12/Models/CmsDocument.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -291,4 +291,4 @@ public partial class CmsDocument [ForeignKey("DocumentId")] [InverseProperty("Documents")] public virtual ICollection Tags { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsDocumentAlias.cs b/Migration.Toolkit.KX12/Models/CmsDocumentAlias.cs index fa3d504b..cb51977c 100644 --- a/Migration.Toolkit.KX12/Models/CmsDocumentAlias.cs +++ b/Migration.Toolkit.KX12/Models/CmsDocumentAlias.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class CmsDocumentAlias [ForeignKey("AliasSiteId")] [InverseProperty("CmsDocumentAliases")] public virtual CmsSite AliasSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsDocumentTypeScope.cs b/Migration.Toolkit.KX12/Models/CmsDocumentTypeScope.cs index 41dc8e80..0d151acf 100644 --- a/Migration.Toolkit.KX12/Models/CmsDocumentTypeScope.cs +++ b/Migration.Toolkit.KX12/Models/CmsDocumentTypeScope.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsDocumentTypeScope [ForeignKey("ScopeId")] [InverseProperty("Scopes")] public virtual ICollection Classes { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsEmail.cs b/Migration.Toolkit.KX12/Models/CmsEmail.cs index 331f0dc1..e8f701d2 100644 --- a/Migration.Toolkit.KX12/Models/CmsEmail.cs +++ b/Migration.Toolkit.KX12/Models/CmsEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class CmsEmail [ForeignKey("EmailId")] [InverseProperty("Emails")] public virtual ICollection Attachments { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsEmailAttachment.cs b/Migration.Toolkit.KX12/Models/CmsEmailAttachment.cs index 67cc3968..d4f71b5f 100644 --- a/Migration.Toolkit.KX12/Models/CmsEmailAttachment.cs +++ b/Migration.Toolkit.KX12/Models/CmsEmailAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsEmailAttachment [ForeignKey("AttachmentId")] [InverseProperty("Attachments")] public virtual ICollection Emails { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsEmailTemplate.cs b/Migration.Toolkit.KX12/Models/CmsEmailTemplate.cs index 7af64c90..780fcf2b 100644 --- a/Migration.Toolkit.KX12/Models/CmsEmailTemplate.cs +++ b/Migration.Toolkit.KX12/Models/CmsEmailTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class CmsEmailTemplate [ForeignKey("EmailTemplateSiteId")] [InverseProperty("CmsEmailTemplates")] public virtual CmsSite? EmailTemplateSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsEmailUser.cs b/Migration.Toolkit.KX12/Models/CmsEmailUser.cs index eab0733e..7bdc3fad 100644 --- a/Migration.Toolkit.KX12/Models/CmsEmailUser.cs +++ b/Migration.Toolkit.KX12/Models/CmsEmailUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class CmsEmailUser [ForeignKey("UserId")] [InverseProperty("CmsEmailUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsEventLog.cs b/Migration.Toolkit.KX12/Models/CmsEventLog.cs index 6552a6f9..268c82e4 100644 --- a/Migration.Toolkit.KX12/Models/CmsEventLog.cs +++ b/Migration.Toolkit.KX12/Models/CmsEventLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class CmsEventLog public string? EventUserAgent { get; set; } public string? EventUrlReferrer { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsExternalLogin.cs b/Migration.Toolkit.KX12/Models/CmsExternalLogin.cs index b194a2af..914dbfcc 100644 --- a/Migration.Toolkit.KX12/Models/CmsExternalLogin.cs +++ b/Migration.Toolkit.KX12/Models/CmsExternalLogin.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class CmsExternalLogin [ForeignKey("UserId")] [InverseProperty("CmsExternalLogins")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsForm.cs b/Migration.Toolkit.KX12/Models/CmsForm.cs index 90a36a25..853cf589 100644 --- a/Migration.Toolkit.KX12/Models/CmsForm.cs +++ b/Migration.Toolkit.KX12/Models/CmsForm.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -92,4 +92,4 @@ public partial class CmsForm [ForeignKey("FormId")] [InverseProperty("Forms")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsFormUserControl.cs b/Migration.Toolkit.KX12/Models/CmsFormUserControl.cs index 8a43e222..b5eed10c 100644 --- a/Migration.Toolkit.KX12/Models/CmsFormUserControl.cs +++ b/Migration.Toolkit.KX12/Models/CmsFormUserControl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -106,4 +106,4 @@ public partial class CmsFormUserControl [ForeignKey("UserControlResourceId")] [InverseProperty("CmsFormUserControls")] public virtual CmsResource? UserControlResource { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsHelpTopic.cs b/Migration.Toolkit.KX12/Models/CmsHelpTopic.cs index c5fc81ad..4f9ab7b5 100644 --- a/Migration.Toolkit.KX12/Models/CmsHelpTopic.cs +++ b/Migration.Toolkit.KX12/Models/CmsHelpTopic.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsHelpTopic [ForeignKey("HelpTopicUielementId")] [InverseProperty("CmsHelpTopics")] public virtual CmsUielement HelpTopicUielement { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsLayout.cs b/Migration.Toolkit.KX12/Models/CmsLayout.cs index e9eedc50..c54d7ed0 100644 --- a/Migration.Toolkit.KX12/Models/CmsLayout.cs +++ b/Migration.Toolkit.KX12/Models/CmsLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -60,4 +60,4 @@ public partial class CmsLayout [InverseProperty("Layout")] public virtual ICollection CmsTemplateDeviceLayouts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsLicenseKey.cs b/Migration.Toolkit.KX12/Models/CmsLicenseKey.cs index bd1a1ffd..9ac1fdf5 100644 --- a/Migration.Toolkit.KX12/Models/CmsLicenseKey.cs +++ b/Migration.Toolkit.KX12/Models/CmsLicenseKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class CmsLicenseKey public string? LicenseExpiration { get; set; } public int? LicenseServers { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsMacroIdentity.cs b/Migration.Toolkit.KX12/Models/CmsMacroIdentity.cs index f9879b11..f3611a14 100644 --- a/Migration.Toolkit.KX12/Models/CmsMacroIdentity.cs +++ b/Migration.Toolkit.KX12/Models/CmsMacroIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsMacroIdentity [ForeignKey("MacroIdentityEffectiveUserId")] [InverseProperty("CmsMacroIdentities")] public virtual CmsUser? MacroIdentityEffectiveUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsMacroRule.cs b/Migration.Toolkit.KX12/Models/CmsMacroRule.cs index aeefbef5..a411da72 100644 --- a/Migration.Toolkit.KX12/Models/CmsMacroRule.cs +++ b/Migration.Toolkit.KX12/Models/CmsMacroRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsMacroRule public bool? MacroRuleEnabled { get; set; } public int? MacroRuleAvailability { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsMembership.cs b/Migration.Toolkit.KX12/Models/CmsMembership.cs index 49b69d68..0962afd7 100644 --- a/Migration.Toolkit.KX12/Models/CmsMembership.cs +++ b/Migration.Toolkit.KX12/Models/CmsMembership.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class CmsMembership [ForeignKey("MembershipId")] [InverseProperty("Memberships")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsMembershipUser.cs b/Migration.Toolkit.KX12/Models/CmsMembershipUser.cs index 6d3f8bec..56c14747 100644 --- a/Migration.Toolkit.KX12/Models/CmsMembershipUser.cs +++ b/Migration.Toolkit.KX12/Models/CmsMembershipUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsMembershipUser [ForeignKey("UserId")] [InverseProperty("CmsMembershipUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsMetaFile.cs b/Migration.Toolkit.KX12/Models/CmsMetaFile.cs index f00a2d86..c08e47c3 100644 --- a/Migration.Toolkit.KX12/Models/CmsMetaFile.cs +++ b/Migration.Toolkit.KX12/Models/CmsMetaFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class CmsMetaFile [ForeignKey("MetaFileSiteId")] [InverseProperty("CmsMetaFiles")] public virtual CmsSite? MetaFileSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsModuleLicenseKey.cs b/Migration.Toolkit.KX12/Models/CmsModuleLicenseKey.cs index 3a1d5cb8..90bc732f 100644 --- a/Migration.Toolkit.KX12/Models/CmsModuleLicenseKey.cs +++ b/Migration.Toolkit.KX12/Models/CmsModuleLicenseKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class CmsModuleLicenseKey [ForeignKey("ModuleLicenseKeyResourceId")] [InverseProperty("CmsModuleLicenseKeys")] public virtual CmsResource ModuleLicenseKeyResource { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsModuleUsageCounter.cs b/Migration.Toolkit.KX12/Models/CmsModuleUsageCounter.cs index 433787b3..55deac80 100644 --- a/Migration.Toolkit.KX12/Models/CmsModuleUsageCounter.cs +++ b/Migration.Toolkit.KX12/Models/CmsModuleUsageCounter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class CmsModuleUsageCounter public string ModuleUsageCounterName { get; set; } = null!; public long ModuleUsageCounterValue { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsObjectSetting.cs b/Migration.Toolkit.KX12/Models/CmsObjectSetting.cs index a1535c89..ff416a88 100644 --- a/Migration.Toolkit.KX12/Models/CmsObjectSetting.cs +++ b/Migration.Toolkit.KX12/Models/CmsObjectSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class CmsObjectSetting [ForeignKey("ObjectWorkflowStepId")] [InverseProperty("CmsObjectSettings")] public virtual CmsWorkflowStep? ObjectWorkflowStep { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsObjectVersionHistory.cs b/Migration.Toolkit.KX12/Models/CmsObjectVersionHistory.cs index cc0f9c77..243b05bb 100644 --- a/Migration.Toolkit.KX12/Models/CmsObjectVersionHistory.cs +++ b/Migration.Toolkit.KX12/Models/CmsObjectVersionHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -70,4 +70,4 @@ public partial class CmsObjectVersionHistory [ForeignKey("VersionObjectSiteId")] [InverseProperty("CmsObjectVersionHistories")] public virtual CmsSite? VersionObjectSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsObjectWorkflowTrigger.cs b/Migration.Toolkit.KX12/Models/CmsObjectWorkflowTrigger.cs index 10cf2a97..7e8bba8f 100644 --- a/Migration.Toolkit.KX12/Models/CmsObjectWorkflowTrigger.cs +++ b/Migration.Toolkit.KX12/Models/CmsObjectWorkflowTrigger.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsObjectWorkflowTrigger [ForeignKey("TriggerWorkflowId")] [InverseProperty("CmsObjectWorkflowTriggers")] public virtual CmsWorkflow TriggerWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsOpenIduser.cs b/Migration.Toolkit.KX12/Models/CmsOpenIduser.cs index 7887e50a..351f9ab1 100644 --- a/Migration.Toolkit.KX12/Models/CmsOpenIduser.cs +++ b/Migration.Toolkit.KX12/Models/CmsOpenIduser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsOpenIduser [ForeignKey("UserId")] [InverseProperty("CmsOpenIdusers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsPageTemplate.cs b/Migration.Toolkit.KX12/Models/CmsPageTemplate.cs index e13828b2..d7a573ba 100644 --- a/Migration.Toolkit.KX12/Models/CmsPageTemplate.cs +++ b/Migration.Toolkit.KX12/Models/CmsPageTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -133,4 +133,4 @@ public partial class CmsPageTemplate [ForeignKey("PageTemplateId")] [InverseProperty("PageTemplates")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsPageTemplateCategory.cs b/Migration.Toolkit.KX12/Models/CmsPageTemplateCategory.cs index 5b3693b8..9365da77 100644 --- a/Migration.Toolkit.KX12/Models/CmsPageTemplateCategory.cs +++ b/Migration.Toolkit.KX12/Models/CmsPageTemplateCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class CmsPageTemplateCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsPageTemplateConfiguration.cs b/Migration.Toolkit.KX12/Models/CmsPageTemplateConfiguration.cs index c6440613..bcdbc45d 100644 --- a/Migration.Toolkit.KX12/Models/CmsPageTemplateConfiguration.cs +++ b/Migration.Toolkit.KX12/Models/CmsPageTemplateConfiguration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsPageTemplateConfiguration [ForeignKey("PageTemplateConfigurationSiteId")] [InverseProperty("CmsPageTemplateConfigurations")] public virtual CmsSite PageTemplateConfigurationSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsPageTemplateScope.cs b/Migration.Toolkit.KX12/Models/CmsPageTemplateScope.cs index af8ed0aa..dcb263fb 100644 --- a/Migration.Toolkit.KX12/Models/CmsPageTemplateScope.cs +++ b/Migration.Toolkit.KX12/Models/CmsPageTemplateScope.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class CmsPageTemplateScope [ForeignKey("PageTemplateScopeTemplateId")] [InverseProperty("CmsPageTemplateScopes")] public virtual CmsPageTemplate PageTemplateScopeTemplate { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsPermission.cs b/Migration.Toolkit.KX12/Models/CmsPermission.cs index a0ba330f..adfeee39 100644 --- a/Migration.Toolkit.KX12/Models/CmsPermission.cs +++ b/Migration.Toolkit.KX12/Models/CmsPermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class CmsPermission [ForeignKey("PermissionId")] [InverseProperty("Permissions")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsPersonalization.cs b/Migration.Toolkit.KX12/Models/CmsPersonalization.cs index 633b9e1b..a381b135 100644 --- a/Migration.Toolkit.KX12/Models/CmsPersonalization.cs +++ b/Migration.Toolkit.KX12/Models/CmsPersonalization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class CmsPersonalization [ForeignKey("PersonalizationUserId")] [InverseProperty("CmsPersonalizations")] public virtual CmsUser? PersonalizationUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsQuery.cs b/Migration.Toolkit.KX12/Models/CmsQuery.cs index dfa9a7a6..01e6b769 100644 --- a/Migration.Toolkit.KX12/Models/CmsQuery.cs +++ b/Migration.Toolkit.KX12/Models/CmsQuery.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsQuery [ForeignKey("ClassId")] [InverseProperty("CmsQueries")] public virtual CmsClass? Class { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsRelationship.cs b/Migration.Toolkit.KX12/Models/CmsRelationship.cs index 2baa668c..530df570 100644 --- a/Migration.Toolkit.KX12/Models/CmsRelationship.cs +++ b/Migration.Toolkit.KX12/Models/CmsRelationship.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsRelationship [ForeignKey("RightNodeId")] [InverseProperty("CmsRelationshipRightNodes")] public virtual CmsTree RightNode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsRelationshipName.cs b/Migration.Toolkit.KX12/Models/CmsRelationshipName.cs index adeb1b65..5aaf2495 100644 --- a/Migration.Toolkit.KX12/Models/CmsRelationshipName.cs +++ b/Migration.Toolkit.KX12/Models/CmsRelationshipName.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsRelationshipName [ForeignKey("RelationshipNameId")] [InverseProperty("RelationshipNames")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsResource.cs b/Migration.Toolkit.KX12/Models/CmsResource.cs index 1cf7af14..2c09363e 100644 --- a/Migration.Toolkit.KX12/Models/CmsResource.cs +++ b/Migration.Toolkit.KX12/Models/CmsResource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -82,4 +82,4 @@ public partial class CmsResource [ForeignKey("ResourceId")] [InverseProperty("Resources")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsResourceLibrary.cs b/Migration.Toolkit.KX12/Models/CmsResourceLibrary.cs index bd4ecfad..7773ffe7 100644 --- a/Migration.Toolkit.KX12/Models/CmsResourceLibrary.cs +++ b/Migration.Toolkit.KX12/Models/CmsResourceLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class CmsResourceLibrary [ForeignKey("ResourceLibraryResourceId")] [InverseProperty("CmsResourceLibraries")] public virtual CmsResource ResourceLibraryResource { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsResourceString.cs b/Migration.Toolkit.KX12/Models/CmsResourceString.cs index d661e0a7..c03889a3 100644 --- a/Migration.Toolkit.KX12/Models/CmsResourceString.cs +++ b/Migration.Toolkit.KX12/Models/CmsResourceString.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class CmsResourceString [InverseProperty("TranslationString")] public virtual ICollection CmsResourceTranslations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsResourceTranslation.cs b/Migration.Toolkit.KX12/Models/CmsResourceTranslation.cs index 9da24ef2..c94a9969 100644 --- a/Migration.Toolkit.KX12/Models/CmsResourceTranslation.cs +++ b/Migration.Toolkit.KX12/Models/CmsResourceTranslation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsResourceTranslation [ForeignKey("TranslationStringId")] [InverseProperty("CmsResourceTranslations")] public virtual CmsResourceString TranslationString { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsRole.cs b/Migration.Toolkit.KX12/Models/CmsRole.cs index d9e66f2f..510fc59d 100644 --- a/Migration.Toolkit.KX12/Models/CmsRole.cs +++ b/Migration.Toolkit.KX12/Models/CmsRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -95,4 +95,4 @@ public partial class CmsRole [ForeignKey("RoleId")] [InverseProperty("Roles")] public virtual ICollection Polls { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsScheduledTask.cs b/Migration.Toolkit.KX12/Models/CmsScheduledTask.cs index 8875c095..64fd145c 100644 --- a/Migration.Toolkit.KX12/Models/CmsScheduledTask.cs +++ b/Migration.Toolkit.KX12/Models/CmsScheduledTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -109,4 +109,4 @@ public partial class CmsScheduledTask [ForeignKey("TaskUserId")] [InverseProperty("CmsScheduledTasks")] public virtual CmsUser? TaskUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSearchEngine.cs b/Migration.Toolkit.KX12/Models/CmsSearchEngine.cs index 8b1a0850..57f20858 100644 --- a/Migration.Toolkit.KX12/Models/CmsSearchEngine.cs +++ b/Migration.Toolkit.KX12/Models/CmsSearchEngine.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsSearchEngine [StringLength(200)] public string? SearchEngineCrawler { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSearchIndex.cs b/Migration.Toolkit.KX12/Models/CmsSearchIndex.cs index b30cf321..b0121b7d 100644 --- a/Migration.Toolkit.KX12/Models/CmsSearchIndex.cs +++ b/Migration.Toolkit.KX12/Models/CmsSearchIndex.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -85,4 +85,4 @@ public partial class CmsSearchIndex [ForeignKey("IndexId")] [InverseProperty("Indices")] public virtual ICollection IndexSites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSearchTask.cs b/Migration.Toolkit.KX12/Models/CmsSearchTask.cs index cab0c689..5244e542 100644 --- a/Migration.Toolkit.KX12/Models/CmsSearchTask.cs +++ b/Migration.Toolkit.KX12/Models/CmsSearchTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class CmsSearchTask [Column("SearchTaskRelatedObjectID")] public int? SearchTaskRelatedObjectId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSearchTaskAzure.cs b/Migration.Toolkit.KX12/Models/CmsSearchTaskAzure.cs index c3f5babd..27ba60fb 100644 --- a/Migration.Toolkit.KX12/Models/CmsSearchTaskAzure.cs +++ b/Migration.Toolkit.KX12/Models/CmsSearchTaskAzure.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class CmsSearchTaskAzure public string? SearchTaskAzureErrorMessage { get; set; } public DateTime SearchTaskAzureCreated { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSession.cs b/Migration.Toolkit.KX12/Models/CmsSession.cs index 927a72c8..dc3779b2 100644 --- a/Migration.Toolkit.KX12/Models/CmsSession.cs +++ b/Migration.Toolkit.KX12/Models/CmsSession.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class CmsSession [ForeignKey("SessionUserId")] [InverseProperty("CmsSessions")] public virtual CmsUser? SessionUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSettingsCategory.cs b/Migration.Toolkit.KX12/Models/CmsSettingsCategory.cs index fdb05b79..59603df3 100644 --- a/Migration.Toolkit.KX12/Models/CmsSettingsCategory.cs +++ b/Migration.Toolkit.KX12/Models/CmsSettingsCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsSettingsCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSettingsKey.cs b/Migration.Toolkit.KX12/Models/CmsSettingsKey.cs index eaf1c37f..68f05808 100644 --- a/Migration.Toolkit.KX12/Models/CmsSettingsKey.cs +++ b/Migration.Toolkit.KX12/Models/CmsSettingsKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class CmsSettingsKey [ForeignKey("SiteId")] [InverseProperty("CmsSettingsKeys")] public virtual CmsSite? Site { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSite.cs b/Migration.Toolkit.KX12/Models/CmsSite.cs index 42380aea..83ae4729 100644 --- a/Migration.Toolkit.KX12/Models/CmsSite.cs +++ b/Migration.Toolkit.KX12/Models/CmsSite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -411,4 +411,4 @@ public partial class CmsSite [ForeignKey("SiteId")] [InverseProperty("Sites")] public virtual ICollection Stylesheets { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSiteDomainAlias.cs b/Migration.Toolkit.KX12/Models/CmsSiteDomainAlias.cs index a828e5d7..329ef52c 100644 --- a/Migration.Toolkit.KX12/Models/CmsSiteDomainAlias.cs +++ b/Migration.Toolkit.KX12/Models/CmsSiteDomainAlias.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class CmsSiteDomainAlias [ForeignKey("SiteId")] [InverseProperty("CmsSiteDomainAliases")] public virtual CmsSite Site { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsSmtpserver.cs b/Migration.Toolkit.KX12/Models/CmsSmtpserver.cs index c9a37884..c77c2f13 100644 --- a/Migration.Toolkit.KX12/Models/CmsSmtpserver.cs +++ b/Migration.Toolkit.KX12/Models/CmsSmtpserver.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class CmsSmtpserver [ForeignKey("ServerId")] [InverseProperty("Servers")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsState.cs b/Migration.Toolkit.KX12/Models/CmsState.cs index 89eb004e..f90f2457 100644 --- a/Migration.Toolkit.KX12/Models/CmsState.cs +++ b/Migration.Toolkit.KX12/Models/CmsState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class CmsState [InverseProperty("ContactState")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTag.cs b/Migration.Toolkit.KX12/Models/CmsTag.cs index 14d21d21..8976c7ac 100644 --- a/Migration.Toolkit.KX12/Models/CmsTag.cs +++ b/Migration.Toolkit.KX12/Models/CmsTag.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsTag [ForeignKey("TagId")] [InverseProperty("Tags")] public virtual ICollection Documents { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTagGroup.cs b/Migration.Toolkit.KX12/Models/CmsTagGroup.cs index d7d6ce5b..6e5a31a3 100644 --- a/Migration.Toolkit.KX12/Models/CmsTagGroup.cs +++ b/Migration.Toolkit.KX12/Models/CmsTagGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsTagGroup [ForeignKey("TagGroupSiteId")] [InverseProperty("CmsTagGroups")] public virtual CmsSite TagGroupSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTemplateDeviceLayout.cs b/Migration.Toolkit.KX12/Models/CmsTemplateDeviceLayout.cs index 6424d71a..648b207e 100644 --- a/Migration.Toolkit.KX12/Models/CmsTemplateDeviceLayout.cs +++ b/Migration.Toolkit.KX12/Models/CmsTemplateDeviceLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class CmsTemplateDeviceLayout [ForeignKey("ProfileId")] [InverseProperty("CmsTemplateDeviceLayouts")] public virtual CmsDeviceProfile Profile { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTimeZone.cs b/Migration.Toolkit.KX12/Models/CmsTimeZone.cs index c2aa5672..601fc4b0 100644 --- a/Migration.Toolkit.KX12/Models/CmsTimeZone.cs +++ b/Migration.Toolkit.KX12/Models/CmsTimeZone.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsTimeZone [InverseProperty("UserTimeZone")] public virtual ICollection CmsUserSettings { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTransformation.cs b/Migration.Toolkit.KX12/Models/CmsTransformation.cs index 486d01d5..9dc8a2b4 100644 --- a/Migration.Toolkit.KX12/Models/CmsTransformation.cs +++ b/Migration.Toolkit.KX12/Models/CmsTransformation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsTransformation [ForeignKey("TransformationClassId")] [InverseProperty("CmsTransformations")] public virtual CmsClass TransformationClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTranslationService.cs b/Migration.Toolkit.KX12/Models/CmsTranslationService.cs index 23833c72..b7a2ba7d 100644 --- a/Migration.Toolkit.KX12/Models/CmsTranslationService.cs +++ b/Migration.Toolkit.KX12/Models/CmsTranslationService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class CmsTranslationService [InverseProperty("SubmissionService")] public virtual ICollection CmsTranslationSubmissions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTranslationSubmission.cs b/Migration.Toolkit.KX12/Models/CmsTranslationSubmission.cs index 6eb90ccc..b6e09d40 100644 --- a/Migration.Toolkit.KX12/Models/CmsTranslationSubmission.cs +++ b/Migration.Toolkit.KX12/Models/CmsTranslationSubmission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -73,4 +73,4 @@ public partial class CmsTranslationSubmission [ForeignKey("SubmissionSubmittedByUserId")] [InverseProperty("CmsTranslationSubmissions")] public virtual CmsUser? SubmissionSubmittedByUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTranslationSubmissionItem.cs b/Migration.Toolkit.KX12/Models/CmsTranslationSubmissionItem.cs index 6c57462a..8df121a0 100644 --- a/Migration.Toolkit.KX12/Models/CmsTranslationSubmissionItem.cs +++ b/Migration.Toolkit.KX12/Models/CmsTranslationSubmissionItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -55,4 +55,4 @@ public partial class CmsTranslationSubmissionItem [ForeignKey("SubmissionItemSubmissionId")] [InverseProperty("CmsTranslationSubmissionItems")] public virtual CmsTranslationSubmission SubmissionItemSubmission { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsTree.cs b/Migration.Toolkit.KX12/Models/CmsTree.cs index c5122201..e6c2d935 100644 --- a/Migration.Toolkit.KX12/Models/CmsTree.cs +++ b/Migration.Toolkit.KX12/Models/CmsTree.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -181,4 +181,4 @@ public partial class CmsTree [InverseProperty("Node")] public virtual ICollection PersonasPersonaNodes { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsUielement.cs b/Migration.Toolkit.KX12/Models/CmsUielement.cs index f610aee7..b6c6577e 100644 --- a/Migration.Toolkit.KX12/Models/CmsUielement.cs +++ b/Migration.Toolkit.KX12/Models/CmsUielement.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -113,4 +113,4 @@ public partial class CmsUielement [ForeignKey("ElementId")] [InverseProperty("ElementsNavigation")] public virtual ICollection RolesNavigation { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsUser.cs b/Migration.Toolkit.KX12/Models/CmsUser.cs index a50ab59b..ff5fca6c 100644 --- a/Migration.Toolkit.KX12/Models/CmsUser.cs +++ b/Migration.Toolkit.KX12/Models/CmsUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -303,4 +303,4 @@ public partial class CmsUser [ForeignKey("UserId")] [InverseProperty("Users")] public virtual ICollection Workflows { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsUserCulture.cs b/Migration.Toolkit.KX12/Models/CmsUserCulture.cs index 7d59dc95..a0c56370 100644 --- a/Migration.Toolkit.KX12/Models/CmsUserCulture.cs +++ b/Migration.Toolkit.KX12/Models/CmsUserCulture.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsUserCulture [ForeignKey("UserId")] [InverseProperty("CmsUserCultures")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsUserMacroIdentity.cs b/Migration.Toolkit.KX12/Models/CmsUserMacroIdentity.cs index f937dad0..0d2124d6 100644 --- a/Migration.Toolkit.KX12/Models/CmsUserMacroIdentity.cs +++ b/Migration.Toolkit.KX12/Models/CmsUserMacroIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsUserMacroIdentity [ForeignKey("UserMacroIdentityUserId")] [InverseProperty("CmsUserMacroIdentity")] public virtual CmsUser UserMacroIdentityUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsUserRole.cs b/Migration.Toolkit.KX12/Models/CmsUserRole.cs index 9b1fd362..5e6d169b 100644 --- a/Migration.Toolkit.KX12/Models/CmsUserRole.cs +++ b/Migration.Toolkit.KX12/Models/CmsUserRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class CmsUserRole [ForeignKey("UserId")] [InverseProperty("CmsUserRoles")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsUserSetting.cs b/Migration.Toolkit.KX12/Models/CmsUserSetting.cs index bcb964c7..26a8b12a 100644 --- a/Migration.Toolkit.KX12/Models/CmsUserSetting.cs +++ b/Migration.Toolkit.KX12/Models/CmsUserSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -165,4 +165,4 @@ public partial class CmsUserSetting [ForeignKey("UserTimeZoneId")] [InverseProperty("CmsUserSettings")] public virtual CmsTimeZone? UserTimeZone { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsUserSite.cs b/Migration.Toolkit.KX12/Models/CmsUserSite.cs index a58af31d..1021b833 100644 --- a/Migration.Toolkit.KX12/Models/CmsUserSite.cs +++ b/Migration.Toolkit.KX12/Models/CmsUserSite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsUserSite [ForeignKey("UserId")] [InverseProperty("CmsUserSites")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsVersionHistory.cs b/Migration.Toolkit.KX12/Models/CmsVersionHistory.cs index 6871bdbd..00c58b15 100644 --- a/Migration.Toolkit.KX12/Models/CmsVersionHistory.cs +++ b/Migration.Toolkit.KX12/Models/CmsVersionHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -114,4 +114,4 @@ public partial class CmsVersionHistory [ForeignKey("VersionHistoryId")] [InverseProperty("VersionHistories")] public virtual ICollection AttachmentHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebFarmServer.cs b/Migration.Toolkit.KX12/Models/CmsWebFarmServer.cs index a9810ea0..4321d67a 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebFarmServer.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebFarmServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class CmsWebFarmServer [InverseProperty("Server")] public virtual ICollection CmsWebFarmServerTasks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebFarmServerLog.cs b/Migration.Toolkit.KX12/Models/CmsWebFarmServerLog.cs index 351b1d98..82837702 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebFarmServerLog.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebFarmServerLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class CmsWebFarmServerLog [Column("ServerID")] public int ServerId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebFarmServerMonitoring.cs b/Migration.Toolkit.KX12/Models/CmsWebFarmServerMonitoring.cs index bb441016..ac114ca5 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebFarmServerMonitoring.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebFarmServerMonitoring.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class CmsWebFarmServerMonitoring public int ServerId { get; set; } public DateTime? ServerPing { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebFarmServerTask.cs b/Migration.Toolkit.KX12/Models/CmsWebFarmServerTask.cs index 315f5af2..83f03dc5 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebFarmServerTask.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebFarmServerTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsWebFarmServerTask [ForeignKey("TaskId")] [InverseProperty("CmsWebFarmServerTasks")] public virtual CmsWebFarmTask Task { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebFarmTask.cs b/Migration.Toolkit.KX12/Models/CmsWebFarmTask.cs index a4efb4d9..8c0e8ff2 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebFarmTask.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebFarmTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class CmsWebFarmTask [InverseProperty("Task")] public virtual ICollection CmsWebFarmServerTasks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebPart.cs b/Migration.Toolkit.KX12/Models/CmsWebPart.cs index b85aa7fd..a26d9baf 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebPart.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebPart.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -83,4 +83,4 @@ public partial class CmsWebPart [ForeignKey("WebPartResourceId")] [InverseProperty("CmsWebParts")] public virtual CmsResource? WebPartResource { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebPartCategory.cs b/Migration.Toolkit.KX12/Models/CmsWebPartCategory.cs index 64d8812d..72901b09 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebPartCategory.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebPartCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsWebPartCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebPartContainer.cs b/Migration.Toolkit.KX12/Models/CmsWebPartContainer.cs index a51088f7..19baa707 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebPartContainer.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebPartContainer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsWebPartContainer [ForeignKey("ContainerId")] [InverseProperty("Containers")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebPartLayout.cs b/Migration.Toolkit.KX12/Models/CmsWebPartLayout.cs index 19b5866b..f37f2a21 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebPartLayout.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebPartLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsWebPartLayout [ForeignKey("WebPartLayoutWebPartId")] [InverseProperty("CmsWebPartLayouts")] public virtual CmsWebPart WebPartLayoutWebPart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWebTemplate.cs b/Migration.Toolkit.KX12/Models/CmsWebTemplate.cs index f30bc62d..faa7b801 100644 --- a/Migration.Toolkit.KX12/Models/CmsWebTemplate.cs +++ b/Migration.Toolkit.KX12/Models/CmsWebTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class CmsWebTemplate public Guid? WebTemplateThumbnailGuid { get; set; } public string? WebTemplateShortDescription { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWidget.cs b/Migration.Toolkit.KX12/Models/CmsWidget.cs index 18da074b..e5b38db8 100644 --- a/Migration.Toolkit.KX12/Models/CmsWidget.cs +++ b/Migration.Toolkit.KX12/Models/CmsWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -81,4 +81,4 @@ public partial class CmsWidget [ForeignKey("WidgetWebPartId")] [InverseProperty("CmsWidgets")] public virtual CmsWebPart WidgetWebPart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWidgetCategory.cs b/Migration.Toolkit.KX12/Models/CmsWidgetCategory.cs index 7b944b17..71964da1 100644 --- a/Migration.Toolkit.KX12/Models/CmsWidgetCategory.cs +++ b/Migration.Toolkit.KX12/Models/CmsWidgetCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsWidgetCategory [ForeignKey("WidgetCategoryParentId")] [InverseProperty("InverseWidgetCategoryParent")] public virtual CmsWidgetCategory? WidgetCategoryParent { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWidgetRole.cs b/Migration.Toolkit.KX12/Models/CmsWidgetRole.cs index 00e4ebcc..4bf1f4dc 100644 --- a/Migration.Toolkit.KX12/Models/CmsWidgetRole.cs +++ b/Migration.Toolkit.KX12/Models/CmsWidgetRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsWidgetRole [ForeignKey("WidgetId")] [InverseProperty("CmsWidgetRoles")] public virtual CmsWidget Widget { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWorkflow.cs b/Migration.Toolkit.KX12/Models/CmsWorkflow.cs index 536ea55c..2cc370c1 100644 --- a/Migration.Toolkit.KX12/Models/CmsWorkflow.cs +++ b/Migration.Toolkit.KX12/Models/CmsWorkflow.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -93,4 +93,4 @@ public partial class CmsWorkflow [ForeignKey("WorkflowId")] [InverseProperty("Workflows")] public virtual ICollection Users { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWorkflowAction.cs b/Migration.Toolkit.KX12/Models/CmsWorkflowAction.cs index 8987998b..4239f832 100644 --- a/Migration.Toolkit.KX12/Models/CmsWorkflowAction.cs +++ b/Migration.Toolkit.KX12/Models/CmsWorkflowAction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class CmsWorkflowAction [InverseProperty("StepAction")] public virtual ICollection CmsWorkflowSteps { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWorkflowHistory.cs b/Migration.Toolkit.KX12/Models/CmsWorkflowHistory.cs index 343d3f98..c9eef4cc 100644 --- a/Migration.Toolkit.KX12/Models/CmsWorkflowHistory.cs +++ b/Migration.Toolkit.KX12/Models/CmsWorkflowHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -85,4 +85,4 @@ public partial class CmsWorkflowHistory [ForeignKey("VersionHistoryId")] [InverseProperty("CmsWorkflowHistories")] public virtual CmsVersionHistory VersionHistory { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWorkflowScope.cs b/Migration.Toolkit.KX12/Models/CmsWorkflowScope.cs index 0fb582fd..d99de279 100644 --- a/Migration.Toolkit.KX12/Models/CmsWorkflowScope.cs +++ b/Migration.Toolkit.KX12/Models/CmsWorkflowScope.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsWorkflowScope [ForeignKey("ScopeWorkflowId")] [InverseProperty("CmsWorkflowScopes")] public virtual CmsWorkflow ScopeWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWorkflowStep.cs b/Migration.Toolkit.KX12/Models/CmsWorkflowStep.cs index 905e9897..ec76f5b1 100644 --- a/Migration.Toolkit.KX12/Models/CmsWorkflowStep.cs +++ b/Migration.Toolkit.KX12/Models/CmsWorkflowStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -112,4 +112,4 @@ public partial class CmsWorkflowStep [ForeignKey("StepWorkflowId")] [InverseProperty("CmsWorkflowSteps")] public virtual CmsWorkflow StepWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWorkflowStepRole.cs b/Migration.Toolkit.KX12/Models/CmsWorkflowStepRole.cs index 945a3f23..5e29ea6d 100644 --- a/Migration.Toolkit.KX12/Models/CmsWorkflowStepRole.cs +++ b/Migration.Toolkit.KX12/Models/CmsWorkflowStepRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsWorkflowStepRole [ForeignKey("StepId")] [InverseProperty("CmsWorkflowStepRoles")] public virtual CmsWorkflowStep Step { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWorkflowStepUser.cs b/Migration.Toolkit.KX12/Models/CmsWorkflowStepUser.cs index 2bc453b2..3b9c98f4 100644 --- a/Migration.Toolkit.KX12/Models/CmsWorkflowStepUser.cs +++ b/Migration.Toolkit.KX12/Models/CmsWorkflowStepUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsWorkflowStepUser [ForeignKey("UserId")] [InverseProperty("CmsWorkflowStepUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CmsWorkflowTransition.cs b/Migration.Toolkit.KX12/Models/CmsWorkflowTransition.cs index 26c9711a..df606a71 100644 --- a/Migration.Toolkit.KX12/Models/CmsWorkflowTransition.cs +++ b/Migration.Toolkit.KX12/Models/CmsWorkflowTransition.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsWorkflowTransition [ForeignKey("TransitionWorkflowId")] [InverseProperty("CmsWorkflowTransitions")] public virtual CmsWorkflow TransitionWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComAddress.cs b/Migration.Toolkit.KX12/Models/ComAddress.cs index d4a3c68b..dc98374a 100644 --- a/Migration.Toolkit.KX12/Models/ComAddress.cs +++ b/Migration.Toolkit.KX12/Models/ComAddress.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class ComAddress [InverseProperty("ShoppingCartShippingAddress")] public virtual ICollection ComShoppingCartShoppingCartShippingAddresses { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComBrand.cs b/Migration.Toolkit.KX12/Models/ComBrand.cs index 583ef8dc..40511cd5 100644 --- a/Migration.Toolkit.KX12/Models/ComBrand.cs +++ b/Migration.Toolkit.KX12/Models/ComBrand.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ComBrand [InverseProperty("Skubrand")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComCarrier.cs b/Migration.Toolkit.KX12/Models/ComCarrier.cs index 64807316..8cb983c8 100644 --- a/Migration.Toolkit.KX12/Models/ComCarrier.cs +++ b/Migration.Toolkit.KX12/Models/ComCarrier.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class ComCarrier [InverseProperty("ShippingOptionCarrier")] public virtual ICollection ComShippingOptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComCollection.cs b/Migration.Toolkit.KX12/Models/ComCollection.cs index 0f6a2e6a..280f420c 100644 --- a/Migration.Toolkit.KX12/Models/ComCollection.cs +++ b/Migration.Toolkit.KX12/Models/ComCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class ComCollection [InverseProperty("Skucollection")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComCouponCode.cs b/Migration.Toolkit.KX12/Models/ComCouponCode.cs index 4bc1944e..1cb7db94 100644 --- a/Migration.Toolkit.KX12/Models/ComCouponCode.cs +++ b/Migration.Toolkit.KX12/Models/ComCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComCouponCode [ForeignKey("CouponCodeDiscountId")] [InverseProperty("ComCouponCodes")] public virtual ComDiscount CouponCodeDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComCurrency.cs b/Migration.Toolkit.KX12/Models/ComCurrency.cs index 7627c0cf..e074a524 100644 --- a/Migration.Toolkit.KX12/Models/ComCurrency.cs +++ b/Migration.Toolkit.KX12/Models/ComCurrency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class ComCurrency [ForeignKey("CurrencySiteId")] [InverseProperty("ComCurrencies")] public virtual CmsSite? CurrencySite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComCurrencyExchangeRate.cs b/Migration.Toolkit.KX12/Models/ComCurrencyExchangeRate.cs index f99b87a8..27b920b5 100644 --- a/Migration.Toolkit.KX12/Models/ComCurrencyExchangeRate.cs +++ b/Migration.Toolkit.KX12/Models/ComCurrencyExchangeRate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ComCurrencyExchangeRate [ForeignKey("ExchangeTableId")] [InverseProperty("ComCurrencyExchangeRates")] public virtual ComExchangeTable ExchangeTable { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComCustomer.cs b/Migration.Toolkit.KX12/Models/ComCustomer.cs index cf54fd81..656387d1 100644 --- a/Migration.Toolkit.KX12/Models/ComCustomer.cs +++ b/Migration.Toolkit.KX12/Models/ComCustomer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -76,4 +76,4 @@ public partial class ComCustomer [ForeignKey("CustomerUserId")] [InverseProperty("ComCustomers")] public virtual CmsUser? CustomerUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComCustomerCreditHistory.cs b/Migration.Toolkit.KX12/Models/ComCustomerCreditHistory.cs index b8b9b44a..6d5efac4 100644 --- a/Migration.Toolkit.KX12/Models/ComCustomerCreditHistory.cs +++ b/Migration.Toolkit.KX12/Models/ComCustomerCreditHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class ComCustomerCreditHistory [ForeignKey("EventSiteId")] [InverseProperty("ComCustomerCreditHistories")] public virtual CmsSite? EventSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComDepartment.cs b/Migration.Toolkit.KX12/Models/ComDepartment.cs index 2603f544..7b2ea81a 100644 --- a/Migration.Toolkit.KX12/Models/ComDepartment.cs +++ b/Migration.Toolkit.KX12/Models/ComDepartment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ComDepartment [ForeignKey("DepartmentId")] [InverseProperty("Departments")] public virtual ICollection MultiBuyDiscounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComDiscount.cs b/Migration.Toolkit.KX12/Models/ComDiscount.cs index 192f9066..b39e84c4 100644 --- a/Migration.Toolkit.KX12/Models/ComDiscount.cs +++ b/Migration.Toolkit.KX12/Models/ComDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class ComDiscount [ForeignKey("DiscountSiteId")] [InverseProperty("ComDiscounts")] public virtual CmsSite DiscountSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComExchangeTable.cs b/Migration.Toolkit.KX12/Models/ComExchangeTable.cs index 931e1806..ec25ce7d 100644 --- a/Migration.Toolkit.KX12/Models/ComExchangeTable.cs +++ b/Migration.Toolkit.KX12/Models/ComExchangeTable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class ComExchangeTable [ForeignKey("ExchangeTableSiteId")] [InverseProperty("ComExchangeTables")] public virtual CmsSite? ExchangeTableSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComGiftCard.cs b/Migration.Toolkit.KX12/Models/ComGiftCard.cs index 7ab88dc7..af3da06b 100644 --- a/Migration.Toolkit.KX12/Models/ComGiftCard.cs +++ b/Migration.Toolkit.KX12/Models/ComGiftCard.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class ComGiftCard [ForeignKey("GiftCardSiteId")] [InverseProperty("ComGiftCards")] public virtual CmsSite GiftCardSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComGiftCardCouponCode.cs b/Migration.Toolkit.KX12/Models/ComGiftCardCouponCode.cs index 35c17199..76419db8 100644 --- a/Migration.Toolkit.KX12/Models/ComGiftCardCouponCode.cs +++ b/Migration.Toolkit.KX12/Models/ComGiftCardCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComGiftCardCouponCode [ForeignKey("GiftCardCouponCodeGiftCardId")] [InverseProperty("ComGiftCardCouponCodes")] public virtual ComGiftCard GiftCardCouponCodeGiftCard { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComInternalStatus.cs b/Migration.Toolkit.KX12/Models/ComInternalStatus.cs index 8b7843ae..d4772afc 100644 --- a/Migration.Toolkit.KX12/Models/ComInternalStatus.cs +++ b/Migration.Toolkit.KX12/Models/ComInternalStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ComInternalStatus [ForeignKey("InternalStatusSiteId")] [InverseProperty("ComInternalStatuses")] public virtual CmsSite? InternalStatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComManufacturer.cs b/Migration.Toolkit.KX12/Models/ComManufacturer.cs index 349f53b0..51ba0071 100644 --- a/Migration.Toolkit.KX12/Models/ComManufacturer.cs +++ b/Migration.Toolkit.KX12/Models/ComManufacturer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class ComManufacturer [ForeignKey("ManufacturerSiteId")] [InverseProperty("ComManufacturers")] public virtual CmsSite? ManufacturerSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComMultiBuyCouponCode.cs b/Migration.Toolkit.KX12/Models/ComMultiBuyCouponCode.cs index ef03be4f..7da4ffa5 100644 --- a/Migration.Toolkit.KX12/Models/ComMultiBuyCouponCode.cs +++ b/Migration.Toolkit.KX12/Models/ComMultiBuyCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComMultiBuyCouponCode [ForeignKey("MultiBuyCouponCodeMultiBuyDiscountId")] [InverseProperty("ComMultiBuyCouponCodes")] public virtual ComMultiBuyDiscount MultiBuyCouponCodeMultiBuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComMultiBuyDiscount.cs b/Migration.Toolkit.KX12/Models/ComMultiBuyDiscount.cs index ac8d7acc..eaad07df 100644 --- a/Migration.Toolkit.KX12/Models/ComMultiBuyDiscount.cs +++ b/Migration.Toolkit.KX12/Models/ComMultiBuyDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -95,4 +95,4 @@ public partial class ComMultiBuyDiscount [ForeignKey("MultiBuyDiscountId")] [InverseProperty("MultiBuyDiscounts")] public virtual ICollection Skus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountBrand.cs b/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountBrand.cs index 7801ae4b..59b52019 100644 --- a/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountBrand.cs +++ b/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountBrand.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountBrand [ForeignKey("MultiBuyDiscountId")] [InverseProperty("ComMultiBuyDiscountBrands")] public virtual ComMultiBuyDiscount MultiBuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountCollection.cs b/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountCollection.cs index d88a5df8..a8486f1f 100644 --- a/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountCollection.cs +++ b/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountCollection [ForeignKey("MultibuyDiscountId")] [InverseProperty("ComMultiBuyDiscountCollections")] public virtual ComMultiBuyDiscount MultibuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountTree.cs b/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountTree.cs index 5379e673..2dcb4934 100644 --- a/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountTree.cs +++ b/Migration.Toolkit.KX12/Models/ComMultiBuyDiscountTree.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountTree [ForeignKey("NodeId")] [InverseProperty("ComMultiBuyDiscountTrees")] public virtual CmsTree Node { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComOptionCategory.cs b/Migration.Toolkit.KX12/Models/ComOptionCategory.cs index f27551f8..388fd76b 100644 --- a/Migration.Toolkit.KX12/Models/ComOptionCategory.cs +++ b/Migration.Toolkit.KX12/Models/ComOptionCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class ComOptionCategory [InverseProperty("SkuoptionCategory")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComOrder.cs b/Migration.Toolkit.KX12/Models/ComOrder.cs index 20d5b89c..4ad04426 100644 --- a/Migration.Toolkit.KX12/Models/ComOrder.cs +++ b/Migration.Toolkit.KX12/Models/ComOrder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -129,4 +129,4 @@ public partial class ComOrder [ForeignKey("OrderStatusId")] [InverseProperty("ComOrders")] public virtual ComOrderStatus? OrderStatus { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComOrderAddress.cs b/Migration.Toolkit.KX12/Models/ComOrderAddress.cs index 14e0d29e..aeb54672 100644 --- a/Migration.Toolkit.KX12/Models/ComOrderAddress.cs +++ b/Migration.Toolkit.KX12/Models/ComOrderAddress.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ComOrderAddress [ForeignKey("AddressStateId")] [InverseProperty("ComOrderAddresses")] public virtual CmsState? AddressState { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComOrderItem.cs b/Migration.Toolkit.KX12/Models/ComOrderItem.cs index 7c4af44f..c3f3fc7a 100644 --- a/Migration.Toolkit.KX12/Models/ComOrderItem.cs +++ b/Migration.Toolkit.KX12/Models/ComOrderItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -67,4 +67,4 @@ public partial class ComOrderItem [ForeignKey("OrderItemSkuid")] [InverseProperty("ComOrderItems")] public virtual ComSku OrderItemSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComOrderItemSkufile.cs b/Migration.Toolkit.KX12/Models/ComOrderItemSkufile.cs index 73fe3955..2d33f8fa 100644 --- a/Migration.Toolkit.KX12/Models/ComOrderItemSkufile.cs +++ b/Migration.Toolkit.KX12/Models/ComOrderItemSkufile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComOrderItemSkufile [ForeignKey("OrderItemId")] [InverseProperty("ComOrderItemSkufiles")] public virtual ComOrderItem OrderItem { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComOrderStatus.cs b/Migration.Toolkit.KX12/Models/ComOrderStatus.cs index 4fe3183e..a4d3ee66 100644 --- a/Migration.Toolkit.KX12/Models/ComOrderStatus.cs +++ b/Migration.Toolkit.KX12/Models/ComOrderStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ComOrderStatus [ForeignKey("StatusSiteId")] [InverseProperty("ComOrderStatuses")] public virtual CmsSite? StatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComOrderStatusUser.cs b/Migration.Toolkit.KX12/Models/ComOrderStatusUser.cs index 4e70e79e..854cd25e 100644 --- a/Migration.Toolkit.KX12/Models/ComOrderStatusUser.cs +++ b/Migration.Toolkit.KX12/Models/ComOrderStatusUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ComOrderStatusUser [ForeignKey("ToStatusId")] [InverseProperty("ComOrderStatusUserToStatuses")] public virtual ComOrderStatus ToStatus { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComPaymentOption.cs b/Migration.Toolkit.KX12/Models/ComPaymentOption.cs index 485e6196..2ff892de 100644 --- a/Migration.Toolkit.KX12/Models/ComPaymentOption.cs +++ b/Migration.Toolkit.KX12/Models/ComPaymentOption.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -80,4 +80,4 @@ public partial class ComPaymentOption [ForeignKey("PaymentOptionSucceededOrderStatusId")] [InverseProperty("ComPaymentOptionPaymentOptionSucceededOrderStatuses")] public virtual ComOrderStatus? PaymentOptionSucceededOrderStatus { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComPublicStatus.cs b/Migration.Toolkit.KX12/Models/ComPublicStatus.cs index e5394d05..3cdce912 100644 --- a/Migration.Toolkit.KX12/Models/ComPublicStatus.cs +++ b/Migration.Toolkit.KX12/Models/ComPublicStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ComPublicStatus [ForeignKey("PublicStatusSiteId")] [InverseProperty("ComPublicStatuses")] public virtual CmsSite? PublicStatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComShippingCost.cs b/Migration.Toolkit.KX12/Models/ComShippingCost.cs index aa277bcd..9e163f98 100644 --- a/Migration.Toolkit.KX12/Models/ComShippingCost.cs +++ b/Migration.Toolkit.KX12/Models/ComShippingCost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComShippingCost [ForeignKey("ShippingCostShippingOptionId")] [InverseProperty("ComShippingCosts")] public virtual ComShippingOption ShippingCostShippingOption { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComShippingOption.cs b/Migration.Toolkit.KX12/Models/ComShippingOption.cs index 5a839c16..ad1f0c43 100644 --- a/Migration.Toolkit.KX12/Models/ComShippingOption.cs +++ b/Migration.Toolkit.KX12/Models/ComShippingOption.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -67,4 +67,4 @@ public partial class ComShippingOption [ForeignKey("ShippingOptionTaxClassId")] [InverseProperty("ComShippingOptions")] public virtual ComTaxClass? ShippingOptionTaxClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComShoppingCart.cs b/Migration.Toolkit.KX12/Models/ComShoppingCart.cs index 1c97d5ee..a6359b89 100644 --- a/Migration.Toolkit.KX12/Models/ComShoppingCart.cs +++ b/Migration.Toolkit.KX12/Models/ComShoppingCart.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -104,4 +104,4 @@ public partial class ComShoppingCart [ForeignKey("ShoppingCartUserId")] [InverseProperty("ComShoppingCarts")] public virtual CmsUser? ShoppingCartUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComShoppingCartCouponCode.cs b/Migration.Toolkit.KX12/Models/ComShoppingCartCouponCode.cs index 7841ebf2..edc88b37 100644 --- a/Migration.Toolkit.KX12/Models/ComShoppingCartCouponCode.cs +++ b/Migration.Toolkit.KX12/Models/ComShoppingCartCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class ComShoppingCartCouponCode [ForeignKey("ShoppingCartId")] [InverseProperty("ComShoppingCartCouponCodes")] public virtual ComShoppingCart ShoppingCart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComShoppingCartSku.cs b/Migration.Toolkit.KX12/Models/ComShoppingCartSku.cs index 6c4e375c..60afc97e 100644 --- a/Migration.Toolkit.KX12/Models/ComShoppingCartSku.cs +++ b/Migration.Toolkit.KX12/Models/ComShoppingCartSku.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ComShoppingCartSku [ForeignKey("Skuid")] [InverseProperty("ComShoppingCartSkus")] public virtual ComSku Sku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComSku.cs b/Migration.Toolkit.KX12/Models/ComSku.cs index 25097254..7d3c5c61 100644 --- a/Migration.Toolkit.KX12/Models/ComSku.cs +++ b/Migration.Toolkit.KX12/Models/ComSku.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -275,4 +275,4 @@ public partial class ComSku [ForeignKey("OptionSkuid")] [InverseProperty("OptionSkusNavigation")] public virtual ICollection VariantSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComSkufile.cs b/Migration.Toolkit.KX12/Models/ComSkufile.cs index dee08f04..2e5e1bef 100644 --- a/Migration.Toolkit.KX12/Models/ComSkufile.cs +++ b/Migration.Toolkit.KX12/Models/ComSkufile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class ComSkufile [ForeignKey("FileSkuid")] [InverseProperty("ComSkufiles")] public virtual ComSku FileSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComSkuoptionCategory.cs b/Migration.Toolkit.KX12/Models/ComSkuoptionCategory.cs index 344344d3..995de510 100644 --- a/Migration.Toolkit.KX12/Models/ComSkuoptionCategory.cs +++ b/Migration.Toolkit.KX12/Models/ComSkuoptionCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class ComSkuoptionCategory [ForeignKey("Skuid")] [InverseProperty("ComSkuoptionCategories")] public virtual ComSku Sku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComSupplier.cs b/Migration.Toolkit.KX12/Models/ComSupplier.cs index a8bdb448..ea3a1698 100644 --- a/Migration.Toolkit.KX12/Models/ComSupplier.cs +++ b/Migration.Toolkit.KX12/Models/ComSupplier.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ComSupplier [ForeignKey("SupplierSiteId")] [InverseProperty("ComSuppliers")] public virtual CmsSite? SupplierSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComTaxClass.cs b/Migration.Toolkit.KX12/Models/ComTaxClass.cs index 82ce0035..4bbf23d7 100644 --- a/Migration.Toolkit.KX12/Models/ComTaxClass.cs +++ b/Migration.Toolkit.KX12/Models/ComTaxClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ComTaxClass [ForeignKey("TaxClassSiteId")] [InverseProperty("ComTaxClasses")] public virtual CmsSite? TaxClassSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComTaxClassCountry.cs b/Migration.Toolkit.KX12/Models/ComTaxClassCountry.cs index f567202e..ba2aad21 100644 --- a/Migration.Toolkit.KX12/Models/ComTaxClassCountry.cs +++ b/Migration.Toolkit.KX12/Models/ComTaxClassCountry.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ComTaxClassCountry [ForeignKey("TaxClassId")] [InverseProperty("ComTaxClassCountries")] public virtual ComTaxClass TaxClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComTaxClassState.cs b/Migration.Toolkit.KX12/Models/ComTaxClassState.cs index c8a6a413..8319b9b7 100644 --- a/Migration.Toolkit.KX12/Models/ComTaxClassState.cs +++ b/Migration.Toolkit.KX12/Models/ComTaxClassState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ComTaxClassState [ForeignKey("TaxClassId")] [InverseProperty("ComTaxClassStates")] public virtual ComTaxClass TaxClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComVolumeDiscount.cs b/Migration.Toolkit.KX12/Models/ComVolumeDiscount.cs index b6934cd0..b68d8177 100644 --- a/Migration.Toolkit.KX12/Models/ComVolumeDiscount.cs +++ b/Migration.Toolkit.KX12/Models/ComVolumeDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComVolumeDiscount [ForeignKey("VolumeDiscountSkuid")] [InverseProperty("ComVolumeDiscounts")] public virtual ComSku VolumeDiscountSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ComWishlist.cs b/Migration.Toolkit.KX12/Models/ComWishlist.cs index 4523c804..e96c3100 100644 --- a/Migration.Toolkit.KX12/Models/ComWishlist.cs +++ b/Migration.Toolkit.KX12/Models/ComWishlist.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ComWishlist [ForeignKey("UserId")] [InverseProperty("ComWishlists")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CommunityGroup.cs b/Migration.Toolkit.KX12/Models/CommunityGroup.cs index 96b210e9..e4263d05 100644 --- a/Migration.Toolkit.KX12/Models/CommunityGroup.cs +++ b/Migration.Toolkit.KX12/Models/CommunityGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -107,4 +107,4 @@ public partial class CommunityGroup [InverseProperty("PollGroup")] public virtual ICollection PollsPolls { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CommunityGroupMember.cs b/Migration.Toolkit.KX12/Models/CommunityGroupMember.cs index 9a5725c0..2cd6f02e 100644 --- a/Migration.Toolkit.KX12/Models/CommunityGroupMember.cs +++ b/Migration.Toolkit.KX12/Models/CommunityGroupMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class CommunityGroupMember [ForeignKey("MemberUserId")] [InverseProperty("CommunityGroupMemberMemberUsers")] public virtual CmsUser MemberUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CommunityGroupRolePermission.cs b/Migration.Toolkit.KX12/Models/CommunityGroupRolePermission.cs index 09a085fe..245f74cd 100644 --- a/Migration.Toolkit.KX12/Models/CommunityGroupRolePermission.cs +++ b/Migration.Toolkit.KX12/Models/CommunityGroupRolePermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CommunityGroupRolePermission [ForeignKey("RoleId")] [InverseProperty("CommunityGroupRolePermissions")] public virtual CmsRole Role { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/CommunityInvitation.cs b/Migration.Toolkit.KX12/Models/CommunityInvitation.cs index c38737dc..5b33f4a1 100644 --- a/Migration.Toolkit.KX12/Models/CommunityInvitation.cs +++ b/Migration.Toolkit.KX12/Models/CommunityInvitation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class CommunityInvitation [ForeignKey("InvitedUserId")] [InverseProperty("CommunityInvitationInvitedUsers")] public virtual CmsUser? InvitedUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ContentFile.cs b/Migration.Toolkit.KX12/Models/ContentFile.cs index 68c4bf86..9b980870 100644 --- a/Migration.Toolkit.KX12/Models/ContentFile.cs +++ b/Migration.Toolkit.KX12/Models/ContentFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class ContentFile public string FileName { get; set; } = null!; public Guid? FileAttachment { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/EventsAttendee.cs b/Migration.Toolkit.KX12/Models/EventsAttendee.cs index 669bf92c..0eec9f81 100644 --- a/Migration.Toolkit.KX12/Models/EventsAttendee.cs +++ b/Migration.Toolkit.KX12/Models/EventsAttendee.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class EventsAttendee [ForeignKey("AttendeeEventNodeId")] [InverseProperty("EventsAttendees")] public virtual CmsTree AttendeeEventNode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ExportHistory.cs b/Migration.Toolkit.KX12/Models/ExportHistory.cs index 87876785..c4099777 100644 --- a/Migration.Toolkit.KX12/Models/ExportHistory.cs +++ b/Migration.Toolkit.KX12/Models/ExportHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ExportHistory [ForeignKey("ExportUserId")] [InverseProperty("ExportHistories")] public virtual CmsUser? ExportUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ExportTask.cs b/Migration.Toolkit.KX12/Models/ExportTask.cs index 4da7131b..c5c8fd12 100644 --- a/Migration.Toolkit.KX12/Models/ExportTask.cs +++ b/Migration.Toolkit.KX12/Models/ExportTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ExportTask [ForeignKey("TaskSiteId")] [InverseProperty("ExportTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ForumsAttachment.cs b/Migration.Toolkit.KX12/Models/ForumsAttachment.cs index 5a2256aa..1a43828a 100644 --- a/Migration.Toolkit.KX12/Models/ForumsAttachment.cs +++ b/Migration.Toolkit.KX12/Models/ForumsAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class ForumsAttachment [ForeignKey("AttachmentSiteId")] [InverseProperty("ForumsAttachments")] public virtual CmsSite AttachmentSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ForumsForum.cs b/Migration.Toolkit.KX12/Models/ForumsForum.cs index f57ac093..d3b0af29 100644 --- a/Migration.Toolkit.KX12/Models/ForumsForum.cs +++ b/Migration.Toolkit.KX12/Models/ForumsForum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -144,4 +144,4 @@ public partial class ForumsForum [ForeignKey("ForumId")] [InverseProperty("Forums")] public virtual ICollection Users { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ForumsForumGroup.cs b/Migration.Toolkit.KX12/Models/ForumsForumGroup.cs index affcdc15..b4dbf3ef 100644 --- a/Migration.Toolkit.KX12/Models/ForumsForumGroup.cs +++ b/Migration.Toolkit.KX12/Models/ForumsForumGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -86,4 +86,4 @@ public partial class ForumsForumGroup [ForeignKey("GroupSiteId")] [InverseProperty("ForumsForumGroups")] public virtual CmsSite GroupSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ForumsForumPost.cs b/Migration.Toolkit.KX12/Models/ForumsForumPost.cs index df33411c..8c0b5e78 100644 --- a/Migration.Toolkit.KX12/Models/ForumsForumPost.cs +++ b/Migration.Toolkit.KX12/Models/ForumsForumPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -121,4 +121,4 @@ public partial class ForumsForumPost [ForeignKey("PostUserId")] [InverseProperty("ForumsForumPostPostUsers")] public virtual CmsUser? PostUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ForumsForumRole.cs b/Migration.Toolkit.KX12/Models/ForumsForumRole.cs index 47354307..a53a0ba1 100644 --- a/Migration.Toolkit.KX12/Models/ForumsForumRole.cs +++ b/Migration.Toolkit.KX12/Models/ForumsForumRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ForumsForumRole [ForeignKey("RoleId")] [InverseProperty("ForumsForumRoles")] public virtual CmsRole Role { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ForumsForumSubscription.cs b/Migration.Toolkit.KX12/Models/ForumsForumSubscription.cs index c298845f..c2a7302a 100644 --- a/Migration.Toolkit.KX12/Models/ForumsForumSubscription.cs +++ b/Migration.Toolkit.KX12/Models/ForumsForumSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ForumsForumSubscription [ForeignKey("SubscriptionUserId")] [InverseProperty("ForumsForumSubscriptions")] public virtual CmsUser? SubscriptionUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ForumsUserFavorite.cs b/Migration.Toolkit.KX12/Models/ForumsUserFavorite.cs index 8a6bb351..1dd93a41 100644 --- a/Migration.Toolkit.KX12/Models/ForumsUserFavorite.cs +++ b/Migration.Toolkit.KX12/Models/ForumsUserFavorite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class ForumsUserFavorite [ForeignKey("UserId")] [InverseProperty("ForumsUserFavorites")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/IntegrationConnector.cs b/Migration.Toolkit.KX12/Models/IntegrationConnector.cs index 0d37d0cc..150974b2 100644 --- a/Migration.Toolkit.KX12/Models/IntegrationConnector.cs +++ b/Migration.Toolkit.KX12/Models/IntegrationConnector.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class IntegrationConnector [InverseProperty("SynchronizationConnector")] public virtual ICollection IntegrationSynchronizations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/IntegrationSyncLog.cs b/Migration.Toolkit.KX12/Models/IntegrationSyncLog.cs index e09acb94..53452f71 100644 --- a/Migration.Toolkit.KX12/Models/IntegrationSyncLog.cs +++ b/Migration.Toolkit.KX12/Models/IntegrationSyncLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class IntegrationSyncLog [ForeignKey("SyncLogSynchronizationId")] [InverseProperty("IntegrationSyncLogs")] public virtual IntegrationSynchronization SyncLogSynchronization { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/IntegrationSynchronization.cs b/Migration.Toolkit.KX12/Models/IntegrationSynchronization.cs index e18848d9..a35b645d 100644 --- a/Migration.Toolkit.KX12/Models/IntegrationSynchronization.cs +++ b/Migration.Toolkit.KX12/Models/IntegrationSynchronization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class IntegrationSynchronization [ForeignKey("SynchronizationTaskId")] [InverseProperty("IntegrationSynchronizations")] public virtual IntegrationTask SynchronizationTask { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/IntegrationTask.cs b/Migration.Toolkit.KX12/Models/IntegrationTask.cs index 4e3368c4..9959e543 100644 --- a/Migration.Toolkit.KX12/Models/IntegrationTask.cs +++ b/Migration.Toolkit.KX12/Models/IntegrationTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class IntegrationTask [ForeignKey("TaskSiteId")] [InverseProperty("IntegrationTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/MediaFile.cs b/Migration.Toolkit.KX12/Models/MediaFile.cs index dbefc824..c490c72b 100644 --- a/Migration.Toolkit.KX12/Models/MediaFile.cs +++ b/Migration.Toolkit.KX12/Models/MediaFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -75,4 +75,4 @@ public partial class MediaFile [ForeignKey("FileSiteId")] [InverseProperty("MediaFiles")] public virtual CmsSite FileSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/MediaLibrary.cs b/Migration.Toolkit.KX12/Models/MediaLibrary.cs index 61737037..2b17fe9b 100644 --- a/Migration.Toolkit.KX12/Models/MediaLibrary.cs +++ b/Migration.Toolkit.KX12/Models/MediaLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class MediaLibrary [InverseProperty("Library")] public virtual ICollection MediaLibraryRolePermissions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/MediaLibraryRolePermission.cs b/Migration.Toolkit.KX12/Models/MediaLibraryRolePermission.cs index c5f068f6..8e0d66fb 100644 --- a/Migration.Toolkit.KX12/Models/MediaLibraryRolePermission.cs +++ b/Migration.Toolkit.KX12/Models/MediaLibraryRolePermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class MediaLibraryRolePermission [ForeignKey("RoleId")] [InverseProperty("MediaLibraryRolePermissions")] public virtual CmsRole Role { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterAbtest.cs b/Migration.Toolkit.KX12/Models/NewsletterAbtest.cs index a079e620..2ba87219 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterAbtest.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterAbtest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class NewsletterAbtest [ForeignKey("TestWinnerScheduledTaskId")] [InverseProperty("NewsletterAbtests")] public virtual CmsScheduledTask? TestWinnerScheduledTask { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterClickedLink.cs b/Migration.Toolkit.KX12/Models/NewsletterClickedLink.cs index 3a7fe905..1c8719fe 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterClickedLink.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterClickedLink.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class NewsletterClickedLink [ForeignKey("ClickedLinkNewsletterLinkId")] [InverseProperty("NewsletterClickedLinks")] public virtual NewsletterLink ClickedLinkNewsletterLink { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterEmail.cs b/Migration.Toolkit.KX12/Models/NewsletterEmail.cs index 102ee0ed..d09543f8 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterEmail.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class NewsletterEmail [ForeignKey("EmailSubscriberId")] [InverseProperty("NewsletterEmails")] public virtual NewsletterSubscriber? EmailSubscriber { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterEmailTemplate.cs b/Migration.Toolkit.KX12/Models/NewsletterEmailTemplate.cs index 7d15a906..a8b83d4d 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterEmailTemplate.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterEmailTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class NewsletterEmailTemplate [ForeignKey("TemplateId")] [InverseProperty("Templates")] public virtual ICollection Newsletters { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterEmailWidget.cs b/Migration.Toolkit.KX12/Models/NewsletterEmailWidget.cs index bf2b393b..2fd9cdab 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterEmailWidget.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterEmailWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class NewsletterEmailWidget [InverseProperty("EmailWidget")] public virtual ICollection NewsletterEmailWidgetTemplates { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterEmailWidgetTemplate.cs b/Migration.Toolkit.KX12/Models/NewsletterEmailWidgetTemplate.cs index 3f09754b..4eaf266a 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterEmailWidgetTemplate.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterEmailWidgetTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class NewsletterEmailWidgetTemplate [ForeignKey("TemplateId")] [InverseProperty("NewsletterEmailWidgetTemplates")] public virtual NewsletterEmailTemplate Template { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterIssueContactGroup.cs b/Migration.Toolkit.KX12/Models/NewsletterIssueContactGroup.cs index a8e2c42c..491fe494 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterIssueContactGroup.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterIssueContactGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class NewsletterIssueContactGroup [ForeignKey("ContactGroupId")] [InverseProperty("NewsletterIssueContactGroups")] public virtual OmContactGroup ContactGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterLink.cs b/Migration.Toolkit.KX12/Models/NewsletterLink.cs index 54301123..d524ebaa 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterLink.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterLink.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class NewsletterLink [InverseProperty("ClickedLinkNewsletterLink")] public virtual ICollection NewsletterClickedLinks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterNewsletter.cs b/Migration.Toolkit.KX12/Models/NewsletterNewsletter.cs index 982f3b46..a96aac50 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterNewsletter.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterNewsletter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -113,4 +113,4 @@ public partial class NewsletterNewsletter [ForeignKey("NewsletterId")] [InverseProperty("Newsletters")] public virtual ICollection Templates { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterNewsletterIssue.cs b/Migration.Toolkit.KX12/Models/NewsletterNewsletterIssue.cs index 9784bd89..bbab3be3 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterNewsletterIssue.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterNewsletterIssue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -123,4 +123,4 @@ public partial class NewsletterNewsletterIssue [InverseProperty("UnsubscriptionFromIssue")] public virtual ICollection NewsletterUnsubscriptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterOpenedEmail.cs b/Migration.Toolkit.KX12/Models/NewsletterOpenedEmail.cs index 186508b5..19bc7e2d 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterOpenedEmail.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterOpenedEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class NewsletterOpenedEmail [ForeignKey("OpenedEmailIssueId")] [InverseProperty("NewsletterOpenedEmails")] public virtual NewsletterNewsletterIssue OpenedEmailIssue { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterSubscriber.cs b/Migration.Toolkit.KX12/Models/NewsletterSubscriber.cs index 33624a8f..e9d322b6 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterSubscriber.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterSubscriber.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class NewsletterSubscriber [ForeignKey("SubscriberSiteId")] [InverseProperty("NewsletterSubscribers")] public virtual CmsSite SubscriberSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterSubscriberNewsletter.cs b/Migration.Toolkit.KX12/Models/NewsletterSubscriberNewsletter.cs index 84c20f05..e6a4b28f 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterSubscriberNewsletter.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterSubscriberNewsletter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class NewsletterSubscriberNewsletter [ForeignKey("SubscriberId")] [InverseProperty("NewsletterSubscriberNewsletters")] public virtual NewsletterSubscriber Subscriber { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NewsletterUnsubscription.cs b/Migration.Toolkit.KX12/Models/NewsletterUnsubscription.cs index 958165a5..e9cc92d7 100644 --- a/Migration.Toolkit.KX12/Models/NewsletterUnsubscription.cs +++ b/Migration.Toolkit.KX12/Models/NewsletterUnsubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class NewsletterUnsubscription [ForeignKey("UnsubscriptionNewsletterId")] [InverseProperty("NewsletterUnsubscriptions")] public virtual NewsletterNewsletter? UnsubscriptionNewsletter { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NotificationGateway.cs b/Migration.Toolkit.KX12/Models/NotificationGateway.cs index e8e8530e..0b595544 100644 --- a/Migration.Toolkit.KX12/Models/NotificationGateway.cs +++ b/Migration.Toolkit.KX12/Models/NotificationGateway.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class NotificationGateway [InverseProperty("Gateway")] public virtual ICollection NotificationTemplateTexts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NotificationSubscription.cs b/Migration.Toolkit.KX12/Models/NotificationSubscription.cs index f329b5e4..b1b0b5de 100644 --- a/Migration.Toolkit.KX12/Models/NotificationSubscription.cs +++ b/Migration.Toolkit.KX12/Models/NotificationSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -74,4 +74,4 @@ public partial class NotificationSubscription [ForeignKey("SubscriptionUserId")] [InverseProperty("NotificationSubscriptions")] public virtual CmsUser SubscriptionUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NotificationTemplate.cs b/Migration.Toolkit.KX12/Models/NotificationTemplate.cs index 3d526802..ad69d568 100644 --- a/Migration.Toolkit.KX12/Models/NotificationTemplate.cs +++ b/Migration.Toolkit.KX12/Models/NotificationTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class NotificationTemplate [ForeignKey("TemplateSiteId")] [InverseProperty("NotificationTemplates")] public virtual CmsSite? TemplateSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/NotificationTemplateText.cs b/Migration.Toolkit.KX12/Models/NotificationTemplateText.cs index 557ce13d..ed66e01b 100644 --- a/Migration.Toolkit.KX12/Models/NotificationTemplateText.cs +++ b/Migration.Toolkit.KX12/Models/NotificationTemplateText.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class NotificationTemplateText [ForeignKey("TemplateId")] [InverseProperty("NotificationTemplateTexts")] public virtual NotificationTemplate Template { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmAbtest.cs b/Migration.Toolkit.KX12/Models/OmAbtest.cs index d86a44e5..bd413328 100644 --- a/Migration.Toolkit.KX12/Models/OmAbtest.cs +++ b/Migration.Toolkit.KX12/Models/OmAbtest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -69,4 +69,4 @@ public partial class OmAbtest [InverseProperty("AbvariantTest")] public virtual ICollection OmAbvariants { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmAbvariant.cs b/Migration.Toolkit.KX12/Models/OmAbvariant.cs index 4b8df6ce..c0504551 100644 --- a/Migration.Toolkit.KX12/Models/OmAbvariant.cs +++ b/Migration.Toolkit.KX12/Models/OmAbvariant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class OmAbvariant [ForeignKey("AbvariantTestId")] [InverseProperty("OmAbvariants")] public virtual OmAbtest AbvariantTest { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmAbvariantDatum.cs b/Migration.Toolkit.KX12/Models/OmAbvariantDatum.cs index 3b81d91e..21d84775 100644 --- a/Migration.Toolkit.KX12/Models/OmAbvariantDatum.cs +++ b/Migration.Toolkit.KX12/Models/OmAbvariantDatum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class OmAbvariantDatum [ForeignKey("AbvariantTestId")] [InverseProperty("OmAbvariantData")] public virtual OmAbtest AbvariantTest { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmAccount.cs b/Migration.Toolkit.KX12/Models/OmAccount.cs index 46fec60f..b6b2e111 100644 --- a/Migration.Toolkit.KX12/Models/OmAccount.cs +++ b/Migration.Toolkit.KX12/Models/OmAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -111,4 +111,4 @@ public partial class OmAccount [InverseProperty("Account")] public virtual ICollection OmAccountContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmAccountContact.cs b/Migration.Toolkit.KX12/Models/OmAccountContact.cs index b3c1f620..c7a1330c 100644 --- a/Migration.Toolkit.KX12/Models/OmAccountContact.cs +++ b/Migration.Toolkit.KX12/Models/OmAccountContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class OmAccountContact [ForeignKey("ContactRoleId")] [InverseProperty("OmAccountContacts")] public virtual OmContactRole? ContactRole { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmAccountStatus.cs b/Migration.Toolkit.KX12/Models/OmAccountStatus.cs index 91132de9..7c7a05b4 100644 --- a/Migration.Toolkit.KX12/Models/OmAccountStatus.cs +++ b/Migration.Toolkit.KX12/Models/OmAccountStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmAccountStatus [InverseProperty("AccountStatus")] public virtual ICollection OmAccounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmActivity.cs b/Migration.Toolkit.KX12/Models/OmActivity.cs index 2da4ec31..beb9be69 100644 --- a/Migration.Toolkit.KX12/Models/OmActivity.cs +++ b/Migration.Toolkit.KX12/Models/OmActivity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -76,4 +76,4 @@ public partial class OmActivity [Column("ActivityUTMContent")] [StringLength(200)] public string? ActivityUtmcontent { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmActivityRecalculationQueue.cs b/Migration.Toolkit.KX12/Models/OmActivityRecalculationQueue.cs index aafd7a7b..fcd14dc4 100644 --- a/Migration.Toolkit.KX12/Models/OmActivityRecalculationQueue.cs +++ b/Migration.Toolkit.KX12/Models/OmActivityRecalculationQueue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -15,4 +15,4 @@ public partial class OmActivityRecalculationQueue [Column("ActivityRecalculationQueueActivityID")] public int ActivityRecalculationQueueActivityId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmActivityType.cs b/Migration.Toolkit.KX12/Models/OmActivityType.cs index 8380a781..0538ec30 100644 --- a/Migration.Toolkit.KX12/Models/OmActivityType.cs +++ b/Migration.Toolkit.KX12/Models/OmActivityType.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class OmActivityType [StringLength(7)] public string? ActivityTypeColor { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmContact.cs b/Migration.Toolkit.KX12/Models/OmContact.cs index 63d4de0b..840a464f 100644 --- a/Migration.Toolkit.KX12/Models/OmContact.cs +++ b/Migration.Toolkit.KX12/Models/OmContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -138,4 +138,4 @@ public partial class OmContact [InverseProperty("VisitorToContactContact")] public virtual ICollection OmVisitorToContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmContactChangeRecalculationQueue.cs b/Migration.Toolkit.KX12/Models/OmContactChangeRecalculationQueue.cs index 62aa0381..e99bf7a5 100644 --- a/Migration.Toolkit.KX12/Models/OmContactChangeRecalculationQueue.cs +++ b/Migration.Toolkit.KX12/Models/OmContactChangeRecalculationQueue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class OmContactChangeRecalculationQueue public bool ContactChangeRecalculationQueueContactIsNew { get; set; } public bool ContactChangeRecalculationQueueContactWasMerged { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmContactGroup.cs b/Migration.Toolkit.KX12/Models/OmContactGroup.cs index 6a53c444..d9a3422b 100644 --- a/Migration.Toolkit.KX12/Models/OmContactGroup.cs +++ b/Migration.Toolkit.KX12/Models/OmContactGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class OmContactGroup [InverseProperty("ContactGroupMemberContactGroup")] public virtual ICollection OmContactGroupMembers { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmContactGroupMember.cs b/Migration.Toolkit.KX12/Models/OmContactGroupMember.cs index 13ac461d..1ff32e49 100644 --- a/Migration.Toolkit.KX12/Models/OmContactGroupMember.cs +++ b/Migration.Toolkit.KX12/Models/OmContactGroupMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class OmContactGroupMember [ForeignKey("ContactGroupMemberContactGroupId")] [InverseProperty("OmContactGroupMembers")] public virtual OmContactGroup ContactGroupMemberContactGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmContactRole.cs b/Migration.Toolkit.KX12/Models/OmContactRole.cs index 5ed2bc5f..654bf220 100644 --- a/Migration.Toolkit.KX12/Models/OmContactRole.cs +++ b/Migration.Toolkit.KX12/Models/OmContactRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmContactRole [InverseProperty("ContactRole")] public virtual ICollection OmAccountContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmContactStatus.cs b/Migration.Toolkit.KX12/Models/OmContactStatus.cs index 7ac2e116..cef59d44 100644 --- a/Migration.Toolkit.KX12/Models/OmContactStatus.cs +++ b/Migration.Toolkit.KX12/Models/OmContactStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmContactStatus [InverseProperty("ContactStatus")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmMembership.cs b/Migration.Toolkit.KX12/Models/OmMembership.cs index 958380bd..b02cc797 100644 --- a/Migration.Toolkit.KX12/Models/OmMembership.cs +++ b/Migration.Toolkit.KX12/Models/OmMembership.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class OmMembership [ForeignKey("ContactId")] [InverseProperty("OmMemberships")] public virtual OmContact Contact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmMvtcombination.cs b/Migration.Toolkit.KX12/Models/OmMvtcombination.cs index 43c9007f..ecd0c851 100644 --- a/Migration.Toolkit.KX12/Models/OmMvtcombination.cs +++ b/Migration.Toolkit.KX12/Models/OmMvtcombination.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class OmMvtcombination [ForeignKey("MvtcombinationId")] [InverseProperty("Mvtcombinations")] public virtual ICollection Mvtvariants { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmMvtest.cs b/Migration.Toolkit.KX12/Models/OmMvtest.cs index 5e377c0e..b83ca652 100644 --- a/Migration.Toolkit.KX12/Models/OmMvtest.cs +++ b/Migration.Toolkit.KX12/Models/OmMvtest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -64,4 +64,4 @@ public partial class OmMvtest [ForeignKey("MvtestSiteId")] [InverseProperty("OmMvtests")] public virtual CmsSite MvtestSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmMvtvariant.cs b/Migration.Toolkit.KX12/Models/OmMvtvariant.cs index 2e79aedd..32075aa7 100644 --- a/Migration.Toolkit.KX12/Models/OmMvtvariant.cs +++ b/Migration.Toolkit.KX12/Models/OmMvtvariant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -58,4 +58,4 @@ public partial class OmMvtvariant [ForeignKey("MvtvariantId")] [InverseProperty("Mvtvariants")] public virtual ICollection Mvtcombinations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmPersonalizationVariant.cs b/Migration.Toolkit.KX12/Models/OmPersonalizationVariant.cs index bd6147ba..c53e1070 100644 --- a/Migration.Toolkit.KX12/Models/OmPersonalizationVariant.cs +++ b/Migration.Toolkit.KX12/Models/OmPersonalizationVariant.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class OmPersonalizationVariant [ForeignKey("VariantPageTemplateId")] [InverseProperty("OmPersonalizationVariants")] public virtual CmsPageTemplate VariantPageTemplate { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmRule.cs b/Migration.Toolkit.KX12/Models/OmRule.cs index 3f8c5298..f7fe0e00 100644 --- a/Migration.Toolkit.KX12/Models/OmRule.cs +++ b/Migration.Toolkit.KX12/Models/OmRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class OmRule [ForeignKey("RuleScoreId")] [InverseProperty("OmRules")] public virtual OmScore RuleScore { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmScore.cs b/Migration.Toolkit.KX12/Models/OmScore.cs index 1e3c38a4..38206ff6 100644 --- a/Migration.Toolkit.KX12/Models/OmScore.cs +++ b/Migration.Toolkit.KX12/Models/OmScore.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class OmScore [InverseProperty("Score")] public virtual ICollection OmScoreContactRules { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmScoreContactRule.cs b/Migration.Toolkit.KX12/Models/OmScoreContactRule.cs index 3395d9b7..9043ee5f 100644 --- a/Migration.Toolkit.KX12/Models/OmScoreContactRule.cs +++ b/Migration.Toolkit.KX12/Models/OmScoreContactRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class OmScoreContactRule [ForeignKey("ScoreId")] [InverseProperty("OmScoreContactRules")] public virtual OmScore Score { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/OmVisitorToContact.cs b/Migration.Toolkit.KX12/Models/OmVisitorToContact.cs index 57c5a0f1..ae27cc31 100644 --- a/Migration.Toolkit.KX12/Models/OmVisitorToContact.cs +++ b/Migration.Toolkit.KX12/Models/OmVisitorToContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class OmVisitorToContact [ForeignKey("VisitorToContactContactId")] [InverseProperty("OmVisitorToContacts")] public virtual OmContact VisitorToContactContact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/PersonasPersona.cs b/Migration.Toolkit.KX12/Models/PersonasPersona.cs index 8e3f4fcb..957413ee 100644 --- a/Migration.Toolkit.KX12/Models/PersonasPersona.cs +++ b/Migration.Toolkit.KX12/Models/PersonasPersona.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class PersonasPersona [InverseProperty("PersonaContactHistoryPersona")] public virtual ICollection PersonasPersonaContactHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/PersonasPersonaContactHistory.cs b/Migration.Toolkit.KX12/Models/PersonasPersonaContactHistory.cs index d307fd1c..1aa5f092 100644 --- a/Migration.Toolkit.KX12/Models/PersonasPersonaContactHistory.cs +++ b/Migration.Toolkit.KX12/Models/PersonasPersonaContactHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class PersonasPersonaContactHistory [ForeignKey("PersonaContactHistoryPersonaId")] [InverseProperty("PersonasPersonaContactHistories")] public virtual PersonasPersona? PersonaContactHistoryPersona { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/PersonasPersonaNode.cs b/Migration.Toolkit.KX12/Models/PersonasPersonaNode.cs index ffb97008..852efa85 100644 --- a/Migration.Toolkit.KX12/Models/PersonasPersonaNode.cs +++ b/Migration.Toolkit.KX12/Models/PersonasPersonaNode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class PersonasPersonaNode [ForeignKey("NodeId")] [InverseProperty("PersonasPersonaNodes")] public virtual CmsTree Node { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/PollsPoll.cs b/Migration.Toolkit.KX12/Models/PollsPoll.cs index 0228c4e7..c282844d 100644 --- a/Migration.Toolkit.KX12/Models/PollsPoll.cs +++ b/Migration.Toolkit.KX12/Models/PollsPoll.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -69,4 +69,4 @@ public partial class PollsPoll [ForeignKey("PollId")] [InverseProperty("Polls")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/PollsPollAnswer.cs b/Migration.Toolkit.KX12/Models/PollsPollAnswer.cs index fd1fd54a..84695e11 100644 --- a/Migration.Toolkit.KX12/Models/PollsPollAnswer.cs +++ b/Migration.Toolkit.KX12/Models/PollsPollAnswer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class PollsPollAnswer [ForeignKey("AnswerPollId")] [InverseProperty("PollsPollAnswers")] public virtual PollsPoll AnswerPoll { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ReportingReport.cs b/Migration.Toolkit.KX12/Models/ReportingReport.cs index 8a0f396d..ebc26db4 100644 --- a/Migration.Toolkit.KX12/Models/ReportingReport.cs +++ b/Migration.Toolkit.KX12/Models/ReportingReport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class ReportingReport [InverseProperty("SavedReportReport")] public virtual ICollection ReportingSavedReports { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ReportingReportCategory.cs b/Migration.Toolkit.KX12/Models/ReportingReportCategory.cs index cfc808de..02a27ed2 100644 --- a/Migration.Toolkit.KX12/Models/ReportingReportCategory.cs +++ b/Migration.Toolkit.KX12/Models/ReportingReportCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ReportingReportCategory [InverseProperty("ReportCategory")] public virtual ICollection ReportingReports { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ReportingReportGraph.cs b/Migration.Toolkit.KX12/Models/ReportingReportGraph.cs index 8e8f5e9a..5a5b2eac 100644 --- a/Migration.Toolkit.KX12/Models/ReportingReportGraph.cs +++ b/Migration.Toolkit.KX12/Models/ReportingReportGraph.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class ReportingReportGraph [InverseProperty("ReportSubscriptionGraph")] public virtual ICollection ReportingReportSubscriptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ReportingReportSubscription.cs b/Migration.Toolkit.KX12/Models/ReportingReportSubscription.cs index 24b2c73a..aa11959e 100644 --- a/Migration.Toolkit.KX12/Models/ReportingReportSubscription.cs +++ b/Migration.Toolkit.KX12/Models/ReportingReportSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -90,4 +90,4 @@ public partial class ReportingReportSubscription [ForeignKey("ReportSubscriptionValueId")] [InverseProperty("ReportingReportSubscriptions")] public virtual ReportingReportValue? ReportSubscriptionValue { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ReportingReportTable.cs b/Migration.Toolkit.KX12/Models/ReportingReportTable.cs index 3294b482..5e91db51 100644 --- a/Migration.Toolkit.KX12/Models/ReportingReportTable.cs +++ b/Migration.Toolkit.KX12/Models/ReportingReportTable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class ReportingReportTable [ForeignKey("TableReportId")] [InverseProperty("ReportingReportTables")] public virtual ReportingReport TableReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ReportingReportValue.cs b/Migration.Toolkit.KX12/Models/ReportingReportValue.cs index 7901f61e..bd85c409 100644 --- a/Migration.Toolkit.KX12/Models/ReportingReportValue.cs +++ b/Migration.Toolkit.KX12/Models/ReportingReportValue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class ReportingReportValue [ForeignKey("ValueReportId")] [InverseProperty("ReportingReportValues")] public virtual ReportingReport ValueReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ReportingSavedGraph.cs b/Migration.Toolkit.KX12/Models/ReportingSavedGraph.cs index 7711e28f..b5b82d9b 100644 --- a/Migration.Toolkit.KX12/Models/ReportingSavedGraph.cs +++ b/Migration.Toolkit.KX12/Models/ReportingSavedGraph.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ReportingSavedGraph [ForeignKey("SavedGraphSavedReportId")] [InverseProperty("ReportingSavedGraphs")] public virtual ReportingSavedReport SavedGraphSavedReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ReportingSavedReport.cs b/Migration.Toolkit.KX12/Models/ReportingSavedReport.cs index 3bab9f4c..b940db3b 100644 --- a/Migration.Toolkit.KX12/Models/ReportingSavedReport.cs +++ b/Migration.Toolkit.KX12/Models/ReportingSavedReport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class ReportingSavedReport [ForeignKey("SavedReportReportId")] [InverseProperty("ReportingSavedReports")] public virtual ReportingReport SavedReportReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SharePointSharePointConnection.cs b/Migration.Toolkit.KX12/Models/SharePointSharePointConnection.cs index 133884c7..0de8c2a4 100644 --- a/Migration.Toolkit.KX12/Models/SharePointSharePointConnection.cs +++ b/Migration.Toolkit.KX12/Models/SharePointSharePointConnection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class SharePointSharePointConnection [InverseProperty("SharePointLibrarySharePointConnection")] public virtual ICollection SharePointSharePointLibraries { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SharePointSharePointFile.cs b/Migration.Toolkit.KX12/Models/SharePointSharePointFile.cs index f7d6ac28..0e45d6ee 100644 --- a/Migration.Toolkit.KX12/Models/SharePointSharePointFile.cs +++ b/Migration.Toolkit.KX12/Models/SharePointSharePointFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class SharePointSharePointFile [ForeignKey("SharePointFileSiteId")] [InverseProperty("SharePointSharePointFiles")] public virtual CmsSite SharePointFileSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SharePointSharePointLibrary.cs b/Migration.Toolkit.KX12/Models/SharePointSharePointLibrary.cs index 8e1a7ea9..dc5dab5a 100644 --- a/Migration.Toolkit.KX12/Models/SharePointSharePointLibrary.cs +++ b/Migration.Toolkit.KX12/Models/SharePointSharePointLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class SharePointSharePointLibrary [InverseProperty("SharePointFileSharePointLibrary")] public virtual ICollection SharePointSharePointFiles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmFacebookAccount.cs b/Migration.Toolkit.KX12/Models/SmFacebookAccount.cs index 33f97cf0..4df8a2ca 100644 --- a/Migration.Toolkit.KX12/Models/SmFacebookAccount.cs +++ b/Migration.Toolkit.KX12/Models/SmFacebookAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class SmFacebookAccount [InverseProperty("FacebookPostFacebookAccount")] public virtual ICollection SmFacebookPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmFacebookApplication.cs b/Migration.Toolkit.KX12/Models/SmFacebookApplication.cs index 647655d6..f39eb34e 100644 --- a/Migration.Toolkit.KX12/Models/SmFacebookApplication.cs +++ b/Migration.Toolkit.KX12/Models/SmFacebookApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class SmFacebookApplication [InverseProperty("FacebookAccountFacebookApplication")] public virtual ICollection SmFacebookAccounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmFacebookPost.cs b/Migration.Toolkit.KX12/Models/SmFacebookPost.cs index ad8659df..83f732ee 100644 --- a/Migration.Toolkit.KX12/Models/SmFacebookPost.cs +++ b/Migration.Toolkit.KX12/Models/SmFacebookPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -86,4 +86,4 @@ public partial class SmFacebookPost [ForeignKey("FacebookPostSiteId")] [InverseProperty("SmFacebookPosts")] public virtual CmsSite FacebookPostSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmInsight.cs b/Migration.Toolkit.KX12/Models/SmInsight.cs index 8d8a4c71..1775dfd0 100644 --- a/Migration.Toolkit.KX12/Models/SmInsight.cs +++ b/Migration.Toolkit.KX12/Models/SmInsight.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class SmInsight [InverseProperty("InsightHitInsight")] public virtual ICollection SmInsightHitYears { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmInsightHitDay.cs b/Migration.Toolkit.KX12/Models/SmInsightHitDay.cs index 04a5ad23..2cf9f03e 100644 --- a/Migration.Toolkit.KX12/Models/SmInsightHitDay.cs +++ b/Migration.Toolkit.KX12/Models/SmInsightHitDay.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitDay [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitDays")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmInsightHitMonth.cs b/Migration.Toolkit.KX12/Models/SmInsightHitMonth.cs index 5ed443aa..545feb75 100644 --- a/Migration.Toolkit.KX12/Models/SmInsightHitMonth.cs +++ b/Migration.Toolkit.KX12/Models/SmInsightHitMonth.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitMonth [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitMonths")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmInsightHitWeek.cs b/Migration.Toolkit.KX12/Models/SmInsightHitWeek.cs index ade16f57..5fc949f7 100644 --- a/Migration.Toolkit.KX12/Models/SmInsightHitWeek.cs +++ b/Migration.Toolkit.KX12/Models/SmInsightHitWeek.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitWeek [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitWeeks")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmInsightHitYear.cs b/Migration.Toolkit.KX12/Models/SmInsightHitYear.cs index b2adecdb..ef503aba 100644 --- a/Migration.Toolkit.KX12/Models/SmInsightHitYear.cs +++ b/Migration.Toolkit.KX12/Models/SmInsightHitYear.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitYear [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitYears")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmLinkedInAccount.cs b/Migration.Toolkit.KX12/Models/SmLinkedInAccount.cs index 3d66cb99..e2f18050 100644 --- a/Migration.Toolkit.KX12/Models/SmLinkedInAccount.cs +++ b/Migration.Toolkit.KX12/Models/SmLinkedInAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class SmLinkedInAccount [InverseProperty("LinkedInPostLinkedInAccount")] public virtual ICollection SmLinkedInPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmLinkedInApplication.cs b/Migration.Toolkit.KX12/Models/SmLinkedInApplication.cs index 21bf2efa..8527b9ef 100644 --- a/Migration.Toolkit.KX12/Models/SmLinkedInApplication.cs +++ b/Migration.Toolkit.KX12/Models/SmLinkedInApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class SmLinkedInApplication [ForeignKey("LinkedInApplicationSiteId")] [InverseProperty("SmLinkedInApplications")] public virtual CmsSite LinkedInApplicationSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmLinkedInPost.cs b/Migration.Toolkit.KX12/Models/SmLinkedInPost.cs index cfe6ca7c..760f0206 100644 --- a/Migration.Toolkit.KX12/Models/SmLinkedInPost.cs +++ b/Migration.Toolkit.KX12/Models/SmLinkedInPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -82,4 +82,4 @@ public partial class SmLinkedInPost [ForeignKey("LinkedInPostSiteId")] [InverseProperty("SmLinkedInPosts")] public virtual CmsSite LinkedInPostSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmTwitterAccount.cs b/Migration.Toolkit.KX12/Models/SmTwitterAccount.cs index 29ff9c63..c13379a1 100644 --- a/Migration.Toolkit.KX12/Models/SmTwitterAccount.cs +++ b/Migration.Toolkit.KX12/Models/SmTwitterAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class SmTwitterAccount [ForeignKey("TwitterAccountTwitterApplicationId")] [InverseProperty("SmTwitterAccounts")] public virtual SmTwitterApplication TwitterAccountTwitterApplication { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmTwitterApplication.cs b/Migration.Toolkit.KX12/Models/SmTwitterApplication.cs index d0b4ce4e..ac46696b 100644 --- a/Migration.Toolkit.KX12/Models/SmTwitterApplication.cs +++ b/Migration.Toolkit.KX12/Models/SmTwitterApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class SmTwitterApplication [ForeignKey("TwitterApplicationSiteId")] [InverseProperty("SmTwitterApplications")] public virtual CmsSite TwitterApplicationSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/SmTwitterPost.cs b/Migration.Toolkit.KX12/Models/SmTwitterPost.cs index bcbf6395..c2b800f6 100644 --- a/Migration.Toolkit.KX12/Models/SmTwitterPost.cs +++ b/Migration.Toolkit.KX12/Models/SmTwitterPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -68,4 +68,4 @@ public partial class SmTwitterPost [ForeignKey("TwitterPostTwitterAccountId")] [InverseProperty("SmTwitterPosts")] public virtual SmTwitterAccount TwitterPostTwitterAccount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/StagingServer.cs b/Migration.Toolkit.KX12/Models/StagingServer.cs index fbbd390c..93ec5215 100644 --- a/Migration.Toolkit.KX12/Models/StagingServer.cs +++ b/Migration.Toolkit.KX12/Models/StagingServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class StagingServer [InverseProperty("SynchronizationServer")] public virtual ICollection StagingSynchronizations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/StagingSynchronization.cs b/Migration.Toolkit.KX12/Models/StagingSynchronization.cs index 9408869f..1fdf7714 100644 --- a/Migration.Toolkit.KX12/Models/StagingSynchronization.cs +++ b/Migration.Toolkit.KX12/Models/StagingSynchronization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class StagingSynchronization [ForeignKey("SynchronizationTaskId")] [InverseProperty("StagingSynchronizations")] public virtual StagingTask SynchronizationTask { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/StagingTask.cs b/Migration.Toolkit.KX12/Models/StagingTask.cs index bdd77b2f..69f6515c 100644 --- a/Migration.Toolkit.KX12/Models/StagingTask.cs +++ b/Migration.Toolkit.KX12/Models/StagingTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class StagingTask [ForeignKey("TaskSiteId")] [InverseProperty("StagingTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/StagingTaskGroup.cs b/Migration.Toolkit.KX12/Models/StagingTaskGroup.cs index 1b892908..9b27d7b6 100644 --- a/Migration.Toolkit.KX12/Models/StagingTaskGroup.cs +++ b/Migration.Toolkit.KX12/Models/StagingTaskGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class StagingTaskGroup [InverseProperty("TaskGroup")] public virtual ICollection StagingTaskGroupUsers { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/StagingTaskGroupTask.cs b/Migration.Toolkit.KX12/Models/StagingTaskGroupTask.cs index 01ef2b52..910d79c3 100644 --- a/Migration.Toolkit.KX12/Models/StagingTaskGroupTask.cs +++ b/Migration.Toolkit.KX12/Models/StagingTaskGroupTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskGroupTask [ForeignKey("TaskGroupId")] [InverseProperty("StagingTaskGroupTasks")] public virtual StagingTaskGroup TaskGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/StagingTaskGroupUser.cs b/Migration.Toolkit.KX12/Models/StagingTaskGroupUser.cs index 34d345f2..7118370a 100644 --- a/Migration.Toolkit.KX12/Models/StagingTaskGroupUser.cs +++ b/Migration.Toolkit.KX12/Models/StagingTaskGroupUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskGroupUser [ForeignKey("UserId")] [InverseProperty("StagingTaskGroupUser")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/StagingTaskUser.cs b/Migration.Toolkit.KX12/Models/StagingTaskUser.cs index d0f3a42a..921c74d5 100644 --- a/Migration.Toolkit.KX12/Models/StagingTaskUser.cs +++ b/Migration.Toolkit.KX12/Models/StagingTaskUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskUser [ForeignKey("UserId")] [InverseProperty("StagingTaskUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/TempFile.cs b/Migration.Toolkit.KX12/Models/TempFile.cs index d6092558..a4d19418 100644 --- a/Migration.Toolkit.KX12/Models/TempFile.cs +++ b/Migration.Toolkit.KX12/Models/TempFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class TempFile public string? FileTitle { get; set; } public string? FileDescription { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/TempPageBuilderWidget.cs b/Migration.Toolkit.KX12/Models/TempPageBuilderWidget.cs index f1ef79ea..6e336de5 100644 --- a/Migration.Toolkit.KX12/Models/TempPageBuilderWidget.cs +++ b/Migration.Toolkit.KX12/Models/TempPageBuilderWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class TempPageBuilderWidget public DateTime PageBuilderWidgetsLastModified { get; set; } public string? PageBuilderTemplateConfiguration { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewBoardsBoardMessageJoined.cs b/Migration.Toolkit.KX12/Models/ViewBoardsBoardMessageJoined.cs index cae06661..b0fb0921 100644 --- a/Migration.Toolkit.KX12/Models/ViewBoardsBoardMessageJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewBoardsBoardMessageJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -156,4 +156,4 @@ public partial class ViewBoardsBoardMessageJoined public bool? GroupSendWaitingForApprovalNotification { get; set; } public int? GroupSecurity { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsAclitemItemsAndOperator.cs b/Migration.Toolkit.KX12/Models/ViewCmsAclitemItemsAndOperator.cs index 5cb30f6f..4e867bb7 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsAclitemItemsAndOperator.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsAclitemItemsAndOperator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class ViewCmsAclitemItemsAndOperator [Column("SiteID")] public int? SiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsObjectVersionHistoryUserJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsObjectVersionHistoryUserJoined.cs index c80e2627..15fd4eae 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsObjectVersionHistoryUserJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsObjectVersionHistoryUserJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -121,4 +121,4 @@ public partial class ViewCmsObjectVersionHistoryUserJoined [Column("UserMFTimestep")] public long? UserMftimestep { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs index a839d0ef..7ab9f81d 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -55,4 +55,4 @@ public partial class ViewCmsPageTemplateCategoryPageTemplateJoined [StringLength(200)] public string? PageTemplateIconClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsRelationshipJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsRelationshipJoined.cs index e1d01eca..bd8ce42a 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsRelationshipJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsRelationshipJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ViewCmsRelationshipJoined public int RelationshipId { get; set; } public int? RelationshipOrder { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsResourceStringJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsResourceStringJoined.cs index 33df0623..31014918 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsResourceStringJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsResourceStringJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class ViewCmsResourceStringJoined public Guid? CultureGuid { get; set; } public DateTime? CultureLastModified { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsResourceTranslatedJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsResourceTranslatedJoined.cs index c4b02b97..e445a456 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsResourceTranslatedJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsResourceTranslatedJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class ViewCmsResourceTranslatedJoined [StringLength(50)] public string CultureCode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsRoleResourcePermissionJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsRoleResourcePermissionJoined.cs index e51f3ba1..8df8c863 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsRoleResourcePermissionJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsRoleResourcePermissionJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class ViewCmsRoleResourcePermissionJoined [Column("PermissionID")] public int PermissionId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsSiteDocumentCount.cs b/Migration.Toolkit.KX12/Models/ViewCmsSiteDocumentCount.cs index 6ea7c389..4efae42c 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsSiteDocumentCount.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsSiteDocumentCount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class ViewCmsSiteDocumentCount public int? Documents { get; set; } public bool? SiteIsOffline { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsSiteRoleResourceUielementJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsSiteRoleResourceUielementJoined.cs index a52f7ebd..19c7dd8e 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsSiteRoleResourceUielementJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsSiteRoleResourceUielementJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class ViewCmsSiteRoleResourceUielementJoined [Column("RoleSiteID")] public int? RoleSiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsTreeJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsTreeJoined.cs index 5a4f0eab..550152f4 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsTreeJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsTreeJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -296,4 +296,4 @@ public partial class ViewCmsTreeJoined [Column("DocumentABTestConfiguration")] public string? DocumentAbtestConfiguration { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsUser.cs b/Migration.Toolkit.KX12/Models/ViewCmsUser.cs index 092a6297..3b5f3347 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsUser.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -212,4 +212,4 @@ public partial class ViewCmsUser [Column("AvatarGUID")] public Guid? AvatarGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsUserDocument.cs b/Migration.Toolkit.KX12/Models/ViewCmsUserDocument.cs index cfc764f4..360147ea 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsUserDocument.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsUserDocument.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class ViewCmsUserDocument [StringLength(12)] [Unicode(false)] public string Type { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsUserRoleJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsUserRoleJoined.cs index 78dd6371..82156363 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsUserRoleJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsUserRoleJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ViewCmsUserRoleJoined [Column("SiteGUID")] public Guid? SiteGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsUserRoleMembershipRole.cs b/Migration.Toolkit.KX12/Models/ViewCmsUserRoleMembershipRole.cs index 180aa819..597bdec0 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsUserRoleMembershipRole.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsUserRoleMembershipRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -22,4 +22,4 @@ public partial class ViewCmsUserRoleMembershipRole public int UserId { get; set; } public DateTime? ValidTo { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs index 005ad175..72ac9ac3 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -16,4 +16,4 @@ public partial class ViewCmsUserRoleMembershipRoleValidOnlyJoined public int RoleId { get; set; } public DateTime? ValidTo { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsUserSettingsRoleJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsUserSettingsRoleJoined.cs index 27c3ccd9..dbe6405a 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsUserSettingsRoleJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsUserSettingsRoleJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class ViewCmsUserSettingsRoleJoined public string SiteName { get; set; } = null!; public bool UserEnabled { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsWebPartCategoryWebpartJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsWebPartCategoryWebpartJoined.cs index 35bfc444..18c0ccbb 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsWebPartCategoryWebpartJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsWebPartCategoryWebpartJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -65,4 +65,4 @@ public partial class ViewCmsWebPartCategoryWebpartJoined public string? IconClass { get; set; } public bool? WebPartSkipInsertProperties { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCmsWidgetCategoryWidgetJoined.cs b/Migration.Toolkit.KX12/Models/ViewCmsWidgetCategoryWidgetJoined.cs index d4ad74ad..53fde9ba 100644 --- a/Migration.Toolkit.KX12/Models/ViewCmsWidgetCategoryWidgetJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewCmsWidgetCategoryWidgetJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ViewCmsWidgetCategoryWidgetJoined [StringLength(14)] [Unicode(false)] public string ObjectType { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs b/Migration.Toolkit.KX12/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs index 4e94fbae..cf00d5a0 100644 --- a/Migration.Toolkit.KX12/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ViewComSkuoptionCategoryOptionCategoryJoined [StringLength(200)] public string? CategoryLiveSiteDisplayName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCommunityGroup.cs b/Migration.Toolkit.KX12/Models/ViewCommunityGroup.cs index 621c3337..9982e833 100644 --- a/Migration.Toolkit.KX12/Models/ViewCommunityGroup.cs +++ b/Migration.Toolkit.KX12/Models/ViewCommunityGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -64,4 +64,4 @@ public partial class ViewCommunityGroup [Column("AvatarGUID")] public Guid? AvatarGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewCommunityMember.cs b/Migration.Toolkit.KX12/Models/ViewCommunityMember.cs index e995ec5d..844d3a45 100644 --- a/Migration.Toolkit.KX12/Models/ViewCommunityMember.cs +++ b/Migration.Toolkit.KX12/Models/ViewCommunityMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -243,4 +243,4 @@ public partial class ViewCommunityMember [StringLength(200)] public string? AvatarName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewForumsGroupForumPostJoined.cs b/Migration.Toolkit.KX12/Models/ViewForumsGroupForumPostJoined.cs index eb821483..b9ac95a9 100644 --- a/Migration.Toolkit.KX12/Models/ViewForumsGroupForumPostJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewForumsGroupForumPostJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -225,4 +225,4 @@ public partial class ViewForumsGroupForumPostJoined public bool? PostQuestionSolved { get; set; } public int? PostIsNotAnswer { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewIntegrationTaskJoined.cs b/Migration.Toolkit.KX12/Models/ViewIntegrationTaskJoined.cs index 20a757e0..26d73b97 100644 --- a/Migration.Toolkit.KX12/Models/ViewIntegrationTaskJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewIntegrationTaskJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -62,4 +62,4 @@ public partial class ViewIntegrationTaskJoined [StringLength(50)] public string? TaskDataType { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewMembershipMembershipUserJoined.cs b/Migration.Toolkit.KX12/Models/ViewMembershipMembershipUserJoined.cs index 2d1574b4..d72e4192 100644 --- a/Migration.Toolkit.KX12/Models/ViewMembershipMembershipUserJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewMembershipMembershipUserJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class ViewMembershipMembershipUserJoined [Column("MembershipSiteID")] public int? MembershipSiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewNewsletterSubscriptionsJoined.cs b/Migration.Toolkit.KX12/Models/ViewNewsletterSubscriptionsJoined.cs index 75e78203..77132113 100644 --- a/Migration.Toolkit.KX12/Models/ViewNewsletterSubscriptionsJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewNewsletterSubscriptionsJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ViewNewsletterSubscriptionsJoined [Column("SubscriberNewsletterID")] public int SubscriberNewsletterId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewOmAccountContactAccountJoined.cs b/Migration.Toolkit.KX12/Models/ViewOmAccountContactAccountJoined.cs index 1f4d71c8..fefa8192 100644 --- a/Migration.Toolkit.KX12/Models/ViewOmAccountContactAccountJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewOmAccountContactAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ViewOmAccountContactAccountJoined [Column("AccountStatusID")] public int? AccountStatusId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewOmAccountContactContactJoined.cs b/Migration.Toolkit.KX12/Models/ViewOmAccountContactContactJoined.cs index 7bbd2ddc..5d5d1a0f 100644 --- a/Migration.Toolkit.KX12/Models/ViewOmAccountContactContactJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewOmAccountContactContactJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class ViewOmAccountContactContactJoined [Column("ContactRoleID")] public int? ContactRoleId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewOmAccountJoined.cs b/Migration.Toolkit.KX12/Models/ViewOmAccountJoined.cs index a97efa2f..3ed9f189 100644 --- a/Migration.Toolkit.KX12/Models/ViewOmAccountJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewOmAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -99,4 +99,4 @@ public partial class ViewOmAccountJoined [StringLength(201)] public string AccountFullAddress { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewOmContactGroupMemberAccountJoined.cs b/Migration.Toolkit.KX12/Models/ViewOmContactGroupMemberAccountJoined.cs index 59584c45..08c6d790 100644 --- a/Migration.Toolkit.KX12/Models/ViewOmContactGroupMemberAccountJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewOmContactGroupMemberAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -75,4 +75,4 @@ public partial class ViewOmContactGroupMemberAccountJoined [Column("ContactGroupMemberID")] public int ContactGroupMemberId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewPollAnswerCount.cs b/Migration.Toolkit.KX12/Models/ViewPollAnswerCount.cs index e8a24875..d81ac81e 100644 --- a/Migration.Toolkit.KX12/Models/ViewPollAnswerCount.cs +++ b/Migration.Toolkit.KX12/Models/ViewPollAnswerCount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ViewPollAnswerCount public bool? PollLogActivity { get; set; } public int? AnswerCount { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/Models/ViewReportingCategoryReportJoined.cs b/Migration.Toolkit.KX12/Models/ViewReportingCategoryReportJoined.cs index 805bdb4d..961f5f0f 100644 --- a/Migration.Toolkit.KX12/Models/ViewReportingCategoryReportJoined.cs +++ b/Migration.Toolkit.KX12/Models/ViewReportingCategoryReportJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ViewReportingCategoryReportJoined [StringLength(14)] [Unicode(false)] public string ObjectType { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX12/SettingsKeys.cs b/Migration.Toolkit.KX12/SettingsKeys.cs index a394a98e..a2a2e780 100644 --- a/Migration.Toolkit.KX12/SettingsKeys.cs +++ b/Migration.Toolkit.KX12/SettingsKeys.cs @@ -2,7 +2,8 @@ // ReSharper disable IdentifierTypo namespace Migration.Toolkit.KX12; -public static class SettingsKeys { +public static class SettingsKeys +{ public const string CMSABTestingEnabled = "CMSABTestingEnabled"; public const string CMSAccessDeniedPageURL = "CMSAccessDeniedPageURL"; public const string CMSActivityPointsForBlogCommentPost = "CMSActivityPointsForBlogCommentPost"; diff --git a/Migration.Toolkit.KX13/Context/KX13Context.cs b/Migration.Toolkit.KX13/Context/KX13Context.cs index 6f1559b2..4b24747f 100644 --- a/Migration.Toolkit.KX13/Context/KX13Context.cs +++ b/Migration.Toolkit.KX13/Context/KX13Context.cs @@ -4093,4 +4093,4 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) } partial void OnModelCreatingPartial(ModelBuilder modelBuilder); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsCampaign.cs b/Migration.Toolkit.KX13/Models/AnalyticsCampaign.cs index e98bb734..00209988 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsCampaign.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsCampaign.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class AnalyticsCampaign [InverseProperty("TwitterPostCampaign")] public virtual ICollection SmTwitterPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsCampaignAsset.cs b/Migration.Toolkit.KX13/Models/AnalyticsCampaignAsset.cs index 664e8a2d..bb9676c4 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsCampaignAsset.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsCampaignAsset.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class AnalyticsCampaignAsset [ForeignKey("CampaignAssetCampaignId")] [InverseProperty("AnalyticsCampaignAssets")] public virtual AnalyticsCampaign CampaignAssetCampaign { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsCampaignAssetUrl.cs b/Migration.Toolkit.KX13/Models/AnalyticsCampaignAssetUrl.cs index ca07f893..0b29941f 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsCampaignAssetUrl.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsCampaignAssetUrl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class AnalyticsCampaignAssetUrl [ForeignKey("CampaignAssetUrlCampaignAssetId")] [InverseProperty("AnalyticsCampaignAssetUrls")] public virtual AnalyticsCampaignAsset CampaignAssetUrlCampaignAsset { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsCampaignConversion.cs b/Migration.Toolkit.KX13/Models/AnalyticsCampaignConversion.cs index 3b139b50..dc9fcdac 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsCampaignConversion.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsCampaignConversion.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class AnalyticsCampaignConversion [ForeignKey("CampaignConversionCampaignId")] [InverseProperty("AnalyticsCampaignConversions")] public virtual AnalyticsCampaign CampaignConversionCampaign { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsCampaignConversionHit.cs b/Migration.Toolkit.KX13/Models/AnalyticsCampaignConversionHit.cs index 336b827c..21ece672 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsCampaignConversionHit.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsCampaignConversionHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsCampaignConversionHit [ForeignKey("CampaignConversionHitsConversionId")] [InverseProperty("AnalyticsCampaignConversionHits")] public virtual AnalyticsCampaignConversion CampaignConversionHitsConversion { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsCampaignObjective.cs b/Migration.Toolkit.KX13/Models/AnalyticsCampaignObjective.cs index ab448536..250b0b43 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsCampaignObjective.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsCampaignObjective.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class AnalyticsCampaignObjective [ForeignKey("CampaignObjectiveCampaignConversionId")] [InverseProperty("AnalyticsCampaignObjectives")] public virtual AnalyticsCampaignConversion CampaignObjectiveCampaignConversion { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsDayHit.cs b/Migration.Toolkit.KX13/Models/AnalyticsDayHit.cs index 1065b154..c06faa8b 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsDayHit.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsDayHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsDayHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsDayHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsExitPage.cs b/Migration.Toolkit.KX13/Models/AnalyticsExitPage.cs index 99a9bb5c..35750bed 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsExitPage.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsExitPage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class AnalyticsExitPage [ForeignKey("ExitPageSiteId")] [InverseProperty("AnalyticsExitPages")] public virtual CmsSite ExitPageSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsHourHit.cs b/Migration.Toolkit.KX13/Models/AnalyticsHourHit.cs index 1bd5984c..ab490f59 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsHourHit.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsHourHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsHourHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsHourHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsMonthHit.cs b/Migration.Toolkit.KX13/Models/AnalyticsMonthHit.cs index d0aa8a73..472b4a4f 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsMonthHit.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsMonthHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsMonthHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsMonthHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsStatistic.cs b/Migration.Toolkit.KX13/Models/AnalyticsStatistic.cs index 069bdbc1..28092a0d 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsStatistic.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsStatistic.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class AnalyticsStatistic [ForeignKey("StatisticsSiteId")] [InverseProperty("AnalyticsStatistics")] public virtual CmsSite? StatisticsSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsWeekHit.cs b/Migration.Toolkit.KX13/Models/AnalyticsWeekHit.cs index 3a3a3aee..d6011466 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsWeekHit.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsWeekHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsWeekHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsWeekHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/AnalyticsYearHit.cs b/Migration.Toolkit.KX13/Models/AnalyticsYearHit.cs index 5be0db6a..4d910733 100644 --- a/Migration.Toolkit.KX13/Models/AnalyticsYearHit.cs +++ b/Migration.Toolkit.KX13/Models/AnalyticsYearHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class AnalyticsYearHit [ForeignKey("HitsStatisticsId")] [InverseProperty("AnalyticsYearHits")] public virtual AnalyticsStatistic HitsStatistics { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CiFileMetadatum.cs b/Migration.Toolkit.KX13/Models/CiFileMetadatum.cs index d95d141b..2a5f74ad 100644 --- a/Migration.Toolkit.KX13/Models/CiFileMetadatum.cs +++ b/Migration.Toolkit.KX13/Models/CiFileMetadatum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -19,4 +19,4 @@ public partial class CiFileMetadatum [StringLength(32)] public string FileHash { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CiMigration.cs b/Migration.Toolkit.KX13/Models/CiMigration.cs index 3f20ef62..00abe42b 100644 --- a/Migration.Toolkit.KX13/Models/CiMigration.cs +++ b/Migration.Toolkit.KX13/Models/CiMigration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class CiMigration public DateTime DateApplied { get; set; } public int? RowsAffected { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAcl.cs b/Migration.Toolkit.KX13/Models/CmsAcl.cs index 223588d1..634edf5c 100644 --- a/Migration.Toolkit.KX13/Models/CmsAcl.cs +++ b/Migration.Toolkit.KX13/Models/CmsAcl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsAcl [InverseProperty("NodeAcl")] public virtual ICollection CmsTrees { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAclitem.cs b/Migration.Toolkit.KX13/Models/CmsAclitem.cs index 07bd1f42..6aab452e 100644 --- a/Migration.Toolkit.KX13/Models/CmsAclitem.cs +++ b/Migration.Toolkit.KX13/Models/CmsAclitem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class CmsAclitem [ForeignKey("UserId")] [InverseProperty("CmsAclitemUsers")] public virtual CmsUser? User { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAlternativeForm.cs b/Migration.Toolkit.KX13/Models/CmsAlternativeForm.cs index bc497fce..91fb935d 100644 --- a/Migration.Toolkit.KX13/Models/CmsAlternativeForm.cs +++ b/Migration.Toolkit.KX13/Models/CmsAlternativeForm.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsAlternativeForm [ForeignKey("FormCoupledClassId")] [InverseProperty("CmsAlternativeFormFormCoupledClasses")] public virtual CmsClass? FormCoupledClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAlternativeUrl.cs b/Migration.Toolkit.KX13/Models/CmsAlternativeUrl.cs index 82dfaca1..5baca310 100644 --- a/Migration.Toolkit.KX13/Models/CmsAlternativeUrl.cs +++ b/Migration.Toolkit.KX13/Models/CmsAlternativeUrl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsAlternativeUrl [ForeignKey("AlternativeUrlSiteId")] [InverseProperty("CmsAlternativeUrls")] public virtual CmsSite AlternativeUrlSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAttachment.cs b/Migration.Toolkit.KX13/Models/CmsAttachment.cs index e97b54f3..ce145151 100644 --- a/Migration.Toolkit.KX13/Models/CmsAttachment.cs +++ b/Migration.Toolkit.KX13/Models/CmsAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -88,4 +88,4 @@ public partial class CmsAttachment [InverseProperty("AttachmentVariantParent")] public virtual ICollection InverseAttachmentVariantParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAttachmentHistory.cs b/Migration.Toolkit.KX13/Models/CmsAttachmentHistory.cs index 07b0e8f7..678b9028 100644 --- a/Migration.Toolkit.KX13/Models/CmsAttachmentHistory.cs +++ b/Migration.Toolkit.KX13/Models/CmsAttachmentHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -87,4 +87,4 @@ public partial class CmsAttachmentHistory [ForeignKey("AttachmentHistoryId")] [InverseProperty("AttachmentHistories")] public virtual ICollection VersionHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAutomationHistory.cs b/Migration.Toolkit.KX13/Models/CmsAutomationHistory.cs index b89d33d9..3f029e2d 100644 --- a/Migration.Toolkit.KX13/Models/CmsAutomationHistory.cs +++ b/Migration.Toolkit.KX13/Models/CmsAutomationHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -79,4 +79,4 @@ public partial class CmsAutomationHistory [ForeignKey("HistoryWorkflowId")] [InverseProperty("CmsAutomationHistories")] public virtual CmsWorkflow HistoryWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAutomationState.cs b/Migration.Toolkit.KX13/Models/CmsAutomationState.cs index d404eeb5..57787314 100644 --- a/Migration.Toolkit.KX13/Models/CmsAutomationState.cs +++ b/Migration.Toolkit.KX13/Models/CmsAutomationState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -68,4 +68,4 @@ public partial class CmsAutomationState [ForeignKey("StateWorkflowId")] [InverseProperty("CmsAutomationStates")] public virtual CmsWorkflow StateWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAutomationTemplate.cs b/Migration.Toolkit.KX13/Models/CmsAutomationTemplate.cs index b688294a..1122fd8d 100644 --- a/Migration.Toolkit.KX13/Models/CmsAutomationTemplate.cs +++ b/Migration.Toolkit.KX13/Models/CmsAutomationTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class CmsAutomationTemplate public Guid TemplateGuid { get; set; } public DateTime TemplateLastModified { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsAvatar.cs b/Migration.Toolkit.KX13/Models/CmsAvatar.cs index e8071fa7..d5274024 100644 --- a/Migration.Toolkit.KX13/Models/CmsAvatar.cs +++ b/Migration.Toolkit.KX13/Models/CmsAvatar.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsAvatar [InverseProperty("UserAvatar")] public virtual ICollection CmsUserSettings { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsCategory.cs b/Migration.Toolkit.KX13/Models/CmsCategory.cs index be2dc8e9..46b22b56 100644 --- a/Migration.Toolkit.KX13/Models/CmsCategory.cs +++ b/Migration.Toolkit.KX13/Models/CmsCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -64,4 +64,4 @@ public partial class CmsCategory [ForeignKey("CategoryId")] [InverseProperty("Categories")] public virtual ICollection Documents { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsClass.cs b/Migration.Toolkit.KX13/Models/CmsClass.cs index 7ba3f478..26d90239 100644 --- a/Migration.Toolkit.KX13/Models/CmsClass.cs +++ b/Migration.Toolkit.KX13/Models/CmsClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -193,4 +193,4 @@ public partial class CmsClass [ForeignKey("ClassId")] [InverseProperty("Classes")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsConsent.cs b/Migration.Toolkit.KX13/Models/CmsConsent.cs index e081d832..a93abbe4 100644 --- a/Migration.Toolkit.KX13/Models/CmsConsent.cs +++ b/Migration.Toolkit.KX13/Models/CmsConsent.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class CmsConsent [InverseProperty("ConsentArchiveConsent")] public virtual ICollection CmsConsentArchives { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsConsentAgreement.cs b/Migration.Toolkit.KX13/Models/CmsConsentAgreement.cs index 790692d1..2cecbbc6 100644 --- a/Migration.Toolkit.KX13/Models/CmsConsentAgreement.cs +++ b/Migration.Toolkit.KX13/Models/CmsConsentAgreement.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsConsentAgreement [ForeignKey("ConsentAgreementContactId")] [InverseProperty("CmsConsentAgreements")] public virtual OmContact ConsentAgreementContact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsConsentArchive.cs b/Migration.Toolkit.KX13/Models/CmsConsentArchive.cs index de7e2c9e..2e930d0a 100644 --- a/Migration.Toolkit.KX13/Models/CmsConsentArchive.cs +++ b/Migration.Toolkit.KX13/Models/CmsConsentArchive.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsConsentArchive [ForeignKey("ConsentArchiveConsentId")] [InverseProperty("CmsConsentArchives")] public virtual CmsConsent ConsentArchiveConsent { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsCountry.cs b/Migration.Toolkit.KX13/Models/CmsCountry.cs index 5fa2bd6a..637f39d0 100644 --- a/Migration.Toolkit.KX13/Models/CmsCountry.cs +++ b/Migration.Toolkit.KX13/Models/CmsCountry.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsCountry [InverseProperty("ContactCountry")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsCulture.cs b/Migration.Toolkit.KX13/Models/CmsCulture.cs index eca9ab8d..b3f7a007 100644 --- a/Migration.Toolkit.KX13/Models/CmsCulture.cs +++ b/Migration.Toolkit.KX13/Models/CmsCulture.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class CmsCulture [ForeignKey("CultureId")] [InverseProperty("Cultures")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsDocument.cs b/Migration.Toolkit.KX13/Models/CmsDocument.cs index fdffafa0..efdbbc85 100644 --- a/Migration.Toolkit.KX13/Models/CmsDocument.cs +++ b/Migration.Toolkit.KX13/Models/CmsDocument.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -164,4 +164,4 @@ public partial class CmsDocument [ForeignKey("DocumentId")] [InverseProperty("Documents")] public virtual ICollection Tags { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsDocumentTypeScope.cs b/Migration.Toolkit.KX13/Models/CmsDocumentTypeScope.cs index f1df92ba..760fc988 100644 --- a/Migration.Toolkit.KX13/Models/CmsDocumentTypeScope.cs +++ b/Migration.Toolkit.KX13/Models/CmsDocumentTypeScope.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class CmsDocumentTypeScope [ForeignKey("ScopeId")] [InverseProperty("Scopes")] public virtual ICollection Classes { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsEmail.cs b/Migration.Toolkit.KX13/Models/CmsEmail.cs index b2ce2e0b..f1cefafc 100644 --- a/Migration.Toolkit.KX13/Models/CmsEmail.cs +++ b/Migration.Toolkit.KX13/Models/CmsEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class CmsEmail [ForeignKey("EmailId")] [InverseProperty("Emails")] public virtual ICollection Attachments { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsEmailAttachment.cs b/Migration.Toolkit.KX13/Models/CmsEmailAttachment.cs index 0db69ada..bbfaa4fc 100644 --- a/Migration.Toolkit.KX13/Models/CmsEmailAttachment.cs +++ b/Migration.Toolkit.KX13/Models/CmsEmailAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsEmailAttachment [ForeignKey("AttachmentId")] [InverseProperty("Attachments")] public virtual ICollection Emails { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsEmailTemplate.cs b/Migration.Toolkit.KX13/Models/CmsEmailTemplate.cs index d743c624..9b31e886 100644 --- a/Migration.Toolkit.KX13/Models/CmsEmailTemplate.cs +++ b/Migration.Toolkit.KX13/Models/CmsEmailTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class CmsEmailTemplate [ForeignKey("EmailTemplateSiteId")] [InverseProperty("CmsEmailTemplates")] public virtual CmsSite? EmailTemplateSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsEmailUser.cs b/Migration.Toolkit.KX13/Models/CmsEmailUser.cs index 829a7183..bc093198 100644 --- a/Migration.Toolkit.KX13/Models/CmsEmailUser.cs +++ b/Migration.Toolkit.KX13/Models/CmsEmailUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class CmsEmailUser [ForeignKey("UserId")] [InverseProperty("CmsEmailUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsEventLog.cs b/Migration.Toolkit.KX13/Models/CmsEventLog.cs index 00dbd26c..df92e177 100644 --- a/Migration.Toolkit.KX13/Models/CmsEventLog.cs +++ b/Migration.Toolkit.KX13/Models/CmsEventLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class CmsEventLog public string? EventUserAgent { get; set; } public string? EventUrlReferrer { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsExternalLogin.cs b/Migration.Toolkit.KX13/Models/CmsExternalLogin.cs index bdfe34ff..31e84fa5 100644 --- a/Migration.Toolkit.KX13/Models/CmsExternalLogin.cs +++ b/Migration.Toolkit.KX13/Models/CmsExternalLogin.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class CmsExternalLogin [ForeignKey("UserId")] [InverseProperty("CmsExternalLogins")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsForm.cs b/Migration.Toolkit.KX13/Models/CmsForm.cs index f6e40440..59a7f2a5 100644 --- a/Migration.Toolkit.KX13/Models/CmsForm.cs +++ b/Migration.Toolkit.KX13/Models/CmsForm.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -91,4 +91,4 @@ public partial class CmsForm [ForeignKey("FormId")] [InverseProperty("Forms")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsFormUserControl.cs b/Migration.Toolkit.KX13/Models/CmsFormUserControl.cs index 2d01b700..802d2b20 100644 --- a/Migration.Toolkit.KX13/Models/CmsFormUserControl.cs +++ b/Migration.Toolkit.KX13/Models/CmsFormUserControl.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -92,4 +92,4 @@ public partial class CmsFormUserControl [ForeignKey("UserControlResourceId")] [InverseProperty("CmsFormUserControls")] public virtual CmsResource? UserControlResource { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsHelpTopic.cs b/Migration.Toolkit.KX13/Models/CmsHelpTopic.cs index 3a9d5675..1ae9ab2e 100644 --- a/Migration.Toolkit.KX13/Models/CmsHelpTopic.cs +++ b/Migration.Toolkit.KX13/Models/CmsHelpTopic.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsHelpTopic [ForeignKey("HelpTopicUielementId")] [InverseProperty("CmsHelpTopics")] public virtual CmsUielement HelpTopicUielement { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsLayout.cs b/Migration.Toolkit.KX13/Models/CmsLayout.cs index b345011a..703a52df 100644 --- a/Migration.Toolkit.KX13/Models/CmsLayout.cs +++ b/Migration.Toolkit.KX13/Models/CmsLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsLayout [InverseProperty("PageTemplateLayoutNavigation")] public virtual ICollection CmsPageTemplates { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsLicenseKey.cs b/Migration.Toolkit.KX13/Models/CmsLicenseKey.cs index dcbb9dd7..3e049827 100644 --- a/Migration.Toolkit.KX13/Models/CmsLicenseKey.cs +++ b/Migration.Toolkit.KX13/Models/CmsLicenseKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class CmsLicenseKey public string? LicenseExpiration { get; set; } public int? LicenseServers { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsMacroIdentity.cs b/Migration.Toolkit.KX13/Models/CmsMacroIdentity.cs index 7ee4e78e..3c985289 100644 --- a/Migration.Toolkit.KX13/Models/CmsMacroIdentity.cs +++ b/Migration.Toolkit.KX13/Models/CmsMacroIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsMacroIdentity [ForeignKey("MacroIdentityEffectiveUserId")] [InverseProperty("CmsMacroIdentities")] public virtual CmsUser? MacroIdentityEffectiveUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsMacroRule.cs b/Migration.Toolkit.KX13/Models/CmsMacroRule.cs index 219e2972..4f0b11ac 100644 --- a/Migration.Toolkit.KX13/Models/CmsMacroRule.cs +++ b/Migration.Toolkit.KX13/Models/CmsMacroRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsMacroRule public bool? MacroRuleEnabled { get; set; } public int? MacroRuleAvailability { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsMembership.cs b/Migration.Toolkit.KX13/Models/CmsMembership.cs index a603320e..bea104bc 100644 --- a/Migration.Toolkit.KX13/Models/CmsMembership.cs +++ b/Migration.Toolkit.KX13/Models/CmsMembership.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class CmsMembership [ForeignKey("MembershipId")] [InverseProperty("Memberships")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsMembershipUser.cs b/Migration.Toolkit.KX13/Models/CmsMembershipUser.cs index 44b1f596..47eadd58 100644 --- a/Migration.Toolkit.KX13/Models/CmsMembershipUser.cs +++ b/Migration.Toolkit.KX13/Models/CmsMembershipUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsMembershipUser [ForeignKey("UserId")] [InverseProperty("CmsMembershipUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsMetaFile.cs b/Migration.Toolkit.KX13/Models/CmsMetaFile.cs index 09a30b18..f10b3a27 100644 --- a/Migration.Toolkit.KX13/Models/CmsMetaFile.cs +++ b/Migration.Toolkit.KX13/Models/CmsMetaFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class CmsMetaFile [ForeignKey("MetaFileSiteId")] [InverseProperty("CmsMetaFiles")] public virtual CmsSite? MetaFileSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsModuleLicenseKey.cs b/Migration.Toolkit.KX13/Models/CmsModuleLicenseKey.cs index 4e40f489..56afa80c 100644 --- a/Migration.Toolkit.KX13/Models/CmsModuleLicenseKey.cs +++ b/Migration.Toolkit.KX13/Models/CmsModuleLicenseKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class CmsModuleLicenseKey [ForeignKey("ModuleLicenseKeyResourceId")] [InverseProperty("CmsModuleLicenseKeys")] public virtual CmsResource ModuleLicenseKeyResource { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsModuleUsageCounter.cs b/Migration.Toolkit.KX13/Models/CmsModuleUsageCounter.cs index abdcc44c..c649dc9a 100644 --- a/Migration.Toolkit.KX13/Models/CmsModuleUsageCounter.cs +++ b/Migration.Toolkit.KX13/Models/CmsModuleUsageCounter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class CmsModuleUsageCounter public string ModuleUsageCounterName { get; set; } = null!; public long ModuleUsageCounterValue { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsObjectSetting.cs b/Migration.Toolkit.KX13/Models/CmsObjectSetting.cs index 491e4bfe..9c5e6b70 100644 --- a/Migration.Toolkit.KX13/Models/CmsObjectSetting.cs +++ b/Migration.Toolkit.KX13/Models/CmsObjectSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class CmsObjectSetting [ForeignKey("ObjectWorkflowStepId")] [InverseProperty("CmsObjectSettings")] public virtual CmsWorkflowStep? ObjectWorkflowStep { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsObjectVersionHistory.cs b/Migration.Toolkit.KX13/Models/CmsObjectVersionHistory.cs index 5eaefdca..82839af9 100644 --- a/Migration.Toolkit.KX13/Models/CmsObjectVersionHistory.cs +++ b/Migration.Toolkit.KX13/Models/CmsObjectVersionHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -70,4 +70,4 @@ public partial class CmsObjectVersionHistory [ForeignKey("VersionObjectSiteId")] [InverseProperty("CmsObjectVersionHistories")] public virtual CmsSite? VersionObjectSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsObjectWorkflowTrigger.cs b/Migration.Toolkit.KX13/Models/CmsObjectWorkflowTrigger.cs index bfe0d899..16674721 100644 --- a/Migration.Toolkit.KX13/Models/CmsObjectWorkflowTrigger.cs +++ b/Migration.Toolkit.KX13/Models/CmsObjectWorkflowTrigger.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsObjectWorkflowTrigger [ForeignKey("TriggerWorkflowId")] [InverseProperty("CmsObjectWorkflowTriggers")] public virtual CmsWorkflow TriggerWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsPageFormerUrlPath.cs b/Migration.Toolkit.KX13/Models/CmsPageFormerUrlPath.cs index a07ba82a..433c89e5 100644 --- a/Migration.Toolkit.KX13/Models/CmsPageFormerUrlPath.cs +++ b/Migration.Toolkit.KX13/Models/CmsPageFormerUrlPath.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class CmsPageFormerUrlPath [ForeignKey("PageFormerUrlPathSiteId")] [InverseProperty("CmsPageFormerUrlPaths")] public virtual CmsSite PageFormerUrlPathSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsPageTemplate.cs b/Migration.Toolkit.KX13/Models/CmsPageTemplate.cs index fe2ab0ad..3f2d8ff3 100644 --- a/Migration.Toolkit.KX13/Models/CmsPageTemplate.cs +++ b/Migration.Toolkit.KX13/Models/CmsPageTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class CmsPageTemplate [ForeignKey("PageTemplateLayoutId")] [InverseProperty("CmsPageTemplates")] public virtual CmsLayout? PageTemplateLayoutNavigation { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsPageTemplateCategory.cs b/Migration.Toolkit.KX13/Models/CmsPageTemplateCategory.cs index e1da99a5..0d5fe9c8 100644 --- a/Migration.Toolkit.KX13/Models/CmsPageTemplateCategory.cs +++ b/Migration.Toolkit.KX13/Models/CmsPageTemplateCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class CmsPageTemplateCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsPageTemplateConfiguration.cs b/Migration.Toolkit.KX13/Models/CmsPageTemplateConfiguration.cs index 91579f69..fa9d9138 100644 --- a/Migration.Toolkit.KX13/Models/CmsPageTemplateConfiguration.cs +++ b/Migration.Toolkit.KX13/Models/CmsPageTemplateConfiguration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsPageTemplateConfiguration [ForeignKey("PageTemplateConfigurationSiteId")] [InverseProperty("CmsPageTemplateConfigurations")] public virtual CmsSite PageTemplateConfigurationSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsPageUrlPath.cs b/Migration.Toolkit.KX13/Models/CmsPageUrlPath.cs index b7bbc922..87deba8d 100644 --- a/Migration.Toolkit.KX13/Models/CmsPageUrlPath.cs +++ b/Migration.Toolkit.KX13/Models/CmsPageUrlPath.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsPageUrlPath [ForeignKey("PageUrlPathSiteId")] [InverseProperty("CmsPageUrlPaths")] public virtual CmsSite PageUrlPathSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsPermission.cs b/Migration.Toolkit.KX13/Models/CmsPermission.cs index cb5adb98..bbdc3e7b 100644 --- a/Migration.Toolkit.KX13/Models/CmsPermission.cs +++ b/Migration.Toolkit.KX13/Models/CmsPermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsPermission [ForeignKey("PermissionId")] [InverseProperty("Permissions")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsPersonalization.cs b/Migration.Toolkit.KX13/Models/CmsPersonalization.cs index cff70a76..c035e8fc 100644 --- a/Migration.Toolkit.KX13/Models/CmsPersonalization.cs +++ b/Migration.Toolkit.KX13/Models/CmsPersonalization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class CmsPersonalization [ForeignKey("PersonalizationUserId")] [InverseProperty("CmsPersonalizations")] public virtual CmsUser? PersonalizationUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsQuery.cs b/Migration.Toolkit.KX13/Models/CmsQuery.cs index 56027f43..a27092ba 100644 --- a/Migration.Toolkit.KX13/Models/CmsQuery.cs +++ b/Migration.Toolkit.KX13/Models/CmsQuery.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsQuery [ForeignKey("ClassId")] [InverseProperty("CmsQueries")] public virtual CmsClass? Class { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsRelationship.cs b/Migration.Toolkit.KX13/Models/CmsRelationship.cs index 08f43e3e..5fdf31a0 100644 --- a/Migration.Toolkit.KX13/Models/CmsRelationship.cs +++ b/Migration.Toolkit.KX13/Models/CmsRelationship.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsRelationship [ForeignKey("RightNodeId")] [InverseProperty("CmsRelationshipRightNodes")] public virtual CmsTree RightNode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsRelationshipName.cs b/Migration.Toolkit.KX13/Models/CmsRelationshipName.cs index 4592a3bf..e883123d 100644 --- a/Migration.Toolkit.KX13/Models/CmsRelationshipName.cs +++ b/Migration.Toolkit.KX13/Models/CmsRelationshipName.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsRelationshipName [ForeignKey("RelationshipNameId")] [InverseProperty("RelationshipNames")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsResource.cs b/Migration.Toolkit.KX13/Models/CmsResource.cs index d015b623..affaa9ed 100644 --- a/Migration.Toolkit.KX13/Models/CmsResource.cs +++ b/Migration.Toolkit.KX13/Models/CmsResource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -82,4 +82,4 @@ public partial class CmsResource [ForeignKey("ResourceId")] [InverseProperty("Resources")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsResourceLibrary.cs b/Migration.Toolkit.KX13/Models/CmsResourceLibrary.cs index 73ebb9db..04decec9 100644 --- a/Migration.Toolkit.KX13/Models/CmsResourceLibrary.cs +++ b/Migration.Toolkit.KX13/Models/CmsResourceLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class CmsResourceLibrary [ForeignKey("ResourceLibraryResourceId")] [InverseProperty("CmsResourceLibraries")] public virtual CmsResource ResourceLibraryResource { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsResourceString.cs b/Migration.Toolkit.KX13/Models/CmsResourceString.cs index d84f3d26..3dfcdac0 100644 --- a/Migration.Toolkit.KX13/Models/CmsResourceString.cs +++ b/Migration.Toolkit.KX13/Models/CmsResourceString.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class CmsResourceString [InverseProperty("TranslationString")] public virtual ICollection CmsResourceTranslations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsResourceTranslation.cs b/Migration.Toolkit.KX13/Models/CmsResourceTranslation.cs index ca748460..4a52d85a 100644 --- a/Migration.Toolkit.KX13/Models/CmsResourceTranslation.cs +++ b/Migration.Toolkit.KX13/Models/CmsResourceTranslation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsResourceTranslation [ForeignKey("TranslationStringId")] [InverseProperty("CmsResourceTranslations")] public virtual CmsResourceString TranslationString { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsRole.cs b/Migration.Toolkit.KX13/Models/CmsRole.cs index bc91793e..e9750750 100644 --- a/Migration.Toolkit.KX13/Models/CmsRole.cs +++ b/Migration.Toolkit.KX13/Models/CmsRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -70,4 +70,4 @@ public partial class CmsRole [ForeignKey("RoleId")] [InverseProperty("Roles")] public virtual ICollection Permissions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsScheduledTask.cs b/Migration.Toolkit.KX13/Models/CmsScheduledTask.cs index a43f146d..9847145c 100644 --- a/Migration.Toolkit.KX13/Models/CmsScheduledTask.cs +++ b/Migration.Toolkit.KX13/Models/CmsScheduledTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -111,4 +111,4 @@ public partial class CmsScheduledTask [ForeignKey("TaskUserId")] [InverseProperty("CmsScheduledTasks")] public virtual CmsUser? TaskUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSearchEngine.cs b/Migration.Toolkit.KX13/Models/CmsSearchEngine.cs index 0e66d95c..f12e7950 100644 --- a/Migration.Toolkit.KX13/Models/CmsSearchEngine.cs +++ b/Migration.Toolkit.KX13/Models/CmsSearchEngine.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsSearchEngine [StringLength(200)] public string? SearchEngineCrawler { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSearchIndex.cs b/Migration.Toolkit.KX13/Models/CmsSearchIndex.cs index 316fec6f..7516a2fc 100644 --- a/Migration.Toolkit.KX13/Models/CmsSearchIndex.cs +++ b/Migration.Toolkit.KX13/Models/CmsSearchIndex.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -74,4 +74,4 @@ public partial class CmsSearchIndex [ForeignKey("IndexId")] [InverseProperty("Indices")] public virtual ICollection IndexSites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSearchTask.cs b/Migration.Toolkit.KX13/Models/CmsSearchTask.cs index 497a54a4..f410a1c4 100644 --- a/Migration.Toolkit.KX13/Models/CmsSearchTask.cs +++ b/Migration.Toolkit.KX13/Models/CmsSearchTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class CmsSearchTask [StringLength(100)] public string? SearchTaskIndexerName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSearchTaskAzure.cs b/Migration.Toolkit.KX13/Models/CmsSearchTaskAzure.cs index 28906865..2da93918 100644 --- a/Migration.Toolkit.KX13/Models/CmsSearchTaskAzure.cs +++ b/Migration.Toolkit.KX13/Models/CmsSearchTaskAzure.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsSearchTaskAzure [StringLength(100)] public string? SearchTaskAzureIndexerName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSettingsCategory.cs b/Migration.Toolkit.KX13/Models/CmsSettingsCategory.cs index 9993a38c..5f3b03be 100644 --- a/Migration.Toolkit.KX13/Models/CmsSettingsCategory.cs +++ b/Migration.Toolkit.KX13/Models/CmsSettingsCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsSettingsCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSettingsKey.cs b/Migration.Toolkit.KX13/Models/CmsSettingsKey.cs index c7b6b3ce..ed520c13 100644 --- a/Migration.Toolkit.KX13/Models/CmsSettingsKey.cs +++ b/Migration.Toolkit.KX13/Models/CmsSettingsKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class CmsSettingsKey [ForeignKey("SiteId")] [InverseProperty("CmsSettingsKeys")] public virtual CmsSite? Site { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSite.cs b/Migration.Toolkit.KX13/Models/CmsSite.cs index f5f615a1..64df7ecd 100644 --- a/Migration.Toolkit.KX13/Models/CmsSite.cs +++ b/Migration.Toolkit.KX13/Models/CmsSite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -308,4 +308,4 @@ public partial class CmsSite [ForeignKey("SiteId")] [InverseProperty("Sites")] public virtual ICollection Servers { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSiteDomainAlias.cs b/Migration.Toolkit.KX13/Models/CmsSiteDomainAlias.cs index 3c940c4e..f83ea7e6 100644 --- a/Migration.Toolkit.KX13/Models/CmsSiteDomainAlias.cs +++ b/Migration.Toolkit.KX13/Models/CmsSiteDomainAlias.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsSiteDomainAlias [ForeignKey("SiteId")] [InverseProperty("CmsSiteDomainAliases")] public virtual CmsSite Site { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsSmtpserver.cs b/Migration.Toolkit.KX13/Models/CmsSmtpserver.cs index 241e9a0c..b9107183 100644 --- a/Migration.Toolkit.KX13/Models/CmsSmtpserver.cs +++ b/Migration.Toolkit.KX13/Models/CmsSmtpserver.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class CmsSmtpserver [ForeignKey("ServerId")] [InverseProperty("Servers")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsState.cs b/Migration.Toolkit.KX13/Models/CmsState.cs index 0791beb2..633c48a9 100644 --- a/Migration.Toolkit.KX13/Models/CmsState.cs +++ b/Migration.Toolkit.KX13/Models/CmsState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class CmsState [InverseProperty("ContactState")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsTag.cs b/Migration.Toolkit.KX13/Models/CmsTag.cs index 772ccf9d..ed09fd60 100644 --- a/Migration.Toolkit.KX13/Models/CmsTag.cs +++ b/Migration.Toolkit.KX13/Models/CmsTag.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsTag [ForeignKey("TagId")] [InverseProperty("Tags")] public virtual ICollection Documents { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsTagGroup.cs b/Migration.Toolkit.KX13/Models/CmsTagGroup.cs index 360c9057..c3b892b3 100644 --- a/Migration.Toolkit.KX13/Models/CmsTagGroup.cs +++ b/Migration.Toolkit.KX13/Models/CmsTagGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsTagGroup [ForeignKey("TagGroupSiteId")] [InverseProperty("CmsTagGroups")] public virtual CmsSite TagGroupSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsTimeZone.cs b/Migration.Toolkit.KX13/Models/CmsTimeZone.cs index d8453f61..eb7e2678 100644 --- a/Migration.Toolkit.KX13/Models/CmsTimeZone.cs +++ b/Migration.Toolkit.KX13/Models/CmsTimeZone.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsTimeZone [InverseProperty("UserTimeZone")] public virtual ICollection CmsUserSettings { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsTransformation.cs b/Migration.Toolkit.KX13/Models/CmsTransformation.cs index e3ec1f89..915ca313 100644 --- a/Migration.Toolkit.KX13/Models/CmsTransformation.cs +++ b/Migration.Toolkit.KX13/Models/CmsTransformation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsTransformation [ForeignKey("TransformationClassId")] [InverseProperty("CmsTransformations")] public virtual CmsClass TransformationClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsTranslationService.cs b/Migration.Toolkit.KX13/Models/CmsTranslationService.cs index 54dae392..6395e04b 100644 --- a/Migration.Toolkit.KX13/Models/CmsTranslationService.cs +++ b/Migration.Toolkit.KX13/Models/CmsTranslationService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class CmsTranslationService [InverseProperty("SubmissionService")] public virtual ICollection CmsTranslationSubmissions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsTranslationSubmission.cs b/Migration.Toolkit.KX13/Models/CmsTranslationSubmission.cs index 0145c1bc..63872457 100644 --- a/Migration.Toolkit.KX13/Models/CmsTranslationSubmission.cs +++ b/Migration.Toolkit.KX13/Models/CmsTranslationSubmission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -73,4 +73,4 @@ public partial class CmsTranslationSubmission [ForeignKey("SubmissionSubmittedByUserId")] [InverseProperty("CmsTranslationSubmissions")] public virtual CmsUser? SubmissionSubmittedByUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsTranslationSubmissionItem.cs b/Migration.Toolkit.KX13/Models/CmsTranslationSubmissionItem.cs index 0677e4c1..8dbd21f6 100644 --- a/Migration.Toolkit.KX13/Models/CmsTranslationSubmissionItem.cs +++ b/Migration.Toolkit.KX13/Models/CmsTranslationSubmissionItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -55,4 +55,4 @@ public partial class CmsTranslationSubmissionItem [ForeignKey("SubmissionItemSubmissionId")] [InverseProperty("CmsTranslationSubmissionItems")] public virtual CmsTranslationSubmission SubmissionItemSubmission { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsTree.cs b/Migration.Toolkit.KX13/Models/CmsTree.cs index b32bc000..1f128699 100644 --- a/Migration.Toolkit.KX13/Models/CmsTree.cs +++ b/Migration.Toolkit.KX13/Models/CmsTree.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -138,4 +138,4 @@ public partial class CmsTree [ForeignKey("NodeSkuid")] [InverseProperty("CmsTrees")] public virtual ComSku? NodeSku { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsUielement.cs b/Migration.Toolkit.KX13/Models/CmsUielement.cs index 91086b67..2b3827bf 100644 --- a/Migration.Toolkit.KX13/Models/CmsUielement.cs +++ b/Migration.Toolkit.KX13/Models/CmsUielement.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -113,4 +113,4 @@ public partial class CmsUielement [ForeignKey("ElementId")] [InverseProperty("ElementsNavigation")] public virtual ICollection RolesNavigation { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsUser.cs b/Migration.Toolkit.KX13/Models/CmsUser.cs index d4d35095..c97978db 100644 --- a/Migration.Toolkit.KX13/Models/CmsUser.cs +++ b/Migration.Toolkit.KX13/Models/CmsUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -221,4 +221,4 @@ public partial class CmsUser [ForeignKey("UserId")] [InverseProperty("Users")] public virtual ICollection Workflows { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsUserCulture.cs b/Migration.Toolkit.KX13/Models/CmsUserCulture.cs index 0d680213..a0f52618 100644 --- a/Migration.Toolkit.KX13/Models/CmsUserCulture.cs +++ b/Migration.Toolkit.KX13/Models/CmsUserCulture.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsUserCulture [ForeignKey("UserId")] [InverseProperty("CmsUserCultures")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsUserMacroIdentity.cs b/Migration.Toolkit.KX13/Models/CmsUserMacroIdentity.cs index ff335e13..4c7391c4 100644 --- a/Migration.Toolkit.KX13/Models/CmsUserMacroIdentity.cs +++ b/Migration.Toolkit.KX13/Models/CmsUserMacroIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsUserMacroIdentity [ForeignKey("UserMacroIdentityUserId")] [InverseProperty("CmsUserMacroIdentity")] public virtual CmsUser UserMacroIdentityUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsUserRole.cs b/Migration.Toolkit.KX13/Models/CmsUserRole.cs index 947b3b72..7a20d19c 100644 --- a/Migration.Toolkit.KX13/Models/CmsUserRole.cs +++ b/Migration.Toolkit.KX13/Models/CmsUserRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class CmsUserRole [ForeignKey("UserId")] [InverseProperty("CmsUserRoles")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsUserSetting.cs b/Migration.Toolkit.KX13/Models/CmsUserSetting.cs index 8b50f47e..5787b065 100644 --- a/Migration.Toolkit.KX13/Models/CmsUserSetting.cs +++ b/Migration.Toolkit.KX13/Models/CmsUserSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -119,4 +119,4 @@ public partial class CmsUserSetting [ForeignKey("UserTimeZoneId")] [InverseProperty("CmsUserSettings")] public virtual CmsTimeZone? UserTimeZone { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsUserSite.cs b/Migration.Toolkit.KX13/Models/CmsUserSite.cs index 8f30a271..a67dbddb 100644 --- a/Migration.Toolkit.KX13/Models/CmsUserSite.cs +++ b/Migration.Toolkit.KX13/Models/CmsUserSite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsUserSite [ForeignKey("UserId")] [InverseProperty("CmsUserSites")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsVersionHistory.cs b/Migration.Toolkit.KX13/Models/CmsVersionHistory.cs index 8571d2ea..2d16d736 100644 --- a/Migration.Toolkit.KX13/Models/CmsVersionHistory.cs +++ b/Migration.Toolkit.KX13/Models/CmsVersionHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -105,4 +105,4 @@ public partial class CmsVersionHistory [ForeignKey("VersionHistoryId")] [InverseProperty("VersionHistories")] public virtual ICollection AttachmentHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebFarmServer.cs b/Migration.Toolkit.KX13/Models/CmsWebFarmServer.cs index 097a9ec3..03417af4 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebFarmServer.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebFarmServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class CmsWebFarmServer [InverseProperty("Server")] public virtual ICollection CmsWebFarmServerTasks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebFarmServerLog.cs b/Migration.Toolkit.KX13/Models/CmsWebFarmServerLog.cs index 83ead282..4cc9c710 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebFarmServerLog.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebFarmServerLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class CmsWebFarmServerLog [Column("ServerID")] public int ServerId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebFarmServerMonitoring.cs b/Migration.Toolkit.KX13/Models/CmsWebFarmServerMonitoring.cs index 29d3ed07..8dd6d52b 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebFarmServerMonitoring.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebFarmServerMonitoring.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class CmsWebFarmServerMonitoring public int ServerId { get; set; } public DateTime? ServerPing { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebFarmServerTask.cs b/Migration.Toolkit.KX13/Models/CmsWebFarmServerTask.cs index 5fa279be..8597f8d8 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebFarmServerTask.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebFarmServerTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsWebFarmServerTask [ForeignKey("TaskId")] [InverseProperty("CmsWebFarmServerTasks")] public virtual CmsWebFarmTask Task { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebFarmTask.cs b/Migration.Toolkit.KX13/Models/CmsWebFarmTask.cs index ef90981e..35d4aaae 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebFarmTask.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebFarmTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class CmsWebFarmTask [InverseProperty("Task")] public virtual ICollection CmsWebFarmServerTasks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebPart.cs b/Migration.Toolkit.KX13/Models/CmsWebPart.cs index 2c220cf1..193fc36c 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebPart.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebPart.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -81,4 +81,4 @@ public partial class CmsWebPart [ForeignKey("WebPartResourceId")] [InverseProperty("CmsWebParts")] public virtual CmsResource? WebPartResource { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebPartCategory.cs b/Migration.Toolkit.KX13/Models/CmsWebPartCategory.cs index a57bd769..1c28dbd2 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebPartCategory.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebPartCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsWebPartCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebPartContainer.cs b/Migration.Toolkit.KX13/Models/CmsWebPartContainer.cs index abbad237..ccaf6a32 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebPartContainer.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebPartContainer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsWebPartContainer [ForeignKey("ContainerId")] [InverseProperty("Containers")] public virtual ICollection Sites { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWebPartLayout.cs b/Migration.Toolkit.KX13/Models/CmsWebPartLayout.cs index f62ccbba..fab211f4 100644 --- a/Migration.Toolkit.KX13/Models/CmsWebPartLayout.cs +++ b/Migration.Toolkit.KX13/Models/CmsWebPartLayout.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class CmsWebPartLayout [ForeignKey("WebPartLayoutWebPartId")] [InverseProperty("CmsWebPartLayouts")] public virtual CmsWebPart WebPartLayoutWebPart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWidget.cs b/Migration.Toolkit.KX13/Models/CmsWidget.cs index e96b408b..cf2d38fe 100644 --- a/Migration.Toolkit.KX13/Models/CmsWidget.cs +++ b/Migration.Toolkit.KX13/Models/CmsWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -70,4 +70,4 @@ public partial class CmsWidget [ForeignKey("WidgetWebPartId")] [InverseProperty("CmsWidgets")] public virtual CmsWebPart WidgetWebPart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWidgetCategory.cs b/Migration.Toolkit.KX13/Models/CmsWidgetCategory.cs index 2f8df3d9..80670057 100644 --- a/Migration.Toolkit.KX13/Models/CmsWidgetCategory.cs +++ b/Migration.Toolkit.KX13/Models/CmsWidgetCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsWidgetCategory [ForeignKey("WidgetCategoryParentId")] [InverseProperty("InverseWidgetCategoryParent")] public virtual CmsWidgetCategory? WidgetCategoryParent { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWidgetRole.cs b/Migration.Toolkit.KX13/Models/CmsWidgetRole.cs index fed072ab..94f6d40b 100644 --- a/Migration.Toolkit.KX13/Models/CmsWidgetRole.cs +++ b/Migration.Toolkit.KX13/Models/CmsWidgetRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsWidgetRole [ForeignKey("WidgetId")] [InverseProperty("CmsWidgetRoles")] public virtual CmsWidget Widget { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWorkflow.cs b/Migration.Toolkit.KX13/Models/CmsWorkflow.cs index e7c3334b..ab125dda 100644 --- a/Migration.Toolkit.KX13/Models/CmsWorkflow.cs +++ b/Migration.Toolkit.KX13/Models/CmsWorkflow.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -93,4 +93,4 @@ public partial class CmsWorkflow [ForeignKey("WorkflowId")] [InverseProperty("Workflows")] public virtual ICollection Users { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWorkflowAction.cs b/Migration.Toolkit.KX13/Models/CmsWorkflowAction.cs index 9359630b..b9a51589 100644 --- a/Migration.Toolkit.KX13/Models/CmsWorkflowAction.cs +++ b/Migration.Toolkit.KX13/Models/CmsWorkflowAction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -69,4 +69,4 @@ public partial class CmsWorkflowAction [InverseProperty("StepAction")] public virtual ICollection CmsWorkflowSteps { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWorkflowHistory.cs b/Migration.Toolkit.KX13/Models/CmsWorkflowHistory.cs index 100d9e29..5d8d8369 100644 --- a/Migration.Toolkit.KX13/Models/CmsWorkflowHistory.cs +++ b/Migration.Toolkit.KX13/Models/CmsWorkflowHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -85,4 +85,4 @@ public partial class CmsWorkflowHistory [ForeignKey("VersionHistoryId")] [InverseProperty("CmsWorkflowHistories")] public virtual CmsVersionHistory VersionHistory { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWorkflowScope.cs b/Migration.Toolkit.KX13/Models/CmsWorkflowScope.cs index 3d2079dd..8a217252 100644 --- a/Migration.Toolkit.KX13/Models/CmsWorkflowScope.cs +++ b/Migration.Toolkit.KX13/Models/CmsWorkflowScope.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsWorkflowScope [ForeignKey("ScopeWorkflowId")] [InverseProperty("CmsWorkflowScopes")] public virtual CmsWorkflow ScopeWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWorkflowStep.cs b/Migration.Toolkit.KX13/Models/CmsWorkflowStep.cs index 120cef2f..7ac0e7cd 100644 --- a/Migration.Toolkit.KX13/Models/CmsWorkflowStep.cs +++ b/Migration.Toolkit.KX13/Models/CmsWorkflowStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -112,4 +112,4 @@ public partial class CmsWorkflowStep [ForeignKey("StepWorkflowId")] [InverseProperty("CmsWorkflowSteps")] public virtual CmsWorkflow StepWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWorkflowStepRole.cs b/Migration.Toolkit.KX13/Models/CmsWorkflowStepRole.cs index ddc3ac18..03becd5c 100644 --- a/Migration.Toolkit.KX13/Models/CmsWorkflowStepRole.cs +++ b/Migration.Toolkit.KX13/Models/CmsWorkflowStepRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsWorkflowStepRole [ForeignKey("StepId")] [InverseProperty("CmsWorkflowStepRoles")] public virtual CmsWorkflowStep Step { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWorkflowStepUser.cs b/Migration.Toolkit.KX13/Models/CmsWorkflowStepUser.cs index 273d6c65..432fc451 100644 --- a/Migration.Toolkit.KX13/Models/CmsWorkflowStepUser.cs +++ b/Migration.Toolkit.KX13/Models/CmsWorkflowStepUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsWorkflowStepUser [ForeignKey("UserId")] [InverseProperty("CmsWorkflowStepUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/CmsWorkflowTransition.cs b/Migration.Toolkit.KX13/Models/CmsWorkflowTransition.cs index 46b190c5..a24a99bc 100644 --- a/Migration.Toolkit.KX13/Models/CmsWorkflowTransition.cs +++ b/Migration.Toolkit.KX13/Models/CmsWorkflowTransition.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsWorkflowTransition [ForeignKey("TransitionWorkflowId")] [InverseProperty("CmsWorkflowTransitions")] public virtual CmsWorkflow TransitionWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComAddress.cs b/Migration.Toolkit.KX13/Models/ComAddress.cs index 58129419..42ed9f97 100644 --- a/Migration.Toolkit.KX13/Models/ComAddress.cs +++ b/Migration.Toolkit.KX13/Models/ComAddress.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class ComAddress [InverseProperty("ShoppingCartShippingAddress")] public virtual ICollection ComShoppingCartShoppingCartShippingAddresses { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComBrand.cs b/Migration.Toolkit.KX13/Models/ComBrand.cs index e9e2239c..c7828347 100644 --- a/Migration.Toolkit.KX13/Models/ComBrand.cs +++ b/Migration.Toolkit.KX13/Models/ComBrand.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ComBrand [InverseProperty("Skubrand")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComCarrier.cs b/Migration.Toolkit.KX13/Models/ComCarrier.cs index 3cb1fd08..6e42a0fc 100644 --- a/Migration.Toolkit.KX13/Models/ComCarrier.cs +++ b/Migration.Toolkit.KX13/Models/ComCarrier.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class ComCarrier [InverseProperty("ShippingOptionCarrier")] public virtual ICollection ComShippingOptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComCollection.cs b/Migration.Toolkit.KX13/Models/ComCollection.cs index 2157ab28..d371cdd0 100644 --- a/Migration.Toolkit.KX13/Models/ComCollection.cs +++ b/Migration.Toolkit.KX13/Models/ComCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -42,4 +42,4 @@ public partial class ComCollection [InverseProperty("Skucollection")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComCouponCode.cs b/Migration.Toolkit.KX13/Models/ComCouponCode.cs index 6e7d609b..e9ba37d4 100644 --- a/Migration.Toolkit.KX13/Models/ComCouponCode.cs +++ b/Migration.Toolkit.KX13/Models/ComCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComCouponCode [ForeignKey("CouponCodeDiscountId")] [InverseProperty("ComCouponCodes")] public virtual ComDiscount CouponCodeDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComCurrency.cs b/Migration.Toolkit.KX13/Models/ComCurrency.cs index 3150f715..e63fbe3a 100644 --- a/Migration.Toolkit.KX13/Models/ComCurrency.cs +++ b/Migration.Toolkit.KX13/Models/ComCurrency.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class ComCurrency [ForeignKey("CurrencySiteId")] [InverseProperty("ComCurrencies")] public virtual CmsSite? CurrencySite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComCurrencyExchangeRate.cs b/Migration.Toolkit.KX13/Models/ComCurrencyExchangeRate.cs index e91d28a2..25ac9f74 100644 --- a/Migration.Toolkit.KX13/Models/ComCurrencyExchangeRate.cs +++ b/Migration.Toolkit.KX13/Models/ComCurrencyExchangeRate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ComCurrencyExchangeRate [ForeignKey("ExchangeTableId")] [InverseProperty("ComCurrencyExchangeRates")] public virtual ComExchangeTable ExchangeTable { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComCustomer.cs b/Migration.Toolkit.KX13/Models/ComCustomer.cs index 3db4f91e..8e482a53 100644 --- a/Migration.Toolkit.KX13/Models/ComCustomer.cs +++ b/Migration.Toolkit.KX13/Models/ComCustomer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -76,4 +76,4 @@ public partial class ComCustomer [ForeignKey("CustomerUserId")] [InverseProperty("ComCustomers")] public virtual CmsUser? CustomerUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComCustomerCreditHistory.cs b/Migration.Toolkit.KX13/Models/ComCustomerCreditHistory.cs index 2f2d588f..ce496105 100644 --- a/Migration.Toolkit.KX13/Models/ComCustomerCreditHistory.cs +++ b/Migration.Toolkit.KX13/Models/ComCustomerCreditHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class ComCustomerCreditHistory [ForeignKey("EventSiteId")] [InverseProperty("ComCustomerCreditHistories")] public virtual CmsSite? EventSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComDepartment.cs b/Migration.Toolkit.KX13/Models/ComDepartment.cs index a57cd2fd..90e3384d 100644 --- a/Migration.Toolkit.KX13/Models/ComDepartment.cs +++ b/Migration.Toolkit.KX13/Models/ComDepartment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ComDepartment [ForeignKey("DepartmentId")] [InverseProperty("Departments")] public virtual ICollection MultiBuyDiscounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComDiscount.cs b/Migration.Toolkit.KX13/Models/ComDiscount.cs index 57a08795..3460af51 100644 --- a/Migration.Toolkit.KX13/Models/ComDiscount.cs +++ b/Migration.Toolkit.KX13/Models/ComDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class ComDiscount [ForeignKey("DiscountSiteId")] [InverseProperty("ComDiscounts")] public virtual CmsSite DiscountSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComExchangeTable.cs b/Migration.Toolkit.KX13/Models/ComExchangeTable.cs index 33dcfd42..e569cc2d 100644 --- a/Migration.Toolkit.KX13/Models/ComExchangeTable.cs +++ b/Migration.Toolkit.KX13/Models/ComExchangeTable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class ComExchangeTable [ForeignKey("ExchangeTableSiteId")] [InverseProperty("ComExchangeTables")] public virtual CmsSite? ExchangeTableSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComGiftCard.cs b/Migration.Toolkit.KX13/Models/ComGiftCard.cs index 2cc829d9..86768cce 100644 --- a/Migration.Toolkit.KX13/Models/ComGiftCard.cs +++ b/Migration.Toolkit.KX13/Models/ComGiftCard.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -56,4 +56,4 @@ public partial class ComGiftCard [ForeignKey("GiftCardSiteId")] [InverseProperty("ComGiftCards")] public virtual CmsSite GiftCardSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComGiftCardCouponCode.cs b/Migration.Toolkit.KX13/Models/ComGiftCardCouponCode.cs index 2987ce79..f8567b94 100644 --- a/Migration.Toolkit.KX13/Models/ComGiftCardCouponCode.cs +++ b/Migration.Toolkit.KX13/Models/ComGiftCardCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComGiftCardCouponCode [ForeignKey("GiftCardCouponCodeGiftCardId")] [InverseProperty("ComGiftCardCouponCodes")] public virtual ComGiftCard GiftCardCouponCodeGiftCard { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComInternalStatus.cs b/Migration.Toolkit.KX13/Models/ComInternalStatus.cs index 7742f08f..f52edcab 100644 --- a/Migration.Toolkit.KX13/Models/ComInternalStatus.cs +++ b/Migration.Toolkit.KX13/Models/ComInternalStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ComInternalStatus [ForeignKey("InternalStatusSiteId")] [InverseProperty("ComInternalStatuses")] public virtual CmsSite? InternalStatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComManufacturer.cs b/Migration.Toolkit.KX13/Models/ComManufacturer.cs index 572da70e..285e65eb 100644 --- a/Migration.Toolkit.KX13/Models/ComManufacturer.cs +++ b/Migration.Toolkit.KX13/Models/ComManufacturer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class ComManufacturer [ForeignKey("ManufacturerSiteId")] [InverseProperty("ComManufacturers")] public virtual CmsSite? ManufacturerSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComMultiBuyCouponCode.cs b/Migration.Toolkit.KX13/Models/ComMultiBuyCouponCode.cs index 3831fa70..405be41b 100644 --- a/Migration.Toolkit.KX13/Models/ComMultiBuyCouponCode.cs +++ b/Migration.Toolkit.KX13/Models/ComMultiBuyCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComMultiBuyCouponCode [ForeignKey("MultiBuyCouponCodeMultiBuyDiscountId")] [InverseProperty("ComMultiBuyCouponCodes")] public virtual ComMultiBuyDiscount MultiBuyCouponCodeMultiBuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComMultiBuyDiscount.cs b/Migration.Toolkit.KX13/Models/ComMultiBuyDiscount.cs index 6171e0e4..9c3d858e 100644 --- a/Migration.Toolkit.KX13/Models/ComMultiBuyDiscount.cs +++ b/Migration.Toolkit.KX13/Models/ComMultiBuyDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -95,4 +95,4 @@ public partial class ComMultiBuyDiscount [ForeignKey("MultiBuyDiscountId")] [InverseProperty("MultiBuyDiscounts")] public virtual ICollection Skus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountBrand.cs b/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountBrand.cs index c7b51768..b488c4e4 100644 --- a/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountBrand.cs +++ b/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountBrand.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountBrand [ForeignKey("MultiBuyDiscountId")] [InverseProperty("ComMultiBuyDiscountBrands")] public virtual ComMultiBuyDiscount MultiBuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountCollection.cs b/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountCollection.cs index c44b4b65..acbd686e 100644 --- a/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountCollection.cs +++ b/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountCollection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountCollection [ForeignKey("MultibuyDiscountId")] [InverseProperty("ComMultiBuyDiscountCollections")] public virtual ComMultiBuyDiscount MultibuyDiscount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountTree.cs b/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountTree.cs index 943bb4d9..59852227 100644 --- a/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountTree.cs +++ b/Migration.Toolkit.KX13/Models/ComMultiBuyDiscountTree.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ComMultiBuyDiscountTree [ForeignKey("NodeId")] [InverseProperty("ComMultiBuyDiscountTrees")] public virtual CmsTree Node { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComOptionCategory.cs b/Migration.Toolkit.KX13/Models/ComOptionCategory.cs index 26a68ba8..60278603 100644 --- a/Migration.Toolkit.KX13/Models/ComOptionCategory.cs +++ b/Migration.Toolkit.KX13/Models/ComOptionCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -63,4 +63,4 @@ public partial class ComOptionCategory [InverseProperty("SkuoptionCategory")] public virtual ICollection ComSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComOrder.cs b/Migration.Toolkit.KX13/Models/ComOrder.cs index 5775c24d..1d2df79b 100644 --- a/Migration.Toolkit.KX13/Models/ComOrder.cs +++ b/Migration.Toolkit.KX13/Models/ComOrder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -129,4 +129,4 @@ public partial class ComOrder [ForeignKey("OrderStatusId")] [InverseProperty("ComOrders")] public virtual ComOrderStatus? OrderStatus { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComOrderAddress.cs b/Migration.Toolkit.KX13/Models/ComOrderAddress.cs index 4a623b77..26004ff2 100644 --- a/Migration.Toolkit.KX13/Models/ComOrderAddress.cs +++ b/Migration.Toolkit.KX13/Models/ComOrderAddress.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ComOrderAddress [ForeignKey("AddressStateId")] [InverseProperty("ComOrderAddresses")] public virtual CmsState? AddressState { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComOrderItem.cs b/Migration.Toolkit.KX13/Models/ComOrderItem.cs index 3a41ab09..0ff85ebb 100644 --- a/Migration.Toolkit.KX13/Models/ComOrderItem.cs +++ b/Migration.Toolkit.KX13/Models/ComOrderItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -67,4 +67,4 @@ public partial class ComOrderItem [ForeignKey("OrderItemSkuid")] [InverseProperty("ComOrderItems")] public virtual ComSku OrderItemSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComOrderItemSkufile.cs b/Migration.Toolkit.KX13/Models/ComOrderItemSkufile.cs index 3bbf3977..875d60c2 100644 --- a/Migration.Toolkit.KX13/Models/ComOrderItemSkufile.cs +++ b/Migration.Toolkit.KX13/Models/ComOrderItemSkufile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComOrderItemSkufile [ForeignKey("OrderItemId")] [InverseProperty("ComOrderItemSkufiles")] public virtual ComOrderItem OrderItem { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComOrderStatus.cs b/Migration.Toolkit.KX13/Models/ComOrderStatus.cs index e4154a40..76d611bc 100644 --- a/Migration.Toolkit.KX13/Models/ComOrderStatus.cs +++ b/Migration.Toolkit.KX13/Models/ComOrderStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ComOrderStatus [ForeignKey("StatusSiteId")] [InverseProperty("ComOrderStatuses")] public virtual CmsSite? StatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComOrderStatusUser.cs b/Migration.Toolkit.KX13/Models/ComOrderStatusUser.cs index f2af053c..72294421 100644 --- a/Migration.Toolkit.KX13/Models/ComOrderStatusUser.cs +++ b/Migration.Toolkit.KX13/Models/ComOrderStatusUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ComOrderStatusUser [ForeignKey("ToStatusId")] [InverseProperty("ComOrderStatusUserToStatuses")] public virtual ComOrderStatus ToStatus { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComPaymentOption.cs b/Migration.Toolkit.KX13/Models/ComPaymentOption.cs index e2f40d3f..7780f70c 100644 --- a/Migration.Toolkit.KX13/Models/ComPaymentOption.cs +++ b/Migration.Toolkit.KX13/Models/ComPaymentOption.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -80,4 +80,4 @@ public partial class ComPaymentOption [ForeignKey("PaymentOptionSucceededOrderStatusId")] [InverseProperty("ComPaymentOptionPaymentOptionSucceededOrderStatuses")] public virtual ComOrderStatus? PaymentOptionSucceededOrderStatus { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComPublicStatus.cs b/Migration.Toolkit.KX13/Models/ComPublicStatus.cs index 6c1de49f..625e83dc 100644 --- a/Migration.Toolkit.KX13/Models/ComPublicStatus.cs +++ b/Migration.Toolkit.KX13/Models/ComPublicStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class ComPublicStatus [ForeignKey("PublicStatusSiteId")] [InverseProperty("ComPublicStatuses")] public virtual CmsSite? PublicStatusSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComShippingCost.cs b/Migration.Toolkit.KX13/Models/ComShippingCost.cs index ebb962d3..fa086177 100644 --- a/Migration.Toolkit.KX13/Models/ComShippingCost.cs +++ b/Migration.Toolkit.KX13/Models/ComShippingCost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class ComShippingCost [ForeignKey("ShippingCostShippingOptionId")] [InverseProperty("ComShippingCosts")] public virtual ComShippingOption ShippingCostShippingOption { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComShippingOption.cs b/Migration.Toolkit.KX13/Models/ComShippingOption.cs index 4d9c0da2..bb0a23b9 100644 --- a/Migration.Toolkit.KX13/Models/ComShippingOption.cs +++ b/Migration.Toolkit.KX13/Models/ComShippingOption.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -67,4 +67,4 @@ public partial class ComShippingOption [ForeignKey("ShippingOptionTaxClassId")] [InverseProperty("ComShippingOptions")] public virtual ComTaxClass? ShippingOptionTaxClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComShoppingCart.cs b/Migration.Toolkit.KX13/Models/ComShoppingCart.cs index fbd6729d..6584cea9 100644 --- a/Migration.Toolkit.KX13/Models/ComShoppingCart.cs +++ b/Migration.Toolkit.KX13/Models/ComShoppingCart.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -104,4 +104,4 @@ public partial class ComShoppingCart [ForeignKey("ShoppingCartUserId")] [InverseProperty("ComShoppingCarts")] public virtual CmsUser? ShoppingCartUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComShoppingCartCouponCode.cs b/Migration.Toolkit.KX13/Models/ComShoppingCartCouponCode.cs index 4ff97f6f..4090004a 100644 --- a/Migration.Toolkit.KX13/Models/ComShoppingCartCouponCode.cs +++ b/Migration.Toolkit.KX13/Models/ComShoppingCartCouponCode.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class ComShoppingCartCouponCode [ForeignKey("ShoppingCartId")] [InverseProperty("ComShoppingCartCouponCodes")] public virtual ComShoppingCart ShoppingCart { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComShoppingCartSku.cs b/Migration.Toolkit.KX13/Models/ComShoppingCartSku.cs index e91044b5..c7e8aaed 100644 --- a/Migration.Toolkit.KX13/Models/ComShoppingCartSku.cs +++ b/Migration.Toolkit.KX13/Models/ComShoppingCartSku.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ComShoppingCartSku [ForeignKey("Skuid")] [InverseProperty("ComShoppingCartSkus")] public virtual ComSku Sku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComSku.cs b/Migration.Toolkit.KX13/Models/ComSku.cs index a69c2734..90dbe9a4 100644 --- a/Migration.Toolkit.KX13/Models/ComSku.cs +++ b/Migration.Toolkit.KX13/Models/ComSku.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -267,4 +267,4 @@ public partial class ComSku [ForeignKey("OptionSkuid")] [InverseProperty("OptionSkusNavigation")] public virtual ICollection VariantSkus { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComSkufile.cs b/Migration.Toolkit.KX13/Models/ComSkufile.cs index e4265f9e..6307eb85 100644 --- a/Migration.Toolkit.KX13/Models/ComSkufile.cs +++ b/Migration.Toolkit.KX13/Models/ComSkufile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class ComSkufile [ForeignKey("FileSkuid")] [InverseProperty("ComSkufiles")] public virtual ComSku FileSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComSkuoptionCategory.cs b/Migration.Toolkit.KX13/Models/ComSkuoptionCategory.cs index 7e075a54..818dcee9 100644 --- a/Migration.Toolkit.KX13/Models/ComSkuoptionCategory.cs +++ b/Migration.Toolkit.KX13/Models/ComSkuoptionCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class ComSkuoptionCategory [ForeignKey("Skuid")] [InverseProperty("ComSkuoptionCategories")] public virtual ComSku Sku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComSupplier.cs b/Migration.Toolkit.KX13/Models/ComSupplier.cs index c38ba158..f2d8c1ed 100644 --- a/Migration.Toolkit.KX13/Models/ComSupplier.cs +++ b/Migration.Toolkit.KX13/Models/ComSupplier.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class ComSupplier [ForeignKey("SupplierSiteId")] [InverseProperty("ComSuppliers")] public virtual CmsSite? SupplierSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComTaxClass.cs b/Migration.Toolkit.KX13/Models/ComTaxClass.cs index 101f1ed4..1f168247 100644 --- a/Migration.Toolkit.KX13/Models/ComTaxClass.cs +++ b/Migration.Toolkit.KX13/Models/ComTaxClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ComTaxClass [ForeignKey("TaxClassSiteId")] [InverseProperty("ComTaxClasses")] public virtual CmsSite? TaxClassSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComTaxClassCountry.cs b/Migration.Toolkit.KX13/Models/ComTaxClassCountry.cs index 24a6e215..2be2062f 100644 --- a/Migration.Toolkit.KX13/Models/ComTaxClassCountry.cs +++ b/Migration.Toolkit.KX13/Models/ComTaxClassCountry.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ComTaxClassCountry [ForeignKey("TaxClassId")] [InverseProperty("ComTaxClassCountries")] public virtual ComTaxClass TaxClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComTaxClassState.cs b/Migration.Toolkit.KX13/Models/ComTaxClassState.cs index aa51698f..09a2e472 100644 --- a/Migration.Toolkit.KX13/Models/ComTaxClassState.cs +++ b/Migration.Toolkit.KX13/Models/ComTaxClassState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ComTaxClassState [ForeignKey("TaxClassId")] [InverseProperty("ComTaxClassStates")] public virtual ComTaxClass TaxClass { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComVolumeDiscount.cs b/Migration.Toolkit.KX13/Models/ComVolumeDiscount.cs index 0bff9ad9..add5eece 100644 --- a/Migration.Toolkit.KX13/Models/ComVolumeDiscount.cs +++ b/Migration.Toolkit.KX13/Models/ComVolumeDiscount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class ComVolumeDiscount [ForeignKey("VolumeDiscountSkuid")] [InverseProperty("ComVolumeDiscounts")] public virtual ComSku VolumeDiscountSku { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ComWishlist.cs b/Migration.Toolkit.KX13/Models/ComWishlist.cs index 2c2fff0c..33ca1682 100644 --- a/Migration.Toolkit.KX13/Models/ComWishlist.cs +++ b/Migration.Toolkit.KX13/Models/ComWishlist.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ComWishlist [ForeignKey("UserId")] [InverseProperty("ComWishlists")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ExportHistory.cs b/Migration.Toolkit.KX13/Models/ExportHistory.cs index b16bb5d2..b5d8777f 100644 --- a/Migration.Toolkit.KX13/Models/ExportHistory.cs +++ b/Migration.Toolkit.KX13/Models/ExportHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class ExportHistory [ForeignKey("ExportUserId")] [InverseProperty("ExportHistories")] public virtual CmsUser? ExportUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ExportTask.cs b/Migration.Toolkit.KX13/Models/ExportTask.cs index 34e8cb27..d8d8665b 100644 --- a/Migration.Toolkit.KX13/Models/ExportTask.cs +++ b/Migration.Toolkit.KX13/Models/ExportTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ExportTask [ForeignKey("TaskSiteId")] [InverseProperty("ExportTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/IntegrationConnector.cs b/Migration.Toolkit.KX13/Models/IntegrationConnector.cs index 686fde1e..5be05aea 100644 --- a/Migration.Toolkit.KX13/Models/IntegrationConnector.cs +++ b/Migration.Toolkit.KX13/Models/IntegrationConnector.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class IntegrationConnector [InverseProperty("SynchronizationConnector")] public virtual ICollection IntegrationSynchronizations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/IntegrationSyncLog.cs b/Migration.Toolkit.KX13/Models/IntegrationSyncLog.cs index c3d35849..6a2fb045 100644 --- a/Migration.Toolkit.KX13/Models/IntegrationSyncLog.cs +++ b/Migration.Toolkit.KX13/Models/IntegrationSyncLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class IntegrationSyncLog [ForeignKey("SyncLogSynchronizationId")] [InverseProperty("IntegrationSyncLogs")] public virtual IntegrationSynchronization SyncLogSynchronization { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/IntegrationSynchronization.cs b/Migration.Toolkit.KX13/Models/IntegrationSynchronization.cs index a66b70ff..5fb10bcb 100644 --- a/Migration.Toolkit.KX13/Models/IntegrationSynchronization.cs +++ b/Migration.Toolkit.KX13/Models/IntegrationSynchronization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class IntegrationSynchronization [ForeignKey("SynchronizationTaskId")] [InverseProperty("IntegrationSynchronizations")] public virtual IntegrationTask SynchronizationTask { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/IntegrationTask.cs b/Migration.Toolkit.KX13/Models/IntegrationTask.cs index 1fe19685..091e3ffa 100644 --- a/Migration.Toolkit.KX13/Models/IntegrationTask.cs +++ b/Migration.Toolkit.KX13/Models/IntegrationTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class IntegrationTask [ForeignKey("TaskSiteId")] [InverseProperty("IntegrationTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/MediaFile.cs b/Migration.Toolkit.KX13/Models/MediaFile.cs index 771f003d..4fd65412 100644 --- a/Migration.Toolkit.KX13/Models/MediaFile.cs +++ b/Migration.Toolkit.KX13/Models/MediaFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -75,4 +75,4 @@ public partial class MediaFile [ForeignKey("FileSiteId")] [InverseProperty("MediaFiles")] public virtual CmsSite FileSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/MediaLibrary.cs b/Migration.Toolkit.KX13/Models/MediaLibrary.cs index a54f32b8..24bf0e64 100644 --- a/Migration.Toolkit.KX13/Models/MediaLibrary.cs +++ b/Migration.Toolkit.KX13/Models/MediaLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class MediaLibrary [InverseProperty("Library")] public virtual ICollection MediaLibraryRolePermissions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/MediaLibraryRolePermission.cs b/Migration.Toolkit.KX13/Models/MediaLibraryRolePermission.cs index 97a359db..4986bb85 100644 --- a/Migration.Toolkit.KX13/Models/MediaLibraryRolePermission.cs +++ b/Migration.Toolkit.KX13/Models/MediaLibraryRolePermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class MediaLibraryRolePermission [ForeignKey("RoleId")] [InverseProperty("MediaLibraryRolePermissions")] public virtual CmsRole Role { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterAbtest.cs b/Migration.Toolkit.KX13/Models/NewsletterAbtest.cs index aca57406..c141b611 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterAbtest.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterAbtest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class NewsletterAbtest [ForeignKey("TestWinnerScheduledTaskId")] [InverseProperty("NewsletterAbtests")] public virtual CmsScheduledTask? TestWinnerScheduledTask { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterClickedLink.cs b/Migration.Toolkit.KX13/Models/NewsletterClickedLink.cs index e0615ebe..0be278e6 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterClickedLink.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterClickedLink.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class NewsletterClickedLink [ForeignKey("ClickedLinkNewsletterLinkId")] [InverseProperty("NewsletterClickedLinks")] public virtual NewsletterLink ClickedLinkNewsletterLink { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterEmail.cs b/Migration.Toolkit.KX13/Models/NewsletterEmail.cs index 1699837a..4f4245a4 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterEmail.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -53,4 +53,4 @@ public partial class NewsletterEmail [ForeignKey("EmailSubscriberId")] [InverseProperty("NewsletterEmails")] public virtual NewsletterSubscriber? EmailSubscriber { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterEmailTemplate.cs b/Migration.Toolkit.KX13/Models/NewsletterEmailTemplate.cs index c9eb3087..eb1be6cb 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterEmailTemplate.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterEmailTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class NewsletterEmailTemplate [ForeignKey("TemplateId")] [InverseProperty("Templates")] public virtual ICollection Newsletters { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterEmailWidget.cs b/Migration.Toolkit.KX13/Models/NewsletterEmailWidget.cs index b96cf5de..10c9e7a1 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterEmailWidget.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterEmailWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class NewsletterEmailWidget [InverseProperty("EmailWidget")] public virtual ICollection NewsletterEmailWidgetTemplates { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterEmailWidgetTemplate.cs b/Migration.Toolkit.KX13/Models/NewsletterEmailWidgetTemplate.cs index 6b0a6500..20b21f62 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterEmailWidgetTemplate.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterEmailWidgetTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class NewsletterEmailWidgetTemplate [ForeignKey("TemplateId")] [InverseProperty("NewsletterEmailWidgetTemplates")] public virtual NewsletterEmailTemplate Template { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterIssueContactGroup.cs b/Migration.Toolkit.KX13/Models/NewsletterIssueContactGroup.cs index a382b021..f733f5bf 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterIssueContactGroup.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterIssueContactGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class NewsletterIssueContactGroup [ForeignKey("ContactGroupId")] [InverseProperty("NewsletterIssueContactGroups")] public virtual OmContactGroup ContactGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterLink.cs b/Migration.Toolkit.KX13/Models/NewsletterLink.cs index fb46ac26..56d898d4 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterLink.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterLink.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class NewsletterLink [InverseProperty("ClickedLinkNewsletterLink")] public virtual ICollection NewsletterClickedLinks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterNewsletter.cs b/Migration.Toolkit.KX13/Models/NewsletterNewsletter.cs index 8778d553..f118d446 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterNewsletter.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterNewsletter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -113,4 +113,4 @@ public partial class NewsletterNewsletter [ForeignKey("NewsletterId")] [InverseProperty("Newsletters")] public virtual ICollection Templates { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterNewsletterIssue.cs b/Migration.Toolkit.KX13/Models/NewsletterNewsletterIssue.cs index 0b1c475d..69737e00 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterNewsletterIssue.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterNewsletterIssue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -125,4 +125,4 @@ public partial class NewsletterNewsletterIssue [InverseProperty("UnsubscriptionFromIssue")] public virtual ICollection NewsletterUnsubscriptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterOpenedEmail.cs b/Migration.Toolkit.KX13/Models/NewsletterOpenedEmail.cs index fa7b7fc3..6ba40559 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterOpenedEmail.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterOpenedEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class NewsletterOpenedEmail [ForeignKey("OpenedEmailIssueId")] [InverseProperty("NewsletterOpenedEmails")] public virtual NewsletterNewsletterIssue OpenedEmailIssue { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterSubscriber.cs b/Migration.Toolkit.KX13/Models/NewsletterSubscriber.cs index b8de6bcf..db230065 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterSubscriber.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterSubscriber.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class NewsletterSubscriber [ForeignKey("SubscriberSiteId")] [InverseProperty("NewsletterSubscribers")] public virtual CmsSite SubscriberSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterSubscriberNewsletter.cs b/Migration.Toolkit.KX13/Models/NewsletterSubscriberNewsletter.cs index d82b4a10..da3e9159 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterSubscriberNewsletter.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterSubscriberNewsletter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class NewsletterSubscriberNewsletter [ForeignKey("SubscriberId")] [InverseProperty("NewsletterSubscriberNewsletters")] public virtual NewsletterSubscriber Subscriber { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/NewsletterUnsubscription.cs b/Migration.Toolkit.KX13/Models/NewsletterUnsubscription.cs index f61845df..6dd34116 100644 --- a/Migration.Toolkit.KX13/Models/NewsletterUnsubscription.cs +++ b/Migration.Toolkit.KX13/Models/NewsletterUnsubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class NewsletterUnsubscription [ForeignKey("UnsubscriptionNewsletterId")] [InverseProperty("NewsletterUnsubscriptions")] public virtual NewsletterNewsletter? UnsubscriptionNewsletter { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmAbtest.cs b/Migration.Toolkit.KX13/Models/OmAbtest.cs index e68e11b9..a81cb96a 100644 --- a/Migration.Toolkit.KX13/Models/OmAbtest.cs +++ b/Migration.Toolkit.KX13/Models/OmAbtest.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class OmAbtest [InverseProperty("AbvariantTest")] public virtual ICollection OmAbvariantData { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmAbvariantDatum.cs b/Migration.Toolkit.KX13/Models/OmAbvariantDatum.cs index 508da55b..c366d936 100644 --- a/Migration.Toolkit.KX13/Models/OmAbvariantDatum.cs +++ b/Migration.Toolkit.KX13/Models/OmAbvariantDatum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class OmAbvariantDatum [ForeignKey("AbvariantTestId")] [InverseProperty("OmAbvariantData")] public virtual OmAbtest AbvariantTest { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmAccount.cs b/Migration.Toolkit.KX13/Models/OmAccount.cs index cf011a5f..33d0f855 100644 --- a/Migration.Toolkit.KX13/Models/OmAccount.cs +++ b/Migration.Toolkit.KX13/Models/OmAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -111,4 +111,4 @@ public partial class OmAccount [InverseProperty("Account")] public virtual ICollection OmAccountContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmAccountContact.cs b/Migration.Toolkit.KX13/Models/OmAccountContact.cs index 220e09d2..4e365303 100644 --- a/Migration.Toolkit.KX13/Models/OmAccountContact.cs +++ b/Migration.Toolkit.KX13/Models/OmAccountContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class OmAccountContact [ForeignKey("ContactRoleId")] [InverseProperty("OmAccountContacts")] public virtual OmContactRole? ContactRole { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmAccountStatus.cs b/Migration.Toolkit.KX13/Models/OmAccountStatus.cs index 0e99498a..b7e22d06 100644 --- a/Migration.Toolkit.KX13/Models/OmAccountStatus.cs +++ b/Migration.Toolkit.KX13/Models/OmAccountStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmAccountStatus [InverseProperty("AccountStatus")] public virtual ICollection OmAccounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmActivity.cs b/Migration.Toolkit.KX13/Models/OmActivity.cs index d728a86a..9450a5a7 100644 --- a/Migration.Toolkit.KX13/Models/OmActivity.cs +++ b/Migration.Toolkit.KX13/Models/OmActivity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -72,4 +72,4 @@ public partial class OmActivity [Column("ActivityUTMContent")] [StringLength(200)] public string? ActivityUtmcontent { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmActivityRecalculationQueue.cs b/Migration.Toolkit.KX13/Models/OmActivityRecalculationQueue.cs index 0e32f39d..619ef215 100644 --- a/Migration.Toolkit.KX13/Models/OmActivityRecalculationQueue.cs +++ b/Migration.Toolkit.KX13/Models/OmActivityRecalculationQueue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -15,4 +15,4 @@ public partial class OmActivityRecalculationQueue [Column("ActivityRecalculationQueueActivityID")] public int ActivityRecalculationQueueActivityId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmActivityType.cs b/Migration.Toolkit.KX13/Models/OmActivityType.cs index c2c37544..94b0dc94 100644 --- a/Migration.Toolkit.KX13/Models/OmActivityType.cs +++ b/Migration.Toolkit.KX13/Models/OmActivityType.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class OmActivityType [StringLength(200)] public string? ActivityTypeItemDetailObjectType { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmContact.cs b/Migration.Toolkit.KX13/Models/OmContact.cs index 84167302..c2d344ce 100644 --- a/Migration.Toolkit.KX13/Models/OmContact.cs +++ b/Migration.Toolkit.KX13/Models/OmContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -138,4 +138,4 @@ public partial class OmContact [InverseProperty("VisitorToContactContact")] public virtual ICollection OmVisitorToContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmContactChangeRecalculationQueue.cs b/Migration.Toolkit.KX13/Models/OmContactChangeRecalculationQueue.cs index d93c3371..4583eb1b 100644 --- a/Migration.Toolkit.KX13/Models/OmContactChangeRecalculationQueue.cs +++ b/Migration.Toolkit.KX13/Models/OmContactChangeRecalculationQueue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class OmContactChangeRecalculationQueue public bool ContactChangeRecalculationQueueContactIsNew { get; set; } public bool ContactChangeRecalculationQueueContactWasMerged { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmContactGroup.cs b/Migration.Toolkit.KX13/Models/OmContactGroup.cs index b4e94437..ce81fc1d 100644 --- a/Migration.Toolkit.KX13/Models/OmContactGroup.cs +++ b/Migration.Toolkit.KX13/Models/OmContactGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class OmContactGroup [InverseProperty("ContactGroupMemberContactGroup")] public virtual ICollection OmContactGroupMembers { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmContactGroupMember.cs b/Migration.Toolkit.KX13/Models/OmContactGroupMember.cs index 080c31be..cab4dc70 100644 --- a/Migration.Toolkit.KX13/Models/OmContactGroupMember.cs +++ b/Migration.Toolkit.KX13/Models/OmContactGroupMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class OmContactGroupMember [ForeignKey("ContactGroupMemberContactGroupId")] [InverseProperty("OmContactGroupMembers")] public virtual OmContactGroup ContactGroupMemberContactGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmContactRole.cs b/Migration.Toolkit.KX13/Models/OmContactRole.cs index 90352149..5f0c586a 100644 --- a/Migration.Toolkit.KX13/Models/OmContactRole.cs +++ b/Migration.Toolkit.KX13/Models/OmContactRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmContactRole [InverseProperty("ContactRole")] public virtual ICollection OmAccountContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmContactStatus.cs b/Migration.Toolkit.KX13/Models/OmContactStatus.cs index 7987ec1d..e94228be 100644 --- a/Migration.Toolkit.KX13/Models/OmContactStatus.cs +++ b/Migration.Toolkit.KX13/Models/OmContactStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmContactStatus [InverseProperty("ContactStatus")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmMembership.cs b/Migration.Toolkit.KX13/Models/OmMembership.cs index 12104b96..387be609 100644 --- a/Migration.Toolkit.KX13/Models/OmMembership.cs +++ b/Migration.Toolkit.KX13/Models/OmMembership.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class OmMembership [ForeignKey("ContactId")] [InverseProperty("OmMemberships")] public virtual OmContact Contact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmRule.cs b/Migration.Toolkit.KX13/Models/OmRule.cs index 1ef65efc..46e41d50 100644 --- a/Migration.Toolkit.KX13/Models/OmRule.cs +++ b/Migration.Toolkit.KX13/Models/OmRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -68,4 +68,4 @@ public partial class OmRule [ForeignKey("RuleScoreId")] [InverseProperty("OmRules")] public virtual OmScore RuleScore { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmScore.cs b/Migration.Toolkit.KX13/Models/OmScore.cs index 430af456..30c5c496 100644 --- a/Migration.Toolkit.KX13/Models/OmScore.cs +++ b/Migration.Toolkit.KX13/Models/OmScore.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class OmScore [ForeignKey("ScorePersonaId")] [InverseProperty("OmScore")] public virtual PersonasPersona? ScorePersona { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmScoreContactRule.cs b/Migration.Toolkit.KX13/Models/OmScoreContactRule.cs index 15e7c21c..477bb284 100644 --- a/Migration.Toolkit.KX13/Models/OmScoreContactRule.cs +++ b/Migration.Toolkit.KX13/Models/OmScoreContactRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class OmScoreContactRule [ForeignKey("ScoreId")] [InverseProperty("OmScoreContactRules")] public virtual OmScore Score { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/OmVisitorToContact.cs b/Migration.Toolkit.KX13/Models/OmVisitorToContact.cs index 07fbc0df..aa9e4000 100644 --- a/Migration.Toolkit.KX13/Models/OmVisitorToContact.cs +++ b/Migration.Toolkit.KX13/Models/OmVisitorToContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class OmVisitorToContact [ForeignKey("VisitorToContactContactId")] [InverseProperty("OmVisitorToContacts")] public virtual OmContact VisitorToContactContact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/PersonasPersona.cs b/Migration.Toolkit.KX13/Models/PersonasPersona.cs index 7738667e..d0ebd5b6 100644 --- a/Migration.Toolkit.KX13/Models/PersonasPersona.cs +++ b/Migration.Toolkit.KX13/Models/PersonasPersona.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class PersonasPersona [InverseProperty("PersonaContactHistoryPersona")] public virtual ICollection PersonasPersonaContactHistories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/PersonasPersonaContactHistory.cs b/Migration.Toolkit.KX13/Models/PersonasPersonaContactHistory.cs index aeb77551..50b26b38 100644 --- a/Migration.Toolkit.KX13/Models/PersonasPersonaContactHistory.cs +++ b/Migration.Toolkit.KX13/Models/PersonasPersonaContactHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class PersonasPersonaContactHistory [ForeignKey("PersonaContactHistoryPersonaId")] [InverseProperty("PersonasPersonaContactHistories")] public virtual PersonasPersona? PersonaContactHistoryPersona { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ReportingReport.cs b/Migration.Toolkit.KX13/Models/ReportingReport.cs index 89ca6069..2e9eccbf 100644 --- a/Migration.Toolkit.KX13/Models/ReportingReport.cs +++ b/Migration.Toolkit.KX13/Models/ReportingReport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class ReportingReport [InverseProperty("SavedReportReport")] public virtual ICollection ReportingSavedReports { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ReportingReportCategory.cs b/Migration.Toolkit.KX13/Models/ReportingReportCategory.cs index bac34a92..ab34a70c 100644 --- a/Migration.Toolkit.KX13/Models/ReportingReportCategory.cs +++ b/Migration.Toolkit.KX13/Models/ReportingReportCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class ReportingReportCategory [InverseProperty("ReportCategory")] public virtual ICollection ReportingReports { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ReportingReportGraph.cs b/Migration.Toolkit.KX13/Models/ReportingReportGraph.cs index 14b17bb2..d7edfb61 100644 --- a/Migration.Toolkit.KX13/Models/ReportingReportGraph.cs +++ b/Migration.Toolkit.KX13/Models/ReportingReportGraph.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class ReportingReportGraph [InverseProperty("ReportSubscriptionGraph")] public virtual ICollection ReportingReportSubscriptions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ReportingReportSubscription.cs b/Migration.Toolkit.KX13/Models/ReportingReportSubscription.cs index 89e1aeef..d357fe9e 100644 --- a/Migration.Toolkit.KX13/Models/ReportingReportSubscription.cs +++ b/Migration.Toolkit.KX13/Models/ReportingReportSubscription.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -90,4 +90,4 @@ public partial class ReportingReportSubscription [ForeignKey("ReportSubscriptionValueId")] [InverseProperty("ReportingReportSubscriptions")] public virtual ReportingReportValue? ReportSubscriptionValue { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ReportingReportTable.cs b/Migration.Toolkit.KX13/Models/ReportingReportTable.cs index f879c73f..d1a0c361 100644 --- a/Migration.Toolkit.KX13/Models/ReportingReportTable.cs +++ b/Migration.Toolkit.KX13/Models/ReportingReportTable.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class ReportingReportTable [ForeignKey("TableReportId")] [InverseProperty("ReportingReportTables")] public virtual ReportingReport TableReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ReportingReportValue.cs b/Migration.Toolkit.KX13/Models/ReportingReportValue.cs index 0f49e25b..0528f164 100644 --- a/Migration.Toolkit.KX13/Models/ReportingReportValue.cs +++ b/Migration.Toolkit.KX13/Models/ReportingReportValue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class ReportingReportValue [ForeignKey("ValueReportId")] [InverseProperty("ReportingReportValues")] public virtual ReportingReport ValueReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ReportingSavedGraph.cs b/Migration.Toolkit.KX13/Models/ReportingSavedGraph.cs index 686e5a2f..75225161 100644 --- a/Migration.Toolkit.KX13/Models/ReportingSavedGraph.cs +++ b/Migration.Toolkit.KX13/Models/ReportingSavedGraph.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class ReportingSavedGraph [ForeignKey("SavedGraphSavedReportId")] [InverseProperty("ReportingSavedGraphs")] public virtual ReportingSavedReport SavedGraphSavedReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ReportingSavedReport.cs b/Migration.Toolkit.KX13/Models/ReportingSavedReport.cs index db8e07eb..066bc9b8 100644 --- a/Migration.Toolkit.KX13/Models/ReportingSavedReport.cs +++ b/Migration.Toolkit.KX13/Models/ReportingSavedReport.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class ReportingSavedReport [ForeignKey("SavedReportReportId")] [InverseProperty("ReportingSavedReports")] public virtual ReportingReport SavedReportReport { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SharePointSharePointConnection.cs b/Migration.Toolkit.KX13/Models/SharePointSharePointConnection.cs index 939164b2..6530c120 100644 --- a/Migration.Toolkit.KX13/Models/SharePointSharePointConnection.cs +++ b/Migration.Toolkit.KX13/Models/SharePointSharePointConnection.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class SharePointSharePointConnection [InverseProperty("SharePointLibrarySharePointConnection")] public virtual ICollection SharePointSharePointLibraries { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SharePointSharePointFile.cs b/Migration.Toolkit.KX13/Models/SharePointSharePointFile.cs index b7eaa574..65443a17 100644 --- a/Migration.Toolkit.KX13/Models/SharePointSharePointFile.cs +++ b/Migration.Toolkit.KX13/Models/SharePointSharePointFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class SharePointSharePointFile [ForeignKey("SharePointFileSiteId")] [InverseProperty("SharePointSharePointFiles")] public virtual CmsSite SharePointFileSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SharePointSharePointLibrary.cs b/Migration.Toolkit.KX13/Models/SharePointSharePointLibrary.cs index 4e2baa8c..08d3efc1 100644 --- a/Migration.Toolkit.KX13/Models/SharePointSharePointLibrary.cs +++ b/Migration.Toolkit.KX13/Models/SharePointSharePointLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class SharePointSharePointLibrary [InverseProperty("SharePointFileSharePointLibrary")] public virtual ICollection SharePointSharePointFiles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmFacebookAccount.cs b/Migration.Toolkit.KX13/Models/SmFacebookAccount.cs index a8bfd2b9..1f8ba322 100644 --- a/Migration.Toolkit.KX13/Models/SmFacebookAccount.cs +++ b/Migration.Toolkit.KX13/Models/SmFacebookAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -52,4 +52,4 @@ public partial class SmFacebookAccount [InverseProperty("FacebookPostFacebookAccount")] public virtual ICollection SmFacebookPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmFacebookApplication.cs b/Migration.Toolkit.KX13/Models/SmFacebookApplication.cs index b041cff9..4082ce64 100644 --- a/Migration.Toolkit.KX13/Models/SmFacebookApplication.cs +++ b/Migration.Toolkit.KX13/Models/SmFacebookApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class SmFacebookApplication [InverseProperty("FacebookAccountFacebookApplication")] public virtual ICollection SmFacebookAccounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmFacebookPost.cs b/Migration.Toolkit.KX13/Models/SmFacebookPost.cs index e02c1161..67442464 100644 --- a/Migration.Toolkit.KX13/Models/SmFacebookPost.cs +++ b/Migration.Toolkit.KX13/Models/SmFacebookPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -86,4 +86,4 @@ public partial class SmFacebookPost [ForeignKey("FacebookPostSiteId")] [InverseProperty("SmFacebookPosts")] public virtual CmsSite FacebookPostSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmInsight.cs b/Migration.Toolkit.KX13/Models/SmInsight.cs index 52e402b3..2d632f12 100644 --- a/Migration.Toolkit.KX13/Models/SmInsight.cs +++ b/Migration.Toolkit.KX13/Models/SmInsight.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class SmInsight [InverseProperty("InsightHitInsight")] public virtual ICollection SmInsightHitYears { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmInsightHitDay.cs b/Migration.Toolkit.KX13/Models/SmInsightHitDay.cs index e4cb9a71..e1fedffb 100644 --- a/Migration.Toolkit.KX13/Models/SmInsightHitDay.cs +++ b/Migration.Toolkit.KX13/Models/SmInsightHitDay.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitDay [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitDays")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmInsightHitMonth.cs b/Migration.Toolkit.KX13/Models/SmInsightHitMonth.cs index d5248893..288e1ab9 100644 --- a/Migration.Toolkit.KX13/Models/SmInsightHitMonth.cs +++ b/Migration.Toolkit.KX13/Models/SmInsightHitMonth.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitMonth [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitMonths")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmInsightHitWeek.cs b/Migration.Toolkit.KX13/Models/SmInsightHitWeek.cs index f85c2e68..2ef19e31 100644 --- a/Migration.Toolkit.KX13/Models/SmInsightHitWeek.cs +++ b/Migration.Toolkit.KX13/Models/SmInsightHitWeek.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitWeek [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitWeeks")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmInsightHitYear.cs b/Migration.Toolkit.KX13/Models/SmInsightHitYear.cs index 37d70c50..1d422a34 100644 --- a/Migration.Toolkit.KX13/Models/SmInsightHitYear.cs +++ b/Migration.Toolkit.KX13/Models/SmInsightHitYear.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class SmInsightHitYear [ForeignKey("InsightHitInsightId")] [InverseProperty("SmInsightHitYears")] public virtual SmInsight InsightHitInsight { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmLinkedInAccount.cs b/Migration.Toolkit.KX13/Models/SmLinkedInAccount.cs index 1e79ab4e..8af15de5 100644 --- a/Migration.Toolkit.KX13/Models/SmLinkedInAccount.cs +++ b/Migration.Toolkit.KX13/Models/SmLinkedInAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class SmLinkedInAccount [InverseProperty("LinkedInPostLinkedInAccount")] public virtual ICollection SmLinkedInPosts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmLinkedInApplication.cs b/Migration.Toolkit.KX13/Models/SmLinkedInApplication.cs index b427fcdd..dfc611f9 100644 --- a/Migration.Toolkit.KX13/Models/SmLinkedInApplication.cs +++ b/Migration.Toolkit.KX13/Models/SmLinkedInApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class SmLinkedInApplication [ForeignKey("LinkedInApplicationSiteId")] [InverseProperty("SmLinkedInApplications")] public virtual CmsSite LinkedInApplicationSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmLinkedInPost.cs b/Migration.Toolkit.KX13/Models/SmLinkedInPost.cs index 5abfef65..0dec7fa3 100644 --- a/Migration.Toolkit.KX13/Models/SmLinkedInPost.cs +++ b/Migration.Toolkit.KX13/Models/SmLinkedInPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -82,4 +82,4 @@ public partial class SmLinkedInPost [ForeignKey("LinkedInPostSiteId")] [InverseProperty("SmLinkedInPosts")] public virtual CmsSite LinkedInPostSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmTwitterAccount.cs b/Migration.Toolkit.KX13/Models/SmTwitterAccount.cs index 7ec5c5f4..19c5ceea 100644 --- a/Migration.Toolkit.KX13/Models/SmTwitterAccount.cs +++ b/Migration.Toolkit.KX13/Models/SmTwitterAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class SmTwitterAccount [ForeignKey("TwitterAccountTwitterApplicationId")] [InverseProperty("SmTwitterAccounts")] public virtual SmTwitterApplication TwitterAccountTwitterApplication { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmTwitterApplication.cs b/Migration.Toolkit.KX13/Models/SmTwitterApplication.cs index d9be4720..e1a47c80 100644 --- a/Migration.Toolkit.KX13/Models/SmTwitterApplication.cs +++ b/Migration.Toolkit.KX13/Models/SmTwitterApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class SmTwitterApplication [ForeignKey("TwitterApplicationSiteId")] [InverseProperty("SmTwitterApplications")] public virtual CmsSite TwitterApplicationSite { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/SmTwitterPost.cs b/Migration.Toolkit.KX13/Models/SmTwitterPost.cs index a81785ec..5c2cd05a 100644 --- a/Migration.Toolkit.KX13/Models/SmTwitterPost.cs +++ b/Migration.Toolkit.KX13/Models/SmTwitterPost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -68,4 +68,4 @@ public partial class SmTwitterPost [ForeignKey("TwitterPostTwitterAccountId")] [InverseProperty("SmTwitterPosts")] public virtual SmTwitterAccount TwitterPostTwitterAccount { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/StagingServer.cs b/Migration.Toolkit.KX13/Models/StagingServer.cs index cf3adfa6..a7b5c2c7 100644 --- a/Migration.Toolkit.KX13/Models/StagingServer.cs +++ b/Migration.Toolkit.KX13/Models/StagingServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class StagingServer [InverseProperty("SynchronizationServer")] public virtual ICollection StagingSynchronizations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/StagingSynchronization.cs b/Migration.Toolkit.KX13/Models/StagingSynchronization.cs index d8ed9eb7..5a774783 100644 --- a/Migration.Toolkit.KX13/Models/StagingSynchronization.cs +++ b/Migration.Toolkit.KX13/Models/StagingSynchronization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class StagingSynchronization [ForeignKey("SynchronizationTaskId")] [InverseProperty("StagingSynchronizations")] public virtual StagingTask SynchronizationTask { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/StagingTask.cs b/Migration.Toolkit.KX13/Models/StagingTask.cs index ccf277ae..a99098a1 100644 --- a/Migration.Toolkit.KX13/Models/StagingTask.cs +++ b/Migration.Toolkit.KX13/Models/StagingTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class StagingTask [ForeignKey("TaskSiteId")] [InverseProperty("StagingTasks")] public virtual CmsSite? TaskSite { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/StagingTaskGroup.cs b/Migration.Toolkit.KX13/Models/StagingTaskGroup.cs index d8475159..d8b3a662 100644 --- a/Migration.Toolkit.KX13/Models/StagingTaskGroup.cs +++ b/Migration.Toolkit.KX13/Models/StagingTaskGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class StagingTaskGroup [InverseProperty("TaskGroup")] public virtual ICollection StagingTaskGroupUsers { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/StagingTaskGroupTask.cs b/Migration.Toolkit.KX13/Models/StagingTaskGroupTask.cs index e80b76f9..5b96ccf3 100644 --- a/Migration.Toolkit.KX13/Models/StagingTaskGroupTask.cs +++ b/Migration.Toolkit.KX13/Models/StagingTaskGroupTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskGroupTask [ForeignKey("TaskGroupId")] [InverseProperty("StagingTaskGroupTasks")] public virtual StagingTaskGroup TaskGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/StagingTaskGroupUser.cs b/Migration.Toolkit.KX13/Models/StagingTaskGroupUser.cs index 9db522af..ced5a7df 100644 --- a/Migration.Toolkit.KX13/Models/StagingTaskGroupUser.cs +++ b/Migration.Toolkit.KX13/Models/StagingTaskGroupUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskGroupUser [ForeignKey("UserId")] [InverseProperty("StagingTaskGroupUser")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/StagingTaskUser.cs b/Migration.Toolkit.KX13/Models/StagingTaskUser.cs index 6c24b726..1ebb90a1 100644 --- a/Migration.Toolkit.KX13/Models/StagingTaskUser.cs +++ b/Migration.Toolkit.KX13/Models/StagingTaskUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class StagingTaskUser [ForeignKey("UserId")] [InverseProperty("StagingTaskUsers")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/TempFile.cs b/Migration.Toolkit.KX13/Models/TempFile.cs index ade2de63..d267162a 100644 --- a/Migration.Toolkit.KX13/Models/TempFile.cs +++ b/Migration.Toolkit.KX13/Models/TempFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class TempFile public string? FileTitle { get; set; } public string? FileDescription { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/TempPageBuilderWidget.cs b/Migration.Toolkit.KX13/Models/TempPageBuilderWidget.cs index a49dc484..f7414846 100644 --- a/Migration.Toolkit.KX13/Models/TempPageBuilderWidget.cs +++ b/Migration.Toolkit.KX13/Models/TempPageBuilderWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class TempPageBuilderWidget public DateTime PageBuilderWidgetsLastModified { get; set; } public string? PageBuilderTemplateConfiguration { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsAclitemItemsAndOperator.cs b/Migration.Toolkit.KX13/Models/ViewCmsAclitemItemsAndOperator.cs index 3ed476d2..95f93cf6 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsAclitemItemsAndOperator.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsAclitemItemsAndOperator.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class ViewCmsAclitemItemsAndOperator [Column("SiteID")] public int? SiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsObjectVersionHistoryUserJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsObjectVersionHistoryUserJoined.cs index a6e4c35a..c24aaa74 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsObjectVersionHistoryUserJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsObjectVersionHistoryUserJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -119,4 +119,4 @@ public partial class ViewCmsObjectVersionHistoryUserJoined [Column("UserMFTimestep")] public long? UserMftimestep { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs index 4978aa6e..3860bbda 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsPageTemplateCategoryPageTemplateJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ViewCmsPageTemplateCategoryPageTemplateJoined [StringLength(200)] public string? PageTemplateIconClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsRelationshipJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsRelationshipJoined.cs index e63a67fd..d4191f8d 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsRelationshipJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsRelationshipJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -54,4 +54,4 @@ public partial class ViewCmsRelationshipJoined public int RelationshipId { get; set; } public int? RelationshipOrder { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsResourceStringJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsResourceStringJoined.cs index 35b5f878..57ad4d15 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsResourceStringJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsResourceStringJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class ViewCmsResourceStringJoined public Guid? CultureGuid { get; set; } public DateTime? CultureLastModified { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsResourceTranslatedJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsResourceTranslatedJoined.cs index 56b4d43a..dc0b3e73 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsResourceTranslatedJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsResourceTranslatedJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class ViewCmsResourceTranslatedJoined [StringLength(50)] public string CultureCode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsRoleResourcePermissionJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsRoleResourcePermissionJoined.cs index b1814c42..16b5bdeb 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsRoleResourcePermissionJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsRoleResourcePermissionJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class ViewCmsRoleResourcePermissionJoined [Column("PermissionID")] public int PermissionId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsSiteDocumentCount.cs b/Migration.Toolkit.KX13/Models/ViewCmsSiteDocumentCount.cs index 482bbe61..04891357 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsSiteDocumentCount.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsSiteDocumentCount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class ViewCmsSiteDocumentCount public string SitePresentationUrl { get; set; } = null!; public int? Documents { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsSiteRoleResourceUielementJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsSiteRoleResourceUielementJoined.cs index 6c0242fe..91b6f478 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsSiteRoleResourceUielementJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsSiteRoleResourceUielementJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class ViewCmsSiteRoleResourceUielementJoined [Column("RoleSiteID")] public int? RoleSiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsTreeJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsTreeJoined.cs index 12fdd6e2..2e3291e7 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsTreeJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsTreeJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -168,4 +168,4 @@ public partial class ViewCmsTreeJoined public string? DocumentAbtestConfiguration { get; set; } public bool DocumentShowInMenu { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsUser.cs b/Migration.Toolkit.KX13/Models/ViewCmsUser.cs index 08caf34f..ba78d2f1 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsUser.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -171,4 +171,4 @@ public partial class ViewCmsUser [Column("AvatarGUID")] public Guid? AvatarGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsUserDocument.cs b/Migration.Toolkit.KX13/Models/ViewCmsUserDocument.cs index 192af2eb..470998dd 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsUserDocument.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsUserDocument.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class ViewCmsUserDocument [StringLength(12)] [Unicode(false)] public string Type { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsUserRoleJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsUserRoleJoined.cs index 7f1e9ad6..ef6b1387 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsUserRoleJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsUserRoleJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class ViewCmsUserRoleJoined [Column("SiteGUID")] public Guid? SiteGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsUserRoleMembershipRole.cs b/Migration.Toolkit.KX13/Models/ViewCmsUserRoleMembershipRole.cs index 80329980..45bf87b4 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsUserRoleMembershipRole.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsUserRoleMembershipRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -22,4 +22,4 @@ public partial class ViewCmsUserRoleMembershipRole public int UserId { get; set; } public DateTime? ValidTo { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs index 23391968..5311074f 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsUserRoleMembershipRoleValidOnlyJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -16,4 +16,4 @@ public partial class ViewCmsUserRoleMembershipRoleValidOnlyJoined public int RoleId { get; set; } public DateTime? ValidTo { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsUserSettingsRoleJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsUserSettingsRoleJoined.cs index 7dc18cc2..266e5616 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsUserSettingsRoleJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsUserSettingsRoleJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class ViewCmsUserSettingsRoleJoined public string SiteName { get; set; } = null!; public bool UserEnabled { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsWebPartCategoryWebpartJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsWebPartCategoryWebpartJoined.cs index eb398414..168a6050 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsWebPartCategoryWebpartJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsWebPartCategoryWebpartJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -65,4 +65,4 @@ public partial class ViewCmsWebPartCategoryWebpartJoined public string? IconClass { get; set; } public bool? WebPartSkipInsertProperties { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewCmsWidgetCategoryWidgetJoined.cs b/Migration.Toolkit.KX13/Models/ViewCmsWidgetCategoryWidgetJoined.cs index 10ea38f9..b1d03813 100644 --- a/Migration.Toolkit.KX13/Models/ViewCmsWidgetCategoryWidgetJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewCmsWidgetCategoryWidgetJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class ViewCmsWidgetCategoryWidgetJoined [StringLength(14)] [Unicode(false)] public string ObjectType { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs b/Migration.Toolkit.KX13/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs index 2bb8e429..854876d8 100644 --- a/Migration.Toolkit.KX13/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewComSkuoptionCategoryOptionCategoryJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -61,4 +61,4 @@ public partial class ViewComSkuoptionCategoryOptionCategoryJoined [StringLength(200)] public string? CategoryLiveSiteDisplayName { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewIntegrationTaskJoined.cs b/Migration.Toolkit.KX13/Models/ViewIntegrationTaskJoined.cs index 1b74840f..5904d0f1 100644 --- a/Migration.Toolkit.KX13/Models/ViewIntegrationTaskJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewIntegrationTaskJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -62,4 +62,4 @@ public partial class ViewIntegrationTaskJoined [StringLength(50)] public string? TaskDataType { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewMembershipMembershipUserJoined.cs b/Migration.Toolkit.KX13/Models/ViewMembershipMembershipUserJoined.cs index 2979ae31..025262e2 100644 --- a/Migration.Toolkit.KX13/Models/ViewMembershipMembershipUserJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewMembershipMembershipUserJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class ViewMembershipMembershipUserJoined [Column("MembershipSiteID")] public int? MembershipSiteId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewNewsletterSubscriptionsJoined.cs b/Migration.Toolkit.KX13/Models/ViewNewsletterSubscriptionsJoined.cs index b12db405..6481d0e9 100644 --- a/Migration.Toolkit.KX13/Models/ViewNewsletterSubscriptionsJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewNewsletterSubscriptionsJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class ViewNewsletterSubscriptionsJoined [Column("SubscriberNewsletterID")] public int SubscriberNewsletterId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewOmAccountContactAccountJoined.cs b/Migration.Toolkit.KX13/Models/ViewOmAccountContactAccountJoined.cs index 21602f3d..f4d945ff 100644 --- a/Migration.Toolkit.KX13/Models/ViewOmAccountContactAccountJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewOmAccountContactAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ViewOmAccountContactAccountJoined [Column("AccountStatusID")] public int? AccountStatusId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewOmAccountContactContactJoined.cs b/Migration.Toolkit.KX13/Models/ViewOmAccountContactContactJoined.cs index 2e86c86d..0373815a 100644 --- a/Migration.Toolkit.KX13/Models/ViewOmAccountContactContactJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewOmAccountContactContactJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class ViewOmAccountContactContactJoined [Column("ContactRoleID")] public int? ContactRoleId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewOmAccountJoined.cs b/Migration.Toolkit.KX13/Models/ViewOmAccountJoined.cs index 927d9f03..25fb88f2 100644 --- a/Migration.Toolkit.KX13/Models/ViewOmAccountJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewOmAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -99,4 +99,4 @@ public partial class ViewOmAccountJoined [StringLength(201)] public string AccountFullAddress { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewOmContactGroupMemberAccountJoined.cs b/Migration.Toolkit.KX13/Models/ViewOmContactGroupMemberAccountJoined.cs index 22d819c1..2141edc9 100644 --- a/Migration.Toolkit.KX13/Models/ViewOmContactGroupMemberAccountJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewOmContactGroupMemberAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -75,4 +75,4 @@ public partial class ViewOmContactGroupMemberAccountJoined [Column("ContactGroupMemberID")] public int ContactGroupMemberId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/Models/ViewReportingCategoryReportJoined.cs b/Migration.Toolkit.KX13/Models/ViewReportingCategoryReportJoined.cs index 63d4e6fa..3ec19a2f 100644 --- a/Migration.Toolkit.KX13/Models/ViewReportingCategoryReportJoined.cs +++ b/Migration.Toolkit.KX13/Models/ViewReportingCategoryReportJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -49,4 +49,4 @@ public partial class ViewReportingCategoryReportJoined [StringLength(14)] [Unicode(false)] public string ObjectType { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KX13/SettingsKeys.cs b/Migration.Toolkit.KX13/SettingsKeys.cs index 83cf8a35..78e94cb2 100644 --- a/Migration.Toolkit.KX13/SettingsKeys.cs +++ b/Migration.Toolkit.KX13/SettingsKeys.cs @@ -2,7 +2,8 @@ // ReSharper disable IdentifierTypo namespace Migration.Toolkit.KX13; -public static class SettingsKeys { +public static class SettingsKeys +{ public const string CMSABTestingEnabled = "CMSABTestingEnabled"; public const string CMSAdminEmailAddress = "CMSAdminEmailAddress"; public const string CMSAllowAttachmentTranslation = "CMSAllowAttachmentTranslation"; diff --git a/Migration.Toolkit.KXP.Api/Auxiliary/DummyFormFile.cs b/Migration.Toolkit.KXP.Api/Auxiliary/DummyFormFile.cs index be5e7e32..df40a770 100644 --- a/Migration.Toolkit.KXP.Api/Auxiliary/DummyFormFile.cs +++ b/Migration.Toolkit.KXP.Api/Auxiliary/DummyFormFile.cs @@ -2,10 +2,10 @@ namespace Migration.Toolkit.KXP.Api.Auxiliary; using CMS.Base; -public class DummyUploadedFile: IUploadedFile +public class DummyUploadedFile : IUploadedFile { public Stream InputStream { get; } - + public string ContentType { get; } public long Length { get; } @@ -24,7 +24,7 @@ public static IUploadedFile FromStream(Stream stream, string contentType, long l { return new DummyUploadedFile(stream, contentType, length, fileName); } - + public static IUploadedFile FromByteArray(byte[] byteArray, string contentType, long length, string fileName) { return new DummyUploadedFile(new MemoryStream(byteArray), contentType, length, fileName); diff --git a/Migration.Toolkit.KXP.Api/Services/CmsClass/FormDefinitionPatcher.cs b/Migration.Toolkit.KXP.Api/Services/CmsClass/FormDefinitionPatcher.cs index fa5b8a8b..ba5c4eaf 100644 --- a/Migration.Toolkit.KXP.Api/Services/CmsClass/FormDefinitionPatcher.cs +++ b/Migration.Toolkit.KXP.Api/Services/CmsClass/FormDefinitionPatcher.cs @@ -7,29 +7,29 @@ namespace Migration.Toolkit.KXP.Api.Services.CmsClass; public class FormDefinitionPatcher { - private const string CATEGORY_ELEM = "category"; - private const string CATEGORY_ATTR_NAME = FIELD_ATTR_NAME; - private const string FIELD_ATTR_COLUMN = "column"; - private const string FIELD_ATTR_COLUMNTYPE = "columntype"; - private const string FIELD_ATTR_ENABLED = "enabled"; - private const string FIELD_ATTR_GUID = "guid"; - private const string FIELD_ATTR_ISPK = "isPK"; - private const string FIELD_ATTR_NAME = "name"; - private const string FIELD_ATTR_SIZE = "size"; - private const int FIELD_ATTR_SIZE_ZERO = 0; - private const string FIELD_ATTR_SYSTEM = "system"; - private const string FIELD_ATTR_VISIBLE = "visible"; - private const string FIELD_ELEM = "field"; - private const string FIELD_ELEM_PROPERTIES = "properties"; - private const string FIELD_ELEM_SETTINGS = "settings"; - private const string PROPERTIES_ELEM_DEFAULTVALUE = "defaultvalue"; - private const string SETTINGS_ELEM_CONTROLNAME = "controlname"; - private const string SETTINGS_MAXIMUMASSETS = "MaximumAssets"; + private const string CATEGORY_ELEM = "category"; + private const string CATEGORY_ATTR_NAME = FIELD_ATTR_NAME; + private const string FIELD_ATTR_COLUMN = "column"; + private const string FIELD_ATTR_COLUMNTYPE = "columntype"; + private const string FIELD_ATTR_ENABLED = "enabled"; + private const string FIELD_ATTR_GUID = "guid"; + private const string FIELD_ATTR_ISPK = "isPK"; + private const string FIELD_ATTR_NAME = "name"; + private const string FIELD_ATTR_SIZE = "size"; + private const int FIELD_ATTR_SIZE_ZERO = 0; + private const string FIELD_ATTR_SYSTEM = "system"; + private const string FIELD_ATTR_VISIBLE = "visible"; + private const string FIELD_ELEM = "field"; + private const string FIELD_ELEM_PROPERTIES = "properties"; + private const string FIELD_ELEM_SETTINGS = "settings"; + private const string PROPERTIES_ELEM_DEFAULTVALUE = "defaultvalue"; + private const string SETTINGS_ELEM_CONTROLNAME = "controlname"; + private const string SETTINGS_MAXIMUMASSETS = "MaximumAssets"; private const string SETTINGS_MAXIMUMASSETS_FALLBACK = "99"; - private const string SETTINGS_MAXIMUMPAGES = "MaximumPages"; - private const string SETTINGS_MAXIMUMPAGES_FALLBACK = "99"; - private const string SETTINGS_ROOTPATH = "RootPath"; - private const string SETTINGS_ROOTPATH_FALLBACK = "/"; + private const string SETTINGS_MAXIMUMPAGES = "MaximumPages"; + private const string SETTINGS_MAXIMUMPAGES_FALLBACK = "99"; + private const string SETTINGS_ROOTPATH = "RootPath"; + private const string SETTINGS_ROOTPATH_FALLBACK = "/"; private readonly ILogger _logger; private readonly string _formDefinitionXml; @@ -233,12 +233,12 @@ private void PatchField(XElement field) PerformActionsOnField(field, fieldDescriptor, actions); break; default: - { - _logger.LogDebug("Field {FieldDescriptor} ControlName: Tca:NONE => from control '{ControlName}' => {TargetFormComponent}", fieldDescriptor, controlName, targetFormComponent); - controlNameElem?.SetValue(targetFormComponent); - PerformActionsOnField(field, fieldDescriptor, actions); - break; - } + { + _logger.LogDebug("Field {FieldDescriptor} ControlName: Tca:NONE => from control '{ControlName}' => {TargetFormComponent}", fieldDescriptor, controlName, targetFormComponent); + controlNameElem?.SetValue(targetFormComponent); + PerformActionsOnField(field, fieldDescriptor, actions); + break; + } } } @@ -279,29 +279,29 @@ private void PatchField(XElement field) switch (fieldChildNode.Name.ToString()) { case FIELD_ELEM_PROPERTIES: - { - PatchProperties(fieldChildNode); - break; - } - case FIELD_ELEM_SETTINGS: - { - if (_altForm) { - PatchSettings(fieldChildNode); + PatchProperties(fieldChildNode); + break; } - else + case FIELD_ELEM_SETTINGS: { - // XbK Resource / Module class no longer supports visual representation - ClearSettings(fieldChildNode); + if (_altForm) + { + PatchSettings(fieldChildNode); + } + else + { + // XbK Resource / Module class no longer supports visual representation + ClearSettings(fieldChildNode); + } + break; } - break; - } default: - { - _logger.LogDebug("Removing field element '{ElementName}'", fieldChildNode.Name); - fieldChildNode.Remove(); - break; - } + { + _logger.LogDebug("Removing field element '{ElementName}'", fieldChildNode.Name); + fieldChildNode.Remove(); + break; + } } } } @@ -379,39 +379,39 @@ private void PerformActionsOnField(XElement field, string fieldDescriptor, strin switch (action) { case TcaDirective.ClearSettings: - { - field.Element(FIELD_ELEM_SETTINGS)?.Remove(); - break; - } + { + field.Element(FIELD_ELEM_SETTINGS)?.Remove(); + break; + } case TcaDirective.ClearMacroTable: - { - // TODO tk: 2022-10-11 really needed? - break; - } + { + // TODO tk: 2022-10-11 really needed? + break; + } case TcaDirective.ConvertToAsset: - { - field - .EnsureElement(FIELD_ELEM_SETTINGS) - .EnsureElement(SETTINGS_MAXIMUMASSETS, maxAssets => maxAssets.Value = SETTINGS_MAXIMUMASSETS_FALLBACK); - break; - } + { + field + .EnsureElement(FIELD_ELEM_SETTINGS) + .EnsureElement(SETTINGS_MAXIMUMASSETS, maxAssets => maxAssets.Value = SETTINGS_MAXIMUMASSETS_FALLBACK); + break; + } case TcaDirective.ConvertToPages: - { - field - .EnsureElement(FIELD_ELEM_SETTINGS, settings => - { - settings.EnsureElement(SETTINGS_MAXIMUMPAGES, maxAssets => maxAssets.Value = SETTINGS_MAXIMUMPAGES_FALLBACK); - settings.EnsureElement(SETTINGS_ROOTPATH, maxAssets => maxAssets.Value = SETTINGS_ROOTPATH_FALLBACK); // TODO tk: 2022-08-31 describe why? - }); + { + field + .EnsureElement(FIELD_ELEM_SETTINGS, settings => + { + settings.EnsureElement(SETTINGS_MAXIMUMPAGES, maxAssets => maxAssets.Value = SETTINGS_MAXIMUMPAGES_FALLBACK); + settings.EnsureElement(SETTINGS_ROOTPATH, maxAssets => maxAssets.Value = SETTINGS_ROOTPATH_FALLBACK); // TODO tk: 2022-08-31 describe why? + }); - field.SetAttributeValue(FIELD_ATTR_SIZE, FIELD_ATTR_SIZE_ZERO); // TODO tk: 2022-08-31 describe why? + field.SetAttributeValue(FIELD_ATTR_SIZE, FIELD_ATTR_SIZE_ZERO); // TODO tk: 2022-08-31 describe why? - var settings = field.EnsureElement(FIELD_ELEM_SETTINGS); - settings.EnsureElement("TreePath", element => element.Value = settings.Element("RootPath")?.Value ?? ""); - settings.EnsureElement("RootPath").Remove(); + var settings = field.EnsureElement(FIELD_ELEM_SETTINGS); + settings.EnsureElement("TreePath", element => element.Value = settings.Element("RootPath")?.Value ?? ""); + settings.EnsureElement("RootPath").Remove(); - break; - } + break; + } } } } diff --git a/Migration.Toolkit.KXP/Context/KxpContext.cs b/Migration.Toolkit.KXP/Context/KxpContext.cs index 70deb3b5..302de175 100644 --- a/Migration.Toolkit.KXP/Context/KxpContext.cs +++ b/Migration.Toolkit.KXP/Context/KxpContext.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Migration.Toolkit.KXP.Models; @@ -1301,4 +1301,4 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) } partial void OnModelCreatingPartial(ModelBuilder modelBuilder); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CdMigration.cs b/Migration.Toolkit.KXP/Models/CdMigration.cs index ee85f742..16f16c4d 100644 --- a/Migration.Toolkit.KXP/Models/CdMigration.cs +++ b/Migration.Toolkit.KXP/Models/CdMigration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class CdMigration public DateTime DateApplied { get; set; } public int? RowsAffected { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CiFileMetadatum.cs b/Migration.Toolkit.KXP/Models/CiFileMetadatum.cs index 09f67497..ea7675f0 100644 --- a/Migration.Toolkit.KXP/Models/CiFileMetadatum.cs +++ b/Migration.Toolkit.KXP/Models/CiFileMetadatum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -19,4 +19,4 @@ public partial class CiFileMetadatum [StringLength(32)] public string FileHash { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CiMigration.cs b/Migration.Toolkit.KXP/Models/CiMigration.cs index f1d62dc6..b2b10f92 100644 --- a/Migration.Toolkit.KXP/Models/CiMigration.cs +++ b/Migration.Toolkit.KXP/Models/CiMigration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class CiMigration public DateTime DateApplied { get; set; } public int? RowsAffected { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsAlternativeForm.cs b/Migration.Toolkit.KXP/Models/CmsAlternativeForm.cs index 6c3ede7e..6f63b7f3 100644 --- a/Migration.Toolkit.KXP/Models/CmsAlternativeForm.cs +++ b/Migration.Toolkit.KXP/Models/CmsAlternativeForm.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class CmsAlternativeForm [ForeignKey("FormCoupledClassId")] [InverseProperty("CmsAlternativeFormFormCoupledClasses")] public virtual CmsClass? FormCoupledClass { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsApplicationPermission.cs b/Migration.Toolkit.KXP/Models/CmsApplicationPermission.cs index fe5f6af6..902ba2b8 100644 --- a/Migration.Toolkit.KXP/Models/CmsApplicationPermission.cs +++ b/Migration.Toolkit.KXP/Models/CmsApplicationPermission.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsApplicationPermission [ForeignKey("RoleId")] [InverseProperty("CmsApplicationPermissions")] public virtual CmsRole Role { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsAutomationHistory.cs b/Migration.Toolkit.KXP/Models/CmsAutomationHistory.cs index 7e468086..f7eae385 100644 --- a/Migration.Toolkit.KXP/Models/CmsAutomationHistory.cs +++ b/Migration.Toolkit.KXP/Models/CmsAutomationHistory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -79,4 +79,4 @@ public partial class CmsAutomationHistory [ForeignKey("HistoryWorkflowId")] [InverseProperty("CmsAutomationHistories")] public virtual CmsWorkflow HistoryWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsAutomationState.cs b/Migration.Toolkit.KXP/Models/CmsAutomationState.cs index 94ef07b1..b15082bf 100644 --- a/Migration.Toolkit.KXP/Models/CmsAutomationState.cs +++ b/Migration.Toolkit.KXP/Models/CmsAutomationState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -60,4 +60,4 @@ public partial class CmsAutomationState [ForeignKey("StateWorkflowId")] [InverseProperty("CmsAutomationStates")] public virtual CmsWorkflow StateWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsAutomationTemplate.cs b/Migration.Toolkit.KXP/Models/CmsAutomationTemplate.cs index 507bef6a..3d0f34e1 100644 --- a/Migration.Toolkit.KXP/Models/CmsAutomationTemplate.cs +++ b/Migration.Toolkit.KXP/Models/CmsAutomationTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -27,4 +27,4 @@ public partial class CmsAutomationTemplate public Guid TemplateGuid { get; set; } public DateTime TemplateLastModified { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsChannel.cs b/Migration.Toolkit.KXP/Models/CmsChannel.cs index bf57cfb4..4b47d6db 100644 --- a/Migration.Toolkit.KXP/Models/CmsChannel.cs +++ b/Migration.Toolkit.KXP/Models/CmsChannel.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class CmsChannel [InverseProperty("ActivityChannel")] public virtual ICollection OmActivities { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsClass.cs b/Migration.Toolkit.KXP/Models/CmsClass.cs index e3730e30..018499d0 100644 --- a/Migration.Toolkit.KXP/Models/CmsClass.cs +++ b/Migration.Toolkit.KXP/Models/CmsClass.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -94,4 +94,4 @@ public partial class CmsClass [InverseProperty("EmailTemplateContentTypeContentType")] public virtual ICollection EmailLibraryEmailTemplateContentTypes { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsConsent.cs b/Migration.Toolkit.KXP/Models/CmsConsent.cs index 25f03f97..f9fc0114 100644 --- a/Migration.Toolkit.KXP/Models/CmsConsent.cs +++ b/Migration.Toolkit.KXP/Models/CmsConsent.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class CmsConsent [InverseProperty("ConsentArchiveConsent")] public virtual ICollection CmsConsentArchives { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsConsentAgreement.cs b/Migration.Toolkit.KXP/Models/CmsConsentAgreement.cs index ab553316..d67fd533 100644 --- a/Migration.Toolkit.KXP/Models/CmsConsentAgreement.cs +++ b/Migration.Toolkit.KXP/Models/CmsConsentAgreement.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsConsentAgreement [ForeignKey("ConsentAgreementContactId")] [InverseProperty("CmsConsentAgreements")] public virtual OmContact ConsentAgreementContact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsConsentArchive.cs b/Migration.Toolkit.KXP/Models/CmsConsentArchive.cs index e0e682cf..bdfc8eb6 100644 --- a/Migration.Toolkit.KXP/Models/CmsConsentArchive.cs +++ b/Migration.Toolkit.KXP/Models/CmsConsentArchive.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsConsentArchive [ForeignKey("ConsentArchiveConsentId")] [InverseProperty("CmsConsentArchives")] public virtual CmsConsent ConsentArchiveConsent { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentFolder.cs b/Migration.Toolkit.KXP/Models/CmsContentFolder.cs index 2ba9ede2..8efaf593 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentFolder.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentFolder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -60,4 +60,4 @@ public partial class CmsContentFolder [InverseProperty("ContentFolderParentFolder")] public virtual ICollection InverseContentFolderParentFolder { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentItem.cs b/Migration.Toolkit.KXP/Models/CmsContentItem.cs index 6af26d35..1037f71e 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentItem.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -64,4 +64,4 @@ public partial class CmsContentItem [InverseProperty("EmailConfigurationContentItem")] public virtual ICollection EmailLibraryEmailConfigurations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentItemCommonDatum.cs b/Migration.Toolkit.KXP/Models/CmsContentItemCommonDatum.cs index 33329615..e487d797 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentItemCommonDatum.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentItemCommonDatum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -46,4 +46,4 @@ public partial class CmsContentItemCommonDatum [ForeignKey("ContentItemCommonDataContentLanguageId")] [InverseProperty("CmsContentItemCommonData")] public virtual CmsContentLanguage ContentItemCommonDataContentLanguage { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentItemLanguageMetadatum.cs b/Migration.Toolkit.KXP/Models/CmsContentItemLanguageMetadatum.cs index 4eb99dfb..e886461d 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentItemLanguageMetadatum.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentItemLanguageMetadatum.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -72,4 +72,4 @@ public partial class CmsContentItemLanguageMetadatum [ForeignKey("ContentItemLanguageMetadataModifiedByUserId")] [InverseProperty("CmsContentItemLanguageMetadatumContentItemLanguageMetadataModifiedByUsers")] public virtual CmsUser? ContentItemLanguageMetadataModifiedByUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentItemReference.cs b/Migration.Toolkit.KXP/Models/CmsContentItemReference.cs index 897e7319..5364a2ab 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentItemReference.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentItemReference.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class CmsContentItemReference [ForeignKey("ContentItemReferenceTargetItemId")] [InverseProperty("CmsContentItemReferences")] public virtual CmsContentItem ContentItemReferenceTargetItem { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentItemTag.cs b/Migration.Toolkit.KXP/Models/CmsContentItemTag.cs index 908f14cd..09387c4e 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentItemTag.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentItemTag.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsContentItemTag [ForeignKey("ContentItemTagContentItemLanguageMetadataId")] [InverseProperty("CmsContentItemTags")] public virtual CmsContentItemLanguageMetadatum ContentItemTagContentItemLanguageMetadata { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentLanguage.cs b/Migration.Toolkit.KXP/Models/CmsContentLanguage.cs index d64dbda7..1fa1c8b4 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentLanguage.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentLanguage.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class CmsContentLanguage [InverseProperty("ActivityLanguage")] public virtual ICollection OmActivities { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentTypeChannel.cs b/Migration.Toolkit.KXP/Models/CmsContentTypeChannel.cs index e0e1af5b..7e8791c9 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentTypeChannel.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentTypeChannel.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsContentTypeChannel [ForeignKey("ContentTypeChannelContentTypeId")] [InverseProperty("CmsContentTypeChannels")] public virtual CmsClass ContentTypeChannelContentType { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentWorkflow.cs b/Migration.Toolkit.KXP/Models/CmsContentWorkflow.cs index addb7226..b6b1d988 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentWorkflow.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentWorkflow.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsContentWorkflow [InverseProperty("ContentWorkflowStepWorkflow")] public virtual ICollection CmsContentWorkflowSteps { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentWorkflowContentType.cs b/Migration.Toolkit.KXP/Models/CmsContentWorkflowContentType.cs index 5a6c855b..f553e474 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentWorkflowContentType.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentWorkflowContentType.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsContentWorkflowContentType [ForeignKey("ContentWorkflowContentTypeContentWorkflowId")] [InverseProperty("CmsContentWorkflowContentTypes")] public virtual CmsContentWorkflow ContentWorkflowContentTypeContentWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentWorkflowStep.cs b/Migration.Toolkit.KXP/Models/CmsContentWorkflowStep.cs index cd146a28..09215e67 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentWorkflowStep.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentWorkflowStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class CmsContentWorkflowStep [ForeignKey("ContentWorkflowStepWorkflowId")] [InverseProperty("CmsContentWorkflowSteps")] public virtual CmsContentWorkflow ContentWorkflowStepWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsContentWorkflowStepRole.cs b/Migration.Toolkit.KXP/Models/CmsContentWorkflowStepRole.cs index c7e771ed..32298146 100644 --- a/Migration.Toolkit.KXP/Models/CmsContentWorkflowStepRole.cs +++ b/Migration.Toolkit.KXP/Models/CmsContentWorkflowStepRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsContentWorkflowStepRole [ForeignKey("ContentWorkflowStepRoleRoleId")] [InverseProperty("CmsContentWorkflowStepRoles")] public virtual CmsRole ContentWorkflowStepRoleRole { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsCountry.cs b/Migration.Toolkit.KXP/Models/CmsCountry.cs index b3ebadc1..96637405 100644 --- a/Migration.Toolkit.KXP/Models/CmsCountry.cs +++ b/Migration.Toolkit.KXP/Models/CmsCountry.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class CmsCountry [InverseProperty("ContactCountry")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsCulture.cs b/Migration.Toolkit.KXP/Models/CmsCulture.cs index dcb0a1ce..44f024af 100644 --- a/Migration.Toolkit.KXP/Models/CmsCulture.cs +++ b/Migration.Toolkit.KXP/Models/CmsCulture.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsCulture [InverseProperty("TranslationCulture")] public virtual ICollection CmsResourceTranslations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsEmail.cs b/Migration.Toolkit.KXP/Models/CmsEmail.cs index dc77856a..b2c30cb0 100644 --- a/Migration.Toolkit.KXP/Models/CmsEmail.cs +++ b/Migration.Toolkit.KXP/Models/CmsEmail.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -66,4 +66,4 @@ public partial class CmsEmail [ForeignKey("EmailId")] [InverseProperty("Emails")] public virtual ICollection Attachments { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsEmailAttachment.cs b/Migration.Toolkit.KXP/Models/CmsEmailAttachment.cs index 45692d88..b23189c1 100644 --- a/Migration.Toolkit.KXP/Models/CmsEmailAttachment.cs +++ b/Migration.Toolkit.KXP/Models/CmsEmailAttachment.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class CmsEmailAttachment [ForeignKey("AttachmentId")] [InverseProperty("Attachments")] public virtual ICollection Emails { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsEventLog.cs b/Migration.Toolkit.KXP/Models/CmsEventLog.cs index 8c9f47e4..20d6656a 100644 --- a/Migration.Toolkit.KXP/Models/CmsEventLog.cs +++ b/Migration.Toolkit.KXP/Models/CmsEventLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class CmsEventLog public string? EventUserAgent { get; set; } public string? EventUrlReferrer { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsExternalLogin.cs b/Migration.Toolkit.KXP/Models/CmsExternalLogin.cs index a07e5ae5..e996d76f 100644 --- a/Migration.Toolkit.KXP/Models/CmsExternalLogin.cs +++ b/Migration.Toolkit.KXP/Models/CmsExternalLogin.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -26,4 +26,4 @@ public partial class CmsExternalLogin [ForeignKey("UserId")] [InverseProperty("CmsExternalLogins")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsForm.cs b/Migration.Toolkit.KXP/Models/CmsForm.cs index 5d1d2769..e400290f 100644 --- a/Migration.Toolkit.KXP/Models/CmsForm.cs +++ b/Migration.Toolkit.KXP/Models/CmsForm.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -51,4 +51,4 @@ public partial class CmsForm [ForeignKey("FormId")] [InverseProperty("Forms")] public virtual ICollection Roles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsFormFeaturedField.cs b/Migration.Toolkit.KXP/Models/CmsFormFeaturedField.cs index 90863da6..5ba38cb7 100644 --- a/Migration.Toolkit.KXP/Models/CmsFormFeaturedField.cs +++ b/Migration.Toolkit.KXP/Models/CmsFormFeaturedField.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class CmsFormFeaturedField public string FormFeaturedFieldIconClass { get; set; } = null!; public bool FormFeaturedFieldEnabled { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsHeadlessChannel.cs b/Migration.Toolkit.KXP/Models/CmsHeadlessChannel.cs index 7e7a2a85..c43e08ea 100644 --- a/Migration.Toolkit.KXP/Models/CmsHeadlessChannel.cs +++ b/Migration.Toolkit.KXP/Models/CmsHeadlessChannel.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsHeadlessChannel [ForeignKey("HeadlessChannelPrimaryContentLanguageId")] [InverseProperty("CmsHeadlessChannels")] public virtual CmsContentLanguage HeadlessChannelPrimaryContentLanguage { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsHeadlessItem.cs b/Migration.Toolkit.KXP/Models/CmsHeadlessItem.cs index b3f0fd0e..ee0b05ab 100644 --- a/Migration.Toolkit.KXP/Models/CmsHeadlessItem.cs +++ b/Migration.Toolkit.KXP/Models/CmsHeadlessItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class CmsHeadlessItem [ForeignKey("HeadlessItemHeadlessChannelId")] [InverseProperty("CmsHeadlessItems")] public virtual CmsHeadlessChannel HeadlessItemHeadlessChannel { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsHeadlessToken.cs b/Migration.Toolkit.KXP/Models/CmsHeadlessToken.cs index b2f6b67b..3ef73bd6 100644 --- a/Migration.Toolkit.KXP/Models/CmsHeadlessToken.cs +++ b/Migration.Toolkit.KXP/Models/CmsHeadlessToken.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -55,4 +55,4 @@ public partial class CmsHeadlessToken [ForeignKey("HeadlessTokenModifiedByUserId")] [InverseProperty("CmsHeadlessTokenHeadlessTokenModifiedByUsers")] public virtual CmsUser? HeadlessTokenModifiedByUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsLicenseKey.cs b/Migration.Toolkit.KXP/Models/CmsLicenseKey.cs index 4ebd60b2..98cf7200 100644 --- a/Migration.Toolkit.KXP/Models/CmsLicenseKey.cs +++ b/Migration.Toolkit.KXP/Models/CmsLicenseKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class CmsLicenseKey public string? LicenseExpiration { get; set; } public int? LicenseServers { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsMacroIdentity.cs b/Migration.Toolkit.KXP/Models/CmsMacroIdentity.cs index a671e4dd..bcde232c 100644 --- a/Migration.Toolkit.KXP/Models/CmsMacroIdentity.cs +++ b/Migration.Toolkit.KXP/Models/CmsMacroIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsMacroIdentity [ForeignKey("MacroIdentityEffectiveUserId")] [InverseProperty("CmsMacroIdentities")] public virtual CmsUser? MacroIdentityEffectiveUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsMacroRule.cs b/Migration.Toolkit.KXP/Models/CmsMacroRule.cs index 228f24be..619d4e2e 100644 --- a/Migration.Toolkit.KXP/Models/CmsMacroRule.cs +++ b/Migration.Toolkit.KXP/Models/CmsMacroRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class CmsMacroRule [InverseProperty("MacroRule")] public virtual ICollection CmsMacroRuleMacroRuleCategories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsMacroRuleCategory.cs b/Migration.Toolkit.KXP/Models/CmsMacroRuleCategory.cs index bfdecbd8..a4535d25 100644 --- a/Migration.Toolkit.KXP/Models/CmsMacroRuleCategory.cs +++ b/Migration.Toolkit.KXP/Models/CmsMacroRuleCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsMacroRuleCategory [InverseProperty("MacroRuleCategory")] public virtual ICollection CmsMacroRuleMacroRuleCategories { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsMacroRuleMacroRuleCategory.cs b/Migration.Toolkit.KXP/Models/CmsMacroRuleMacroRuleCategory.cs index 015cd63f..920e399a 100644 --- a/Migration.Toolkit.KXP/Models/CmsMacroRuleMacroRuleCategory.cs +++ b/Migration.Toolkit.KXP/Models/CmsMacroRuleMacroRuleCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsMacroRuleMacroRuleCategory [ForeignKey("MacroRuleCategoryId")] [InverseProperty("CmsMacroRuleMacroRuleCategories")] public virtual CmsMacroRuleCategory MacroRuleCategory { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsMember.cs b/Migration.Toolkit.KXP/Models/CmsMember.cs index db5dc2e2..d7cb9fd8 100644 --- a/Migration.Toolkit.KXP/Models/CmsMember.cs +++ b/Migration.Toolkit.KXP/Models/CmsMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsMember [StringLength(72)] public string? MemberSecurityStamp { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsMemberExternalLogin.cs b/Migration.Toolkit.KXP/Models/CmsMemberExternalLogin.cs index 55837d30..aecc2d90 100644 --- a/Migration.Toolkit.KXP/Models/CmsMemberExternalLogin.cs +++ b/Migration.Toolkit.KXP/Models/CmsMemberExternalLogin.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class CmsMemberExternalLogin [StringLength(100)] public string MemberExternalLoginIdentityKey { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsObjectWorkflowTrigger.cs b/Migration.Toolkit.KXP/Models/CmsObjectWorkflowTrigger.cs index 79e43f54..ddd99a28 100644 --- a/Migration.Toolkit.KXP/Models/CmsObjectWorkflowTrigger.cs +++ b/Migration.Toolkit.KXP/Models/CmsObjectWorkflowTrigger.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsObjectWorkflowTrigger [ForeignKey("TriggerWorkflowId")] [InverseProperty("CmsObjectWorkflowTriggers")] public virtual CmsWorkflow TriggerWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsPageTemplateConfiguration.cs b/Migration.Toolkit.KXP/Models/CmsPageTemplateConfiguration.cs index eb38aa5f..0dedfbe4 100644 --- a/Migration.Toolkit.KXP/Models/CmsPageTemplateConfiguration.cs +++ b/Migration.Toolkit.KXP/Models/CmsPageTemplateConfiguration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsPageTemplateConfiguration [StringLength(200)] public string PageTemplateConfigurationIcon { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsQuery.cs b/Migration.Toolkit.KXP/Models/CmsQuery.cs index 78880db7..54527cc1 100644 --- a/Migration.Toolkit.KXP/Models/CmsQuery.cs +++ b/Migration.Toolkit.KXP/Models/CmsQuery.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class CmsQuery [ForeignKey("ClassId")] [InverseProperty("CmsQueries")] public virtual CmsClass? Class { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsResource.cs b/Migration.Toolkit.KXP/Models/CmsResource.cs index b0378b44..eb34dfa3 100644 --- a/Migration.Toolkit.KXP/Models/CmsResource.cs +++ b/Migration.Toolkit.KXP/Models/CmsResource.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class CmsResource [InverseProperty("ActionResource")] public virtual ICollection CmsWorkflowActions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsResourceString.cs b/Migration.Toolkit.KXP/Models/CmsResourceString.cs index 659f2a76..9c14e353 100644 --- a/Migration.Toolkit.KXP/Models/CmsResourceString.cs +++ b/Migration.Toolkit.KXP/Models/CmsResourceString.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class CmsResourceString [InverseProperty("TranslationString")] public virtual ICollection CmsResourceTranslations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsResourceTranslation.cs b/Migration.Toolkit.KXP/Models/CmsResourceTranslation.cs index 3d1d5d2b..b46006b2 100644 --- a/Migration.Toolkit.KXP/Models/CmsResourceTranslation.cs +++ b/Migration.Toolkit.KXP/Models/CmsResourceTranslation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsResourceTranslation [ForeignKey("TranslationStringId")] [InverseProperty("CmsResourceTranslations")] public virtual CmsResourceString TranslationString { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsRole.cs b/Migration.Toolkit.KXP/Models/CmsRole.cs index bbe881ac..35857d70 100644 --- a/Migration.Toolkit.KXP/Models/CmsRole.cs +++ b/Migration.Toolkit.KXP/Models/CmsRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class CmsRole [ForeignKey("RoleId")] [InverseProperty("Roles")] public virtual ICollection Forms { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsScheduledTask.cs b/Migration.Toolkit.KXP/Models/CmsScheduledTask.cs index e092b14b..8177cda4 100644 --- a/Migration.Toolkit.KXP/Models/CmsScheduledTask.cs +++ b/Migration.Toolkit.KXP/Models/CmsScheduledTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -71,4 +71,4 @@ public partial class CmsScheduledTask [ForeignKey("TaskUserId")] [InverseProperty("CmsScheduledTasks")] public virtual CmsUser? TaskUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsSettingsCategory.cs b/Migration.Toolkit.KXP/Models/CmsSettingsCategory.cs index 85b6a681..59763cff 100644 --- a/Migration.Toolkit.KXP/Models/CmsSettingsCategory.cs +++ b/Migration.Toolkit.KXP/Models/CmsSettingsCategory.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class CmsSettingsCategory [InverseProperty("CategoryParent")] public virtual ICollection InverseCategoryParent { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsSettingsKey.cs b/Migration.Toolkit.KXP/Models/CmsSettingsKey.cs index 1b67281a..58803726 100644 --- a/Migration.Toolkit.KXP/Models/CmsSettingsKey.cs +++ b/Migration.Toolkit.KXP/Models/CmsSettingsKey.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -55,4 +55,4 @@ public partial class CmsSettingsKey [ForeignKey("KeyCategoryId")] [InverseProperty("CmsSettingsKeys")] public virtual CmsSettingsCategory? KeyCategory { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsSmartFolder.cs b/Migration.Toolkit.KXP/Models/CmsSmartFolder.cs index 2830bedb..237c4563 100644 --- a/Migration.Toolkit.KXP/Models/CmsSmartFolder.cs +++ b/Migration.Toolkit.KXP/Models/CmsSmartFolder.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class CmsSmartFolder [ForeignKey("SmartFolderModifiedByUserId")] [InverseProperty("CmsSmartFolderSmartFolderModifiedByUsers")] public virtual CmsUser? SmartFolderModifiedByUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsState.cs b/Migration.Toolkit.KXP/Models/CmsState.cs index 18585da2..f7608439 100644 --- a/Migration.Toolkit.KXP/Models/CmsState.cs +++ b/Migration.Toolkit.KXP/Models/CmsState.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class CmsState [InverseProperty("ContactState")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsTag.cs b/Migration.Toolkit.KXP/Models/CmsTag.cs index c428840c..9526cd94 100644 --- a/Migration.Toolkit.KXP/Models/CmsTag.cs +++ b/Migration.Toolkit.KXP/Models/CmsTag.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -48,4 +48,4 @@ public partial class CmsTag [ForeignKey("TagTaxonomyId")] [InverseProperty("CmsTags")] public virtual CmsTaxonomy TagTaxonomy { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsTaxonomy.cs b/Migration.Toolkit.KXP/Models/CmsTaxonomy.cs index ca395ff1..7fc1a6e4 100644 --- a/Migration.Toolkit.KXP/Models/CmsTaxonomy.cs +++ b/Migration.Toolkit.KXP/Models/CmsTaxonomy.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -30,4 +30,4 @@ public partial class CmsTaxonomy [InverseProperty("TagTaxonomy")] public virtual ICollection CmsTags { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsUser.cs b/Migration.Toolkit.KXP/Models/CmsUser.cs index 99db6e33..dc7d4f47 100644 --- a/Migration.Toolkit.KXP/Models/CmsUser.cs +++ b/Migration.Toolkit.KXP/Models/CmsUser.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -110,4 +110,4 @@ public partial class CmsUser [InverseProperty("ContactOwnerUser")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsUserMacroIdentity.cs b/Migration.Toolkit.KXP/Models/CmsUserMacroIdentity.cs index 4c687b58..11a8dfc0 100644 --- a/Migration.Toolkit.KXP/Models/CmsUserMacroIdentity.cs +++ b/Migration.Toolkit.KXP/Models/CmsUserMacroIdentity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -32,4 +32,4 @@ public partial class CmsUserMacroIdentity [ForeignKey("UserMacroIdentityUserId")] [InverseProperty("CmsUserMacroIdentity")] public virtual CmsUser UserMacroIdentityUser { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsUserRole.cs b/Migration.Toolkit.KXP/Models/CmsUserRole.cs index 7caad12e..f4871674 100644 --- a/Migration.Toolkit.KXP/Models/CmsUserRole.cs +++ b/Migration.Toolkit.KXP/Models/CmsUserRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsUserRole [ForeignKey("UserId")] [InverseProperty("CmsUserRoles")] public virtual CmsUser User { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebFarmServer.cs b/Migration.Toolkit.KXP/Models/CmsWebFarmServer.cs index 1fd9fb69..4aa9f102 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebFarmServer.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebFarmServer.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class CmsWebFarmServer [InverseProperty("Server")] public virtual ICollection CmsWebFarmServerTasks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebFarmServerLog.cs b/Migration.Toolkit.KXP/Models/CmsWebFarmServerLog.cs index 38dc0fe5..8c76c807 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebFarmServerLog.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebFarmServerLog.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class CmsWebFarmServerLog [Column("ServerID")] public int ServerId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebFarmServerMonitoring.cs b/Migration.Toolkit.KXP/Models/CmsWebFarmServerMonitoring.cs index cb80d7ef..cad78a21 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebFarmServerMonitoring.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebFarmServerMonitoring.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -17,4 +17,4 @@ public partial class CmsWebFarmServerMonitoring public int ServerId { get; set; } public DateTime? ServerPing { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebFarmServerTask.cs b/Migration.Toolkit.KXP/Models/CmsWebFarmServerTask.cs index 293dd401..5d51969b 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebFarmServerTask.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebFarmServerTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsWebFarmServerTask [ForeignKey("TaskId")] [InverseProperty("CmsWebFarmServerTasks")] public virtual CmsWebFarmTask Task { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebFarmTask.cs b/Migration.Toolkit.KXP/Models/CmsWebFarmTask.cs index 26890f28..ca290fc0 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebFarmTask.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebFarmTask.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -39,4 +39,4 @@ public partial class CmsWebFarmTask [InverseProperty("Task")] public virtual ICollection CmsWebFarmServerTasks { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebPageFormerUrlPath.cs b/Migration.Toolkit.KXP/Models/CmsWebPageFormerUrlPath.cs index 40cfa00a..1daa3469 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebPageFormerUrlPath.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebPageFormerUrlPath.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -44,4 +44,4 @@ public partial class CmsWebPageFormerUrlPath [ForeignKey("WebPageFormerUrlPathWebsiteChannelId")] [InverseProperty("CmsWebPageFormerUrlPaths")] public virtual CmsWebsiteChannel WebPageFormerUrlPathWebsiteChannel { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebPageItem.cs b/Migration.Toolkit.KXP/Models/CmsWebPageItem.cs index 23c15799..f26ebd2e 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebPageItem.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebPageItem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -59,4 +59,4 @@ public partial class CmsWebPageItem [ForeignKey("WebPageItemWebsiteChannelId")] [InverseProperty("CmsWebPageItems")] public virtual CmsWebsiteChannel WebPageItemWebsiteChannel { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebPageUrlPath.cs b/Migration.Toolkit.KXP/Models/CmsWebPageUrlPath.cs index b65cce0c..100de539 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebPageUrlPath.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebPageUrlPath.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class CmsWebPageUrlPath [ForeignKey("WebPageUrlPathWebsiteChannelId")] [InverseProperty("CmsWebPageUrlPaths")] public virtual CmsWebsiteChannel WebPageUrlPathWebsiteChannel { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebsiteCaptchaSetting.cs b/Migration.Toolkit.KXP/Models/CmsWebsiteCaptchaSetting.cs index ee709449..47b1968a 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebsiteCaptchaSetting.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebsiteCaptchaSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class CmsWebsiteCaptchaSetting [Column("WebsiteCaptchaSettingsGUID")] public Guid WebsiteCaptchaSettingsGuid { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWebsiteChannel.cs b/Migration.Toolkit.KXP/Models/CmsWebsiteChannel.cs index 0ba168cf..e6b97561 100644 --- a/Migration.Toolkit.KXP/Models/CmsWebsiteChannel.cs +++ b/Migration.Toolkit.KXP/Models/CmsWebsiteChannel.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -50,4 +50,4 @@ public partial class CmsWebsiteChannel [ForeignKey("WebsiteChannelPrimaryContentLanguageId")] [InverseProperty("CmsWebsiteChannels")] public virtual CmsContentLanguage WebsiteChannelPrimaryContentLanguage { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWorkflow.cs b/Migration.Toolkit.KXP/Models/CmsWorkflow.cs index 0155821f..fd9c151a 100644 --- a/Migration.Toolkit.KXP/Models/CmsWorkflow.cs +++ b/Migration.Toolkit.KXP/Models/CmsWorkflow.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -79,4 +79,4 @@ public partial class CmsWorkflow [InverseProperty("TransitionWorkflow")] public virtual ICollection CmsWorkflowTransitions { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWorkflowAction.cs b/Migration.Toolkit.KXP/Models/CmsWorkflowAction.cs index 99cedf93..72d00567 100644 --- a/Migration.Toolkit.KXP/Models/CmsWorkflowAction.cs +++ b/Migration.Toolkit.KXP/Models/CmsWorkflowAction.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -62,4 +62,4 @@ public partial class CmsWorkflowAction [InverseProperty("StepAction")] public virtual ICollection CmsWorkflowSteps { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWorkflowStep.cs b/Migration.Toolkit.KXP/Models/CmsWorkflowStep.cs index 51b8c6f7..3584df75 100644 --- a/Migration.Toolkit.KXP/Models/CmsWorkflowStep.cs +++ b/Migration.Toolkit.KXP/Models/CmsWorkflowStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -91,4 +91,4 @@ public partial class CmsWorkflowStep [ForeignKey("StepWorkflowId")] [InverseProperty("CmsWorkflowSteps")] public virtual CmsWorkflow StepWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/CmsWorkflowTransition.cs b/Migration.Toolkit.KXP/Models/CmsWorkflowTransition.cs index 1e23cf55..5877dabc 100644 --- a/Migration.Toolkit.KXP/Models/CmsWorkflowTransition.cs +++ b/Migration.Toolkit.KXP/Models/CmsWorkflowTransition.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -43,4 +43,4 @@ public partial class CmsWorkflowTransition [ForeignKey("TransitionWorkflowId")] [InverseProperty("CmsWorkflowTransitions")] public virtual CmsWorkflow TransitionWorkflow { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailBounce.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailBounce.cs index b0ea1e16..edce7d54 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailBounce.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailBounce.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class EmailLibraryEmailBounce public bool EmailBounceIsHardBounce { get; set; } public int EmailBounceSoftBounceCount { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailChannel.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailChannel.cs index c439c865..bafc2521 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailChannel.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailChannel.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class EmailLibraryEmailChannel [InverseProperty("EmailConfigurationEmailChannel")] public virtual ICollection EmailLibraryEmailConfigurations { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailChannelSender.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailChannelSender.cs index 93a5ebf3..87d2c328 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailChannelSender.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailChannelSender.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class EmailLibraryEmailChannelSender [ForeignKey("EmailChannelSenderEmailChannelId")] [InverseProperty("EmailLibraryEmailChannelSenders")] public virtual EmailLibraryEmailChannel EmailChannelSenderEmailChannel { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailConfiguration.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailConfiguration.cs index 41619fa3..b849e808 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailConfiguration.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailConfiguration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -57,4 +57,4 @@ public partial class EmailLibraryEmailConfiguration [InverseProperty("SendConfigurationEmailConfiguration")] public virtual EmailLibrarySendConfiguration? EmailLibrarySendConfiguration { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailLink.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailLink.cs index 1384605c..b5fbe343 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailLink.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailLink.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -31,4 +31,4 @@ public partial class EmailLibraryEmailLink [ForeignKey("EmailLinkEmailConfigurationId")] [InverseProperty("EmailLibraryEmailLinks")] public virtual EmailLibraryEmailConfiguration EmailLinkEmailConfiguration { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailMarketingRecipient.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailMarketingRecipient.cs index 86a00fa0..af9372c9 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailMarketingRecipient.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailMarketingRecipient.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class EmailLibraryEmailMarketingRecipient [ForeignKey("EmailMarketingRecipientEmailConfigurationId")] [InverseProperty("EmailLibraryEmailMarketingRecipients")] public virtual EmailLibraryEmailConfiguration EmailMarketingRecipientEmailConfiguration { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailStatistic.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailStatistic.cs index c2a2b659..bb22c5a1 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailStatistic.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailStatistic.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -40,4 +40,4 @@ public partial class EmailLibraryEmailStatistic [ForeignKey("EmailStatisticsEmailConfigurationId")] [InverseProperty("EmailLibraryEmailStatistics")] public virtual EmailLibraryEmailConfiguration EmailStatisticsEmailConfiguration { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailStatisticsHit.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailStatisticsHit.cs index 08d28e20..6b15fbc4 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailStatisticsHit.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailStatisticsHit.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class EmailLibraryEmailStatisticsHit [ForeignKey("EmailStatisticsHitsEmailLinkId")] [InverseProperty("EmailLibraryEmailStatisticsHits")] public virtual EmailLibraryEmailLink? EmailStatisticsHitsEmailLink { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailSubscriptionConfirmation.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailSubscriptionConfirmation.cs index 01d9712d..15fb0b00 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailSubscriptionConfirmation.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailSubscriptionConfirmation.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -35,4 +35,4 @@ public partial class EmailLibraryEmailSubscriptionConfirmation [ForeignKey("EmailSubscriptionConfirmationRecipientListId")] [InverseProperty("EmailLibraryEmailSubscriptionConfirmations")] public virtual OmContactGroup EmailSubscriptionConfirmationRecipientList { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailTemplate.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailTemplate.cs index edcf8450..9ddda775 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailTemplate.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailTemplate.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class EmailLibraryEmailTemplate [InverseProperty("EmailTemplateContentTypeEmailTemplate")] public virtual ICollection EmailLibraryEmailTemplateContentTypes { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryEmailTemplateContentType.cs b/Migration.Toolkit.KXP/Models/EmailLibraryEmailTemplateContentType.cs index 0f415804..c1ecb4f8 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryEmailTemplateContentType.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryEmailTemplateContentType.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -28,4 +28,4 @@ public partial class EmailLibraryEmailTemplateContentType [ForeignKey("EmailTemplateContentTypeEmailTemplateId")] [InverseProperty("EmailLibraryEmailTemplateContentTypes")] public virtual EmailLibraryEmailTemplate EmailTemplateContentTypeEmailTemplate { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibraryRecipientListSetting.cs b/Migration.Toolkit.KXP/Models/EmailLibraryRecipientListSetting.cs index a4e53a27..4a2b2dd8 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibraryRecipientListSetting.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibraryRecipientListSetting.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -37,4 +37,4 @@ public partial class EmailLibraryRecipientListSetting [ForeignKey("RecipientListSettingsRecipientListId")] [InverseProperty("EmailLibraryRecipientListSettings")] public virtual OmContactGroup RecipientListSettingsRecipientList { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/EmailLibrarySendConfiguration.cs b/Migration.Toolkit.KXP/Models/EmailLibrarySendConfiguration.cs index 72d711db..8658850f 100644 --- a/Migration.Toolkit.KXP/Models/EmailLibrarySendConfiguration.cs +++ b/Migration.Toolkit.KXP/Models/EmailLibrarySendConfiguration.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class EmailLibrarySendConfiguration [ForeignKey("SendConfigurationRecipientListId")] [InverseProperty("EmailLibrarySendConfigurations")] public virtual OmContactGroup SendConfigurationRecipientList { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/MediaFile.cs b/Migration.Toolkit.KXP/Models/MediaFile.cs index 2c569a3b..8009c52c 100644 --- a/Migration.Toolkit.KXP/Models/MediaFile.cs +++ b/Migration.Toolkit.KXP/Models/MediaFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -68,4 +68,4 @@ public partial class MediaFile [ForeignKey("FileModifiedByUserId")] [InverseProperty("MediaFileFileModifiedByUsers")] public virtual CmsUser? FileModifiedByUser { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/MediaLibrary.cs b/Migration.Toolkit.KXP/Models/MediaLibrary.cs index c6877376..4410e4c2 100644 --- a/Migration.Toolkit.KXP/Models/MediaLibrary.cs +++ b/Migration.Toolkit.KXP/Models/MediaLibrary.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class MediaLibrary [InverseProperty("FileLibrary")] public virtual ICollection MediaFiles { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmAccount.cs b/Migration.Toolkit.KXP/Models/OmAccount.cs index 96ebd69c..1a739023 100644 --- a/Migration.Toolkit.KXP/Models/OmAccount.cs +++ b/Migration.Toolkit.KXP/Models/OmAccount.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -111,4 +111,4 @@ public partial class OmAccount [InverseProperty("Account")] public virtual ICollection OmAccountContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmAccountContact.cs b/Migration.Toolkit.KXP/Models/OmAccountContact.cs index f106c520..389a362f 100644 --- a/Migration.Toolkit.KXP/Models/OmAccountContact.cs +++ b/Migration.Toolkit.KXP/Models/OmAccountContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -36,4 +36,4 @@ public partial class OmAccountContact [ForeignKey("ContactRoleId")] [InverseProperty("OmAccountContacts")] public virtual OmContactRole? ContactRole { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmAccountStatus.cs b/Migration.Toolkit.KXP/Models/OmAccountStatus.cs index ce39715f..ac665734 100644 --- a/Migration.Toolkit.KXP/Models/OmAccountStatus.cs +++ b/Migration.Toolkit.KXP/Models/OmAccountStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmAccountStatus [InverseProperty("AccountStatus")] public virtual ICollection OmAccounts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmActivity.cs b/Migration.Toolkit.KXP/Models/OmActivity.cs index bfd07ea3..cfa0137f 100644 --- a/Migration.Toolkit.KXP/Models/OmActivity.cs +++ b/Migration.Toolkit.KXP/Models/OmActivity.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -74,4 +74,4 @@ public partial class OmActivity [ForeignKey("ActivityLanguageId")] [InverseProperty("OmActivities")] public virtual CmsContentLanguage? ActivityLanguage { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmActivityRecalculationQueue.cs b/Migration.Toolkit.KXP/Models/OmActivityRecalculationQueue.cs index 9688ae05..afcc2471 100644 --- a/Migration.Toolkit.KXP/Models/OmActivityRecalculationQueue.cs +++ b/Migration.Toolkit.KXP/Models/OmActivityRecalculationQueue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -15,4 +15,4 @@ public partial class OmActivityRecalculationQueue [Column("ActivityRecalculationQueueActivityID")] public int ActivityRecalculationQueueActivityId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmActivityType.cs b/Migration.Toolkit.KXP/Models/OmActivityType.cs index d3217d77..3a3796c2 100644 --- a/Migration.Toolkit.KXP/Models/OmActivityType.cs +++ b/Migration.Toolkit.KXP/Models/OmActivityType.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class OmActivityType [StringLength(200)] public string? ActivityTypeItemDetailObjectType { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmContact.cs b/Migration.Toolkit.KXP/Models/OmContact.cs index d7d20b68..55b58e92 100644 --- a/Migration.Toolkit.KXP/Models/OmContact.cs +++ b/Migration.Toolkit.KXP/Models/OmContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -134,4 +134,4 @@ public partial class OmContact [InverseProperty("VisitorToContactContact")] public virtual ICollection OmVisitorToContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmContactChangeRecalculationQueue.cs b/Migration.Toolkit.KXP/Models/OmContactChangeRecalculationQueue.cs index bfb6308b..03720b2d 100644 --- a/Migration.Toolkit.KXP/Models/OmContactChangeRecalculationQueue.cs +++ b/Migration.Toolkit.KXP/Models/OmContactChangeRecalculationQueue.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -21,4 +21,4 @@ public partial class OmContactChangeRecalculationQueue public bool ContactChangeRecalculationQueueContactIsNew { get; set; } public bool ContactChangeRecalculationQueueContactWasMerged { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmContactGroup.cs b/Migration.Toolkit.KXP/Models/OmContactGroup.cs index 7602c4a6..0a479139 100644 --- a/Migration.Toolkit.KXP/Models/OmContactGroup.cs +++ b/Migration.Toolkit.KXP/Models/OmContactGroup.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -45,4 +45,4 @@ public partial class OmContactGroup [InverseProperty("ContactGroupMemberContactGroup")] public virtual ICollection OmContactGroupMembers { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmContactGroupMember.cs b/Migration.Toolkit.KXP/Models/OmContactGroupMember.cs index f0dcc495..11e218ab 100644 --- a/Migration.Toolkit.KXP/Models/OmContactGroupMember.cs +++ b/Migration.Toolkit.KXP/Models/OmContactGroupMember.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -33,4 +33,4 @@ public partial class OmContactGroupMember [ForeignKey("ContactGroupMemberContactGroupId")] [InverseProperty("OmContactGroupMembers")] public virtual OmContactGroup ContactGroupMemberContactGroup { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmContactRole.cs b/Migration.Toolkit.KXP/Models/OmContactRole.cs index b25d9897..ba4a9991 100644 --- a/Migration.Toolkit.KXP/Models/OmContactRole.cs +++ b/Migration.Toolkit.KXP/Models/OmContactRole.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmContactRole [InverseProperty("ContactRole")] public virtual ICollection OmAccountContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmContactStatus.cs b/Migration.Toolkit.KXP/Models/OmContactStatus.cs index a24d365e..3a840857 100644 --- a/Migration.Toolkit.KXP/Models/OmContactStatus.cs +++ b/Migration.Toolkit.KXP/Models/OmContactStatus.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -23,4 +23,4 @@ public partial class OmContactStatus [InverseProperty("ContactStatus")] public virtual ICollection OmContacts { get; set; } = new List(); -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmTrackedWebsite.cs b/Migration.Toolkit.KXP/Models/OmTrackedWebsite.cs index 93e572d7..88bcdc4f 100644 --- a/Migration.Toolkit.KXP/Models/OmTrackedWebsite.cs +++ b/Migration.Toolkit.KXP/Models/OmTrackedWebsite.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -34,4 +34,4 @@ public partial class OmTrackedWebsite [Column("TrackedWebsiteChannelID")] public int TrackedWebsiteChannelId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/OmVisitorToContact.cs b/Migration.Toolkit.KXP/Models/OmVisitorToContact.cs index e1daa40a..8dd2e1e8 100644 --- a/Migration.Toolkit.KXP/Models/OmVisitorToContact.cs +++ b/Migration.Toolkit.KXP/Models/OmVisitorToContact.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -24,4 +24,4 @@ public partial class OmVisitorToContact [ForeignKey("VisitorToContactContactId")] [InverseProperty("OmVisitorToContacts")] public virtual OmContact VisitorToContactContact { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/TempFile.cs b/Migration.Toolkit.KXP/Models/TempFile.cs index 4002e8f5..d0d966cf 100644 --- a/Migration.Toolkit.KXP/Models/TempFile.cs +++ b/Migration.Toolkit.KXP/Models/TempFile.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -47,4 +47,4 @@ public partial class TempFile public string? FileTitle { get; set; } public string? FileDescription { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/TempPageBuilderWidget.cs b/Migration.Toolkit.KXP/Models/TempPageBuilderWidget.cs index acb6ea78..96386e1d 100644 --- a/Migration.Toolkit.KXP/Models/TempPageBuilderWidget.cs +++ b/Migration.Toolkit.KXP/Models/TempPageBuilderWidget.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -20,4 +20,4 @@ public partial class TempPageBuilderWidget public DateTime PageBuilderWidgetsLastModified { get; set; } public string? PageBuilderTemplateConfiguration { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/ViewCmsResourceStringJoined.cs b/Migration.Toolkit.KXP/Models/ViewCmsResourceStringJoined.cs index 7da37c81..034636fd 100644 --- a/Migration.Toolkit.KXP/Models/ViewCmsResourceStringJoined.cs +++ b/Migration.Toolkit.KXP/Models/ViewCmsResourceStringJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -41,4 +41,4 @@ public partial class ViewCmsResourceStringJoined public Guid? CultureGuid { get; set; } public DateTime? CultureLastModified { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/ViewCmsResourceTranslatedJoined.cs b/Migration.Toolkit.KXP/Models/ViewCmsResourceTranslatedJoined.cs index 13ffc0c5..c62a5626 100644 --- a/Migration.Toolkit.KXP/Models/ViewCmsResourceTranslatedJoined.cs +++ b/Migration.Toolkit.KXP/Models/ViewCmsResourceTranslatedJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -25,4 +25,4 @@ public partial class ViewCmsResourceTranslatedJoined [StringLength(50)] public string CultureCode { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/ViewOmAccountContactAccountJoined.cs b/Migration.Toolkit.KXP/Models/ViewOmAccountContactAccountJoined.cs index 5eaa4a96..40b8496b 100644 --- a/Migration.Toolkit.KXP/Models/ViewOmAccountContactAccountJoined.cs +++ b/Migration.Toolkit.KXP/Models/ViewOmAccountContactAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -29,4 +29,4 @@ public partial class ViewOmAccountContactAccountJoined [Column("AccountStatusID")] public int? AccountStatusId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/ViewOmAccountContactContactJoined.cs b/Migration.Toolkit.KXP/Models/ViewOmAccountContactContactJoined.cs index b555577d..4ea1cef6 100644 --- a/Migration.Toolkit.KXP/Models/ViewOmAccountContactContactJoined.cs +++ b/Migration.Toolkit.KXP/Models/ViewOmAccountContactContactJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -38,4 +38,4 @@ public partial class ViewOmAccountContactContactJoined [Column("ContactRoleID")] public int? ContactRoleId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/ViewOmAccountJoined.cs b/Migration.Toolkit.KXP/Models/ViewOmAccountJoined.cs index 8800cb73..cf3c7617 100644 --- a/Migration.Toolkit.KXP/Models/ViewOmAccountJoined.cs +++ b/Migration.Toolkit.KXP/Models/ViewOmAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -99,4 +99,4 @@ public partial class ViewOmAccountJoined [StringLength(201)] public string AccountFullAddress { get; set; } = null!; -} +} \ No newline at end of file diff --git a/Migration.Toolkit.KXP/Models/ViewOmContactGroupMemberAccountJoined.cs b/Migration.Toolkit.KXP/Models/ViewOmContactGroupMemberAccountJoined.cs index 9ffdf55d..59c53b51 100644 --- a/Migration.Toolkit.KXP/Models/ViewOmContactGroupMemberAccountJoined.cs +++ b/Migration.Toolkit.KXP/Models/ViewOmContactGroupMemberAccountJoined.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -75,4 +75,4 @@ public partial class ViewOmContactGroupMemberAccountJoined [Column("ContactGroupMemberID")] public int ContactGroupMemberId { get; set; } -} +} \ No newline at end of file diff --git a/Migration.Toolkit.Tests/MediaHelperTest.cs b/Migration.Toolkit.Tests/MediaHelperTest.cs index 8c91b4f3..223a3197 100644 --- a/Migration.Toolkit.Tests/MediaHelperTest.cs +++ b/Migration.Toolkit.Tests/MediaHelperTest.cs @@ -47,7 +47,8 @@ public class UnitTest1 [InlineData("~/custom_library_global_dir/mysite/sub-dir/sub-sub-dir/somefile.png?ext=.png", "/custom_library_global_dir/mysite/sub-dir/sub-sub-dir/somefile.png", null, true, MediaKind.MediaFile, MediaLinkKind.DirectMediaPath)] // direct media path is not supported for absolute physical paths eg. C:\MyLibraries // direct media path is not supported for absolute network share paths eg. \\myserver\MyLibraries - public void ParseMediaLink(string mediaUri, string? expectedPath, string? expectedGuid, bool expectSuccess, MediaKind expectedMediaKind, MediaLinkKind expectedMediaLinkKind) { + public void ParseMediaLink(string? mediaUri, string? expectedPath, string? expectedGuid, bool expectSuccess, MediaKind expectedMediaKind, MediaLinkKind expectedMediaLinkKind) + { Guid? expectedMediaId = Guid.TryParse(expectedGuid ?? "", out var eg) ? eg : null; var (success, mediaLinkKind, mediaKind, path, mediaGuid) = MediaHelper.MatchMediaLink(mediaUri);