Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SELECT Actor column for Cache tables #310

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ActionItemDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ActualFiniteStateDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ActualFiniteStateListDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/AliasDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/AndExpressionDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ApprovalDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
/// <returns>
/// List of instances of <see cref="CDP4Common.DTO.ArrayParameterType"/>.
/// </returns>
public virtual IEnumerable<CDP4Common.DTO.ArrayParameterType> Read(NpgsqlTransaction transaction, string partition, IEnumerable<Guid> ids = null, bool isCachedDtoReadEnabledAndInstant = false, DateTime? instant = null)

Check warning on line 70 in CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs

View workflow job for this annotation

GitHub Actions / Build

'ArrayParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'CompoundParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 70 in CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'ArrayParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'CompoundParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 70 in CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'ArrayParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'CompoundParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 70 in CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs

View workflow job for this annotation

GitHub Actions / Build

'ArrayParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'CompoundParameterTypeDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
{
using (var command = new NpgsqlCommand())
{
Expand All @@ -75,7 +75,7 @@

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())
Expand Down Expand Up @@ -143,7 +143,7 @@
/// <returns>
/// A deserialized instance of <see cref="CDP4Common.DTO.ArrayParameterType"/>.
/// </returns>
public virtual CDP4Common.DTO.ArrayParameterType MapToDto(NpgsqlDataReader reader)

Check warning on line 146 in CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs

View workflow job for this annotation

GitHub Actions / Build

'ArrayParameterTypeDao.MapToDto(NpgsqlDataReader)' hides inherited member 'CompoundParameterTypeDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 146 in CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'ArrayParameterTypeDao.MapToDto(NpgsqlDataReader)' hides inherited member 'CompoundParameterTypeDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 146 in CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'ArrayParameterTypeDao.MapToDto(NpgsqlDataReader)' hides inherited member 'CompoundParameterTypeDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 146 in CDP4Orm/AutoGenDao/ArrayParameterTypeDao.cs

View workflow job for this annotation

GitHub Actions / Build

'ArrayParameterTypeDao.MapToDto(NpgsqlDataReader)' hides inherited member 'CompoundParameterTypeDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
{
string tempIsDeprecated;
string tempIsFinalized;
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/BinaryNoteDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/BinaryRelationshipDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/BinaryRelationshipRuleDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/BookDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/BooleanParameterTypeDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/BoundsDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/BuiltInRuleVerificationDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/CategoryDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ChangeProposalDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ChangeRequestDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/// <summary>
/// The ChangeRequest Data Access Object which acts as an ORM layer to the SQL database.
/// </summary>
public partial class ChangeRequestDao : ContractDeviationDao, IChangeRequestDao

Check warning on line 47 in CDP4Orm/AutoGenDao/ChangeRequestDao.cs

View workflow job for this annotation

GitHub Actions / Build

This class has 6 parents which is greater than 5 authorized. (https://rules.sonarsource.com/csharp/RSPEC-110)
{
/// <summary>
/// Read the data from the database.
Expand Down Expand Up @@ -75,7 +75,7 @@

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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/CitationDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ColorDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/CommonFileStoreDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/CompoundParameterTypeDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ConstantDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/ContractChangeNoticeDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
/// <returns>
/// List of instances of <see cref="CDP4Common.DTO.CyclicRatioScale"/>.
/// </returns>
public virtual IEnumerable<CDP4Common.DTO.CyclicRatioScale> Read(NpgsqlTransaction transaction, string partition, IEnumerable<Guid> ids = null, bool isCachedDtoReadEnabledAndInstant = false, DateTime? instant = null)

Check warning on line 70 in CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs

View workflow job for this annotation

GitHub Actions / Build

'CyclicRatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'RatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 70 in CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'CyclicRatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'RatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 70 in CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'CyclicRatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'RatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 70 in CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs

View workflow job for this annotation

GitHub Actions / Build

'CyclicRatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)' hides inherited member 'RatioScaleDao.Read(NpgsqlTransaction, string, IEnumerable<Guid>, bool, DateTime?)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
{
using (var command = new NpgsqlCommand())
{
Expand All @@ -75,7 +75,7 @@

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())
Expand Down Expand Up @@ -143,7 +143,7 @@
/// <returns>
/// A deserialized instance of <see cref="CDP4Common.DTO.CyclicRatioScale"/>.
/// </returns>
public virtual CDP4Common.DTO.CyclicRatioScale MapToDto(NpgsqlDataReader reader)

Check warning on line 146 in CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs

View workflow job for this annotation

GitHub Actions / Build

'CyclicRatioScaleDao.MapToDto(NpgsqlDataReader)' hides inherited member 'RatioScaleDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 146 in CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'CyclicRatioScaleDao.MapToDto(NpgsqlDataReader)' hides inherited member 'RatioScaleDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 146 in CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs

View workflow job for this annotation

GitHub Actions / Analyze (csharp)

'CyclicRatioScaleDao.MapToDto(NpgsqlDataReader)' hides inherited member 'RatioScaleDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.

Check warning on line 146 in CDP4Orm/AutoGenDao/CyclicRatioScaleDao.cs

View workflow job for this annotation

GitHub Actions / Build

'CyclicRatioScaleDao.MapToDto(NpgsqlDataReader)' hides inherited member 'RatioScaleDao.MapToDto(NpgsqlDataReader)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
{
string tempIsDeprecated;
string tempIsMaximumInclusive;
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DateParameterTypeDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DateTimeParameterTypeDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DecompositionRuleDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DefinitionDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DependentParameterTypeAssignmentDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DerivedQuantityKindDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DerivedUnitDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DiagramCanvasDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DiagramEdgeDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DiagramObjectDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DomainFileStoreDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DomainOfExpertiseDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion CDP4Orm/AutoGenDao/DomainOfExpertiseGroupDao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
Loading
Loading