From 74f0adf9f8a47fcb32fc94fe2f3fdb443ab9e48f Mon Sep 17 00:00:00 2001 From: antoineatrhea Date: Mon, 18 Dec 2023 15:55:39 +0100 Subject: [PATCH] SELECT Actor column for Cache tables --- CDP4Orm/AutoGenDao/ActionItemDao.cs | 2 +- CDP4Orm/AutoGenDao/ActualFiniteStateDao.cs | 2 +- CDP4Orm/AutoGenDao/ActualFiniteStateListDao.cs | 2 +- CDP4Orm/AutoGenDao/AliasDao.cs | 2 +- CDP4Orm/AutoGenDao/AndExpressionDao.cs | 2 +- CDP4Orm/AutoGenDao/ApprovalDao.cs | 2 +- CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/BinaryNoteDao.cs | 2 +- CDP4Orm/AutoGenDao/BinaryRelationshipDao.cs | 2 +- CDP4Orm/AutoGenDao/BinaryRelationshipRuleDao.cs | 2 +- CDP4Orm/AutoGenDao/BookDao.cs | 2 +- CDP4Orm/AutoGenDao/BooleanParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/BoundsDao.cs | 2 +- CDP4Orm/AutoGenDao/BuiltInRuleVerificationDao.cs | 2 +- CDP4Orm/AutoGenDao/CategoryDao.cs | 2 +- CDP4Orm/AutoGenDao/ChangeProposalDao.cs | 2 +- CDP4Orm/AutoGenDao/ChangeRequestDao.cs | 2 +- CDP4Orm/AutoGenDao/CitationDao.cs | 2 +- CDP4Orm/AutoGenDao/ColorDao.cs | 2 +- CDP4Orm/AutoGenDao/CommonFileStoreDao.cs | 2 +- CDP4Orm/AutoGenDao/CompoundParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/ConstantDao.cs | 2 +- CDP4Orm/AutoGenDao/ContractChangeNoticeDao.cs | 2 +- CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs | 2 +- CDP4Orm/AutoGenDao/DateParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/DateTimeParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/DecompositionRuleDao.cs | 2 +- CDP4Orm/AutoGenDao/DefinitionDao.cs | 2 +- CDP4Orm/AutoGenDao/DependentParameterTypeAssignmentDao.cs | 2 +- CDP4Orm/AutoGenDao/DerivedQuantityKindDao.cs | 2 +- CDP4Orm/AutoGenDao/DerivedUnitDao.cs | 2 +- CDP4Orm/AutoGenDao/DiagramCanvasDao.cs | 2 +- CDP4Orm/AutoGenDao/DiagramEdgeDao.cs | 2 +- CDP4Orm/AutoGenDao/DiagramObjectDao.cs | 2 +- CDP4Orm/AutoGenDao/DomainFileStoreDao.cs | 2 +- CDP4Orm/AutoGenDao/DomainOfExpertiseDao.cs | 2 +- CDP4Orm/AutoGenDao/DomainOfExpertiseGroupDao.cs | 2 +- CDP4Orm/AutoGenDao/ElementDefinitionDao.cs | 2 +- CDP4Orm/AutoGenDao/ElementUsageDao.cs | 2 +- CDP4Orm/AutoGenDao/EmailAddressDao.cs | 2 +- CDP4Orm/AutoGenDao/EngineeringModelDao.cs | 2 +- CDP4Orm/AutoGenDao/EngineeringModelDataDiscussionItemDao.cs | 2 +- CDP4Orm/AutoGenDao/EngineeringModelDataNoteDao.cs | 2 +- CDP4Orm/AutoGenDao/EngineeringModelSetupDao.cs | 2 +- CDP4Orm/AutoGenDao/EnumerationParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/EnumerationValueDefinitionDao.cs | 2 +- CDP4Orm/AutoGenDao/ExclusiveOrExpressionDao.cs | 2 +- CDP4Orm/AutoGenDao/ExternalIdentifierMapDao.cs | 2 +- CDP4Orm/AutoGenDao/FileDao.cs | 2 +- CDP4Orm/AutoGenDao/FileRevisionDao.cs | 2 +- CDP4Orm/AutoGenDao/FileTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/FolderDao.cs | 2 +- CDP4Orm/AutoGenDao/GlossaryDao.cs | 2 +- CDP4Orm/AutoGenDao/GoalDao.cs | 2 +- CDP4Orm/AutoGenDao/HyperLinkDao.cs | 2 +- CDP4Orm/AutoGenDao/IdCorrespondenceDao.cs | 2 +- CDP4Orm/AutoGenDao/IndependentParameterTypeAssignmentDao.cs | 2 +- CDP4Orm/AutoGenDao/IntervalScaleDao.cs | 2 +- CDP4Orm/AutoGenDao/IterationDao.cs | 2 +- CDP4Orm/AutoGenDao/IterationSetupDao.cs | 2 +- CDP4Orm/AutoGenDao/LinearConversionUnitDao.cs | 2 +- CDP4Orm/AutoGenDao/LogEntryChangelogItemDao.cs | 2 +- CDP4Orm/AutoGenDao/LogarithmicScaleDao.cs | 2 +- CDP4Orm/AutoGenDao/MappingToReferenceScaleDao.cs | 2 +- CDP4Orm/AutoGenDao/ModelLogEntryDao.cs | 2 +- CDP4Orm/AutoGenDao/ModelReferenceDataLibraryDao.cs | 2 +- CDP4Orm/AutoGenDao/ModellingThingReferenceDao.cs | 2 +- CDP4Orm/AutoGenDao/MultiRelationshipDao.cs | 2 +- CDP4Orm/AutoGenDao/MultiRelationshipRuleDao.cs | 2 +- CDP4Orm/AutoGenDao/NaturalLanguageDao.cs | 2 +- CDP4Orm/AutoGenDao/NestedElementDao.cs | 2 +- CDP4Orm/AutoGenDao/NestedParameterDao.cs | 2 +- CDP4Orm/AutoGenDao/NotExpressionDao.cs | 2 +- CDP4Orm/AutoGenDao/OptionDao.cs | 2 +- CDP4Orm/AutoGenDao/OrExpressionDao.cs | 2 +- CDP4Orm/AutoGenDao/OrdinalScaleDao.cs | 2 +- CDP4Orm/AutoGenDao/OrganizationDao.cs | 2 +- CDP4Orm/AutoGenDao/OrganizationalParticipantDao.cs | 2 +- CDP4Orm/AutoGenDao/OwnedStyleDao.cs | 2 +- CDP4Orm/AutoGenDao/PageDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterGroupDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterOverrideDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterOverrideValueSetDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterSubscriptionDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterSubscriptionValueSetDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterTypeComponentDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterValueSetDao.cs | 2 +- CDP4Orm/AutoGenDao/ParameterizedCategoryRuleDao.cs | 2 +- CDP4Orm/AutoGenDao/ParametricConstraintDao.cs | 2 +- CDP4Orm/AutoGenDao/ParticipantDao.cs | 2 +- CDP4Orm/AutoGenDao/ParticipantPermissionDao.cs | 2 +- CDP4Orm/AutoGenDao/ParticipantRoleDao.cs | 2 +- CDP4Orm/AutoGenDao/PersonDao.cs | 2 +- CDP4Orm/AutoGenDao/PersonPermissionDao.cs | 2 +- CDP4Orm/AutoGenDao/PersonRoleDao.cs | 2 +- CDP4Orm/AutoGenDao/PointDao.cs | 2 +- CDP4Orm/AutoGenDao/PossibleFiniteStateDao.cs | 2 +- CDP4Orm/AutoGenDao/PossibleFiniteStateListDao.cs | 2 +- CDP4Orm/AutoGenDao/PrefixedUnitDao.cs | 2 +- CDP4Orm/AutoGenDao/PublicationDao.cs | 2 +- CDP4Orm/AutoGenDao/QuantityKindFactorDao.cs | 2 +- CDP4Orm/AutoGenDao/RatioScaleDao.cs | 2 +- CDP4Orm/AutoGenDao/ReferenceSourceDao.cs | 2 +- CDP4Orm/AutoGenDao/ReferencerRuleDao.cs | 2 +- CDP4Orm/AutoGenDao/RelationalExpressionDao.cs | 2 +- CDP4Orm/AutoGenDao/RelationshipParameterValueDao.cs | 2 +- CDP4Orm/AutoGenDao/RequestForDeviationDao.cs | 2 +- CDP4Orm/AutoGenDao/RequestForWaiverDao.cs | 2 +- CDP4Orm/AutoGenDao/RequirementDao.cs | 2 +- CDP4Orm/AutoGenDao/RequirementsContainerParameterValueDao.cs | 2 +- CDP4Orm/AutoGenDao/RequirementsGroupDao.cs | 2 +- CDP4Orm/AutoGenDao/RequirementsSpecificationDao.cs | 2 +- CDP4Orm/AutoGenDao/ReviewItemDiscrepancyDao.cs | 2 +- CDP4Orm/AutoGenDao/RuleVerificationListDao.cs | 2 +- CDP4Orm/AutoGenDao/RuleViolationDao.cs | 2 +- CDP4Orm/AutoGenDao/SampledFunctionParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/ScaleReferenceQuantityValueDao.cs | 2 +- CDP4Orm/AutoGenDao/ScaleValueDefinitionDao.cs | 2 +- CDP4Orm/AutoGenDao/SectionDao.cs | 2 +- CDP4Orm/AutoGenDao/SharedStyleDao.cs | 2 +- CDP4Orm/AutoGenDao/SimpleParameterValueDao.cs | 2 +- CDP4Orm/AutoGenDao/SimpleQuantityKindDao.cs | 2 +- CDP4Orm/AutoGenDao/SimpleUnitDao.cs | 2 +- CDP4Orm/AutoGenDao/SiteDirectoryDao.cs | 2 +- CDP4Orm/AutoGenDao/SiteDirectoryDataAnnotationDao.cs | 2 +- CDP4Orm/AutoGenDao/SiteDirectoryDataDiscussionItemDao.cs | 2 +- CDP4Orm/AutoGenDao/SiteDirectoryThingReferenceDao.cs | 2 +- CDP4Orm/AutoGenDao/SiteLogEntryDao.cs | 2 +- CDP4Orm/AutoGenDao/SiteReferenceDataLibraryDao.cs | 2 +- CDP4Orm/AutoGenDao/SolutionDao.cs | 2 +- CDP4Orm/AutoGenDao/SpecializedQuantityKindDao.cs | 2 +- CDP4Orm/AutoGenDao/StakeHolderValueMapDao.cs | 2 +- CDP4Orm/AutoGenDao/StakeHolderValueMapSettingsDao.cs | 2 +- CDP4Orm/AutoGenDao/StakeholderDao.cs | 2 +- CDP4Orm/AutoGenDao/StakeholderValueDao.cs | 2 +- CDP4Orm/AutoGenDao/TelephoneNumberDao.cs | 2 +- CDP4Orm/AutoGenDao/TermDao.cs | 2 +- CDP4Orm/AutoGenDao/TextParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/TextualNoteDao.cs | 2 +- CDP4Orm/AutoGenDao/TimeOfDayParameterTypeDao.cs | 2 +- CDP4Orm/AutoGenDao/UnitFactorDao.cs | 2 +- CDP4Orm/AutoGenDao/UnitPrefixDao.cs | 2 +- CDP4Orm/AutoGenDao/UserPreferenceDao.cs | 2 +- CDP4Orm/AutoGenDao/UserRuleVerificationDao.cs | 2 +- CDP4Orm/AutoGenDao/ValueGroupDao.cs | 2 +- CDP4Orm/Dao/BaseDao.cs | 5 +++++ 147 files changed, 151 insertions(+), 146 deletions(-) diff --git a/CDP4Orm/AutoGenDao/ActionItemDao.cs b/CDP4Orm/AutoGenDao/ActionItemDao.cs index 0778e619..db94341b 100644 --- a/CDP4Orm/AutoGenDao/ActionItemDao.cs +++ b/CDP4Orm/AutoGenDao/ActionItemDao.cs @@ -75,7 +75,7 @@ public partial class ActionItemDao : ModellingAnnotationItemDao, IActionItemDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ActionItem_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ActionItem_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ActualFiniteStateDao.cs b/CDP4Orm/AutoGenDao/ActualFiniteStateDao.cs index 33e7a1d4..9a8c6dc3 100644 --- a/CDP4Orm/AutoGenDao/ActualFiniteStateDao.cs +++ b/CDP4Orm/AutoGenDao/ActualFiniteStateDao.cs @@ -75,7 +75,7 @@ public partial class ActualFiniteStateDao : ThingDao, IActualFiniteStateDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ActualFiniteState_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ActualFiniteState_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ActualFiniteStateListDao.cs b/CDP4Orm/AutoGenDao/ActualFiniteStateListDao.cs index bb2dd2e4..1a836c7e 100644 --- a/CDP4Orm/AutoGenDao/ActualFiniteStateListDao.cs +++ b/CDP4Orm/AutoGenDao/ActualFiniteStateListDao.cs @@ -75,7 +75,7 @@ public partial class ActualFiniteStateListDao : ThingDao, IActualFiniteStateList if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ActualFiniteStateList_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ActualFiniteStateList_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/AliasDao.cs b/CDP4Orm/AutoGenDao/AliasDao.cs index 7f5a347d..a3ba7f1b 100644 --- a/CDP4Orm/AutoGenDao/AliasDao.cs +++ b/CDP4Orm/AutoGenDao/AliasDao.cs @@ -75,7 +75,7 @@ public partial class AliasDao : ThingDao, IAliasDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Alias_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Alias_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/AndExpressionDao.cs b/CDP4Orm/AutoGenDao/AndExpressionDao.cs index ffcc4e57..bbe3136d 100644 --- a/CDP4Orm/AutoGenDao/AndExpressionDao.cs +++ b/CDP4Orm/AutoGenDao/AndExpressionDao.cs @@ -75,7 +75,7 @@ public partial class AndExpressionDao : BooleanExpressionDao, IAndExpressionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"AndExpression_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"AndExpression_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ApprovalDao.cs b/CDP4Orm/AutoGenDao/ApprovalDao.cs index 825952a5..754d38dd 100644 --- a/CDP4Orm/AutoGenDao/ApprovalDao.cs +++ b/CDP4Orm/AutoGenDao/ApprovalDao.cs @@ -75,7 +75,7 @@ public partial class ApprovalDao : GenericAnnotationDao, IApprovalDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Approval_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Approval_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs b/CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs index 8a062597..41b4f861 100644 --- a/CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class ArrayParameterTypeDao : CompoundParameterTypeDao, IArrayPar if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ArrayParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ArrayParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/BinaryNoteDao.cs b/CDP4Orm/AutoGenDao/BinaryNoteDao.cs index fa5e2efd..a27c7156 100644 --- a/CDP4Orm/AutoGenDao/BinaryNoteDao.cs +++ b/CDP4Orm/AutoGenDao/BinaryNoteDao.cs @@ -75,7 +75,7 @@ public partial class BinaryNoteDao : NoteDao, IBinaryNoteDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"BinaryNote_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"BinaryNote_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/BinaryRelationshipDao.cs b/CDP4Orm/AutoGenDao/BinaryRelationshipDao.cs index 029e593a..dfea6793 100644 --- a/CDP4Orm/AutoGenDao/BinaryRelationshipDao.cs +++ b/CDP4Orm/AutoGenDao/BinaryRelationshipDao.cs @@ -75,7 +75,7 @@ public partial class BinaryRelationshipDao : RelationshipDao, IBinaryRelationshi if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"BinaryRelationship_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"BinaryRelationship_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/BinaryRelationshipRuleDao.cs b/CDP4Orm/AutoGenDao/BinaryRelationshipRuleDao.cs index f5534255..aee485a4 100644 --- a/CDP4Orm/AutoGenDao/BinaryRelationshipRuleDao.cs +++ b/CDP4Orm/AutoGenDao/BinaryRelationshipRuleDao.cs @@ -75,7 +75,7 @@ public partial class BinaryRelationshipRuleDao : RuleDao, IBinaryRelationshipRul if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"BinaryRelationshipRule_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"BinaryRelationshipRule_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/BookDao.cs b/CDP4Orm/AutoGenDao/BookDao.cs index c3885ed1..71f5b42f 100644 --- a/CDP4Orm/AutoGenDao/BookDao.cs +++ b/CDP4Orm/AutoGenDao/BookDao.cs @@ -75,7 +75,7 @@ public partial class BookDao : ThingDao, IBookDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Book_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Book_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/BooleanParameterTypeDao.cs b/CDP4Orm/AutoGenDao/BooleanParameterTypeDao.cs index ab1f289f..09b818ad 100644 --- a/CDP4Orm/AutoGenDao/BooleanParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/BooleanParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class BooleanParameterTypeDao : ScalarParameterTypeDao, IBooleanP if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"BooleanParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"BooleanParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/BoundsDao.cs b/CDP4Orm/AutoGenDao/BoundsDao.cs index 886dc55b..af32fe79 100644 --- a/CDP4Orm/AutoGenDao/BoundsDao.cs +++ b/CDP4Orm/AutoGenDao/BoundsDao.cs @@ -75,7 +75,7 @@ public partial class BoundsDao : DiagramThingBaseDao, IBoundsDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Bounds_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Bounds_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/BuiltInRuleVerificationDao.cs b/CDP4Orm/AutoGenDao/BuiltInRuleVerificationDao.cs index c2c9dea9..66471b85 100644 --- a/CDP4Orm/AutoGenDao/BuiltInRuleVerificationDao.cs +++ b/CDP4Orm/AutoGenDao/BuiltInRuleVerificationDao.cs @@ -75,7 +75,7 @@ public partial class BuiltInRuleVerificationDao : RuleVerificationDao, IBuiltInR if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"BuiltInRuleVerification_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"BuiltInRuleVerification_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/CategoryDao.cs b/CDP4Orm/AutoGenDao/CategoryDao.cs index 3c5506e5..4de87b5a 100644 --- a/CDP4Orm/AutoGenDao/CategoryDao.cs +++ b/CDP4Orm/AutoGenDao/CategoryDao.cs @@ -75,7 +75,7 @@ public partial class CategoryDao : DefinedThingDao, ICategoryDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Category_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Category_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ChangeProposalDao.cs b/CDP4Orm/AutoGenDao/ChangeProposalDao.cs index 729aa7f5..87efcaff 100644 --- a/CDP4Orm/AutoGenDao/ChangeProposalDao.cs +++ b/CDP4Orm/AutoGenDao/ChangeProposalDao.cs @@ -75,7 +75,7 @@ public partial class ChangeProposalDao : ModellingAnnotationItemDao, IChangeProp if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ChangeProposal_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ChangeProposal_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ChangeRequestDao.cs b/CDP4Orm/AutoGenDao/ChangeRequestDao.cs index 233dcde3..902f0571 100644 --- a/CDP4Orm/AutoGenDao/ChangeRequestDao.cs +++ b/CDP4Orm/AutoGenDao/ChangeRequestDao.cs @@ -75,7 +75,7 @@ public partial class ChangeRequestDao : ContractDeviationDao, IChangeRequestDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ChangeRequest_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ChangeRequest_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/CitationDao.cs b/CDP4Orm/AutoGenDao/CitationDao.cs index ae139a60..4c9ec1c6 100644 --- a/CDP4Orm/AutoGenDao/CitationDao.cs +++ b/CDP4Orm/AutoGenDao/CitationDao.cs @@ -75,7 +75,7 @@ public partial class CitationDao : ThingDao, ICitationDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Citation_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Citation_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ColorDao.cs b/CDP4Orm/AutoGenDao/ColorDao.cs index 381dd8dc..58e8d668 100644 --- a/CDP4Orm/AutoGenDao/ColorDao.cs +++ b/CDP4Orm/AutoGenDao/ColorDao.cs @@ -75,7 +75,7 @@ public partial class ColorDao : DiagramThingBaseDao, IColorDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Color_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Color_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/CommonFileStoreDao.cs b/CDP4Orm/AutoGenDao/CommonFileStoreDao.cs index aa6e96ee..f1bf468f 100644 --- a/CDP4Orm/AutoGenDao/CommonFileStoreDao.cs +++ b/CDP4Orm/AutoGenDao/CommonFileStoreDao.cs @@ -75,7 +75,7 @@ public partial class CommonFileStoreDao : FileStoreDao, ICommonFileStoreDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"CommonFileStore_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"CommonFileStore_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/CompoundParameterTypeDao.cs b/CDP4Orm/AutoGenDao/CompoundParameterTypeDao.cs index ffa3c338..f99375b1 100644 --- a/CDP4Orm/AutoGenDao/CompoundParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/CompoundParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class CompoundParameterTypeDao : ParameterTypeDao, ICompoundParam if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"CompoundParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"CompoundParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ConstantDao.cs b/CDP4Orm/AutoGenDao/ConstantDao.cs index 6e8d5c49..cc62a15e 100644 --- a/CDP4Orm/AutoGenDao/ConstantDao.cs +++ b/CDP4Orm/AutoGenDao/ConstantDao.cs @@ -75,7 +75,7 @@ public partial class ConstantDao : DefinedThingDao, IConstantDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Constant_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Constant_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ContractChangeNoticeDao.cs b/CDP4Orm/AutoGenDao/ContractChangeNoticeDao.cs index dd76db31..1ed67c5a 100644 --- a/CDP4Orm/AutoGenDao/ContractChangeNoticeDao.cs +++ b/CDP4Orm/AutoGenDao/ContractChangeNoticeDao.cs @@ -75,7 +75,7 @@ public partial class ContractChangeNoticeDao : ModellingAnnotationItemDao, ICont if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ContractChangeNotice_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ContractChangeNotice_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs b/CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs index 3522f2a6..cc6bebfd 100644 --- a/CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs +++ b/CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs @@ -75,7 +75,7 @@ public partial class CyclicRatioScaleDao : RatioScaleDao, ICyclicRatioScaleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"CyclicRatioScale_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"CyclicRatioScale_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DateParameterTypeDao.cs b/CDP4Orm/AutoGenDao/DateParameterTypeDao.cs index 5a67b2a5..6554890a 100644 --- a/CDP4Orm/AutoGenDao/DateParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/DateParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class DateParameterTypeDao : ScalarParameterTypeDao, IDateParamet if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DateParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DateParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DateTimeParameterTypeDao.cs b/CDP4Orm/AutoGenDao/DateTimeParameterTypeDao.cs index b9664546..d8984395 100644 --- a/CDP4Orm/AutoGenDao/DateTimeParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/DateTimeParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class DateTimeParameterTypeDao : ScalarParameterTypeDao, IDateTim if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DateTimeParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DateTimeParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DecompositionRuleDao.cs b/CDP4Orm/AutoGenDao/DecompositionRuleDao.cs index 6ec9b365..46a3c9f6 100644 --- a/CDP4Orm/AutoGenDao/DecompositionRuleDao.cs +++ b/CDP4Orm/AutoGenDao/DecompositionRuleDao.cs @@ -75,7 +75,7 @@ public partial class DecompositionRuleDao : RuleDao, IDecompositionRuleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DecompositionRule_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DecompositionRule_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DefinitionDao.cs b/CDP4Orm/AutoGenDao/DefinitionDao.cs index bde6f15e..d239161b 100644 --- a/CDP4Orm/AutoGenDao/DefinitionDao.cs +++ b/CDP4Orm/AutoGenDao/DefinitionDao.cs @@ -75,7 +75,7 @@ public partial class DefinitionDao : ThingDao, IDefinitionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Definition_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Definition_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DependentParameterTypeAssignmentDao.cs b/CDP4Orm/AutoGenDao/DependentParameterTypeAssignmentDao.cs index f5ddf287..d6d9ecaf 100644 --- a/CDP4Orm/AutoGenDao/DependentParameterTypeAssignmentDao.cs +++ b/CDP4Orm/AutoGenDao/DependentParameterTypeAssignmentDao.cs @@ -75,7 +75,7 @@ public partial class DependentParameterTypeAssignmentDao : ThingDao, IDependentP if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DependentParameterTypeAssignment_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DependentParameterTypeAssignment_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DerivedQuantityKindDao.cs b/CDP4Orm/AutoGenDao/DerivedQuantityKindDao.cs index 2f91b16c..1bc713bf 100644 --- a/CDP4Orm/AutoGenDao/DerivedQuantityKindDao.cs +++ b/CDP4Orm/AutoGenDao/DerivedQuantityKindDao.cs @@ -75,7 +75,7 @@ public partial class DerivedQuantityKindDao : QuantityKindDao, IDerivedQuantityK if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DerivedQuantityKind_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DerivedQuantityKind_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DerivedUnitDao.cs b/CDP4Orm/AutoGenDao/DerivedUnitDao.cs index 58955af7..e9468603 100644 --- a/CDP4Orm/AutoGenDao/DerivedUnitDao.cs +++ b/CDP4Orm/AutoGenDao/DerivedUnitDao.cs @@ -75,7 +75,7 @@ public partial class DerivedUnitDao : MeasurementUnitDao, IDerivedUnitDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DerivedUnit_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DerivedUnit_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DiagramCanvasDao.cs b/CDP4Orm/AutoGenDao/DiagramCanvasDao.cs index 11cf6001..a0a91fb5 100644 --- a/CDP4Orm/AutoGenDao/DiagramCanvasDao.cs +++ b/CDP4Orm/AutoGenDao/DiagramCanvasDao.cs @@ -75,7 +75,7 @@ public partial class DiagramCanvasDao : DiagramElementContainerDao, IDiagramCanv if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DiagramCanvas_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DiagramCanvas_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DiagramEdgeDao.cs b/CDP4Orm/AutoGenDao/DiagramEdgeDao.cs index eb5a0636..24aa50f3 100644 --- a/CDP4Orm/AutoGenDao/DiagramEdgeDao.cs +++ b/CDP4Orm/AutoGenDao/DiagramEdgeDao.cs @@ -75,7 +75,7 @@ public partial class DiagramEdgeDao : DiagramElementThingDao, IDiagramEdgeDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DiagramEdge_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DiagramEdge_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DiagramObjectDao.cs b/CDP4Orm/AutoGenDao/DiagramObjectDao.cs index c3c434da..ba678df4 100644 --- a/CDP4Orm/AutoGenDao/DiagramObjectDao.cs +++ b/CDP4Orm/AutoGenDao/DiagramObjectDao.cs @@ -75,7 +75,7 @@ public partial class DiagramObjectDao : DiagramShapeDao, IDiagramObjectDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DiagramObject_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DiagramObject_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DomainFileStoreDao.cs b/CDP4Orm/AutoGenDao/DomainFileStoreDao.cs index d62ec6fe..60dbe7d0 100644 --- a/CDP4Orm/AutoGenDao/DomainFileStoreDao.cs +++ b/CDP4Orm/AutoGenDao/DomainFileStoreDao.cs @@ -75,7 +75,7 @@ public partial class DomainFileStoreDao : FileStoreDao, IDomainFileStoreDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DomainFileStore_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DomainFileStore_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DomainOfExpertiseDao.cs b/CDP4Orm/AutoGenDao/DomainOfExpertiseDao.cs index 4ade0fb2..c084debf 100644 --- a/CDP4Orm/AutoGenDao/DomainOfExpertiseDao.cs +++ b/CDP4Orm/AutoGenDao/DomainOfExpertiseDao.cs @@ -75,7 +75,7 @@ public partial class DomainOfExpertiseDao : DefinedThingDao, IDomainOfExpertiseD if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DomainOfExpertise_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DomainOfExpertise_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/DomainOfExpertiseGroupDao.cs b/CDP4Orm/AutoGenDao/DomainOfExpertiseGroupDao.cs index 0e20b1e2..a2e98ccc 100644 --- a/CDP4Orm/AutoGenDao/DomainOfExpertiseGroupDao.cs +++ b/CDP4Orm/AutoGenDao/DomainOfExpertiseGroupDao.cs @@ -75,7 +75,7 @@ public partial class DomainOfExpertiseGroupDao : DefinedThingDao, IDomainOfExper if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"DomainOfExpertiseGroup_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"DomainOfExpertiseGroup_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ElementDefinitionDao.cs b/CDP4Orm/AutoGenDao/ElementDefinitionDao.cs index 160ec0b0..dd39b9d5 100644 --- a/CDP4Orm/AutoGenDao/ElementDefinitionDao.cs +++ b/CDP4Orm/AutoGenDao/ElementDefinitionDao.cs @@ -75,7 +75,7 @@ public partial class ElementDefinitionDao : ElementBaseDao, IElementDefinitionDa if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ElementDefinition_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ElementDefinition_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ElementUsageDao.cs b/CDP4Orm/AutoGenDao/ElementUsageDao.cs index 2781f846..aaa248eb 100644 --- a/CDP4Orm/AutoGenDao/ElementUsageDao.cs +++ b/CDP4Orm/AutoGenDao/ElementUsageDao.cs @@ -75,7 +75,7 @@ public partial class ElementUsageDao : ElementBaseDao, IElementUsageDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ElementUsage_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ElementUsage_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/EmailAddressDao.cs b/CDP4Orm/AutoGenDao/EmailAddressDao.cs index 1e97833e..cb19c4fc 100644 --- a/CDP4Orm/AutoGenDao/EmailAddressDao.cs +++ b/CDP4Orm/AutoGenDao/EmailAddressDao.cs @@ -75,7 +75,7 @@ public partial class EmailAddressDao : ThingDao, IEmailAddressDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"EmailAddress_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"EmailAddress_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/EngineeringModelDao.cs b/CDP4Orm/AutoGenDao/EngineeringModelDao.cs index 1049e62d..5d1967f9 100644 --- a/CDP4Orm/AutoGenDao/EngineeringModelDao.cs +++ b/CDP4Orm/AutoGenDao/EngineeringModelDao.cs @@ -75,7 +75,7 @@ public partial class EngineeringModelDao : TopContainerDao, IEngineeringModelDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"EngineeringModel_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"EngineeringModel_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/EngineeringModelDataDiscussionItemDao.cs b/CDP4Orm/AutoGenDao/EngineeringModelDataDiscussionItemDao.cs index 098e6a38..ef856984 100644 --- a/CDP4Orm/AutoGenDao/EngineeringModelDataDiscussionItemDao.cs +++ b/CDP4Orm/AutoGenDao/EngineeringModelDataDiscussionItemDao.cs @@ -75,7 +75,7 @@ public partial class EngineeringModelDataDiscussionItemDao : DiscussionItemDao, if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"EngineeringModelDataDiscussionItem_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"EngineeringModelDataDiscussionItem_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/EngineeringModelDataNoteDao.cs b/CDP4Orm/AutoGenDao/EngineeringModelDataNoteDao.cs index 02fed13c..6c5e5c37 100644 --- a/CDP4Orm/AutoGenDao/EngineeringModelDataNoteDao.cs +++ b/CDP4Orm/AutoGenDao/EngineeringModelDataNoteDao.cs @@ -75,7 +75,7 @@ public partial class EngineeringModelDataNoteDao : EngineeringModelDataAnnotatio if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"EngineeringModelDataNote_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"EngineeringModelDataNote_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/EngineeringModelSetupDao.cs b/CDP4Orm/AutoGenDao/EngineeringModelSetupDao.cs index 90b748dd..f6931f91 100644 --- a/CDP4Orm/AutoGenDao/EngineeringModelSetupDao.cs +++ b/CDP4Orm/AutoGenDao/EngineeringModelSetupDao.cs @@ -75,7 +75,7 @@ public partial class EngineeringModelSetupDao : DefinedThingDao, IEngineeringMod if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"EngineeringModelSetup_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"EngineeringModelSetup_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/EnumerationParameterTypeDao.cs b/CDP4Orm/AutoGenDao/EnumerationParameterTypeDao.cs index 5896088d..1ae51c97 100644 --- a/CDP4Orm/AutoGenDao/EnumerationParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/EnumerationParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class EnumerationParameterTypeDao : ScalarParameterTypeDao, IEnum if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"EnumerationParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"EnumerationParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/EnumerationValueDefinitionDao.cs b/CDP4Orm/AutoGenDao/EnumerationValueDefinitionDao.cs index d66e92bd..756825f6 100644 --- a/CDP4Orm/AutoGenDao/EnumerationValueDefinitionDao.cs +++ b/CDP4Orm/AutoGenDao/EnumerationValueDefinitionDao.cs @@ -75,7 +75,7 @@ public partial class EnumerationValueDefinitionDao : DefinedThingDao, IEnumerati if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"EnumerationValueDefinition_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"EnumerationValueDefinition_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ExclusiveOrExpressionDao.cs b/CDP4Orm/AutoGenDao/ExclusiveOrExpressionDao.cs index 468850d7..274d5913 100644 --- a/CDP4Orm/AutoGenDao/ExclusiveOrExpressionDao.cs +++ b/CDP4Orm/AutoGenDao/ExclusiveOrExpressionDao.cs @@ -75,7 +75,7 @@ public partial class ExclusiveOrExpressionDao : BooleanExpressionDao, IExclusive if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ExclusiveOrExpression_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ExclusiveOrExpression_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ExternalIdentifierMapDao.cs b/CDP4Orm/AutoGenDao/ExternalIdentifierMapDao.cs index fa302cca..3808d0fe 100644 --- a/CDP4Orm/AutoGenDao/ExternalIdentifierMapDao.cs +++ b/CDP4Orm/AutoGenDao/ExternalIdentifierMapDao.cs @@ -75,7 +75,7 @@ public partial class ExternalIdentifierMapDao : ThingDao, IExternalIdentifierMap if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ExternalIdentifierMap_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ExternalIdentifierMap_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/FileDao.cs b/CDP4Orm/AutoGenDao/FileDao.cs index 1cce94d8..a810ca1a 100644 --- a/CDP4Orm/AutoGenDao/FileDao.cs +++ b/CDP4Orm/AutoGenDao/FileDao.cs @@ -75,7 +75,7 @@ public partial class FileDao : ThingDao, IFileDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"File_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"File_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/FileRevisionDao.cs b/CDP4Orm/AutoGenDao/FileRevisionDao.cs index e30eb304..481183d3 100644 --- a/CDP4Orm/AutoGenDao/FileRevisionDao.cs +++ b/CDP4Orm/AutoGenDao/FileRevisionDao.cs @@ -75,7 +75,7 @@ public partial class FileRevisionDao : ThingDao, IFileRevisionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"FileRevision_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"FileRevision_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/FileTypeDao.cs b/CDP4Orm/AutoGenDao/FileTypeDao.cs index 59f59ec4..d65ce1a9 100644 --- a/CDP4Orm/AutoGenDao/FileTypeDao.cs +++ b/CDP4Orm/AutoGenDao/FileTypeDao.cs @@ -75,7 +75,7 @@ public partial class FileTypeDao : DefinedThingDao, IFileTypeDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"FileType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"FileType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/FolderDao.cs b/CDP4Orm/AutoGenDao/FolderDao.cs index a3cd27b2..0182a8bc 100644 --- a/CDP4Orm/AutoGenDao/FolderDao.cs +++ b/CDP4Orm/AutoGenDao/FolderDao.cs @@ -75,7 +75,7 @@ public partial class FolderDao : ThingDao, IFolderDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Folder_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Folder_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/GlossaryDao.cs b/CDP4Orm/AutoGenDao/GlossaryDao.cs index db6e1170..39e24d2c 100644 --- a/CDP4Orm/AutoGenDao/GlossaryDao.cs +++ b/CDP4Orm/AutoGenDao/GlossaryDao.cs @@ -75,7 +75,7 @@ public partial class GlossaryDao : DefinedThingDao, IGlossaryDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Glossary_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Glossary_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/GoalDao.cs b/CDP4Orm/AutoGenDao/GoalDao.cs index 684447cf..cd4100f6 100644 --- a/CDP4Orm/AutoGenDao/GoalDao.cs +++ b/CDP4Orm/AutoGenDao/GoalDao.cs @@ -75,7 +75,7 @@ public partial class GoalDao : DefinedThingDao, IGoalDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Goal_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Goal_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/HyperLinkDao.cs b/CDP4Orm/AutoGenDao/HyperLinkDao.cs index 4fc38bf9..5cabba55 100644 --- a/CDP4Orm/AutoGenDao/HyperLinkDao.cs +++ b/CDP4Orm/AutoGenDao/HyperLinkDao.cs @@ -75,7 +75,7 @@ public partial class HyperLinkDao : ThingDao, IHyperLinkDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"HyperLink_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"HyperLink_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/IdCorrespondenceDao.cs b/CDP4Orm/AutoGenDao/IdCorrespondenceDao.cs index a4b9f85b..59deeb31 100644 --- a/CDP4Orm/AutoGenDao/IdCorrespondenceDao.cs +++ b/CDP4Orm/AutoGenDao/IdCorrespondenceDao.cs @@ -75,7 +75,7 @@ public partial class IdCorrespondenceDao : ThingDao, IIdCorrespondenceDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"IdCorrespondence_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"IdCorrespondence_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/IndependentParameterTypeAssignmentDao.cs b/CDP4Orm/AutoGenDao/IndependentParameterTypeAssignmentDao.cs index 3e23350e..82d86db5 100644 --- a/CDP4Orm/AutoGenDao/IndependentParameterTypeAssignmentDao.cs +++ b/CDP4Orm/AutoGenDao/IndependentParameterTypeAssignmentDao.cs @@ -75,7 +75,7 @@ public partial class IndependentParameterTypeAssignmentDao : ThingDao, IIndepend if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"IndependentParameterTypeAssignment_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"IndependentParameterTypeAssignment_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/IntervalScaleDao.cs b/CDP4Orm/AutoGenDao/IntervalScaleDao.cs index 74fb1993..457eafb2 100644 --- a/CDP4Orm/AutoGenDao/IntervalScaleDao.cs +++ b/CDP4Orm/AutoGenDao/IntervalScaleDao.cs @@ -75,7 +75,7 @@ public partial class IntervalScaleDao : MeasurementScaleDao, IIntervalScaleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"IntervalScale_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"IntervalScale_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/IterationDao.cs b/CDP4Orm/AutoGenDao/IterationDao.cs index 6f8521c4..2b6fa5aa 100644 --- a/CDP4Orm/AutoGenDao/IterationDao.cs +++ b/CDP4Orm/AutoGenDao/IterationDao.cs @@ -75,7 +75,7 @@ public partial class IterationDao : ThingDao, IIterationDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Iteration_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Iteration_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/IterationSetupDao.cs b/CDP4Orm/AutoGenDao/IterationSetupDao.cs index e92130e2..b37980c0 100644 --- a/CDP4Orm/AutoGenDao/IterationSetupDao.cs +++ b/CDP4Orm/AutoGenDao/IterationSetupDao.cs @@ -75,7 +75,7 @@ public partial class IterationSetupDao : ThingDao, IIterationSetupDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"IterationSetup_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"IterationSetup_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/LinearConversionUnitDao.cs b/CDP4Orm/AutoGenDao/LinearConversionUnitDao.cs index 21b05f93..09b55780 100644 --- a/CDP4Orm/AutoGenDao/LinearConversionUnitDao.cs +++ b/CDP4Orm/AutoGenDao/LinearConversionUnitDao.cs @@ -75,7 +75,7 @@ public partial class LinearConversionUnitDao : ConversionBasedUnitDao, ILinearCo if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"LinearConversionUnit_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"LinearConversionUnit_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/LogEntryChangelogItemDao.cs b/CDP4Orm/AutoGenDao/LogEntryChangelogItemDao.cs index 30b51fc3..d5b7e2a0 100644 --- a/CDP4Orm/AutoGenDao/LogEntryChangelogItemDao.cs +++ b/CDP4Orm/AutoGenDao/LogEntryChangelogItemDao.cs @@ -75,7 +75,7 @@ public partial class LogEntryChangelogItemDao : ThingDao, ILogEntryChangelogItem if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"LogEntryChangelogItem_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"LogEntryChangelogItem_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/LogarithmicScaleDao.cs b/CDP4Orm/AutoGenDao/LogarithmicScaleDao.cs index a6929f51..f91834cb 100644 --- a/CDP4Orm/AutoGenDao/LogarithmicScaleDao.cs +++ b/CDP4Orm/AutoGenDao/LogarithmicScaleDao.cs @@ -75,7 +75,7 @@ public partial class LogarithmicScaleDao : MeasurementScaleDao, ILogarithmicScal if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"LogarithmicScale_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"LogarithmicScale_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/MappingToReferenceScaleDao.cs b/CDP4Orm/AutoGenDao/MappingToReferenceScaleDao.cs index 760ff958..8f8ac596 100644 --- a/CDP4Orm/AutoGenDao/MappingToReferenceScaleDao.cs +++ b/CDP4Orm/AutoGenDao/MappingToReferenceScaleDao.cs @@ -75,7 +75,7 @@ public partial class MappingToReferenceScaleDao : ThingDao, IMappingToReferenceS if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"MappingToReferenceScale_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"MappingToReferenceScale_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ModelLogEntryDao.cs b/CDP4Orm/AutoGenDao/ModelLogEntryDao.cs index 5b89028d..313d9b44 100644 --- a/CDP4Orm/AutoGenDao/ModelLogEntryDao.cs +++ b/CDP4Orm/AutoGenDao/ModelLogEntryDao.cs @@ -75,7 +75,7 @@ public partial class ModelLogEntryDao : ThingDao, IModelLogEntryDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ModelLogEntry_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ModelLogEntry_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ModelReferenceDataLibraryDao.cs b/CDP4Orm/AutoGenDao/ModelReferenceDataLibraryDao.cs index fd1192c1..0384b7e8 100644 --- a/CDP4Orm/AutoGenDao/ModelReferenceDataLibraryDao.cs +++ b/CDP4Orm/AutoGenDao/ModelReferenceDataLibraryDao.cs @@ -75,7 +75,7 @@ public partial class ModelReferenceDataLibraryDao : ReferenceDataLibraryDao, IMo if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ModelReferenceDataLibrary_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ModelReferenceDataLibrary_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ModellingThingReferenceDao.cs b/CDP4Orm/AutoGenDao/ModellingThingReferenceDao.cs index 80955486..05e27a07 100644 --- a/CDP4Orm/AutoGenDao/ModellingThingReferenceDao.cs +++ b/CDP4Orm/AutoGenDao/ModellingThingReferenceDao.cs @@ -75,7 +75,7 @@ public partial class ModellingThingReferenceDao : ThingReferenceDao, IModellingT if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ModellingThingReference_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ModellingThingReference_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/MultiRelationshipDao.cs b/CDP4Orm/AutoGenDao/MultiRelationshipDao.cs index 3c4a6f9e..a2854f44 100644 --- a/CDP4Orm/AutoGenDao/MultiRelationshipDao.cs +++ b/CDP4Orm/AutoGenDao/MultiRelationshipDao.cs @@ -75,7 +75,7 @@ public partial class MultiRelationshipDao : RelationshipDao, IMultiRelationshipD if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"MultiRelationship_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"MultiRelationship_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/MultiRelationshipRuleDao.cs b/CDP4Orm/AutoGenDao/MultiRelationshipRuleDao.cs index 210b7ca3..1733025f 100644 --- a/CDP4Orm/AutoGenDao/MultiRelationshipRuleDao.cs +++ b/CDP4Orm/AutoGenDao/MultiRelationshipRuleDao.cs @@ -75,7 +75,7 @@ public partial class MultiRelationshipRuleDao : RuleDao, IMultiRelationshipRuleD if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"MultiRelationshipRule_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"MultiRelationshipRule_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/NaturalLanguageDao.cs b/CDP4Orm/AutoGenDao/NaturalLanguageDao.cs index c5b9bfb0..5c25c956 100644 --- a/CDP4Orm/AutoGenDao/NaturalLanguageDao.cs +++ b/CDP4Orm/AutoGenDao/NaturalLanguageDao.cs @@ -75,7 +75,7 @@ public partial class NaturalLanguageDao : ThingDao, INaturalLanguageDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"NaturalLanguage_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"NaturalLanguage_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/NestedElementDao.cs b/CDP4Orm/AutoGenDao/NestedElementDao.cs index fa1c044e..58bd8d45 100644 --- a/CDP4Orm/AutoGenDao/NestedElementDao.cs +++ b/CDP4Orm/AutoGenDao/NestedElementDao.cs @@ -75,7 +75,7 @@ public partial class NestedElementDao : ThingDao, INestedElementDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"NestedElement_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"NestedElement_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/NestedParameterDao.cs b/CDP4Orm/AutoGenDao/NestedParameterDao.cs index 7c31899d..14fce214 100644 --- a/CDP4Orm/AutoGenDao/NestedParameterDao.cs +++ b/CDP4Orm/AutoGenDao/NestedParameterDao.cs @@ -75,7 +75,7 @@ public partial class NestedParameterDao : ThingDao, INestedParameterDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"NestedParameter_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"NestedParameter_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/NotExpressionDao.cs b/CDP4Orm/AutoGenDao/NotExpressionDao.cs index 2901cab3..a2deda0f 100644 --- a/CDP4Orm/AutoGenDao/NotExpressionDao.cs +++ b/CDP4Orm/AutoGenDao/NotExpressionDao.cs @@ -75,7 +75,7 @@ public partial class NotExpressionDao : BooleanExpressionDao, INotExpressionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"NotExpression_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"NotExpression_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/OptionDao.cs b/CDP4Orm/AutoGenDao/OptionDao.cs index a80a22ba..cbfebcea 100644 --- a/CDP4Orm/AutoGenDao/OptionDao.cs +++ b/CDP4Orm/AutoGenDao/OptionDao.cs @@ -75,7 +75,7 @@ public partial class OptionDao : DefinedThingDao, IOptionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Option_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Option_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/OrExpressionDao.cs b/CDP4Orm/AutoGenDao/OrExpressionDao.cs index 8443cef4..4488a248 100644 --- a/CDP4Orm/AutoGenDao/OrExpressionDao.cs +++ b/CDP4Orm/AutoGenDao/OrExpressionDao.cs @@ -75,7 +75,7 @@ public partial class OrExpressionDao : BooleanExpressionDao, IOrExpressionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"OrExpression_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"OrExpression_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/OrdinalScaleDao.cs b/CDP4Orm/AutoGenDao/OrdinalScaleDao.cs index 28fdf7c7..99a96724 100644 --- a/CDP4Orm/AutoGenDao/OrdinalScaleDao.cs +++ b/CDP4Orm/AutoGenDao/OrdinalScaleDao.cs @@ -75,7 +75,7 @@ public partial class OrdinalScaleDao : MeasurementScaleDao, IOrdinalScaleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"OrdinalScale_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"OrdinalScale_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/OrganizationDao.cs b/CDP4Orm/AutoGenDao/OrganizationDao.cs index b5bf5b7b..3f8c7a5e 100644 --- a/CDP4Orm/AutoGenDao/OrganizationDao.cs +++ b/CDP4Orm/AutoGenDao/OrganizationDao.cs @@ -75,7 +75,7 @@ public partial class OrganizationDao : ThingDao, IOrganizationDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Organization_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Organization_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/OrganizationalParticipantDao.cs b/CDP4Orm/AutoGenDao/OrganizationalParticipantDao.cs index 43019ec9..274db4a0 100644 --- a/CDP4Orm/AutoGenDao/OrganizationalParticipantDao.cs +++ b/CDP4Orm/AutoGenDao/OrganizationalParticipantDao.cs @@ -75,7 +75,7 @@ public partial class OrganizationalParticipantDao : ThingDao, IOrganizationalPar if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"OrganizationalParticipant_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"OrganizationalParticipant_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/OwnedStyleDao.cs b/CDP4Orm/AutoGenDao/OwnedStyleDao.cs index dc88225b..09cded4f 100644 --- a/CDP4Orm/AutoGenDao/OwnedStyleDao.cs +++ b/CDP4Orm/AutoGenDao/OwnedStyleDao.cs @@ -75,7 +75,7 @@ public partial class OwnedStyleDao : DiagrammingStyleDao, IOwnedStyleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"OwnedStyle_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"OwnedStyle_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PageDao.cs b/CDP4Orm/AutoGenDao/PageDao.cs index d6208e60..4d3f5402 100644 --- a/CDP4Orm/AutoGenDao/PageDao.cs +++ b/CDP4Orm/AutoGenDao/PageDao.cs @@ -75,7 +75,7 @@ public partial class PageDao : ThingDao, IPageDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Page_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Page_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterDao.cs b/CDP4Orm/AutoGenDao/ParameterDao.cs index 76e95fe4..d9f613f4 100644 --- a/CDP4Orm/AutoGenDao/ParameterDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterDao.cs @@ -75,7 +75,7 @@ public partial class ParameterDao : ParameterOrOverrideBaseDao, IParameterDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Parameter_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Parameter_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterGroupDao.cs b/CDP4Orm/AutoGenDao/ParameterGroupDao.cs index 065318cf..bbe56bbb 100644 --- a/CDP4Orm/AutoGenDao/ParameterGroupDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterGroupDao.cs @@ -75,7 +75,7 @@ public partial class ParameterGroupDao : ThingDao, IParameterGroupDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParameterGroup_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParameterGroup_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterOverrideDao.cs b/CDP4Orm/AutoGenDao/ParameterOverrideDao.cs index f252f60f..1a0f1cea 100644 --- a/CDP4Orm/AutoGenDao/ParameterOverrideDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterOverrideDao.cs @@ -75,7 +75,7 @@ public partial class ParameterOverrideDao : ParameterOrOverrideBaseDao, IParamet if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParameterOverride_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParameterOverride_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterOverrideValueSetDao.cs b/CDP4Orm/AutoGenDao/ParameterOverrideValueSetDao.cs index 8bf13b66..7c1fd91c 100644 --- a/CDP4Orm/AutoGenDao/ParameterOverrideValueSetDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterOverrideValueSetDao.cs @@ -75,7 +75,7 @@ public partial class ParameterOverrideValueSetDao : ParameterValueSetBaseDao, IP if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParameterOverrideValueSet_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParameterOverrideValueSet_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterSubscriptionDao.cs b/CDP4Orm/AutoGenDao/ParameterSubscriptionDao.cs index d06f0d8f..3cf71338 100644 --- a/CDP4Orm/AutoGenDao/ParameterSubscriptionDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterSubscriptionDao.cs @@ -75,7 +75,7 @@ public partial class ParameterSubscriptionDao : ParameterBaseDao, IParameterSubs if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParameterSubscription_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParameterSubscription_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterSubscriptionValueSetDao.cs b/CDP4Orm/AutoGenDao/ParameterSubscriptionValueSetDao.cs index df7f876e..478bbaaa 100644 --- a/CDP4Orm/AutoGenDao/ParameterSubscriptionValueSetDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterSubscriptionValueSetDao.cs @@ -75,7 +75,7 @@ public partial class ParameterSubscriptionValueSetDao : ThingDao, IParameterSubs if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParameterSubscriptionValueSet_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParameterSubscriptionValueSet_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterTypeComponentDao.cs b/CDP4Orm/AutoGenDao/ParameterTypeComponentDao.cs index dd6bc081..3aac0cda 100644 --- a/CDP4Orm/AutoGenDao/ParameterTypeComponentDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterTypeComponentDao.cs @@ -75,7 +75,7 @@ public partial class ParameterTypeComponentDao : ThingDao, IParameterTypeCompone if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParameterTypeComponent_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParameterTypeComponent_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterValueSetDao.cs b/CDP4Orm/AutoGenDao/ParameterValueSetDao.cs index c58ecb7a..f026a617 100644 --- a/CDP4Orm/AutoGenDao/ParameterValueSetDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterValueSetDao.cs @@ -75,7 +75,7 @@ public partial class ParameterValueSetDao : ParameterValueSetBaseDao, IParameter if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParameterValueSet_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParameterValueSet_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParameterizedCategoryRuleDao.cs b/CDP4Orm/AutoGenDao/ParameterizedCategoryRuleDao.cs index 45110b74..72d34b5d 100644 --- a/CDP4Orm/AutoGenDao/ParameterizedCategoryRuleDao.cs +++ b/CDP4Orm/AutoGenDao/ParameterizedCategoryRuleDao.cs @@ -75,7 +75,7 @@ public partial class ParameterizedCategoryRuleDao : RuleDao, IParameterizedCateg if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParameterizedCategoryRule_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParameterizedCategoryRule_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParametricConstraintDao.cs b/CDP4Orm/AutoGenDao/ParametricConstraintDao.cs index ddd27a5f..65c6117f 100644 --- a/CDP4Orm/AutoGenDao/ParametricConstraintDao.cs +++ b/CDP4Orm/AutoGenDao/ParametricConstraintDao.cs @@ -75,7 +75,7 @@ public partial class ParametricConstraintDao : ThingDao, IParametricConstraintDa if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParametricConstraint_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParametricConstraint_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParticipantDao.cs b/CDP4Orm/AutoGenDao/ParticipantDao.cs index 94a76164..7fe040d6 100644 --- a/CDP4Orm/AutoGenDao/ParticipantDao.cs +++ b/CDP4Orm/AutoGenDao/ParticipantDao.cs @@ -75,7 +75,7 @@ public partial class ParticipantDao : ThingDao, IParticipantDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Participant_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Participant_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParticipantPermissionDao.cs b/CDP4Orm/AutoGenDao/ParticipantPermissionDao.cs index 170706a4..637b417d 100644 --- a/CDP4Orm/AutoGenDao/ParticipantPermissionDao.cs +++ b/CDP4Orm/AutoGenDao/ParticipantPermissionDao.cs @@ -75,7 +75,7 @@ public partial class ParticipantPermissionDao : ThingDao, IParticipantPermission if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParticipantPermission_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParticipantPermission_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ParticipantRoleDao.cs b/CDP4Orm/AutoGenDao/ParticipantRoleDao.cs index 4bec2d34..b9d1bab4 100644 --- a/CDP4Orm/AutoGenDao/ParticipantRoleDao.cs +++ b/CDP4Orm/AutoGenDao/ParticipantRoleDao.cs @@ -75,7 +75,7 @@ public partial class ParticipantRoleDao : DefinedThingDao, IParticipantRoleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ParticipantRole_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ParticipantRole_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PersonDao.cs b/CDP4Orm/AutoGenDao/PersonDao.cs index efa8c0f1..3206aa27 100644 --- a/CDP4Orm/AutoGenDao/PersonDao.cs +++ b/CDP4Orm/AutoGenDao/PersonDao.cs @@ -75,7 +75,7 @@ public partial class PersonDao : ThingDao, IPersonDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Person_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Person_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PersonPermissionDao.cs b/CDP4Orm/AutoGenDao/PersonPermissionDao.cs index d49c067d..895a27cd 100644 --- a/CDP4Orm/AutoGenDao/PersonPermissionDao.cs +++ b/CDP4Orm/AutoGenDao/PersonPermissionDao.cs @@ -75,7 +75,7 @@ public partial class PersonPermissionDao : ThingDao, IPersonPermissionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"PersonPermission_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"PersonPermission_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PersonRoleDao.cs b/CDP4Orm/AutoGenDao/PersonRoleDao.cs index 9339121d..3aeea4d0 100644 --- a/CDP4Orm/AutoGenDao/PersonRoleDao.cs +++ b/CDP4Orm/AutoGenDao/PersonRoleDao.cs @@ -75,7 +75,7 @@ public partial class PersonRoleDao : DefinedThingDao, IPersonRoleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"PersonRole_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"PersonRole_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PointDao.cs b/CDP4Orm/AutoGenDao/PointDao.cs index 91c416fd..fe332c47 100644 --- a/CDP4Orm/AutoGenDao/PointDao.cs +++ b/CDP4Orm/AutoGenDao/PointDao.cs @@ -75,7 +75,7 @@ public partial class PointDao : DiagramThingBaseDao, IPointDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Point_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Point_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PossibleFiniteStateDao.cs b/CDP4Orm/AutoGenDao/PossibleFiniteStateDao.cs index 5446bf0e..aed49bfb 100644 --- a/CDP4Orm/AutoGenDao/PossibleFiniteStateDao.cs +++ b/CDP4Orm/AutoGenDao/PossibleFiniteStateDao.cs @@ -75,7 +75,7 @@ public partial class PossibleFiniteStateDao : DefinedThingDao, IPossibleFiniteSt if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"PossibleFiniteState_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"PossibleFiniteState_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PossibleFiniteStateListDao.cs b/CDP4Orm/AutoGenDao/PossibleFiniteStateListDao.cs index d7ff457b..d615bba1 100644 --- a/CDP4Orm/AutoGenDao/PossibleFiniteStateListDao.cs +++ b/CDP4Orm/AutoGenDao/PossibleFiniteStateListDao.cs @@ -75,7 +75,7 @@ public partial class PossibleFiniteStateListDao : DefinedThingDao, IPossibleFini if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"PossibleFiniteStateList_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"PossibleFiniteStateList_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PrefixedUnitDao.cs b/CDP4Orm/AutoGenDao/PrefixedUnitDao.cs index d92fbe33..6c96aba4 100644 --- a/CDP4Orm/AutoGenDao/PrefixedUnitDao.cs +++ b/CDP4Orm/AutoGenDao/PrefixedUnitDao.cs @@ -75,7 +75,7 @@ public partial class PrefixedUnitDao : ConversionBasedUnitDao, IPrefixedUnitDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"PrefixedUnit_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"PrefixedUnit_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/PublicationDao.cs b/CDP4Orm/AutoGenDao/PublicationDao.cs index c0360a50..0b5eb309 100644 --- a/CDP4Orm/AutoGenDao/PublicationDao.cs +++ b/CDP4Orm/AutoGenDao/PublicationDao.cs @@ -75,7 +75,7 @@ public partial class PublicationDao : ThingDao, IPublicationDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Publication_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Publication_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/QuantityKindFactorDao.cs b/CDP4Orm/AutoGenDao/QuantityKindFactorDao.cs index 4d7b86b9..04bbfdcf 100644 --- a/CDP4Orm/AutoGenDao/QuantityKindFactorDao.cs +++ b/CDP4Orm/AutoGenDao/QuantityKindFactorDao.cs @@ -75,7 +75,7 @@ public partial class QuantityKindFactorDao : ThingDao, IQuantityKindFactorDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"QuantityKindFactor_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"QuantityKindFactor_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RatioScaleDao.cs b/CDP4Orm/AutoGenDao/RatioScaleDao.cs index ee0c805f..6c81541c 100644 --- a/CDP4Orm/AutoGenDao/RatioScaleDao.cs +++ b/CDP4Orm/AutoGenDao/RatioScaleDao.cs @@ -75,7 +75,7 @@ public partial class RatioScaleDao : MeasurementScaleDao, IRatioScaleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RatioScale_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RatioScale_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ReferenceSourceDao.cs b/CDP4Orm/AutoGenDao/ReferenceSourceDao.cs index 91bb804a..07da6192 100644 --- a/CDP4Orm/AutoGenDao/ReferenceSourceDao.cs +++ b/CDP4Orm/AutoGenDao/ReferenceSourceDao.cs @@ -75,7 +75,7 @@ public partial class ReferenceSourceDao : DefinedThingDao, IReferenceSourceDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ReferenceSource_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ReferenceSource_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ReferencerRuleDao.cs b/CDP4Orm/AutoGenDao/ReferencerRuleDao.cs index f3c238d2..ec81ab14 100644 --- a/CDP4Orm/AutoGenDao/ReferencerRuleDao.cs +++ b/CDP4Orm/AutoGenDao/ReferencerRuleDao.cs @@ -75,7 +75,7 @@ public partial class ReferencerRuleDao : RuleDao, IReferencerRuleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ReferencerRule_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ReferencerRule_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RelationalExpressionDao.cs b/CDP4Orm/AutoGenDao/RelationalExpressionDao.cs index 0bc648ed..a091accd 100644 --- a/CDP4Orm/AutoGenDao/RelationalExpressionDao.cs +++ b/CDP4Orm/AutoGenDao/RelationalExpressionDao.cs @@ -75,7 +75,7 @@ public partial class RelationalExpressionDao : BooleanExpressionDao, IRelational if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RelationalExpression_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RelationalExpression_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RelationshipParameterValueDao.cs b/CDP4Orm/AutoGenDao/RelationshipParameterValueDao.cs index 0e061612..08431eac 100644 --- a/CDP4Orm/AutoGenDao/RelationshipParameterValueDao.cs +++ b/CDP4Orm/AutoGenDao/RelationshipParameterValueDao.cs @@ -75,7 +75,7 @@ public partial class RelationshipParameterValueDao : ParameterValueDao, IRelatio if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RelationshipParameterValue_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RelationshipParameterValue_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RequestForDeviationDao.cs b/CDP4Orm/AutoGenDao/RequestForDeviationDao.cs index 2d473d75..51cab1ff 100644 --- a/CDP4Orm/AutoGenDao/RequestForDeviationDao.cs +++ b/CDP4Orm/AutoGenDao/RequestForDeviationDao.cs @@ -75,7 +75,7 @@ public partial class RequestForDeviationDao : ContractDeviationDao, IRequestForD if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RequestForDeviation_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RequestForDeviation_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RequestForWaiverDao.cs b/CDP4Orm/AutoGenDao/RequestForWaiverDao.cs index 3b6328a7..c25b6332 100644 --- a/CDP4Orm/AutoGenDao/RequestForWaiverDao.cs +++ b/CDP4Orm/AutoGenDao/RequestForWaiverDao.cs @@ -75,7 +75,7 @@ public partial class RequestForWaiverDao : ContractDeviationDao, IRequestForWaiv if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RequestForWaiver_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RequestForWaiver_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RequirementDao.cs b/CDP4Orm/AutoGenDao/RequirementDao.cs index cb856472..d8f97b1b 100644 --- a/CDP4Orm/AutoGenDao/RequirementDao.cs +++ b/CDP4Orm/AutoGenDao/RequirementDao.cs @@ -75,7 +75,7 @@ public partial class RequirementDao : SimpleParameterizableThingDao, IRequiremen if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Requirement_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Requirement_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RequirementsContainerParameterValueDao.cs b/CDP4Orm/AutoGenDao/RequirementsContainerParameterValueDao.cs index 537271c8..56b944e0 100644 --- a/CDP4Orm/AutoGenDao/RequirementsContainerParameterValueDao.cs +++ b/CDP4Orm/AutoGenDao/RequirementsContainerParameterValueDao.cs @@ -75,7 +75,7 @@ public partial class RequirementsContainerParameterValueDao : ParameterValueDao, if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RequirementsContainerParameterValue_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RequirementsContainerParameterValue_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RequirementsGroupDao.cs b/CDP4Orm/AutoGenDao/RequirementsGroupDao.cs index b328f54e..0482604e 100644 --- a/CDP4Orm/AutoGenDao/RequirementsGroupDao.cs +++ b/CDP4Orm/AutoGenDao/RequirementsGroupDao.cs @@ -75,7 +75,7 @@ public partial class RequirementsGroupDao : RequirementsContainerDao, IRequireme if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RequirementsGroup_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RequirementsGroup_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RequirementsSpecificationDao.cs b/CDP4Orm/AutoGenDao/RequirementsSpecificationDao.cs index d2444b15..e924361c 100644 --- a/CDP4Orm/AutoGenDao/RequirementsSpecificationDao.cs +++ b/CDP4Orm/AutoGenDao/RequirementsSpecificationDao.cs @@ -75,7 +75,7 @@ public partial class RequirementsSpecificationDao : RequirementsContainerDao, IR if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RequirementsSpecification_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RequirementsSpecification_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ReviewItemDiscrepancyDao.cs b/CDP4Orm/AutoGenDao/ReviewItemDiscrepancyDao.cs index 8c0a63a1..aeb70446 100644 --- a/CDP4Orm/AutoGenDao/ReviewItemDiscrepancyDao.cs +++ b/CDP4Orm/AutoGenDao/ReviewItemDiscrepancyDao.cs @@ -75,7 +75,7 @@ public partial class ReviewItemDiscrepancyDao : ModellingAnnotationItemDao, IRev if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ReviewItemDiscrepancy_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ReviewItemDiscrepancy_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RuleVerificationListDao.cs b/CDP4Orm/AutoGenDao/RuleVerificationListDao.cs index 351dfbde..c11b78dd 100644 --- a/CDP4Orm/AutoGenDao/RuleVerificationListDao.cs +++ b/CDP4Orm/AutoGenDao/RuleVerificationListDao.cs @@ -75,7 +75,7 @@ public partial class RuleVerificationListDao : DefinedThingDao, IRuleVerificatio if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RuleVerificationList_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RuleVerificationList_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/RuleViolationDao.cs b/CDP4Orm/AutoGenDao/RuleViolationDao.cs index 999f16d6..20c4a863 100644 --- a/CDP4Orm/AutoGenDao/RuleViolationDao.cs +++ b/CDP4Orm/AutoGenDao/RuleViolationDao.cs @@ -75,7 +75,7 @@ public partial class RuleViolationDao : ThingDao, IRuleViolationDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"RuleViolation_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"RuleViolation_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SampledFunctionParameterTypeDao.cs b/CDP4Orm/AutoGenDao/SampledFunctionParameterTypeDao.cs index b575ce02..921d7c6e 100644 --- a/CDP4Orm/AutoGenDao/SampledFunctionParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/SampledFunctionParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class SampledFunctionParameterTypeDao : ParameterTypeDao, ISample if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SampledFunctionParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SampledFunctionParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ScaleReferenceQuantityValueDao.cs b/CDP4Orm/AutoGenDao/ScaleReferenceQuantityValueDao.cs index e6991b28..c9cc5cb2 100644 --- a/CDP4Orm/AutoGenDao/ScaleReferenceQuantityValueDao.cs +++ b/CDP4Orm/AutoGenDao/ScaleReferenceQuantityValueDao.cs @@ -75,7 +75,7 @@ public partial class ScaleReferenceQuantityValueDao : ThingDao, IScaleReferenceQ if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ScaleReferenceQuantityValue_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ScaleReferenceQuantityValue_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ScaleValueDefinitionDao.cs b/CDP4Orm/AutoGenDao/ScaleValueDefinitionDao.cs index 6930892d..1aead354 100644 --- a/CDP4Orm/AutoGenDao/ScaleValueDefinitionDao.cs +++ b/CDP4Orm/AutoGenDao/ScaleValueDefinitionDao.cs @@ -75,7 +75,7 @@ public partial class ScaleValueDefinitionDao : DefinedThingDao, IScaleValueDefin if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ScaleValueDefinition_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ScaleValueDefinition_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SectionDao.cs b/CDP4Orm/AutoGenDao/SectionDao.cs index 488a7332..1a415894 100644 --- a/CDP4Orm/AutoGenDao/SectionDao.cs +++ b/CDP4Orm/AutoGenDao/SectionDao.cs @@ -75,7 +75,7 @@ public partial class SectionDao : ThingDao, ISectionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Section_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Section_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SharedStyleDao.cs b/CDP4Orm/AutoGenDao/SharedStyleDao.cs index a3586f29..3f6166e0 100644 --- a/CDP4Orm/AutoGenDao/SharedStyleDao.cs +++ b/CDP4Orm/AutoGenDao/SharedStyleDao.cs @@ -75,7 +75,7 @@ public partial class SharedStyleDao : DiagrammingStyleDao, ISharedStyleDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SharedStyle_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SharedStyle_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SimpleParameterValueDao.cs b/CDP4Orm/AutoGenDao/SimpleParameterValueDao.cs index 8e8af69b..39066e01 100644 --- a/CDP4Orm/AutoGenDao/SimpleParameterValueDao.cs +++ b/CDP4Orm/AutoGenDao/SimpleParameterValueDao.cs @@ -75,7 +75,7 @@ public partial class SimpleParameterValueDao : ThingDao, ISimpleParameterValueDa if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SimpleParameterValue_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SimpleParameterValue_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SimpleQuantityKindDao.cs b/CDP4Orm/AutoGenDao/SimpleQuantityKindDao.cs index d92b6fa2..250714ad 100644 --- a/CDP4Orm/AutoGenDao/SimpleQuantityKindDao.cs +++ b/CDP4Orm/AutoGenDao/SimpleQuantityKindDao.cs @@ -75,7 +75,7 @@ public partial class SimpleQuantityKindDao : QuantityKindDao, ISimpleQuantityKin if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SimpleQuantityKind_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SimpleQuantityKind_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SimpleUnitDao.cs b/CDP4Orm/AutoGenDao/SimpleUnitDao.cs index 6cfb312f..4cc0e3d9 100644 --- a/CDP4Orm/AutoGenDao/SimpleUnitDao.cs +++ b/CDP4Orm/AutoGenDao/SimpleUnitDao.cs @@ -75,7 +75,7 @@ public partial class SimpleUnitDao : MeasurementUnitDao, ISimpleUnitDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SimpleUnit_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SimpleUnit_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SiteDirectoryDao.cs b/CDP4Orm/AutoGenDao/SiteDirectoryDao.cs index 7455a72b..0b1d8255 100644 --- a/CDP4Orm/AutoGenDao/SiteDirectoryDao.cs +++ b/CDP4Orm/AutoGenDao/SiteDirectoryDao.cs @@ -75,7 +75,7 @@ public partial class SiteDirectoryDao : TopContainerDao, ISiteDirectoryDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SiteDirectory_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SiteDirectory_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SiteDirectoryDataAnnotationDao.cs b/CDP4Orm/AutoGenDao/SiteDirectoryDataAnnotationDao.cs index dee03074..c5c43e95 100644 --- a/CDP4Orm/AutoGenDao/SiteDirectoryDataAnnotationDao.cs +++ b/CDP4Orm/AutoGenDao/SiteDirectoryDataAnnotationDao.cs @@ -75,7 +75,7 @@ public partial class SiteDirectoryDataAnnotationDao : GenericAnnotationDao, ISit if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SiteDirectoryDataAnnotation_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SiteDirectoryDataAnnotation_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SiteDirectoryDataDiscussionItemDao.cs b/CDP4Orm/AutoGenDao/SiteDirectoryDataDiscussionItemDao.cs index cc12e8ce..d7ceb0bc 100644 --- a/CDP4Orm/AutoGenDao/SiteDirectoryDataDiscussionItemDao.cs +++ b/CDP4Orm/AutoGenDao/SiteDirectoryDataDiscussionItemDao.cs @@ -75,7 +75,7 @@ public partial class SiteDirectoryDataDiscussionItemDao : DiscussionItemDao, ISi if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SiteDirectoryDataDiscussionItem_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SiteDirectoryDataDiscussionItem_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SiteDirectoryThingReferenceDao.cs b/CDP4Orm/AutoGenDao/SiteDirectoryThingReferenceDao.cs index de0124b4..509c01f0 100644 --- a/CDP4Orm/AutoGenDao/SiteDirectoryThingReferenceDao.cs +++ b/CDP4Orm/AutoGenDao/SiteDirectoryThingReferenceDao.cs @@ -75,7 +75,7 @@ public partial class SiteDirectoryThingReferenceDao : ThingReferenceDao, ISiteDi if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SiteDirectoryThingReference_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SiteDirectoryThingReference_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SiteLogEntryDao.cs b/CDP4Orm/AutoGenDao/SiteLogEntryDao.cs index 0972c75d..03fb6e3d 100644 --- a/CDP4Orm/AutoGenDao/SiteLogEntryDao.cs +++ b/CDP4Orm/AutoGenDao/SiteLogEntryDao.cs @@ -75,7 +75,7 @@ public partial class SiteLogEntryDao : ThingDao, ISiteLogEntryDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SiteLogEntry_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SiteLogEntry_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SiteReferenceDataLibraryDao.cs b/CDP4Orm/AutoGenDao/SiteReferenceDataLibraryDao.cs index 16b10db7..f0e45727 100644 --- a/CDP4Orm/AutoGenDao/SiteReferenceDataLibraryDao.cs +++ b/CDP4Orm/AutoGenDao/SiteReferenceDataLibraryDao.cs @@ -75,7 +75,7 @@ public partial class SiteReferenceDataLibraryDao : ReferenceDataLibraryDao, ISit if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SiteReferenceDataLibrary_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SiteReferenceDataLibrary_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SolutionDao.cs b/CDP4Orm/AutoGenDao/SolutionDao.cs index 9eaab873..dbd99999 100644 --- a/CDP4Orm/AutoGenDao/SolutionDao.cs +++ b/CDP4Orm/AutoGenDao/SolutionDao.cs @@ -75,7 +75,7 @@ public partial class SolutionDao : GenericAnnotationDao, ISolutionDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Solution_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Solution_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/SpecializedQuantityKindDao.cs b/CDP4Orm/AutoGenDao/SpecializedQuantityKindDao.cs index 9f441f4b..0ab5debf 100644 --- a/CDP4Orm/AutoGenDao/SpecializedQuantityKindDao.cs +++ b/CDP4Orm/AutoGenDao/SpecializedQuantityKindDao.cs @@ -75,7 +75,7 @@ public partial class SpecializedQuantityKindDao : QuantityKindDao, ISpecializedQ if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"SpecializedQuantityKind_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"SpecializedQuantityKind_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/StakeHolderValueMapDao.cs b/CDP4Orm/AutoGenDao/StakeHolderValueMapDao.cs index f4942328..1c789534 100644 --- a/CDP4Orm/AutoGenDao/StakeHolderValueMapDao.cs +++ b/CDP4Orm/AutoGenDao/StakeHolderValueMapDao.cs @@ -75,7 +75,7 @@ public partial class StakeHolderValueMapDao : DefinedThingDao, IStakeHolderValue if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"StakeHolderValueMap_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"StakeHolderValueMap_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/StakeHolderValueMapSettingsDao.cs b/CDP4Orm/AutoGenDao/StakeHolderValueMapSettingsDao.cs index a4212051..8ba1fe32 100644 --- a/CDP4Orm/AutoGenDao/StakeHolderValueMapSettingsDao.cs +++ b/CDP4Orm/AutoGenDao/StakeHolderValueMapSettingsDao.cs @@ -75,7 +75,7 @@ public partial class StakeHolderValueMapSettingsDao : ThingDao, IStakeHolderValu if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"StakeHolderValueMapSettings_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"StakeHolderValueMapSettings_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/StakeholderDao.cs b/CDP4Orm/AutoGenDao/StakeholderDao.cs index d8d82eab..f41c0b53 100644 --- a/CDP4Orm/AutoGenDao/StakeholderDao.cs +++ b/CDP4Orm/AutoGenDao/StakeholderDao.cs @@ -75,7 +75,7 @@ public partial class StakeholderDao : DefinedThingDao, IStakeholderDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Stakeholder_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Stakeholder_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/StakeholderValueDao.cs b/CDP4Orm/AutoGenDao/StakeholderValueDao.cs index f7085f3f..7f6481ba 100644 --- a/CDP4Orm/AutoGenDao/StakeholderValueDao.cs +++ b/CDP4Orm/AutoGenDao/StakeholderValueDao.cs @@ -75,7 +75,7 @@ public partial class StakeholderValueDao : DefinedThingDao, IStakeholderValueDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"StakeholderValue_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"StakeholderValue_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/TelephoneNumberDao.cs b/CDP4Orm/AutoGenDao/TelephoneNumberDao.cs index 4eef0615..7bbc1d0f 100644 --- a/CDP4Orm/AutoGenDao/TelephoneNumberDao.cs +++ b/CDP4Orm/AutoGenDao/TelephoneNumberDao.cs @@ -75,7 +75,7 @@ public partial class TelephoneNumberDao : ThingDao, ITelephoneNumberDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"TelephoneNumber_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"TelephoneNumber_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/TermDao.cs b/CDP4Orm/AutoGenDao/TermDao.cs index f5220f12..3ffe6454 100644 --- a/CDP4Orm/AutoGenDao/TermDao.cs +++ b/CDP4Orm/AutoGenDao/TermDao.cs @@ -75,7 +75,7 @@ public partial class TermDao : DefinedThingDao, ITermDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"Term_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"Term_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/TextParameterTypeDao.cs b/CDP4Orm/AutoGenDao/TextParameterTypeDao.cs index 7e1b79a5..3487fd77 100644 --- a/CDP4Orm/AutoGenDao/TextParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/TextParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class TextParameterTypeDao : ScalarParameterTypeDao, ITextParamet if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"TextParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"TextParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/TextualNoteDao.cs b/CDP4Orm/AutoGenDao/TextualNoteDao.cs index 2608c08b..27f417a6 100644 --- a/CDP4Orm/AutoGenDao/TextualNoteDao.cs +++ b/CDP4Orm/AutoGenDao/TextualNoteDao.cs @@ -75,7 +75,7 @@ public partial class TextualNoteDao : NoteDao, ITextualNoteDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"TextualNote_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"TextualNote_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/TimeOfDayParameterTypeDao.cs b/CDP4Orm/AutoGenDao/TimeOfDayParameterTypeDao.cs index c5a74b1e..c8718b63 100644 --- a/CDP4Orm/AutoGenDao/TimeOfDayParameterTypeDao.cs +++ b/CDP4Orm/AutoGenDao/TimeOfDayParameterTypeDao.cs @@ -75,7 +75,7 @@ public partial class TimeOfDayParameterTypeDao : ScalarParameterTypeDao, ITimeOf if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"TimeOfDayParameterType_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"TimeOfDayParameterType_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/UnitFactorDao.cs b/CDP4Orm/AutoGenDao/UnitFactorDao.cs index d7ff29a6..9114d11c 100644 --- a/CDP4Orm/AutoGenDao/UnitFactorDao.cs +++ b/CDP4Orm/AutoGenDao/UnitFactorDao.cs @@ -75,7 +75,7 @@ public partial class UnitFactorDao : ThingDao, IUnitFactorDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"UnitFactor_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"UnitFactor_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/UnitPrefixDao.cs b/CDP4Orm/AutoGenDao/UnitPrefixDao.cs index 0af95e79..af882fb9 100644 --- a/CDP4Orm/AutoGenDao/UnitPrefixDao.cs +++ b/CDP4Orm/AutoGenDao/UnitPrefixDao.cs @@ -75,7 +75,7 @@ public partial class UnitPrefixDao : DefinedThingDao, IUnitPrefixDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"UnitPrefix_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"UnitPrefix_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/UserPreferenceDao.cs b/CDP4Orm/AutoGenDao/UserPreferenceDao.cs index 9f95798d..7d8f99d7 100644 --- a/CDP4Orm/AutoGenDao/UserPreferenceDao.cs +++ b/CDP4Orm/AutoGenDao/UserPreferenceDao.cs @@ -75,7 +75,7 @@ public partial class UserPreferenceDao : ThingDao, IUserPreferenceDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"UserPreference_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"UserPreference_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/UserRuleVerificationDao.cs b/CDP4Orm/AutoGenDao/UserRuleVerificationDao.cs index 8a0bcaf3..18f7a4ee 100644 --- a/CDP4Orm/AutoGenDao/UserRuleVerificationDao.cs +++ b/CDP4Orm/AutoGenDao/UserRuleVerificationDao.cs @@ -75,7 +75,7 @@ public partial class UserRuleVerificationDao : RuleVerificationDao, IUserRuleVer if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"UserRuleVerification_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"UserRuleVerification_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/AutoGenDao/ValueGroupDao.cs b/CDP4Orm/AutoGenDao/ValueGroupDao.cs index 69dac0c4..8f700168 100644 --- a/CDP4Orm/AutoGenDao/ValueGroupDao.cs +++ b/CDP4Orm/AutoGenDao/ValueGroupDao.cs @@ -75,7 +75,7 @@ public partial class ValueGroupDao : DefinedThingDao, IValueGroupDao if (isCachedDtoReadEnabledAndInstant) { - sqlBuilder.AppendFormat("SELECT \"Jsonb\" FROM \"{0}\".\"ValueGroup_Cache\"", partition); + sqlBuilder.AppendFormat("SELECT \"Jsonb\", \"Actor\" FROM \"{0}\".\"ValueGroup_Cache\"", partition); sqlBuilder.Append(this.BuildJoinForActorProperty(partition)); if (ids != null && ids.Any()) diff --git a/CDP4Orm/Dao/BaseDao.cs b/CDP4Orm/Dao/BaseDao.cs index 67a66580..cd7b1db7 100644 --- a/CDP4Orm/Dao/BaseDao.cs +++ b/CDP4Orm/Dao/BaseDao.cs @@ -319,6 +319,11 @@ protected Thing MapJsonbToDto(NpgsqlDataReader reader) try { thing = jsonObject.ToDto(); + + if (!reader.IsDBNull(1)) + { + thing.Actor= reader.GetGuid(1); + } } catch (Exception) {