diff --git a/Application/EdFi.Ods.Api/Container/Modules/PersistenceModule.cs b/Application/EdFi.Ods.Api/Container/Modules/PersistenceModule.cs
index b5e4d5edf..e980ef740 100644
--- a/Application/EdFi.Ods.Api/Container/Modules/PersistenceModule.cs
+++ b/Application/EdFi.Ods.Api/Container/Modules/PersistenceModule.cs
@@ -142,6 +142,10 @@ protected override void Load(ContainerBuilder builder)
.As(typeof(IGetEntitiesByIds<>))
.SingleInstance();
+ builder.RegisterGeneric(typeof(GetEntitiesByAggregateIds<>))
+ .As(typeof(IGetEntitiesByAggregateIds<>))
+ .SingleInstance();
+
builder.RegisterGeneric(typeof(GetEntitiesBySpecification<>))
.As(typeof(IGetEntitiesBySpecification<>))
.WithAttributeFiltering()
diff --git a/Application/EdFi.Ods.Api/Security/Authorization/Repositories/GetEntitiesByAggregateIdsAuthorizationDecorator.cs b/Application/EdFi.Ods.Api/Security/Authorization/Repositories/GetEntitiesByAggregateIdsAuthorizationDecorator.cs
new file mode 100644
index 000000000..df56e818e
--- /dev/null
+++ b/Application/EdFi.Ods.Api/Security/Authorization/Repositories/GetEntitiesByAggregateIdsAuthorizationDecorator.cs
@@ -0,0 +1,41 @@
+// SPDX-License-Identifier: Apache-2.0
+// Licensed to the Ed-Fi Alliance under one or more agreements.
+// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
+// See the LICENSE and NOTICES files in the project root for more information.
+
+using System.Collections.Generic;
+using System.Threading;
+using System.Threading.Tasks;
+using EdFi.Ods.Common;
+using EdFi.Ods.Common.Repositories;
+
+namespace EdFi.Ods.Api.Security.Authorization.Repositories;
+
+///
+/// Authorizes calls to the "GetByAggregateIds" repository method.
+///
+/// The Type of entity being queried.
+public class GetEntitiesByAggregateIdsAuthorizationDecorator : IGetEntitiesByAggregateIds
+ where T : class, IHasIdentifier, IDateVersionedEntity
+{
+ private readonly IGetEntitiesByAggregateIds _next;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// The decorated instance for which authorization is being performed.
+ public GetEntitiesByAggregateIdsAuthorizationDecorator(IGetEntitiesByAggregateIds next)
+ {
+ _next = next;
+ }
+
+ ///
+ /// Authorizes a call to get multiple records by their record identifiers.
+ ///
+ /// The values of the record identifiers to be retrieved.
+ /// The specified entity if found; otherwise null.
+ public async Task> GetByAggregateIdsAsync(IList aggregateIds, CancellationToken cancellationToken)
+ {
+ return await _next.GetByAggregateIdsAsync(aggregateIds, cancellationToken);
+ }
+}
diff --git a/Application/EdFi.Ods.Api/Security/Container/Modules/SecurityPersistenceModule.cs b/Application/EdFi.Ods.Api/Security/Container/Modules/SecurityPersistenceModule.cs
index 57a9404b9..84e16ec9b 100644
--- a/Application/EdFi.Ods.Api/Security/Container/Modules/SecurityPersistenceModule.cs
+++ b/Application/EdFi.Ods.Api/Security/Container/Modules/SecurityPersistenceModule.cs
@@ -27,40 +27,41 @@ public class SecurityPersistenceModule : Module
private readonly IDictionary _genericServiceByAuthorizationDecorator = new Dictionary
{
// NHibernate authorization decorators
- {typeof(IGetEntityByKey<>), typeof(GetEntityByKeyAuthorizationDecorator<>)},
- {typeof(IGetEntitiesBySpecification<>), typeof(GetEntitiesBySpecificationAuthorizationDecorator<>)},
- {typeof(IGetEntityById<>), typeof(GetEntityByIdAuthorizationDecorator<>)},
- {typeof(IGetEntitiesByIds<>), typeof(GetEntitiesByIdsAuthorizationDecorator<>)},
- {typeof(ICreateEntity<>), typeof(CreateEntityAuthorizationDecorator<>)},
- {typeof(IDeleteEntityById<>), typeof(DeleteEntityByIdAuthorizationDecorator<>)},
- {typeof(IUpdateEntity<>), typeof(UpdateEntityAuthorizationDecorator<>)},
- {typeof(IUpsertEntity<>), typeof(UpsertEntityAuthorizationDecorator<>)},
+ {typeof(GetEntityByKeyAuthorizationDecorator<>), typeof(IGetEntityByKey<>)},
+ {typeof(GetEntitiesBySpecificationAuthorizationDecorator<>), typeof(IGetEntitiesBySpecification<>)},
+ {typeof(GetEntityByIdAuthorizationDecorator<>), typeof(IGetEntityById<>)},
+ {typeof(GetEntitiesByIdsAuthorizationDecorator<>), typeof(IGetEntitiesByIds<>)},
+ {typeof(GetEntitiesByAggregateIdsAuthorizationDecorator<>), typeof(IGetEntitiesByAggregateIds<>)},
+ {typeof(CreateEntityAuthorizationDecorator<>), typeof(ICreateEntity<>)},
+ {typeof(DeleteEntityByIdAuthorizationDecorator<>), typeof(IDeleteEntityById<>)},
+ {typeof(UpdateEntityAuthorizationDecorator<>), typeof(IUpdateEntity<>)},
+ {typeof(UpsertEntityAuthorizationDecorator<>), typeof(IUpsertEntity<>)},
};
private readonly IDictionary _serviceByAuthorizationDecorator = new Dictionary
{
// pipeline steps authorization decorators
- {typeof(IGetPipelineStepsProvider), typeof(AuthorizationContextGetPipelineStepsProviderDecorator)},
+ {typeof(AuthorizationContextGetPipelineStepsProviderDecorator), typeof(IGetPipelineStepsProvider)},
{
- typeof(IGetBySpecificationPipelineStepsProvider),
- typeof(AuthorizationContextGetBySpecificationPipelineStepsProviderDecorator)
+ typeof(AuthorizationContextGetBySpecificationPipelineStepsProviderDecorator),
+ typeof(IGetBySpecificationPipelineStepsProvider)
},
- {typeof(IUpsertPipelineStepsProvider), typeof(AuthorizationContextUpsertPipelineStepsProviderDecorator)},
- {typeof(IDeletePipelineStepsProvider), typeof(AuthorizationContextDeletePipelineStepsProviderDecorator)},
+ {typeof(AuthorizationContextUpsertPipelineStepsProviderDecorator), typeof(IUpsertPipelineStepsProvider)},
+ {typeof(AuthorizationContextDeletePipelineStepsProviderDecorator), typeof(IDeletePipelineStepsProvider)},
- {typeof(IAggregateRootQueryBuilderProvider), typeof(AggregateRootQueryBuilderProviderAuthorizationDecorator)},
+ {typeof(AggregateRootQueryBuilderProviderAuthorizationDecorator), typeof(IAggregateRootQueryBuilderProvider)},
};
protected override void Load(ContainerBuilder builder)
{
foreach (var decoratorRegistration in _genericServiceByAuthorizationDecorator)
{
- builder.RegisterGenericDecorator(decoratorRegistration.Value, decoratorRegistration.Key);
+ builder.RegisterGenericDecorator(decoratorRegistration.Key, decoratorRegistration.Value);
}
foreach (var decoratorRegistration in _serviceByAuthorizationDecorator)
{
- builder.RegisterDecorator(decoratorRegistration.Value, decoratorRegistration.Key);
+ builder.RegisterDecorator(decoratorRegistration.Key, decoratorRegistration.Value);
}
builder.RegisterType()
diff --git a/Application/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesByAggregateIds.cs b/Application/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesByAggregateIds.cs
new file mode 100644
index 000000000..d087b7908
--- /dev/null
+++ b/Application/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesByAggregateIds.cs
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: Apache-2.0
+// Licensed to the Ed-Fi Alliance under one or more agreements.
+// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
+// See the LICENSE and NOTICES files in the project root for more information.
+
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading;
+using System.Threading.Tasks;
+using EdFi.Common;
+using EdFi.Ods.Common.Context;
+using EdFi.Ods.Common.Infrastructure.Activities;
+using EdFi.Ods.Common.Models;
+using EdFi.Ods.Common.Models.Domain;
+using EdFi.Ods.Common.Repositories;
+using EdFi.Ods.Common.Security.Claims;
+using NHibernate;
+
+namespace EdFi.Ods.Common.Infrastructure.Repositories;
+
+public class GetEntitiesByAggregateIds : GetEntitiesBase, IGetEntitiesByAggregateIds
+ where TEntity : DomainObjectBase, IHasIdentifier, IDateVersionedEntity
+{
+ private readonly IParameterListSetter _parameterListSetter;
+
+ public GetEntitiesByAggregateIds(
+ ISessionFactory sessionFactory,
+ IDomainModelProvider domainModelProvider,
+ IParameterListSetter parameterListSetter,
+ IContextProvider dataManagementResourceContextProvider)
+ : base(sessionFactory, domainModelProvider, dataManagementResourceContextProvider)
+ {
+ _parameterListSetter = Preconditions.ThrowIfNull(parameterListSetter, nameof(parameterListSetter));
+ }
+
+ public async Task> GetByAggregateIdsAsync(IList aggregateIds, CancellationToken cancellationToken)
+ {
+ using (new SessionScope(SessionFactory))
+ {
+ IEnumerable results;
+
+ if (aggregateIds.Count == 1)
+ {
+ results = await GetAggregateResultsAsync(
+ "where a.AggregateId = :id",
+ q => q.SetParameter("id", aggregateIds[0]), cancellationToken);
+ }
+ else
+ {
+ results = await GetAggregateResultsAsync(
+ "where a.AggregateId IN (:ids)",
+ q => _parameterListSetter.SetParameterList(q ,"ids", aggregateIds),
+ cancellationToken,
+ "order by a.AggregateId");
+ }
+
+ // Process multiple results in the first-level cache to a list of complete aggregates
+ return results.ToList();
+ }
+ }
+}
diff --git a/Application/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesBySpecification.cs b/Application/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesBySpecification.cs
index 01e2e36cf..aa9910276 100644
--- a/Application/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesBySpecification.cs
+++ b/Application/EdFi.Ods.Common/Infrastructure/Repositories/GetEntitiesBySpecification.cs
@@ -31,17 +31,17 @@ public class GetEntitiesBySpecification
private readonly IAggregateRootQueryBuilderProvider _pagedAggregateIdsCriteriaProvider;
private readonly IDomainModelProvider _domainModelProvider;
- private readonly IGetEntitiesByIds _getEntitiesByIds;
+ private readonly IGetEntitiesByAggregateIds _getEntitiesByAggregateIds;
public GetEntitiesBySpecification(
ISessionFactory sessionFactory,
- IGetEntitiesByIds getEntitiesByIds,
+ IGetEntitiesByAggregateIds getEntitiesByAggregateIds,
[FromKeyedServices(PagedAggregateIdsQueryBuilderProvider.RegistrationKey)]
IAggregateRootQueryBuilderProvider pagedAggregateIdsCriteriaProvider,
IDomainModelProvider domainModelProvider)
: base(sessionFactory)
{
- _getEntitiesByIds = getEntitiesByIds;
+ _getEntitiesByAggregateIds = getEntitiesByAggregateIds;
_pagedAggregateIdsCriteriaProvider = pagedAggregateIdsCriteriaProvider;
_domainModelProvider = domainModelProvider;
}
@@ -80,14 +80,9 @@ public async Task> GetBySpecificationAsync(
}
// Get the full results
- var ids = specificationResult.Ids.Select(x => x.Id).ToList();
+ var aggregateIds = specificationResult.Ids.Select(x => x.AggregateId).ToList();
- var result = await _getEntitiesByIds.GetByIdsAsync(ids, cancellationToken);
-
- // Restore original order of the result rows (GetByIds sorts by Id)
- var resultWithOriginalOrder = ids
- .Join(result, id => id, r => r.Id, (id, r) => r)
- .ToList();
+ var result = await _getEntitiesByAggregateIds.GetByAggregateIdsAsync(aggregateIds, cancellationToken);
string nextPageToken = null;
@@ -100,7 +95,7 @@ public async Task> GetBySpecificationAsync(
return new GetBySpecificationResult
{
- Results = resultWithOriginalOrder,
+ Results = result,
ResultMetadata = new ResultMetadata
{
TotalCount = specificationResult.TotalCount,
diff --git a/Application/EdFi.Ods.Common/Providers/Queries/PagedAggregateIdsQueryBuilderProvider.cs b/Application/EdFi.Ods.Common/Providers/Queries/PagedAggregateIdsQueryBuilderProvider.cs
index 7126c12b7..e3b1bc311 100644
--- a/Application/EdFi.Ods.Common/Providers/Queries/PagedAggregateIdsQueryBuilderProvider.cs
+++ b/Application/EdFi.Ods.Common/Providers/Queries/PagedAggregateIdsQueryBuilderProvider.cs
@@ -105,7 +105,6 @@ private QueryBuilder GetQueryBuilder(Entity aggregateRootEntity, PagingParameter
idQueryBuilder
.From(schemaTableName.Alias("r"))
- .Select($"{rootTableAlias}.Id")
.Select($"{rootTableAlias}.AggregateId");
// NOTE: Optimization opportunity - th ederived entity may not be needed unless there is criteria to be applied that uses the derived type.
diff --git a/Application/EdFi.Ods.Common/Repositories/IGetEntitiesByAggregateIds.cs b/Application/EdFi.Ods.Common/Repositories/IGetEntitiesByAggregateIds.cs
new file mode 100644
index 000000000..c3379bc14
--- /dev/null
+++ b/Application/EdFi.Ods.Common/Repositories/IGetEntitiesByAggregateIds.cs
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: Apache-2.0
+// Licensed to the Ed-Fi Alliance under one or more agreements.
+// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
+// See the LICENSE and NOTICES files in the project root for more information.
+
+using System.Collections.Generic;
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace EdFi.Ods.Common.Repositories;
+
+///
+/// Defines a method for retrieving a list of entities by their record identifiers.
+///
+/// The Type of the entities to be retrieved.
+public interface IGetEntitiesByAggregateIds
+ where TEntity : IHasIdentifier, IDateVersionedEntity
+{
+ ///
+ /// Get a list of entities by their record identifiers.
+ ///
+ /// The list of aggregate identifiers.
+ /// The list of matching entities.
+ Task> GetByAggregateIdsAsync(IList aggregateIds, CancellationToken cancellationToken);
+}
diff --git a/Application/EdFi.Ods.Repositories.NHibernate.Tests/Modules/RepositoryModule.cs b/Application/EdFi.Ods.Repositories.NHibernate.Tests/Modules/RepositoryModule.cs
index 75362e8c4..50ad67a16 100644
--- a/Application/EdFi.Ods.Repositories.NHibernate.Tests/Modules/RepositoryModule.cs
+++ b/Application/EdFi.Ods.Repositories.NHibernate.Tests/Modules/RepositoryModule.cs
@@ -31,6 +31,10 @@ protected override void Load(ContainerBuilder builder)
.As(typeof(IGetEntitiesByIds<>))
.SingleInstance();
+ builder.RegisterGeneric(typeof(GetEntitiesByAggregateIds<>))
+ .As(typeof(IGetEntitiesByAggregateIds<>))
+ .SingleInstance();
+
builder.RegisterGeneric(typeof(GetEntitiesBySpecification<>))
.As(typeof(IGetEntitiesBySpecification<>))
.WithAttributeFiltering()
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index f8d1f92c4..ab2e47d5d 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -33,6 +33,7 @@
+
@@ -77,6 +78,7 @@
+
@@ -194,6 +196,7 @@
+
@@ -270,6 +273,7 @@
+
@@ -314,6 +318,7 @@
+
@@ -435,6 +440,7 @@
+
@@ -523,6 +529,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index f8d1f92c4..ab2e47d5d 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -33,6 +33,7 @@
+
@@ -77,6 +78,7 @@
+
@@ -194,6 +196,7 @@
+
@@ -270,6 +273,7 @@
+
@@ -314,6 +318,7 @@
+
@@ -435,6 +440,7 @@
+
@@ -523,6 +529,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index 74fc2aaf1..1e5112d3c 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
@@ -73,6 +74,7 @@
+
@@ -1288,6 +1290,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index dcd5903d0..5248d1d56 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
@@ -73,6 +74,7 @@
+
@@ -1288,6 +1290,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index 2968f4dcd..f5dcc57d8 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index 2968f4dcd..f5dcc57d8 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index fb2aa1008..4a2df6869 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
@@ -497,6 +498,7 @@
+
@@ -709,6 +711,7 @@
+
@@ -803,6 +806,7 @@
+
@@ -919,6 +923,7 @@
+
@@ -1046,6 +1051,7 @@
+
@@ -1186,6 +1192,7 @@
+
@@ -1309,6 +1316,7 @@
+
@@ -1446,6 +1454,7 @@
+
@@ -1686,6 +1695,7 @@
+
@@ -1745,6 +1755,7 @@
+
@@ -1893,6 +1904,7 @@
+
@@ -2123,6 +2135,7 @@
+
@@ -2245,6 +2258,7 @@
+
@@ -2306,6 +2320,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index d956467ee..c20fbb5bb 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
@@ -497,6 +498,7 @@
+
@@ -709,6 +711,7 @@
+
@@ -803,6 +806,7 @@
+
@@ -919,6 +923,7 @@
+
@@ -1046,6 +1051,7 @@
+
@@ -1186,6 +1192,7 @@
+
@@ -1309,6 +1316,7 @@
+
@@ -1446,6 +1454,7 @@
+
@@ -1686,6 +1695,7 @@
+
@@ -1745,6 +1755,7 @@
+
@@ -1893,6 +1904,7 @@
+
@@ -2123,6 +2135,7 @@
+
@@ -2245,6 +2258,7 @@
+
@@ -2306,6 +2320,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index 2717a2cde..ddb2f8056 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -33,6 +33,7 @@
+
@@ -85,6 +86,7 @@
+
@@ -139,6 +141,7 @@
+
@@ -636,6 +639,7 @@
+
@@ -767,6 +771,7 @@
+
@@ -862,6 +867,7 @@
+
@@ -940,6 +946,7 @@
+
@@ -1096,6 +1103,7 @@
+
@@ -1186,6 +1194,7 @@
+
@@ -1274,6 +1283,7 @@
+
@@ -1399,6 +1409,7 @@
+
@@ -1481,6 +1492,7 @@
+
@@ -1574,6 +1586,7 @@
+
@@ -1631,6 +1644,7 @@
+
@@ -1681,6 +1695,7 @@
+
@@ -1958,6 +1973,7 @@
+
@@ -2139,6 +2155,7 @@
+
@@ -2437,6 +2454,7 @@
+
@@ -2573,6 +2591,7 @@
+
@@ -5652,6 +5671,7 @@
+
@@ -5735,6 +5755,7 @@
+
@@ -5953,6 +5974,7 @@
+
@@ -6111,6 +6133,7 @@
+
@@ -6390,6 +6413,7 @@
+
@@ -6982,6 +7006,7 @@
+
@@ -7035,6 +7060,7 @@
+
@@ -7087,6 +7113,7 @@
+
@@ -7139,6 +7166,7 @@
+
@@ -7191,6 +7219,7 @@
+
@@ -7269,6 +7298,7 @@
+
@@ -7355,6 +7385,7 @@
+
@@ -7967,6 +7998,7 @@
+
@@ -8090,6 +8122,7 @@
+
@@ -8202,6 +8235,7 @@
+
@@ -8257,6 +8291,7 @@
+
@@ -8595,6 +8630,7 @@
+
@@ -8991,6 +9027,7 @@
+
@@ -9277,6 +9314,7 @@
+
@@ -9604,6 +9642,7 @@
+
@@ -9834,6 +9873,7 @@
+
@@ -10094,6 +10134,7 @@
+
@@ -10149,6 +10190,7 @@
+
@@ -10244,6 +10286,7 @@
+
@@ -10299,6 +10342,7 @@
+
@@ -10356,6 +10400,7 @@
+
@@ -10475,6 +10520,7 @@
+
@@ -10532,6 +10578,7 @@
+
@@ -10586,6 +10633,7 @@
+
@@ -10635,6 +10683,7 @@
+
@@ -10715,6 +10764,7 @@
+
@@ -10930,6 +10980,7 @@
+
@@ -11050,6 +11101,7 @@
+
@@ -11124,6 +11176,7 @@
+
@@ -11516,6 +11569,7 @@
+
@@ -11562,6 +11616,7 @@
+
@@ -11639,6 +11694,7 @@
+
@@ -11870,6 +11926,7 @@
+
@@ -11948,6 +12005,7 @@
+
@@ -12034,6 +12092,7 @@
+
@@ -12305,6 +12364,7 @@
+
@@ -12475,6 +12535,7 @@
+
@@ -12527,6 +12588,7 @@
+
@@ -12812,6 +12874,7 @@
+
@@ -12876,6 +12939,7 @@
+
@@ -13011,6 +13075,7 @@
+
@@ -13085,6 +13150,7 @@
+
@@ -13759,6 +13825,7 @@
+
@@ -13812,6 +13879,7 @@
+
@@ -13867,6 +13935,7 @@
+
@@ -13957,6 +14026,7 @@
+
@@ -14028,6 +14098,7 @@
+
@@ -14208,6 +14279,7 @@
+
@@ -14273,6 +14345,7 @@
+
@@ -14329,6 +14402,7 @@
+
@@ -14385,6 +14459,7 @@
+
@@ -14523,6 +14598,7 @@
+
@@ -14632,6 +14708,7 @@
+
@@ -14843,6 +14920,7 @@
+
@@ -15196,6 +15274,7 @@
+
@@ -15607,6 +15686,7 @@
+
@@ -15668,6 +15748,7 @@
+
@@ -15780,6 +15861,7 @@
+
@@ -16055,6 +16137,7 @@
+
@@ -16147,6 +16230,7 @@
+
@@ -16238,6 +16322,7 @@
+
@@ -16324,6 +16409,7 @@
+
@@ -17120,6 +17206,7 @@
+
@@ -17173,6 +17260,7 @@
+
@@ -17267,6 +17355,7 @@
+
@@ -17371,6 +17460,7 @@
+
@@ -17504,6 +17594,7 @@
+
@@ -17739,6 +17830,7 @@
+
@@ -17838,6 +17930,7 @@
+
@@ -17899,6 +17992,7 @@
+
@@ -18068,6 +18162,7 @@
+
@@ -18171,6 +18266,7 @@
+
@@ -18242,6 +18338,7 @@
+
@@ -18602,6 +18699,7 @@
+
@@ -18668,6 +18766,7 @@
+
@@ -18726,6 +18825,7 @@
+
@@ -18781,6 +18881,7 @@
+
@@ -18915,6 +19016,7 @@
+
@@ -19054,6 +19156,7 @@
+
@@ -19158,6 +19261,7 @@
+
@@ -19214,6 +19318,7 @@
+
@@ -19268,6 +19373,7 @@
+
@@ -19326,6 +19432,7 @@
+
@@ -19385,6 +19492,7 @@
+
@@ -19446,6 +19554,7 @@
+
@@ -19505,6 +19614,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
index ecdf08174..01d7c4fdc 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_MsSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
@@ -20,6 +20,7 @@
+
@@ -68,6 +69,7 @@
+
@@ -111,6 +113,7 @@
+
@@ -669,6 +672,7 @@
+
@@ -809,6 +813,7 @@
+
@@ -896,6 +901,7 @@
+
@@ -974,6 +980,7 @@
+
@@ -1121,6 +1128,7 @@
+
@@ -1231,6 +1239,7 @@
+
@@ -1320,6 +1329,7 @@
+
@@ -1449,6 +1459,7 @@
+
@@ -1544,6 +1555,7 @@
+
@@ -1658,6 +1670,7 @@
+
@@ -1709,6 +1722,7 @@
+
@@ -1760,6 +1774,7 @@
+
@@ -2086,6 +2101,7 @@
+
@@ -2270,6 +2286,7 @@
+
@@ -2590,6 +2607,7 @@
+
@@ -2773,6 +2791,7 @@
+
@@ -8611,6 +8630,7 @@
+
@@ -8685,6 +8705,7 @@
+
@@ -8898,6 +8919,7 @@
+
@@ -9094,6 +9116,7 @@
+
@@ -9410,6 +9433,7 @@
+
@@ -10514,6 +10538,7 @@
+
@@ -10556,6 +10581,7 @@
+
@@ -10597,6 +10623,7 @@
+
@@ -10637,6 +10664,7 @@
+
@@ -10678,6 +10706,7 @@
+
@@ -10756,6 +10785,7 @@
+
@@ -10838,6 +10868,7 @@
+
@@ -11489,6 +11520,7 @@
+
@@ -11627,6 +11659,7 @@
+
@@ -11737,6 +11770,7 @@
+
@@ -11843,6 +11877,7 @@
+
@@ -12218,6 +12253,7 @@
+
@@ -12637,6 +12673,7 @@
+
@@ -12954,6 +12991,7 @@
+
@@ -13300,6 +13338,7 @@
+
@@ -13548,6 +13587,7 @@
+
@@ -13890,6 +13930,7 @@
+
@@ -13936,6 +13977,7 @@
+
@@ -14066,6 +14108,7 @@
+
@@ -14111,6 +14154,7 @@
+
@@ -14157,6 +14201,7 @@
+
@@ -14272,6 +14317,7 @@
+
@@ -14318,6 +14364,7 @@
+
@@ -14364,6 +14411,7 @@
+
@@ -14410,6 +14458,7 @@
+
@@ -14489,6 +14538,7 @@
+
@@ -14729,6 +14779,7 @@
+
@@ -14856,6 +14907,7 @@
+
@@ -14932,6 +14984,7 @@
+
@@ -15372,6 +15425,7 @@
+
@@ -15433,6 +15487,7 @@
+
@@ -15504,6 +15559,7 @@
+
@@ -15808,6 +15864,7 @@
+
@@ -15886,6 +15943,7 @@
+
@@ -15968,6 +16026,7 @@
+
@@ -16242,6 +16301,7 @@
+
@@ -16417,6 +16477,7 @@
+
@@ -16572,6 +16633,7 @@
+
@@ -16953,6 +17015,7 @@
+
@@ -17005,6 +17068,7 @@
+
@@ -17159,6 +17223,7 @@
+
@@ -17235,6 +17300,7 @@
+
@@ -18125,6 +18191,7 @@
+
@@ -18168,6 +18235,7 @@
+
@@ -18211,6 +18279,7 @@
+
@@ -18291,6 +18360,7 @@
+
@@ -18353,6 +18423,7 @@
+
@@ -18528,6 +18599,7 @@
+
@@ -18600,6 +18672,7 @@
+
@@ -18645,6 +18718,7 @@
+
@@ -18689,6 +18763,7 @@
+
@@ -18821,6 +18896,7 @@
+
@@ -18924,6 +19000,7 @@
+
@@ -19333,6 +19410,7 @@
+
@@ -19714,6 +19792,7 @@
+
@@ -20169,6 +20248,7 @@
+
@@ -20220,6 +20300,7 @@
+
@@ -20315,6 +20396,7 @@
+
@@ -20604,6 +20686,7 @@
+
@@ -20698,6 +20781,7 @@
+
@@ -20793,6 +20877,7 @@
+
@@ -20871,6 +20956,7 @@
+
@@ -21744,6 +21830,7 @@
+
@@ -21788,6 +21875,7 @@
+
@@ -21882,6 +21970,7 @@
+
@@ -21984,6 +22073,7 @@
+
@@ -22122,6 +22212,7 @@
+
@@ -22368,6 +22459,7 @@
+
@@ -22457,6 +22549,7 @@
+
@@ -22512,6 +22605,7 @@
+
@@ -22684,6 +22778,7 @@
+
@@ -22780,6 +22875,7 @@
+
@@ -22879,6 +22975,7 @@
+
@@ -23252,6 +23349,7 @@
+
@@ -23356,6 +23454,7 @@
+
@@ -23400,6 +23499,7 @@
+
@@ -23443,6 +23543,7 @@
+
@@ -23576,6 +23677,7 @@
+
@@ -23703,6 +23805,7 @@
+
@@ -23833,6 +23936,7 @@
+
@@ -23876,6 +23980,7 @@
+
@@ -23918,6 +24023,7 @@
+
@@ -23978,6 +24084,7 @@
+
@@ -24024,6 +24131,7 @@
+
@@ -24091,6 +24199,7 @@
+
@@ -24136,6 +24245,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index 889a8311f..02fb10ebb 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -33,6 +33,7 @@
+
@@ -85,6 +86,7 @@
+
@@ -139,6 +141,7 @@
+
@@ -636,6 +639,7 @@
+
@@ -767,6 +771,7 @@
+
@@ -862,6 +867,7 @@
+
@@ -940,6 +946,7 @@
+
@@ -1096,6 +1103,7 @@
+
@@ -1186,6 +1194,7 @@
+
@@ -1274,6 +1283,7 @@
+
@@ -1399,6 +1409,7 @@
+
@@ -1481,6 +1492,7 @@
+
@@ -1574,6 +1586,7 @@
+
@@ -1631,6 +1644,7 @@
+
@@ -1681,6 +1695,7 @@
+
@@ -1958,6 +1973,7 @@
+
@@ -2139,6 +2155,7 @@
+
@@ -2437,6 +2454,7 @@
+
@@ -2573,6 +2591,7 @@
+
@@ -5652,6 +5671,7 @@
+
@@ -5735,6 +5755,7 @@
+
@@ -5953,6 +5974,7 @@
+
@@ -6111,6 +6133,7 @@
+
@@ -6390,6 +6413,7 @@
+
@@ -6982,6 +7006,7 @@
+
@@ -7035,6 +7060,7 @@
+
@@ -7087,6 +7113,7 @@
+
@@ -7139,6 +7166,7 @@
+
@@ -7191,6 +7219,7 @@
+
@@ -7269,6 +7298,7 @@
+
@@ -7355,6 +7385,7 @@
+
@@ -7967,6 +7998,7 @@
+
@@ -8090,6 +8122,7 @@
+
@@ -8202,6 +8235,7 @@
+
@@ -8257,6 +8291,7 @@
+
@@ -8595,6 +8630,7 @@
+
@@ -8991,6 +9027,7 @@
+
@@ -9277,6 +9314,7 @@
+
@@ -9604,6 +9642,7 @@
+
@@ -9834,6 +9873,7 @@
+
@@ -10094,6 +10134,7 @@
+
@@ -10149,6 +10190,7 @@
+
@@ -10244,6 +10286,7 @@
+
@@ -10299,6 +10342,7 @@
+
@@ -10356,6 +10400,7 @@
+
@@ -10475,6 +10520,7 @@
+
@@ -10532,6 +10578,7 @@
+
@@ -10586,6 +10633,7 @@
+
@@ -10635,6 +10683,7 @@
+
@@ -10715,6 +10764,7 @@
+
@@ -10930,6 +10980,7 @@
+
@@ -11050,6 +11101,7 @@
+
@@ -11124,6 +11176,7 @@
+
@@ -11516,6 +11569,7 @@
+
@@ -11562,6 +11616,7 @@
+
@@ -11639,6 +11694,7 @@
+
@@ -11870,6 +11926,7 @@
+
@@ -11948,6 +12005,7 @@
+
@@ -12034,6 +12092,7 @@
+
@@ -12305,6 +12364,7 @@
+
@@ -12475,6 +12535,7 @@
+
@@ -12527,6 +12588,7 @@
+
@@ -12812,6 +12874,7 @@
+
@@ -12876,6 +12939,7 @@
+
@@ -13011,6 +13075,7 @@
+
@@ -13085,6 +13150,7 @@
+
@@ -13759,6 +13825,7 @@
+
@@ -13812,6 +13879,7 @@
+
@@ -13867,6 +13935,7 @@
+
@@ -13957,6 +14026,7 @@
+
@@ -14028,6 +14098,7 @@
+
@@ -14208,6 +14279,7 @@
+
@@ -14273,6 +14345,7 @@
+
@@ -14329,6 +14402,7 @@
+
@@ -14385,6 +14459,7 @@
+
@@ -14523,6 +14598,7 @@
+
@@ -14632,6 +14708,7 @@
+
@@ -14843,6 +14920,7 @@
+
@@ -15196,6 +15274,7 @@
+
@@ -15607,6 +15686,7 @@
+
@@ -15668,6 +15748,7 @@
+
@@ -15780,6 +15861,7 @@
+
@@ -16055,6 +16137,7 @@
+
@@ -16147,6 +16230,7 @@
+
@@ -16238,6 +16322,7 @@
+
@@ -16324,6 +16409,7 @@
+
@@ -17120,6 +17206,7 @@
+
@@ -17173,6 +17260,7 @@
+
@@ -17267,6 +17355,7 @@
+
@@ -17371,6 +17460,7 @@
+
@@ -17504,6 +17594,7 @@
+
@@ -17739,6 +17830,7 @@
+
@@ -17838,6 +17930,7 @@
+
@@ -17899,6 +17992,7 @@
+
@@ -18068,6 +18162,7 @@
+
@@ -18171,6 +18266,7 @@
+
@@ -18242,6 +18338,7 @@
+
@@ -18602,6 +18699,7 @@
+
@@ -18668,6 +18766,7 @@
+
@@ -18726,6 +18825,7 @@
+
@@ -18781,6 +18881,7 @@
+
@@ -18915,6 +19016,7 @@
+
@@ -19054,6 +19156,7 @@
+
@@ -19158,6 +19261,7 @@
+
@@ -19214,6 +19318,7 @@
+
@@ -19268,6 +19373,7 @@
+
@@ -19326,6 +19432,7 @@
+
@@ -19385,6 +19492,7 @@
+
@@ -19446,6 +19554,7 @@
+
@@ -19505,6 +19614,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
index 6817c488d..24f4a017d 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_EntityOrmMappings_PgSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
@@ -20,6 +20,7 @@
+
@@ -68,6 +69,7 @@
+
@@ -111,6 +113,7 @@
+
@@ -669,6 +672,7 @@
+
@@ -809,6 +813,7 @@
+
@@ -896,6 +901,7 @@
+
@@ -974,6 +980,7 @@
+
@@ -1121,6 +1128,7 @@
+
@@ -1231,6 +1239,7 @@
+
@@ -1320,6 +1329,7 @@
+
@@ -1449,6 +1459,7 @@
+
@@ -1544,6 +1555,7 @@
+
@@ -1658,6 +1670,7 @@
+
@@ -1709,6 +1722,7 @@
+
@@ -1760,6 +1774,7 @@
+
@@ -2086,6 +2101,7 @@
+
@@ -2270,6 +2286,7 @@
+
@@ -2590,6 +2607,7 @@
+
@@ -2773,6 +2791,7 @@
+
@@ -8611,6 +8630,7 @@
+
@@ -8685,6 +8705,7 @@
+
@@ -8898,6 +8919,7 @@
+
@@ -9094,6 +9116,7 @@
+
@@ -9410,6 +9433,7 @@
+
@@ -10514,6 +10538,7 @@
+
@@ -10556,6 +10581,7 @@
+
@@ -10597,6 +10623,7 @@
+
@@ -10637,6 +10664,7 @@
+
@@ -10678,6 +10706,7 @@
+
@@ -10756,6 +10785,7 @@
+
@@ -10838,6 +10868,7 @@
+
@@ -11489,6 +11520,7 @@
+
@@ -11627,6 +11659,7 @@
+
@@ -11737,6 +11770,7 @@
+
@@ -11843,6 +11877,7 @@
+
@@ -12218,6 +12253,7 @@
+
@@ -12637,6 +12673,7 @@
+
@@ -12954,6 +12991,7 @@
+
@@ -13300,6 +13338,7 @@
+
@@ -13548,6 +13587,7 @@
+
@@ -13890,6 +13930,7 @@
+
@@ -13936,6 +13977,7 @@
+
@@ -14066,6 +14108,7 @@
+
@@ -14111,6 +14154,7 @@
+
@@ -14157,6 +14201,7 @@
+
@@ -14272,6 +14317,7 @@
+
@@ -14318,6 +14364,7 @@
+
@@ -14364,6 +14411,7 @@
+
@@ -14410,6 +14458,7 @@
+
@@ -14489,6 +14538,7 @@
+
@@ -14729,6 +14779,7 @@
+
@@ -14856,6 +14907,7 @@
+
@@ -14932,6 +14984,7 @@
+
@@ -15372,6 +15425,7 @@
+
@@ -15433,6 +15487,7 @@
+
@@ -15504,6 +15559,7 @@
+
@@ -15808,6 +15864,7 @@
+
@@ -15886,6 +15943,7 @@
+
@@ -15968,6 +16026,7 @@
+
@@ -16242,6 +16301,7 @@
+
@@ -16417,6 +16477,7 @@
+
@@ -16572,6 +16633,7 @@
+
@@ -16953,6 +17015,7 @@
+
@@ -17005,6 +17068,7 @@
+
@@ -17159,6 +17223,7 @@
+
@@ -17235,6 +17300,7 @@
+
@@ -18125,6 +18191,7 @@
+
@@ -18168,6 +18235,7 @@
+
@@ -18211,6 +18279,7 @@
+
@@ -18291,6 +18360,7 @@
+
@@ -18353,6 +18423,7 @@
+
@@ -18528,6 +18599,7 @@
+
@@ -18600,6 +18672,7 @@
+
@@ -18645,6 +18718,7 @@
+
@@ -18689,6 +18763,7 @@
+
@@ -18821,6 +18896,7 @@
+
@@ -18924,6 +19000,7 @@
+
@@ -19333,6 +19410,7 @@
+
@@ -19714,6 +19792,7 @@
+
@@ -20169,6 +20248,7 @@
+
@@ -20220,6 +20300,7 @@
+
@@ -20315,6 +20396,7 @@
+
@@ -20604,6 +20686,7 @@
+
@@ -20698,6 +20781,7 @@
+
@@ -20793,6 +20877,7 @@
+
@@ -20871,6 +20956,7 @@
+
@@ -21744,6 +21830,7 @@
+
@@ -21788,6 +21875,7 @@
+
@@ -21882,6 +21970,7 @@
+
@@ -21984,6 +22073,7 @@
+
@@ -22122,6 +22212,7 @@
+
@@ -22368,6 +22459,7 @@
+
@@ -22457,6 +22549,7 @@
+
@@ -22512,6 +22605,7 @@
+
@@ -22684,6 +22778,7 @@
+
@@ -22780,6 +22875,7 @@
+
@@ -22879,6 +22975,7 @@
+
@@ -23252,6 +23349,7 @@
+
@@ -23356,6 +23454,7 @@
+
@@ -23400,6 +23499,7 @@
+
@@ -23443,6 +23543,7 @@
+
@@ -23576,6 +23677,7 @@
+
@@ -23703,6 +23805,7 @@
+
@@ -23833,6 +23936,7 @@
+
@@ -23876,6 +23980,7 @@
+
@@ -23918,6 +24023,7 @@
+
@@ -23978,6 +24084,7 @@
+
@@ -24024,6 +24131,7 @@
+
@@ -24091,6 +24199,7 @@
+
@@ -24136,6 +24245,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index 3206f2ac5..4dab3eb6f 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -33,6 +33,7 @@
+
@@ -154,6 +155,7 @@
+
@@ -194,6 +196,7 @@
+
@@ -270,6 +273,7 @@
+
@@ -314,6 +318,7 @@
+
@@ -435,6 +440,7 @@
+
@@ -523,6 +529,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index 3206f2ac5..4dab3eb6f 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -33,6 +33,7 @@
+
@@ -154,6 +155,7 @@
+
@@ -194,6 +196,7 @@
+
@@ -270,6 +273,7 @@
+
@@ -314,6 +318,7 @@
+
@@ -435,6 +440,7 @@
+
@@ -523,6 +529,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index 74e348d0c..6ee82bf77 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
@@ -73,6 +74,7 @@
+
@@ -1492,6 +1494,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index 0f7045766..177cb6d52 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
@@ -73,6 +74,7 @@
+
@@ -1492,6 +1494,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index 2968f4dcd..f5dcc57d8 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index 2968f4dcd..f5dcc57d8 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index 7730fc13c..dc1bdfc03 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
@@ -499,6 +500,7 @@
+
@@ -711,6 +713,7 @@
+
@@ -805,6 +808,7 @@
+
@@ -921,6 +925,7 @@
+
@@ -1048,6 +1053,7 @@
+
@@ -1188,6 +1194,7 @@
+
@@ -1311,6 +1318,7 @@
+
@@ -1448,6 +1456,7 @@
+
@@ -1690,6 +1699,7 @@
+
@@ -1749,6 +1759,7 @@
+
@@ -1897,6 +1908,7 @@
+
@@ -2127,6 +2139,7 @@
+
@@ -2249,6 +2262,7 @@
+
@@ -2310,6 +2324,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index 6eb14fac4..f0b0e2ace 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -29,6 +29,7 @@
+
@@ -499,6 +500,7 @@
+
@@ -711,6 +713,7 @@
+
@@ -805,6 +808,7 @@
+
@@ -921,6 +925,7 @@
+
@@ -1048,6 +1053,7 @@
+
@@ -1188,6 +1194,7 @@
+
@@ -1311,6 +1318,7 @@
+
@@ -1448,6 +1456,7 @@
+
@@ -1690,6 +1699,7 @@
+
@@ -1749,6 +1759,7 @@
+
@@ -1897,6 +1908,7 @@
+
@@ -2127,6 +2139,7 @@
+
@@ -2249,6 +2262,7 @@
+
@@ -2310,6 +2324,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
index 04442a441..58a52bd61 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -33,6 +33,7 @@
+
@@ -85,6 +86,7 @@
+
@@ -139,6 +141,7 @@
+
@@ -636,6 +639,7 @@
+
@@ -767,6 +771,7 @@
+
@@ -862,6 +867,7 @@
+
@@ -940,6 +946,7 @@
+
@@ -1096,6 +1103,7 @@
+
@@ -1186,6 +1194,7 @@
+
@@ -1274,6 +1283,7 @@
+
@@ -1399,6 +1409,7 @@
+
@@ -1481,6 +1492,7 @@
+
@@ -1574,6 +1586,7 @@
+
@@ -1631,6 +1644,7 @@
+
@@ -1677,6 +1691,7 @@
+
@@ -2072,6 +2087,7 @@
+
@@ -2343,6 +2359,7 @@
+
@@ -2524,6 +2541,7 @@
+
@@ -2927,6 +2945,7 @@
+
@@ -3074,6 +3093,7 @@
+
@@ -3107,6 +3127,7 @@
+
@@ -6490,6 +6511,7 @@
+
@@ -6573,6 +6595,7 @@
+
@@ -6749,6 +6772,7 @@
+
@@ -6903,6 +6927,7 @@
+
@@ -7182,6 +7207,7 @@
+
@@ -7774,6 +7800,7 @@
+
@@ -7827,6 +7854,7 @@
+
@@ -7879,6 +7907,7 @@
+
@@ -7941,6 +7970,7 @@
+
@@ -7999,6 +8029,7 @@
+
@@ -8051,6 +8082,7 @@
+
@@ -8129,6 +8161,7 @@
+
@@ -8215,6 +8248,7 @@
+
@@ -8749,6 +8783,7 @@
+
@@ -8873,6 +8908,7 @@
+
@@ -8985,6 +9021,7 @@
+
@@ -9041,6 +9078,7 @@
+
@@ -9379,6 +9417,7 @@
+
@@ -9775,6 +9814,7 @@
+
@@ -10061,6 +10101,7 @@
+
@@ -10384,6 +10425,7 @@
+
@@ -10610,6 +10652,7 @@
+
@@ -10665,6 +10708,7 @@
+
@@ -10760,6 +10804,7 @@
+
@@ -10815,6 +10860,7 @@
+
@@ -10872,6 +10918,7 @@
+
@@ -10991,6 +11038,7 @@
+
@@ -11048,6 +11096,7 @@
+
@@ -11102,6 +11151,7 @@
+
@@ -11151,6 +11201,7 @@
+
@@ -11231,6 +11282,7 @@
+
@@ -11446,6 +11498,7 @@
+
@@ -11566,6 +11619,7 @@
+
@@ -11644,6 +11698,7 @@
+
@@ -11690,6 +11745,7 @@
+
@@ -11767,6 +11823,7 @@
+
@@ -11923,6 +11980,7 @@
+
@@ -12009,6 +12067,7 @@
+
@@ -12114,6 +12173,7 @@
+
@@ -12235,6 +12295,7 @@
+
@@ -12336,6 +12397,7 @@
+
@@ -12422,6 +12484,7 @@
+
@@ -12640,6 +12703,7 @@
+
@@ -12815,6 +12879,7 @@
+
@@ -12867,6 +12932,7 @@
+
@@ -13153,6 +13219,7 @@
+
@@ -13217,6 +13284,7 @@
+
@@ -13352,6 +13420,7 @@
+
@@ -13426,6 +13495,7 @@
+
@@ -14102,6 +14172,7 @@
+
@@ -14155,6 +14226,7 @@
+
@@ -14210,6 +14282,7 @@
+
@@ -14300,6 +14373,7 @@
+
@@ -14371,6 +14445,7 @@
+
@@ -14551,6 +14626,7 @@
+
@@ -14617,6 +14693,7 @@
+
@@ -14673,6 +14750,7 @@
+
@@ -14729,6 +14807,7 @@
+
@@ -14869,6 +14948,7 @@
+
@@ -14977,6 +15057,7 @@
+
@@ -15190,6 +15271,7 @@
+
@@ -15538,6 +15620,7 @@
+
@@ -15949,6 +16032,7 @@
+
@@ -16010,6 +16094,7 @@
+
@@ -16122,6 +16207,7 @@
+
@@ -16298,6 +16384,7 @@
+
@@ -16392,6 +16479,7 @@
+
@@ -16483,6 +16571,7 @@
+
@@ -16569,6 +16658,7 @@
+
@@ -17335,6 +17425,7 @@
+
@@ -17388,6 +17479,7 @@
+
@@ -17448,6 +17540,7 @@
+
@@ -17673,6 +17766,7 @@
+
@@ -17777,6 +17871,7 @@
+
@@ -18006,6 +18101,7 @@
+
@@ -18077,6 +18173,7 @@
+
@@ -18303,6 +18400,7 @@
+
@@ -18480,6 +18578,7 @@
+
@@ -18583,6 +18682,7 @@
+
@@ -18704,6 +18804,7 @@
+
@@ -19006,6 +19107,7 @@
+
@@ -19108,6 +19210,7 @@
+
@@ -19263,6 +19366,7 @@
+
@@ -19329,6 +19433,7 @@
+
@@ -19387,6 +19492,7 @@
+
@@ -19442,6 +19548,7 @@
+
@@ -19576,6 +19683,7 @@
+
@@ -19715,6 +19823,7 @@
+
@@ -19819,6 +19928,7 @@
+
@@ -19875,6 +19985,7 @@
+
@@ -19929,6 +20040,7 @@
+
@@ -19987,6 +20099,7 @@
+
@@ -20046,6 +20159,7 @@
+
@@ -20107,6 +20221,7 @@
+
@@ -20166,6 +20281,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
index 19fc3018e..7642c1ca5 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_MsSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
@@ -20,6 +20,7 @@
+
@@ -68,6 +69,7 @@
+
@@ -111,6 +113,7 @@
+
@@ -669,6 +672,7 @@
+
@@ -809,6 +813,7 @@
+
@@ -896,6 +901,7 @@
+
@@ -974,6 +980,7 @@
+
@@ -1121,6 +1128,7 @@
+
@@ -1231,6 +1239,7 @@
+
@@ -1320,6 +1329,7 @@
+
@@ -1449,6 +1459,7 @@
+
@@ -1544,6 +1555,7 @@
+
@@ -1658,6 +1670,7 @@
+
@@ -1709,6 +1722,7 @@
+
@@ -1758,6 +1772,7 @@
+
@@ -2201,6 +2216,7 @@
+
@@ -2521,6 +2537,7 @@
+
@@ -2705,6 +2722,7 @@
+
@@ -3130,6 +3148,7 @@
+
@@ -3313,6 +3332,7 @@
+
@@ -3358,6 +3378,7 @@
+
@@ -9591,6 +9612,7 @@
+
@@ -9665,6 +9687,7 @@
+
@@ -9836,6 +9859,7 @@
+
@@ -10028,6 +10052,7 @@
+
@@ -10344,6 +10369,7 @@
+
@@ -11476,6 +11502,7 @@
+
@@ -11518,6 +11545,7 @@
+
@@ -11559,6 +11587,7 @@
+
@@ -11604,6 +11633,7 @@
+
@@ -11653,6 +11683,7 @@
+
@@ -11694,6 +11725,7 @@
+
@@ -11772,6 +11804,7 @@
+
@@ -11854,6 +11887,7 @@
+
@@ -12425,6 +12459,7 @@
+
@@ -12564,6 +12599,7 @@
+
@@ -12674,6 +12710,7 @@
+
@@ -12771,6 +12808,7 @@
+
@@ -13146,6 +13184,7 @@
+
@@ -13565,6 +13604,7 @@
+
@@ -13882,6 +13922,7 @@
+
@@ -14226,6 +14267,7 @@
+
@@ -14520,6 +14562,7 @@
+
@@ -14566,6 +14609,7 @@
+
@@ -14696,6 +14740,7 @@
+
@@ -14741,6 +14786,7 @@
+
@@ -14787,6 +14833,7 @@
+
@@ -14902,6 +14949,7 @@
+
@@ -14948,6 +14996,7 @@
+
@@ -14994,6 +15043,7 @@
+
@@ -15040,6 +15090,7 @@
+
@@ -15119,6 +15170,7 @@
+
@@ -15359,6 +15411,7 @@
+
@@ -15486,6 +15539,7 @@
+
@@ -15564,6 +15618,7 @@
+
@@ -15625,6 +15680,7 @@
+
@@ -15696,6 +15752,7 @@
+
@@ -15958,6 +16015,7 @@
+
@@ -16040,6 +16098,7 @@
+
@@ -16174,6 +16233,7 @@
+
@@ -16308,6 +16368,7 @@
+
@@ -16427,6 +16488,7 @@
+
@@ -16509,6 +16571,7 @@
+
@@ -16730,6 +16793,7 @@
+
@@ -16910,6 +16974,7 @@
+
@@ -17065,6 +17130,7 @@
+
@@ -17461,6 +17527,7 @@
+
@@ -17513,6 +17580,7 @@
+
@@ -17667,6 +17735,7 @@
+
@@ -17743,6 +17812,7 @@
+
@@ -18639,6 +18709,7 @@
+
@@ -18682,6 +18753,7 @@
+
@@ -18725,6 +18797,7 @@
+
@@ -18805,6 +18878,7 @@
+
@@ -18867,6 +18941,7 @@
+
@@ -19042,6 +19117,7 @@
+
@@ -19115,6 +19191,7 @@
+
@@ -19160,6 +19237,7 @@
+
@@ -19204,6 +19282,7 @@
+
@@ -19337,6 +19416,7 @@
+
@@ -19439,6 +19519,7 @@
+
@@ -19864,6 +19945,7 @@
+
@@ -20240,6 +20322,7 @@
+
@@ -20695,6 +20778,7 @@
+
@@ -20746,6 +20830,7 @@
+
@@ -20841,6 +20926,7 @@
+
@@ -21023,6 +21109,7 @@
+
@@ -21110,6 +21197,7 @@
+
@@ -21205,6 +21293,7 @@
+
@@ -21283,6 +21372,7 @@
+
@@ -22123,6 +22213,7 @@
+
@@ -22167,6 +22258,7 @@
+
@@ -22225,6 +22317,7 @@
+
@@ -22447,6 +22540,7 @@
+
@@ -22549,6 +22643,7 @@
+
@@ -22792,6 +22887,7 @@
+
@@ -22852,6 +22948,7 @@
+
@@ -23075,6 +23172,7 @@
+
@@ -23264,6 +23362,7 @@
+
@@ -23360,6 +23459,7 @@
+
@@ -23496,6 +23596,7 @@
+
@@ -23802,6 +23903,7 @@
+
@@ -23908,6 +24010,7 @@
+
@@ -24061,6 +24164,7 @@
+
@@ -24165,6 +24269,7 @@
+
@@ -24209,6 +24314,7 @@
+
@@ -24252,6 +24358,7 @@
+
@@ -24385,6 +24492,7 @@
+
@@ -24512,6 +24620,7 @@
+
@@ -24642,6 +24751,7 @@
+
@@ -24685,6 +24795,7 @@
+
@@ -24727,6 +24838,7 @@
+
@@ -24787,6 +24899,7 @@
+
@@ -24833,6 +24946,7 @@
+
@@ -24900,6 +25014,7 @@
+
@@ -24945,6 +25060,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
index ca180a88a..24f1cb49f 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappings.generated.hbm.approved.xml
@@ -33,6 +33,7 @@
+
@@ -85,6 +86,7 @@
+
@@ -139,6 +141,7 @@
+
@@ -636,6 +639,7 @@
+
@@ -767,6 +771,7 @@
+
@@ -862,6 +867,7 @@
+
@@ -940,6 +946,7 @@
+
@@ -1096,6 +1103,7 @@
+
@@ -1186,6 +1194,7 @@
+
@@ -1274,6 +1283,7 @@
+
@@ -1399,6 +1409,7 @@
+
@@ -1481,6 +1492,7 @@
+
@@ -1574,6 +1586,7 @@
+
@@ -1631,6 +1644,7 @@
+
@@ -1677,6 +1691,7 @@
+
@@ -2072,6 +2087,7 @@
+
@@ -2343,6 +2359,7 @@
+
@@ -2524,6 +2541,7 @@
+
@@ -2927,6 +2945,7 @@
+
@@ -3074,6 +3093,7 @@
+
@@ -3107,6 +3127,7 @@
+
@@ -6490,6 +6511,7 @@
+
@@ -6573,6 +6595,7 @@
+
@@ -6749,6 +6772,7 @@
+
@@ -6903,6 +6927,7 @@
+
@@ -7182,6 +7207,7 @@
+
@@ -7774,6 +7800,7 @@
+
@@ -7827,6 +7854,7 @@
+
@@ -7879,6 +7907,7 @@
+
@@ -7941,6 +7970,7 @@
+
@@ -7999,6 +8029,7 @@
+
@@ -8051,6 +8082,7 @@
+
@@ -8129,6 +8161,7 @@
+
@@ -8215,6 +8248,7 @@
+
@@ -8749,6 +8783,7 @@
+
@@ -8873,6 +8908,7 @@
+
@@ -8985,6 +9021,7 @@
+
@@ -9041,6 +9078,7 @@
+
@@ -9379,6 +9417,7 @@
+
@@ -9775,6 +9814,7 @@
+
@@ -10061,6 +10101,7 @@
+
@@ -10384,6 +10425,7 @@
+
@@ -10610,6 +10652,7 @@
+
@@ -10665,6 +10708,7 @@
+
@@ -10760,6 +10804,7 @@
+
@@ -10815,6 +10860,7 @@
+
@@ -10872,6 +10918,7 @@
+
@@ -10991,6 +11038,7 @@
+
@@ -11048,6 +11096,7 @@
+
@@ -11102,6 +11151,7 @@
+
@@ -11151,6 +11201,7 @@
+
@@ -11231,6 +11282,7 @@
+
@@ -11446,6 +11498,7 @@
+
@@ -11566,6 +11619,7 @@
+
@@ -11644,6 +11698,7 @@
+
@@ -11690,6 +11745,7 @@
+
@@ -11767,6 +11823,7 @@
+
@@ -11923,6 +11980,7 @@
+
@@ -12009,6 +12067,7 @@
+
@@ -12114,6 +12173,7 @@
+
@@ -12235,6 +12295,7 @@
+
@@ -12336,6 +12397,7 @@
+
@@ -12422,6 +12484,7 @@
+
@@ -12640,6 +12703,7 @@
+
@@ -12815,6 +12879,7 @@
+
@@ -12867,6 +12932,7 @@
+
@@ -13153,6 +13219,7 @@
+
@@ -13217,6 +13284,7 @@
+
@@ -13352,6 +13420,7 @@
+
@@ -13426,6 +13495,7 @@
+
@@ -14102,6 +14172,7 @@
+
@@ -14155,6 +14226,7 @@
+
@@ -14210,6 +14282,7 @@
+
@@ -14300,6 +14373,7 @@
+
@@ -14371,6 +14445,7 @@
+
@@ -14551,6 +14626,7 @@
+
@@ -14617,6 +14693,7 @@
+
@@ -14673,6 +14750,7 @@
+
@@ -14729,6 +14807,7 @@
+
@@ -14869,6 +14948,7 @@
+
@@ -14977,6 +15057,7 @@
+
@@ -15190,6 +15271,7 @@
+
@@ -15538,6 +15620,7 @@
+
@@ -15949,6 +16032,7 @@
+
@@ -16010,6 +16094,7 @@
+
@@ -16122,6 +16207,7 @@
+
@@ -16298,6 +16384,7 @@
+
@@ -16392,6 +16479,7 @@
+
@@ -16483,6 +16571,7 @@
+
@@ -16569,6 +16658,7 @@
+
@@ -17335,6 +17425,7 @@
+
@@ -17388,6 +17479,7 @@
+
@@ -17448,6 +17540,7 @@
+
@@ -17673,6 +17766,7 @@
+
@@ -17777,6 +17871,7 @@
+
@@ -18006,6 +18101,7 @@
+
@@ -18077,6 +18173,7 @@
+
@@ -18303,6 +18400,7 @@
+
@@ -18480,6 +18578,7 @@
+
@@ -18583,6 +18682,7 @@
+
@@ -18704,6 +18804,7 @@
+
@@ -19006,6 +19107,7 @@
+
@@ -19108,6 +19210,7 @@
+
@@ -19263,6 +19366,7 @@
+
@@ -19329,6 +19433,7 @@
+
@@ -19387,6 +19492,7 @@
+
@@ -19442,6 +19548,7 @@
+
@@ -19576,6 +19683,7 @@
+
@@ -19715,6 +19823,7 @@
+
@@ -19819,6 +19928,7 @@
+
@@ -19875,6 +19985,7 @@
+
@@ -19929,6 +20040,7 @@
+
@@ -19987,6 +20099,7 @@
+
@@ -20046,6 +20159,7 @@
+
@@ -20107,6 +20221,7 @@
+
@@ -20166,6 +20281,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
index 10778009b..b6a23ad51 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.2.0/DataStandard_520_ApprovalTests.Verify.Standard_Std_5.2.0_EntityOrmMappings_PgSql_EntityOrmMappingsForQueries.generated.hbm.approved.xml
@@ -20,6 +20,7 @@
+
@@ -68,6 +69,7 @@
+
@@ -111,6 +113,7 @@
+
@@ -669,6 +672,7 @@
+
@@ -809,6 +813,7 @@
+
@@ -896,6 +901,7 @@
+
@@ -974,6 +980,7 @@
+
@@ -1121,6 +1128,7 @@
+
@@ -1231,6 +1239,7 @@
+
@@ -1320,6 +1329,7 @@
+
@@ -1449,6 +1459,7 @@
+
@@ -1544,6 +1555,7 @@
+
@@ -1658,6 +1670,7 @@
+
@@ -1709,6 +1722,7 @@
+
@@ -1758,6 +1772,7 @@
+
@@ -2201,6 +2216,7 @@
+
@@ -2521,6 +2537,7 @@
+
@@ -2705,6 +2722,7 @@
+
@@ -3130,6 +3148,7 @@
+
@@ -3313,6 +3332,7 @@
+
@@ -3358,6 +3378,7 @@
+
@@ -9591,6 +9612,7 @@
+
@@ -9665,6 +9687,7 @@
+
@@ -9836,6 +9859,7 @@
+
@@ -10028,6 +10052,7 @@
+
@@ -10344,6 +10369,7 @@
+
@@ -11476,6 +11502,7 @@
+
@@ -11518,6 +11545,7 @@
+
@@ -11559,6 +11587,7 @@
+
@@ -11604,6 +11633,7 @@
+
@@ -11653,6 +11683,7 @@
+
@@ -11694,6 +11725,7 @@
+
@@ -11772,6 +11804,7 @@
+
@@ -11854,6 +11887,7 @@
+
@@ -12425,6 +12459,7 @@
+
@@ -12564,6 +12599,7 @@
+
@@ -12674,6 +12710,7 @@
+
@@ -12771,6 +12808,7 @@
+
@@ -13146,6 +13184,7 @@
+
@@ -13565,6 +13604,7 @@
+
@@ -13882,6 +13922,7 @@
+
@@ -14226,6 +14267,7 @@
+
@@ -14520,6 +14562,7 @@
+
@@ -14566,6 +14609,7 @@
+
@@ -14696,6 +14740,7 @@
+
@@ -14741,6 +14786,7 @@
+
@@ -14787,6 +14833,7 @@
+
@@ -14902,6 +14949,7 @@
+
@@ -14948,6 +14996,7 @@
+
@@ -14994,6 +15043,7 @@
+
@@ -15040,6 +15090,7 @@
+
@@ -15119,6 +15170,7 @@
+
@@ -15359,6 +15411,7 @@
+
@@ -15486,6 +15539,7 @@
+
@@ -15564,6 +15618,7 @@
+
@@ -15625,6 +15680,7 @@
+
@@ -15696,6 +15752,7 @@
+
@@ -15958,6 +16015,7 @@
+
@@ -16040,6 +16098,7 @@
+
@@ -16174,6 +16233,7 @@
+
@@ -16308,6 +16368,7 @@
+
@@ -16427,6 +16488,7 @@
+
@@ -16509,6 +16571,7 @@
+
@@ -16730,6 +16793,7 @@
+
@@ -16910,6 +16974,7 @@
+
@@ -17065,6 +17130,7 @@
+
@@ -17461,6 +17527,7 @@
+
@@ -17513,6 +17580,7 @@
+
@@ -17667,6 +17735,7 @@
+
@@ -17743,6 +17812,7 @@
+
@@ -18639,6 +18709,7 @@
+
@@ -18682,6 +18753,7 @@
+
@@ -18725,6 +18797,7 @@
+
@@ -18805,6 +18878,7 @@
+
@@ -18867,6 +18941,7 @@
+
@@ -19042,6 +19117,7 @@
+
@@ -19115,6 +19191,7 @@
+
@@ -19160,6 +19237,7 @@
+
@@ -19204,6 +19282,7 @@
+
@@ -19337,6 +19416,7 @@
+
@@ -19439,6 +19519,7 @@
+
@@ -19864,6 +19945,7 @@
+
@@ -20240,6 +20322,7 @@
+
@@ -20695,6 +20778,7 @@
+
@@ -20746,6 +20830,7 @@
+
@@ -20841,6 +20926,7 @@
+
@@ -21023,6 +21109,7 @@
+
@@ -21110,6 +21197,7 @@
+
@@ -21205,6 +21293,7 @@
+
@@ -21283,6 +21372,7 @@
+
@@ -22123,6 +22213,7 @@
+
@@ -22167,6 +22258,7 @@
+
@@ -22225,6 +22317,7 @@
+
@@ -22447,6 +22540,7 @@
+
@@ -22549,6 +22643,7 @@
+
@@ -22792,6 +22887,7 @@
+
@@ -22852,6 +22948,7 @@
+
@@ -23075,6 +23172,7 @@
+
@@ -23264,6 +23362,7 @@
+
@@ -23360,6 +23459,7 @@
+
@@ -23496,6 +23596,7 @@
+
@@ -23802,6 +23903,7 @@
+
@@ -23908,6 +24010,7 @@
+
@@ -24061,6 +24164,7 @@
+
@@ -24165,6 +24269,7 @@
+
@@ -24209,6 +24314,7 @@
+
@@ -24252,6 +24358,7 @@
+
@@ -24385,6 +24492,7 @@
+
@@ -24512,6 +24620,7 @@
+
@@ -24642,6 +24751,7 @@
+
@@ -24685,6 +24795,7 @@
+
@@ -24727,6 +24838,7 @@
+
@@ -24787,6 +24899,7 @@
+
@@ -24833,6 +24946,7 @@
+
@@ -24900,6 +25014,7 @@
+
@@ -24945,6 +25060,7 @@
+
diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityOrmMappings.mustache b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityOrmMappings.mustache
index 3102da9b9..59f80785c 100644
--- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityOrmMappings.mustache
+++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityOrmMappings.mustache
@@ -78,6 +78,7 @@
{{#IsAggregateRoot}}
+
{{/IsAggregateRoot}}