From bcea958dece5c88c1fac4e36051b7ac23e331eca Mon Sep 17 00:00:00 2001 From: Geoff McElhanon Date: Mon, 15 Jan 2024 12:54:12 -0600 Subject: [PATCH] [ODS-6139] Use Problem Details (RFC 9457) for reporting errors and validation errors (#903) --- .../Container/Modules/ApplicationModule.cs | 5 +- .../ModelStateKeyConverter.cs | 3 +- .../NonUniqueObjectExceptionTranslator.cs | 2 +- ...PostgresDuplicateKeyExceptionTranslator.cs | 2 +- .../PostgresForeignKeyExceptionTranslator.cs | 4 +- .../SqlServerConstraintExceptionTranslator.cs | 2 +- ...PrimaryKeyConstraintExceptionTranslator.cs | 2 +- ...SqlServerUniqueIndexExceptionTranslator.cs | 2 +- .../StaleObjectStateExceptionTranslator.cs | 2 +- .../EdFi.Ods.Api/Startup/OdsStartupBase.cs | 1 - .../EdFiProblemDetailsExceptionBase.cs | 23 +--- .../SnapshotsAreReadOnlyResult.cs | 2 - .../Redis/RedisPersonIdentifierMapCache.cs | 1 - .../ProfileContentTypeContextMiddleware.cs | 26 +--- .../Redis/IRedisConnectionProvider.cs | 9 ++ ...NonUniqueObjectExceptionTranslatorTests.cs | 2 +- ...resDuplicateKeyExceptionTranslatorTests.cs | 14 ++- ...tgresForeignKeyExceptionTranslatorTests.cs | 6 +- .../SqlServer/ExceptionTranslatorFixtures.cs | 14 +-- ...ryKeyConstraintExceptionTranslatorTests.cs | 4 +- ...taleObjectStateExceptionTranslatorTests.cs | 2 +- .../Providers/ETagProviderTests.cs | 1 - .../DataAnnotationsEntityValidatorTests.cs | 91 ++++++++++++++ ...uite ResponseTests.postman_collection.json | 3 +- ...gration Test Suite.postman_collection.json | 119 ------------------ ...ces_EntityInterfaces.generated.approved.cs | 10 +- ...ces_EntityInterfaces.generated.approved.cs | 6 - ...ces_EntityInterfaces.generated.approved.cs | 12 +- ...ces_EntityInterfaces.generated.approved.cs | 105 ---------------- ...ces_EntityInterfaces.generated.approved.cs | 10 +- ...ces_EntityInterfaces.generated.approved.cs | 3 - ...ces_EntityInterfaces.generated.approved.cs | 12 +- ...ces_EntityInterfaces.generated.approved.cs | 93 -------------- .../Generators/EntityInterfaces.cs | 107 +++++++--------- 34 files changed, 197 insertions(+), 503 deletions(-) create mode 100644 Application/EdFi.Ods.Tests/EdFi.Ods.Api/Validation/DataAnnotationsEntityValidatorTests.cs diff --git a/Application/EdFi.Ods.Api/Container/Modules/ApplicationModule.cs b/Application/EdFi.Ods.Api/Container/Modules/ApplicationModule.cs index c89fb1d831..da47736abd 100644 --- a/Application/EdFi.Ods.Api/Container/Modules/ApplicationModule.cs +++ b/Application/EdFi.Ods.Api/Container/Modules/ApplicationModule.cs @@ -497,13 +497,10 @@ void RegisterMiddleware() .SingleInstance(); builder.RegisterType().SingleInstance(); - - builder.RegisterType().SingleInstance(); - builder.RegisterType().EnableClassInterceptors().SingleInstance(); builder.RegisterType() - .Named(InterceptorCacheKeys.ModelStateKey) + .Named("cache-model-state-key") .WithParameter(ctx => (ICacheProvider) new ConcurrentDictionaryCacheProvider()) .SingleInstance(); } diff --git a/Application/EdFi.Ods.Api/ExceptionHandling/ModelStateKeyConverter.cs b/Application/EdFi.Ods.Api/ExceptionHandling/ModelStateKeyConverter.cs index 285c87c23a..eb89685ad4 100644 --- a/Application/EdFi.Ods.Api/ExceptionHandling/ModelStateKeyConverter.cs +++ b/Application/EdFi.Ods.Api/ExceptionHandling/ModelStateKeyConverter.cs @@ -6,12 +6,11 @@ using System; using System.Collections.Generic; using Autofac.Extras.DynamicProxy; -using EdFi.Ods.Common.Caching; using EdFi.Ods.Common.Models.Resource; namespace EdFi.Ods.Api.ExceptionHandling; -[Intercept(InterceptorCacheKeys.ModelStateKey)] +[Intercept("cache-model-state-key")] // ReSharper disable once ClassWithVirtualMembersNeverInherited.Global public class ModelStateKeyConverter { diff --git a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/NonUniqueObjectExceptionTranslator.cs b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/NonUniqueObjectExceptionTranslator.cs index 12b7fb07d7..d41f4190e7 100644 --- a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/NonUniqueObjectExceptionTranslator.cs +++ b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/NonUniqueObjectExceptionTranslator.cs @@ -36,7 +36,7 @@ public bool TryTranslate(Exception ex, out IEdFiProblemDetails problemDetails) match.Groups["property"].Value, match.Groups["entityPropertyId"].Value)); - problemDetails = new NonUniqueConflictException("A problem occurred while processing the request.", + problemDetails = new ConflictException("A problem occurred while processing the request.", new[] { $"Two {match.Groups["subject"]} entities with the same identifier were associated with the session. See log for additional details." }); return true; diff --git a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresDuplicateKeyExceptionTranslator.cs b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresDuplicateKeyExceptionTranslator.cs index 2264023612..f2c6e63d88 100644 --- a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresDuplicateKeyExceptionTranslator.cs +++ b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresDuplicateKeyExceptionTranslator.cs @@ -51,7 +51,7 @@ public bool TryTranslate(Exception ex, out IEdFiProblemDetails problemDetails) string message = GetMessageUsingRequestContext(constraintName) ?? GetMessageUsingPostgresException(); - problemDetails = new NonUniqueConflictException(message); + problemDetails = new ConflictException(message); return true; } diff --git a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresForeignKeyExceptionTranslator.cs b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresForeignKeyExceptionTranslator.cs index 03b0a5fa30..6e1343638e 100644 --- a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresForeignKeyExceptionTranslator.cs +++ b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresForeignKeyExceptionTranslator.cs @@ -57,7 +57,7 @@ public bool TryTranslate(Exception ex, out IEdFiProblemDetails problemDetails) ? NoDetailsUpdateOrDeleteMessage : NoDetailsInsertOrUpdateMessage; - problemDetails = new InvalidReferenceConflictException(noDetailsMessage); + problemDetails = new ConflictException(noDetailsMessage); return true; } @@ -66,7 +66,7 @@ public bool TryTranslate(Exception ex, out IEdFiProblemDetails problemDetails) ? string.Format(UpdateOrDeleteMessageFormat, association.ThisEntity.Name) : string.Format(InsertOrUpdateMessageFormat, association.OtherEntity.Name); - problemDetails = new InvalidReferenceConflictException(message); + problemDetails = new ConflictException(message); return true; } diff --git a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerConstraintExceptionTranslator.cs b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerConstraintExceptionTranslator.cs index a53dfbdcc9..b5434b1568 100644 --- a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerConstraintExceptionTranslator.cs +++ b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerConstraintExceptionTranslator.cs @@ -94,7 +94,7 @@ public bool TryTranslate(Exception ex, out IEdFiProblemDetails problemDetails) string errorMessage = string.Format(errorMessageFormat, tableName, columnName); - problemDetails = new InvalidReferenceConflictException(errorMessage); + problemDetails = new ConflictException(errorMessage); return true; } diff --git a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerPrimaryKeyConstraintExceptionTranslator.cs b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerPrimaryKeyConstraintExceptionTranslator.cs index 817cd0d258..146adf8591 100644 --- a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerPrimaryKeyConstraintExceptionTranslator.cs +++ b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerPrimaryKeyConstraintExceptionTranslator.cs @@ -51,7 +51,7 @@ public bool TryTranslate(Exception ex, out IEdFiProblemDetails problemDetails) var message = string.Format(MessageFormat, resourceEntity.Name, columnNames, values); - problemDetails = new NaturalKeyConflictException(message); + problemDetails = new ConflictException(message); return true; } } diff --git a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerUniqueIndexExceptionTranslator.cs b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerUniqueIndexExceptionTranslator.cs index b3e7b82679..c0acddf949 100644 --- a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerUniqueIndexExceptionTranslator.cs +++ b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerUniqueIndexExceptionTranslator.cs @@ -70,7 +70,7 @@ public bool TryTranslate(Exception ex, out IEdFiProblemDetails problemDetails) message = string.Format(MultipleMessageFormat, values, columnNames, tableName); } - problemDetails = new NonUniqueConflictException(message); + problemDetails = new ConflictException(message); return true; } } diff --git a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/StaleObjectStateExceptionTranslator.cs b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/StaleObjectStateExceptionTranslator.cs index 870fc240e2..2e633bd1e8 100644 --- a/Application/EdFi.Ods.Api/ExceptionHandling/Translators/StaleObjectStateExceptionTranslator.cs +++ b/Application/EdFi.Ods.Api/ExceptionHandling/Translators/StaleObjectStateExceptionTranslator.cs @@ -21,7 +21,7 @@ public bool TryTranslate(Exception ex, out IEdFiProblemDetails problemDetails) // This is probably a timing issue and is not expected under normal operations, so we'll log it. _logger.Error(ex); - problemDetails = new NaturalKeyConflictException( + problemDetails = new ConflictException( "A natural key conflict occurred when attempting to update a new resource with a duplicate key."); return true; diff --git a/Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs b/Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs index 3bbfe0eda9..52b87bd68b 100644 --- a/Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs +++ b/Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs @@ -36,7 +36,6 @@ using EdFi.Ods.Common.Database; using EdFi.Ods.Common.Dependencies; using EdFi.Ods.Common.Descriptors; -using EdFi.Ods.Common.Exceptions; using EdFi.Ods.Common.Infrastructure.Configuration; using EdFi.Ods.Common.Infrastructure.Extensibility; using EdFi.Ods.Common.Models; diff --git a/Application/EdFi.Ods.Common/Exceptions/EdFiProblemDetailsExceptionBase.cs b/Application/EdFi.Ods.Common/Exceptions/EdFiProblemDetailsExceptionBase.cs index 5aec6890c1..a8c502a865 100644 --- a/Application/EdFi.Ods.Common/Exceptions/EdFiProblemDetailsExceptionBase.cs +++ b/Application/EdFi.Ods.Common/Exceptions/EdFiProblemDetailsExceptionBase.cs @@ -22,17 +22,11 @@ namespace EdFi.Ods.Common.Exceptions; │ │ └─────────────────────────┘ │ │ △ │ │ │ ┌────────────────────────────────┐ - │ │ ├──┤ KeyChangeNotSupportedException | - │ │ │ └────────────────────────────────┘ - │ │ │ ┌─────────────────────┐ - │ │ └──┤ DataPolicyException | - │ │ └─────────────────────┘ + │ │ └──┤ KeyChangeNotSupportedException | + │ │ └────────────────────────────────┘ │ │ ┌──────────────────────────────┐ │ └──┤ BadRequestParameterException | │ └──────────────────────────────┘ - │ ┌─────────────────────────────────┐ - ├──┤ SecurityAuthenticationException | 401 Unauthorized - │ └─────────────────────────────────┘ │ ┌────────────────────────────────┐ ├──┤ SecurityAuthorizationException | 403 Forbidden │ └────────────────────────────────┘ @@ -46,16 +40,6 @@ namespace EdFi.Ods.Common.Exceptions; │ ┌───────────────────┐ ├──┤ ConflictException | 409 Conflict │ └───────────────────┘ - │ △ - │ │ ┌─────────────────────────────┐ - │ ├──┤ NonUniqueConflictException | - │ │ └─────────────────────────────┘ - │ │ ┌──────────────────────────────────────┐ - │ │──┤ InvalidReferenceConflictException | - │ │ └──────────────────────────────────────┘ - │ │ ┌──────────────────────────────────────┐ - │ └──┤ NaturalKeyConflictException | - │ └──────────────────────────────────────┘ │ ┌──────────────────────┐ ├──┤ ConcurrencyException | 412 Precondition Failed │ └──────────────────────┘ @@ -92,9 +76,6 @@ namespace EdFi.Ods.Common.Exceptions; │ ┌───────────────────────────────┐ ├──┤ SnapshotsAreReadOnlyException | 405 Method Not Allowed │ └───────────────────────────────┘ - │ ┌───────────────────────────┐ - ├──┤ MethodNotAllowedException | 405 Method Not Allowed - │ └───────────────────────────┘ │ ┌──────────────────────┐ ├──┤ NotModifiedException | 304 Not Modified │ └──────────────────────┘ diff --git a/Application/EdFi.Ods.Features/ChangeQueries/ActionResults/SnapshotsAreReadOnlyResult.cs b/Application/EdFi.Ods.Features/ChangeQueries/ActionResults/SnapshotsAreReadOnlyResult.cs index 3273a06535..471d13f8f6 100644 --- a/Application/EdFi.Ods.Features/ChangeQueries/ActionResults/SnapshotsAreReadOnlyResult.cs +++ b/Application/EdFi.Ods.Features/ChangeQueries/ActionResults/SnapshotsAreReadOnlyResult.cs @@ -6,8 +6,6 @@ using System.Net; using System.Threading.Tasks; using EdFi.Ods.Common.Exceptions; -using EdFi.Ods.Api.Models; -using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace EdFi.Ods.Features.ChangeQueries.ActionResults diff --git a/Application/EdFi.Ods.Features/ExternalCache/Redis/RedisPersonIdentifierMapCache.cs b/Application/EdFi.Ods.Features/ExternalCache/Redis/RedisPersonIdentifierMapCache.cs index d6ee9626df..cd6f5a53dd 100644 --- a/Application/EdFi.Ods.Features/ExternalCache/Redis/RedisPersonIdentifierMapCache.cs +++ b/Application/EdFi.Ods.Features/ExternalCache/Redis/RedisPersonIdentifierMapCache.cs @@ -6,7 +6,6 @@ using System; using System.Collections.Concurrent; using EdFi.Ods.Api.Caching.Person; -using EdFi.Ods.Features.Services.Redis; namespace EdFi.Ods.Features.ExternalCache.Redis; diff --git a/Application/EdFi.Ods.Features/Profiles/ProfileContentTypeContextMiddleware.cs b/Application/EdFi.Ods.Features/Profiles/ProfileContentTypeContextMiddleware.cs index 646107c55d..ec320e04e9 100644 --- a/Application/EdFi.Ods.Features/Profiles/ProfileContentTypeContextMiddleware.cs +++ b/Application/EdFi.Ods.Features/Profiles/ProfileContentTypeContextMiddleware.cs @@ -165,6 +165,7 @@ await WriteResponseMessage( await WriteResponseMessage( response, StatusCodes.Status400BadRequest, + headerName, $"A profile-based content type that is readable cannot be used with {request.Method.ToUpper()} requests."); return (false, null); @@ -208,33 +209,16 @@ await WriteResponseUsingFormat( return (true, null); } - Task WriteResponseUsingFormat( - HttpResponse response, - int statusCode, - string headerName, - LogMessageFormatType logMessageFormatType) - { - string correlationId = (string)_logContextAccessor.GetValue(CorrelationConstants.LogContextKey); - string errorMessage = string.Format(_logMessageFormatSpecifiers[(int)logMessageFormatType], headerName); - - return response.WriteProblemDetailsAsync( - statusCode, - ProfileContentTypeUsageException.TitleText, - ProfileContentTypeUsageException.DefaultDetail, - new[] { errorMessage }, - correlationId, - ProfileContentTypeUsageException.TypePart); - } - - Task WriteResponseMessage(HttpResponse response, int statusCode, string errorMessage) + Task WriteResponse(HttpResponse response, int statusCode, string headerName, string logMessageFormat) { - string correlationId = (string)_logContextAccessor.GetValue(CorrelationConstants.LogContextKey); + string correlationId = (string) _logContextAccessor.GetValue(CorrelationConstants.LogContextKey); + string errorMessage = string.Format(logMessageFormat, headerName); return response.WriteProblemDetailsAsync( statusCode, ProfileContentTypeUsageException.TitleText, ProfileContentTypeUsageException.DefaultDetail, - new[] { errorMessage }, + new[] {errorMessage }, correlationId, ProfileContentTypeUsageException.TypePart); } diff --git a/Application/EdFi.Ods.Features/Services/Redis/IRedisConnectionProvider.cs b/Application/EdFi.Ods.Features/Services/Redis/IRedisConnectionProvider.cs index 014b6cb593..ad1a37aa0d 100644 --- a/Application/EdFi.Ods.Features/Services/Redis/IRedisConnectionProvider.cs +++ b/Application/EdFi.Ods.Features/Services/Redis/IRedisConnectionProvider.cs @@ -3,6 +3,7 @@ // 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. +<<<<<<<< HEAD:Application/EdFi.Ods.Features/Services/Redis/IRedisConnectionProvider.cs using StackExchange.Redis; namespace EdFi.Ods.Features.Services.Redis; @@ -10,4 +11,12 @@ namespace EdFi.Ods.Features.Services.Redis; public interface IRedisConnectionProvider { IDatabase Get(); +======== +namespace EdFi.Ods.Common.Validation; + +public static class ValidationContextKeys +{ + public const string PathBuilder = "PB"; + public const string ResourceClass = "RC"; +>>>>>>>> 3d929701 ([ODS-6139] Use Problem Details (RFC 9457) for reporting errors and validation errors (#903)):Application/EdFi.Ods.Common/Validation/ValidationContextKeys.cs } diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/NonUniqueObjectExceptionTranslatorTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/NonUniqueObjectExceptionTranslatorTests.cs index faca8d1fad..4fbe2cb365 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/NonUniqueObjectExceptionTranslatorTests.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/NonUniqueObjectExceptionTranslatorTests.cs @@ -30,7 +30,7 @@ public void TryTranslate_WithNonUniqueObjectException_ShouldReturnTrueAndSetProb // Assert result.ShouldBeTrue(); problemDetails.ShouldNotBeNull(); - problemDetails.ShouldBeOfType(); + problemDetails.ShouldBeOfType(); problemDetails.Detail.ShouldBe("A problem occurred while processing the request."); problemDetails.Errors.ShouldContain( diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresDuplicateKeyExceptionTranslatorTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresDuplicateKeyExceptionTranslatorTests.cs index 7756654daa..6146c84da5 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresDuplicateKeyExceptionTranslatorTests.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresDuplicateKeyExceptionTranslatorTests.cs @@ -183,7 +183,7 @@ public void Should_RestError_show_single_value_message() AssertHelper.All( () => actualError.ShouldNotBeNull(), () => actualError.Status.ShouldBe(409), - () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:not-unique")), + () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")), () => actualError.Detail.ShouldBe("The value supplied for property 'Property1' of entity 'Something' is not unique.") ); } @@ -231,7 +231,11 @@ public void Should_RestError_show_multiple_values_message() AssertHelper.All( () => actualError.ShouldNotBeNull(), () => actualError.Status.ShouldBe(409), +<<<<<<< HEAD () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:not-unique")), +======= + () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")), +>>>>>>> 3d929701 ([ODS-6139] Use Problem Details (RFC 9457) for reporting errors and validation errors (#903)) () => actualError.Detail.ShouldBe("The values supplied for properties 'Property1', 'Property2' of entity 'Something' are not unique.") ); } @@ -277,7 +281,11 @@ public void Should_RestError_show_unknown_value_message() AssertHelper.All( () => actualError.ShouldNotBeNull(), () => actualError.Status.ShouldBe(409), +<<<<<<< HEAD () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:not-unique")), +======= + () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")), +>>>>>>> 3d929701 ([ODS-6139] Use Problem Details (RFC 9457) for reporting errors and validation errors (#903)) () => actualError.Detail.ShouldBe("The value(s) supplied for the resource are not unique.") ); } @@ -327,7 +335,11 @@ public void Should_RestError_show_unknown_value_message() AssertHelper.All( () => actualError.ShouldNotBeNull(), () => actualError.Status.ShouldBe(409), +<<<<<<< HEAD () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:not-unique")), +======= + () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")), +>>>>>>> 3d929701 ([ODS-6139] Use Problem Details (RFC 9457) for reporting errors and validation errors (#903)) () => actualError.Detail.ShouldBe("The values supplied for properties 'property1, property2, property3' of entity 'something' are not unique.") ); } diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresForeignKeyExceptionTranslatorTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresForeignKeyExceptionTranslatorTests.cs index b0c261a572..7b82ff69f9 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresForeignKeyExceptionTranslatorTests.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/Postgres/PostgresForeignKeyExceptionTranslatorTests.cs @@ -149,7 +149,7 @@ public void Should_RestError_show_simple_constraint_message() AssertHelper.All( () => _actualError.ShouldNotBeNull(), () => _actualError.Status.ShouldBe(409), - () => _actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:invalid-reference")), + () => _actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")), () => _actualError.Detail.ShouldBe("The referenced 'School' resource does not exist.") ); } @@ -214,7 +214,7 @@ public void Should_return_a_409_Conflict_error_with_a_message_identifying_the_de AssertHelper.All( () => actualError.ShouldNotBeNull(), () => actualError.Status.ShouldBe(409), - () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:invalid-reference")), + () => actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")), () => actualError.Detail.ShouldBe("The operation cannot be performed because the resource is a dependency of the 'StudentSchoolAssociation' resource.") ); } @@ -279,7 +279,7 @@ public void Should_return_a_409_Conflict_error_with_a_message_indicating_a_depen actualError.ShouldSatisfyAllConditions( e => e.ShouldNotBeNull(), e => e.Status.ShouldBe(409), - e => e.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:invalid-reference")), + e => e.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")), e => e.Detail.ShouldBe( "The operation cannot be performed because the resource is a dependency of another resource.")); } diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/ExceptionTranslatorFixtures.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/ExceptionTranslatorFixtures.cs index 8a64957f92..eb6516615e 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/ExceptionTranslatorFixtures.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/ExceptionTranslatorFixtures.cs @@ -42,7 +42,7 @@ protected override void Act() public virtual void Should_respond_with_a_409_Conflict() { Assert.That(_actualError.Status, Is.EqualTo((int) HttpStatusCode.Conflict)); - Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:invalid-reference"))); + Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict"))); } [Test] @@ -76,7 +76,7 @@ protected override void Act() public virtual void Should_respond_with_a_409_Conflict() { Assert.That(_actualError.Status, Is.EqualTo((int) HttpStatusCode.Conflict)); - Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:invalid-reference"))); + Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict"))); } [Test] @@ -111,7 +111,7 @@ protected override void Act() public virtual void Should_respond_with_a_409_Conflict() { Assert.That(_actualError.Status, Is.EqualTo((int) HttpStatusCode.Conflict)); - Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:invalid-reference"))); + Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict"))); } [Test] @@ -147,7 +147,7 @@ protected override void Act() public virtual void Should_respond_with_a_409_Conflict() { Assert.That(_actualError.Status, Is.EqualTo((int) HttpStatusCode.Conflict)); - Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:invalid-reference"))); + Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict"))); } [Test] @@ -196,7 +196,7 @@ protected override void Act() public virtual void Should_respond_with_a_409_Conflict() { Assert.That(_actualError.Status, Is.EqualTo((int) HttpStatusCode.Conflict)); - Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:not-unique"))); + Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict"))); } [Test] @@ -246,7 +246,7 @@ protected override void Act() public virtual void Should_respond_with_a_409_Conflict() { Assert.That(_actualError.Status, Is.EqualTo((int) HttpStatusCode.Conflict)); - Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:not-unique"))); + Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict"))); } [Test] @@ -294,7 +294,7 @@ protected override void Act() public virtual void Should_respond_with_a_409_Conflict() { Assert.That(_actualError.Status, Is.EqualTo((int) HttpStatusCode.Conflict)); - Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:not-unique"))); + Assert.That(_actualError.Type, Is.EqualTo(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict"))); } [Test] diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerPrimaryKeyConstraintExceptionTranslatorTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerPrimaryKeyConstraintExceptionTranslatorTests.cs index fb83403b94..29924b2748 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerPrimaryKeyConstraintExceptionTranslatorTests.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/SqlServerPrimaryKeyConstraintExceptionTranslatorTests.cs @@ -145,7 +145,7 @@ public void Should_set_a_reasonable_message() [Test] public void Should_set_the_exception_type_to_conflict() { - actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:natural-key")); + actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")); } [Test] @@ -199,7 +199,7 @@ public void Should_set_a_reasonable_message() [Test] public void Should_set_the_exception_type_to_conflict() { - actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:natural-key")); + actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")); } [Test] diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/StaleObjectStateExceptionTranslatorTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/StaleObjectStateExceptionTranslatorTests.cs index 0d0dc4e492..fdb0c89ff4 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/StaleObjectStateExceptionTranslatorTests.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/ExceptionHandling/Translators/SqlServer/StaleObjectStateExceptionTranslatorTests.cs @@ -134,7 +134,7 @@ public void Should_set_a_reasonable_message() [Test] public void Should_set_the_exception_type_to_conflict() { - actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict:natural-key")); + actualError.Type.ShouldBe(string.Join(':', EdFiProblemDetailsExceptionBase.BaseTypePrefix, "conflict")); } [Test] diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/Providers/ETagProviderTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/Providers/ETagProviderTests.cs index 1c5468f81e..cee4178b4a 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/Providers/ETagProviderTests.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/Providers/ETagProviderTests.cs @@ -9,7 +9,6 @@ using EdFi.Ods.Common.Exceptions; using NUnit.Framework; using Shouldly; -using Assert = NUnit.Framework.Legacy.ClassicAssert; namespace EdFi.Ods.Tests.EdFi.Ods.Api { diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Api/Validation/DataAnnotationsEntityValidatorTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/Validation/DataAnnotationsEntityValidatorTests.cs new file mode 100644 index 0000000000..5a31050e93 --- /dev/null +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Api/Validation/DataAnnotationsEntityValidatorTests.cs @@ -0,0 +1,91 @@ +// 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.ComponentModel.DataAnnotations; +using System.Linq; +using EdFi.Ods.Api.Caching; +using EdFi.Ods.Api.Common.Models.Resources.Student.EdFi; +using EdFi.Ods.Api.Validation; +using EdFi.Ods.Common.Attributes; +using EdFi.Ods.Common.Caching; +using EdFi.Ods.Common.Context; +using EdFi.Ods.Common.Dependencies; +using EdFi.Ods.Common.Models; +using EdFi.Ods.Common.Models.Domain; +using EdFi.Ods.Common.Security.Claims; +using EdFi.Ods.Entities.Common.EdFi; +using FakeItEasy; +using NUnit.Framework; +using Shouldly; +using Array = System.Array; + +namespace EdFi.Ods.Tests.EdFi.Ods.Entities.Common +{ + [TestFixture] + public class DataAnnotationsEntityValidatorTests + { + private DataAnnotationsResourceValidator _validator; + private ICollection _validationResults; + + private class DataAnnotatedProperty : IValidatableObject + { + [Required] + public string RequiredProperty { get; set; } + + public bool ValidateInvoked { get; set; } + + public IEnumerable Validate(ValidationContext validationContext) + { + ValidateInvoked = true; + + return Array.Empty(); + } + } + + [OneTimeSetUp] + public void Setup() + { + var resourceContextProvider = A.Fake>(); + var mappingContractProvider = A.Fake(); + A.CallTo(() => mappingContractProvider.GetMappingContract(A.Ignored)).Returns(null); + + _validator = new DataAnnotationsResourceValidator(resourceContextProvider, mappingContractProvider); + } + + [Test] + public void When_validating_object_with_data_annotation_should_validate_and_raise_error() + { + var objectToValidate = new DataAnnotatedProperty(); + + _validationResults = _validator.ValidateObject(objectToValidate); + + _validationResults.Count.ShouldBe(1); + objectToValidate.ValidateInvoked.ShouldBeTrue(); + } + + [Test] + public void When_validating_person_entity_and_uniqueId_property_contains_trailing_or_leading_whitespace_should_raise_validation_error() + { + GeneratedArtifactStaticDependencies.Resolvers.Set(() => new ContextProvider(new CallContextStorage())); + GeneratedArtifactStaticDependencies.UsiLookupsByUniqueIdContextProvider.Set(new UsiLookupsByUniqueIdContext()); + + var mappingContractProvider = A.Fake(); + A.CallTo(() => mappingContractProvider.GetMappingContract(A.Ignored)).Returns(null); + + GeneratedArtifactStaticDependencies.Resolvers.Set(() => mappingContractProvider); + + _validationResults = _validator.ValidateObject( + new Student + { + StudentUniqueId = "12345 " + }); + + _validationResults.Select(r => r.ErrorMessage) + .ShouldContain( + "StudentUniqueId cannot contain leading or trailing spaces."); + } + } +} \ No newline at end of file diff --git a/Postman Test Suite/Ed-Fi ODS-API Integration Test Suite ResponseTests.postman_collection.json b/Postman Test Suite/Ed-Fi ODS-API Integration Test Suite ResponseTests.postman_collection.json index 44559bbe3d..25e09fa9b8 100644 --- a/Postman Test Suite/Ed-Fi ODS-API Integration Test Suite ResponseTests.postman_collection.json +++ b/Postman Test Suite/Ed-Fi ODS-API Integration Test Suite ResponseTests.postman_collection.json @@ -3805,6 +3805,7 @@ " pm.expect(problemDetails.type).to.equal(\"urn:ed-fi:api:bad-request\");", " pm.expect(problemDetails.detail).to.equal(\"The request could not be processed. See 'errors' for details.\");", "", + " pm.expect(problemDetails.correlationId).to.equal(pm.environment.get('correlationId'));", " pm.expect(problemDetails.errors[0]).to.equal(\"A non-empty request body is required.\");", "});", " " @@ -5428,7 +5429,7 @@ "\r", "pm.test(\"Should return a problem details result\", () => {\r", " pm.expect(pm.response.code).equal(problemDetails.status);\r", - " pm.expect(problemDetails.type).to.equal(\"urn:ed-fi:api:conflict:invalid-reference\");\r", + " pm.expect(problemDetails.type).to.equal(\"urn:ed-fi:api:conflict\");\r", " pm.expect(problemDetails.detail).to.equal(\"The referenced 'Student' resource does not exist.\");\r", "});\r", "\r", diff --git a/Postman Test Suite/Ed-Fi ODS-API Integration Test Suite.postman_collection.json b/Postman Test Suite/Ed-Fi ODS-API Integration Test Suite.postman_collection.json index 57f01f173d..a4c676d5e6 100644 --- a/Postman Test Suite/Ed-Fi ODS-API Integration Test Suite.postman_collection.json +++ b/Postman Test Suite/Ed-Fi ODS-API Integration Test Suite.postman_collection.json @@ -10141,125 +10141,6 @@ ] } ] - }, - { - "name": "Properties", - "item": [ - { - "name": "EducationOrganizationId", - "item": [ - { - "name": "Creating School With an Valid SchoolId", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "pm.environment.set('supplied:school:schoolId', pm.variables.replaceIn(\"{{$randomInt}}{{$randomInt}}\"));" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - " pm.test(\"Status code is 201\", () => {", - " pm.expect(pm.response.code).to.equal(201);", - " });", - " ", - " pm.environment.set('known:school:id',pm.response.headers.one('Location').value.split(\"/\").pop());" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\r\n \"charterApprovalSchoolYearTypeReference\": {\r\n \"schoolYear\": \"2001\"\r\n },\r\n \"localEducationAgencyReference\": {\r\n \"localEducationAgencyId\": 255901\r\n },\r\n \"schoolId\": {{supplied:school:schoolId}},\r\n \"nameOfInstitution\": \"{{$randomCompanyName}}\",\r\n \"educationOrganizationCategories\": [\r\n {\r\n \"educationOrganizationCategoryDescriptor\": \"uri://ed-fi.org/EducationOrganizationCategoryDescriptor#School\"\r\n }\r\n ],\r\n \"gradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Preschool\"\r\n }\r\n ]\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/schools", - "host": [ - "{{ApiBaseUrl}}" - ], - "path": [ - "data", - "v3", - "ed-fi", - "schools" - ] - } - }, - "response": [] - }, - { - "name": "Creating School With an Invalid SchoolId Fails", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "// Include a decimal part so that it is not a valid Int64 value\r", - "pm.environment.set('supplied:school:schoolId', parseFloat(pm.variables.replaceIn(\"{{$randomInt}}.{{$randomInt}}\").toString())); " - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 400\", () => {", - " pm.expect(pm.response.code).to.equal(400);", - "});", - "console.log(pm.response.json());", - "pm.test(\"The validationErrors response should include a validation message indicating an invalid Int64 value was provided for SchoolId\", () => {", - " pm.expect(pm.response.json().validationErrors['$.schoolId'][0]).contains(\"Input string '\" + pm.environment.get(\"supplied:school:schoolId\") + \"' is not\")", - "});" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [], - "body": { - "mode": "raw", - "raw": "{\r\n \"charterApprovalSchoolYearTypeReference\": {\r\n \"schoolYear\": \"2001\"\r\n },\r\n \"localEducationAgencyReference\": {\r\n \"localEducationAgencyId\": 255901\r\n },\r\n \"schoolId\": {{supplied:school:schoolId}}, // Has a decimal part so that it is not a valid Int64 value\r\n \"nameOfInstitution\": \"{{$randomCompanyName}}\",\r\n \"educationOrganizationCategories\": [\r\n {\r\n \"educationOrganizationCategoryDescriptor\": \"uri://ed-fi.org/EducationOrganizationCategoryDescriptor#School\"\r\n }\r\n ],\r\n \"gradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Preschool\"\r\n }\r\n ]\r\n}", - "options": { - "raw": { - "language": "json" - } - } - }, - "url": { - "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/schools", - "host": [ - "{{ApiBaseUrl}}" - ], - "path": [ - "data", - "v3", - "ed-fi", - "schools" - ] - } - }, - "response": [] - } - ] - } - ] } ] }, 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_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 64865089dc..a502c6f693 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_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -295,20 +295,17 @@ public class SchoolMappingContract : IMappingContract public SchoolMappingContract( bool isSchoolAddressSupported, bool isSchoolYearSupported, - bool isSchoolYearTypeReferenceSupported, - bool isSchoolAddressCreatable + bool isSchoolYearTypeReferenceSupported ) { IsSchoolAddressSupported = isSchoolAddressSupported; IsSchoolYearSupported = isSchoolYearSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; - IsSchoolAddressCreatable = isSchoolAddressCreatable; } public bool IsSchoolAddressSupported { get; } public bool IsSchoolYearSupported { get; } public bool IsSchoolYearTypeReferenceSupported { get; } - public bool IsSchoolAddressCreatable { get; } bool IMappingContract.IsMemberSupported(string memberName) { @@ -674,22 +671,19 @@ public StudentMappingContract( bool isSchoolYearSupported, bool isSchoolYearTypeReferenceSupported, bool isStudentAddressSupported, - bool isStudentNameReferenceSupported, - bool isStudentAddressCreatable + bool isStudentNameReferenceSupported ) { IsSchoolYearSupported = isSchoolYearSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; IsStudentAddressSupported = isStudentAddressSupported; IsStudentNameReferenceSupported = isStudentNameReferenceSupported; - IsStudentAddressCreatable = isStudentAddressCreatable; } public bool IsSchoolYearSupported { get; } public bool IsSchoolYearTypeReferenceSupported { get; } public bool IsStudentAddressSupported { get; } public bool IsStudentNameReferenceSupported { get; } - public bool IsStudentAddressCreatable { get; } bool IMappingContract.IsMemberSupported(string memberName) { 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_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 81f33a09f5..d5ecac8517 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_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -2078,8 +2078,6 @@ public StudentArtProgramAssociationMappingContract( bool isStudentArtProgramAssociationServicesSupported, bool isStudentArtProgramAssociationStylesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationParticipationStatusCreatable, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentArtProgramAssociationArtMediaItemCreatable, Func isStudentArtProgramAssociationArtMediumIncluded, @@ -2114,8 +2112,6 @@ Func isStudentArtProgramAssociationSty IsStudentArtProgramAssociationServicesSupported = isStudentArtProgramAssociationServicesSupported; IsStudentArtProgramAssociationStylesSupported = isStudentArtProgramAssociationStylesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentArtProgramAssociationArtMediaItemCreatable = isStudentArtProgramAssociationArtMediaItemCreatable; IsStudentArtProgramAssociationArtMediumIncluded = isStudentArtProgramAssociationArtMediumIncluded; @@ -2150,8 +2146,6 @@ Func isStudentArtProgramAssociationSty public bool IsStudentArtProgramAssociationServicesSupported { get; } public bool IsStudentArtProgramAssociationStylesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentArtProgramAssociationArtMediaItemCreatable { get; } public Func IsStudentArtProgramAssociationArtMediumIncluded { get; } 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_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index affa7b2e65..31ebecc4fc 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_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -2342,7 +2342,6 @@ public EvaluationMappingContract( bool isMaxRatingSupported, bool isMinRatingSupported, bool isPerformanceEvaluationReferenceSupported, - bool isEvaluationRatingLevelsItemCreatable, Func isEvaluationRatingLevelIncluded ) { @@ -2353,7 +2352,6 @@ Func isEvaluationRatingLevelIncluded IsMaxRatingSupported = isMaxRatingSupported; IsMinRatingSupported = isMinRatingSupported; IsPerformanceEvaluationReferenceSupported = isPerformanceEvaluationReferenceSupported; - IsEvaluationRatingLevelsItemCreatable = isEvaluationRatingLevelsItemCreatable; IsEvaluationRatingLevelIncluded = isEvaluationRatingLevelIncluded; } @@ -2364,7 +2362,6 @@ Func isEvaluationRatingLevelIncluded public bool IsMaxRatingSupported { get; } public bool IsMinRatingSupported { get; } public bool IsPerformanceEvaluationReferenceSupported { get; } - public bool IsEvaluationRatingLevelsItemCreatable { get; } public Func IsEvaluationRatingLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3755,8 +3752,7 @@ public EvaluationRatingReviewerMappingContract( bool isEvaluationRatingReviewerReceivedTrainingSupported, bool isReviewerPersonIdSupported, bool isReviewerPersonReferenceSupported, - bool isReviewerSourceSystemDescriptorSupported, - bool isEvaluationRatingReviewerReceivedTrainingCreatable + bool isReviewerSourceSystemDescriptorSupported ) { IsEvaluationRatingReviewerReceivedTrainingSupported = isEvaluationRatingReviewerReceivedTrainingSupported; @@ -4299,7 +4295,6 @@ public PerformanceEvaluationMappingContract( bool isPerformanceEvaluationGradeLevelsSupported, bool isPerformanceEvaluationRatingLevelsSupported, bool isSchoolYearTypeReferenceSupported, - bool isPerformanceEvaluationGradeLevelsItemCreatable, Func isPerformanceEvaluationGradeLevelIncluded, bool isPerformanceEvaluationRatingLevelsItemCreatable, Func isPerformanceEvaluationRatingLevelIncluded @@ -4311,7 +4306,6 @@ Func isPerformanceEvaluationRatingLevel IsPerformanceEvaluationGradeLevelsSupported = isPerformanceEvaluationGradeLevelsSupported; IsPerformanceEvaluationRatingLevelsSupported = isPerformanceEvaluationRatingLevelsSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; - IsPerformanceEvaluationGradeLevelsItemCreatable = isPerformanceEvaluationGradeLevelsItemCreatable; IsPerformanceEvaluationGradeLevelIncluded = isPerformanceEvaluationGradeLevelIncluded; IsPerformanceEvaluationRatingLevelsItemCreatable = isPerformanceEvaluationRatingLevelsItemCreatable; IsPerformanceEvaluationRatingLevelIncluded = isPerformanceEvaluationRatingLevelIncluded; @@ -4323,7 +4317,6 @@ Func isPerformanceEvaluationRatingLevel public bool IsPerformanceEvaluationGradeLevelsSupported { get; } public bool IsPerformanceEvaluationRatingLevelsSupported { get; } public bool IsSchoolYearTypeReferenceSupported { get; } - public bool IsPerformanceEvaluationGradeLevelsItemCreatable { get; } public Func IsPerformanceEvaluationGradeLevelIncluded { get; } public bool IsPerformanceEvaluationRatingLevelsItemCreatable { get; } public Func IsPerformanceEvaluationRatingLevelIncluded { get; } @@ -4824,8 +4817,7 @@ public PerformanceEvaluationRatingReviewerMappingContract( bool isPerformanceEvaluationRatingReviewerReceivedTrainingSupported, bool isReviewerPersonIdSupported, bool isReviewerPersonReferenceSupported, - bool isReviewerSourceSystemDescriptorSupported, - bool isPerformanceEvaluationRatingReviewerReceivedTrainingCreatable + bool isReviewerSourceSystemDescriptorSupported ) { IsPerformanceEvaluationRatingReviewerReceivedTrainingSupported = isPerformanceEvaluationRatingReviewerReceivedTrainingSupported; diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 2e74bae899..265b02e819 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -2851,7 +2851,6 @@ public AssessmentScoreRangeLearningStandardMappingContract( bool isMaximumScoreSupported, bool isMinimumScoreSupported, bool isObjectiveAssessmentReferenceSupported, - bool isAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable, Func isAssessmentScoreRangeLearningStandardLearningStandardIncluded, IReadOnlyList supportedExtensions ) @@ -2863,7 +2862,6 @@ IReadOnlyList supportedExtensions IsMaximumScoreSupported = isMaximumScoreSupported; IsMinimumScoreSupported = isMinimumScoreSupported; IsObjectiveAssessmentReferenceSupported = isObjectiveAssessmentReferenceSupported; - IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable = isAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable; IsAssessmentScoreRangeLearningStandardLearningStandardIncluded = isAssessmentScoreRangeLearningStandardLearningStandardIncluded; SupportedExtensions = supportedExtensions; } @@ -2875,7 +2873,6 @@ IReadOnlyList supportedExtensions public bool IsMaximumScoreSupported { get; } public bool IsMinimumScoreSupported { get; } public bool IsObjectiveAssessmentReferenceSupported { get; } - public bool IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable { get; } public Func IsAssessmentScoreRangeLearningStandardLearningStandardIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3933,7 +3930,6 @@ public CalendarMappingContract( bool isCalendarTypeDescriptorSupported, bool isSchoolReferenceSupported, bool isSchoolYearTypeReferenceSupported, - bool isCalendarGradeLevelsItemCreatable, Func isCalendarGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -3942,7 +3938,6 @@ IReadOnlyList supportedExtensions IsCalendarTypeDescriptorSupported = isCalendarTypeDescriptorSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; - IsCalendarGradeLevelsItemCreatable = isCalendarGradeLevelsItemCreatable; IsCalendarGradeLevelIncluded = isCalendarGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -3951,7 +3946,6 @@ IReadOnlyList supportedExtensions public bool IsCalendarTypeDescriptorSupported { get; } public bool IsSchoolReferenceSupported { get; } public bool IsSchoolYearTypeReferenceSupported { get; } - public bool IsCalendarGradeLevelsItemCreatable { get; } public Func IsCalendarGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4033,21 +4027,18 @@ public class CalendarDateMappingContract : IMappingContract, IExtensionsMappingC public CalendarDateMappingContract( bool isCalendarDateCalendarEventsSupported, bool isCalendarReferenceSupported, - bool isCalendarDateCalendarEventsItemCreatable, Func isCalendarDateCalendarEventIncluded, IReadOnlyList supportedExtensions ) { IsCalendarDateCalendarEventsSupported = isCalendarDateCalendarEventsSupported; IsCalendarReferenceSupported = isCalendarReferenceSupported; - IsCalendarDateCalendarEventsItemCreatable = isCalendarDateCalendarEventsItemCreatable; IsCalendarDateCalendarEventIncluded = isCalendarDateCalendarEventIncluded; SupportedExtensions = supportedExtensions; } public bool IsCalendarDateCalendarEventsSupported { get; } public bool IsCalendarReferenceSupported { get; } - public bool IsCalendarDateCalendarEventsItemCreatable { get; } public Func IsCalendarDateCalendarEventIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4659,7 +4650,6 @@ public ChartOfAccountMappingContract( bool isProjectDimensionReferenceSupported, bool isSourceCodeSupported, bool isSourceDimensionReferenceSupported, - bool isChartOfAccountReportingTagsItemCreatable, Func isChartOfAccountReportingTagIncluded, IReadOnlyList supportedExtensions ) @@ -4684,7 +4674,6 @@ IReadOnlyList supportedExtensions IsProjectDimensionReferenceSupported = isProjectDimensionReferenceSupported; IsSourceCodeSupported = isSourceCodeSupported; IsSourceDimensionReferenceSupported = isSourceDimensionReferenceSupported; - IsChartOfAccountReportingTagsItemCreatable = isChartOfAccountReportingTagsItemCreatable; IsChartOfAccountReportingTagIncluded = isChartOfAccountReportingTagIncluded; SupportedExtensions = supportedExtensions; } @@ -4709,7 +4698,6 @@ IReadOnlyList supportedExtensions public bool IsProjectDimensionReferenceSupported { get; } public bool IsSourceCodeSupported { get; } public bool IsSourceDimensionReferenceSupported { get; } - public bool IsChartOfAccountReportingTagsItemCreatable { get; } public Func IsChartOfAccountReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4957,7 +4945,6 @@ public ClassPeriodMappingContract( bool isClassPeriodMeetingTimesSupported, bool isOfficialAttendancePeriodSupported, bool isSchoolReferenceSupported, - bool isClassPeriodMeetingTimesItemCreatable, Func isClassPeriodMeetingTimeIncluded, IReadOnlyList supportedExtensions ) @@ -4965,7 +4952,6 @@ IReadOnlyList supportedExtensions IsClassPeriodMeetingTimesSupported = isClassPeriodMeetingTimesSupported; IsOfficialAttendancePeriodSupported = isOfficialAttendancePeriodSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; - IsClassPeriodMeetingTimesItemCreatable = isClassPeriodMeetingTimesItemCreatable; IsClassPeriodMeetingTimeIncluded = isClassPeriodMeetingTimeIncluded; SupportedExtensions = supportedExtensions; } @@ -4973,7 +4959,6 @@ IReadOnlyList supportedExtensions public bool IsClassPeriodMeetingTimesSupported { get; } public bool IsOfficialAttendancePeriodSupported { get; } public bool IsSchoolReferenceSupported { get; } - public bool IsClassPeriodMeetingTimesItemCreatable { get; } public Func IsClassPeriodMeetingTimeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -5190,7 +5175,6 @@ public CohortMappingContract( bool isCohortScopeDescriptorSupported, bool isCohortTypeDescriptorSupported, bool isEducationOrganizationReferenceSupported, - bool isCohortProgramsItemCreatable, Func isCohortProgramIncluded, IReadOnlyList supportedExtensions ) @@ -5201,7 +5185,6 @@ IReadOnlyList supportedExtensions IsCohortScopeDescriptorSupported = isCohortScopeDescriptorSupported; IsCohortTypeDescriptorSupported = isCohortTypeDescriptorSupported; IsEducationOrganizationReferenceSupported = isEducationOrganizationReferenceSupported; - IsCohortProgramsItemCreatable = isCohortProgramsItemCreatable; IsCohortProgramIncluded = isCohortProgramIncluded; SupportedExtensions = supportedExtensions; } @@ -5212,7 +5195,6 @@ IReadOnlyList supportedExtensions public bool IsCohortScopeDescriptorSupported { get; } public bool IsCohortTypeDescriptorSupported { get; } public bool IsEducationOrganizationReferenceSupported { get; } - public bool IsCohortProgramsItemCreatable { get; } public Func IsCohortProgramIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -7634,7 +7616,6 @@ public CourseOfferingMappingContract( bool isLocalCourseTitleSupported, bool isSchoolReferenceSupported, bool isSessionReferenceSupported, - bool isCourseOfferingCourseLevelCharacteristicsItemCreatable, Func isCourseOfferingCourseLevelCharacteristicIncluded, bool isCourseOfferingCurriculumUsedsItemCreatable, Func isCourseOfferingCurriculumUsedIncluded, @@ -7653,7 +7634,6 @@ IReadOnlyList supportedExtensions IsLocalCourseTitleSupported = isLocalCourseTitleSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsSessionReferenceSupported = isSessionReferenceSupported; - IsCourseOfferingCourseLevelCharacteristicsItemCreatable = isCourseOfferingCourseLevelCharacteristicsItemCreatable; IsCourseOfferingCourseLevelCharacteristicIncluded = isCourseOfferingCourseLevelCharacteristicIncluded; IsCourseOfferingCurriculumUsedsItemCreatable = isCourseOfferingCurriculumUsedsItemCreatable; IsCourseOfferingCurriculumUsedIncluded = isCourseOfferingCurriculumUsedIncluded; @@ -7672,7 +7652,6 @@ IReadOnlyList supportedExtensions public bool IsLocalCourseTitleSupported { get; } public bool IsSchoolReferenceSupported { get; } public bool IsSessionReferenceSupported { get; } - public bool IsCourseOfferingCourseLevelCharacteristicsItemCreatable { get; } public Func IsCourseOfferingCourseLevelCharacteristicIncluded { get; } public bool IsCourseOfferingCurriculumUsedsItemCreatable { get; } public Func IsCourseOfferingCurriculumUsedIncluded { get; } @@ -10180,7 +10159,6 @@ public DisciplineActionMappingContract( bool isResponsibilitySchoolIdSupported, bool isResponsibilitySchoolReferenceSupported, bool isStudentReferenceSupported, - bool isDisciplineActionDisciplinesItemCreatable, Func isDisciplineActionDisciplineIncluded, bool isDisciplineActionStaffsItemCreatable, Func isDisciplineActionStaffIncluded, @@ -10206,7 +10184,6 @@ IReadOnlyList supportedExtensions IsResponsibilitySchoolIdSupported = isResponsibilitySchoolIdSupported; IsResponsibilitySchoolReferenceSupported = isResponsibilitySchoolReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsDisciplineActionDisciplinesItemCreatable = isDisciplineActionDisciplinesItemCreatable; IsDisciplineActionDisciplineIncluded = isDisciplineActionDisciplineIncluded; IsDisciplineActionStaffsItemCreatable = isDisciplineActionStaffsItemCreatable; IsDisciplineActionStaffIncluded = isDisciplineActionStaffIncluded; @@ -10232,7 +10209,6 @@ IReadOnlyList supportedExtensions public bool IsResponsibilitySchoolIdSupported { get; } public bool IsResponsibilitySchoolReferenceSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsDisciplineActionDisciplinesItemCreatable { get; } public Func IsDisciplineActionDisciplineIncluded { get; } public bool IsDisciplineActionStaffsItemCreatable { get; } public Func IsDisciplineActionStaffIncluded { get; } @@ -14533,8 +14509,6 @@ public GeneralStudentProgramAssociationMappingContract( bool isReasonExitedDescriptorSupported, bool isServedOutsideOfRegularSessionSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationParticipationStatusCreatable, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded ) { @@ -14546,8 +14520,6 @@ Func isGenera IsReasonExitedDescriptorSupported = isReasonExitedDescriptorSupported; IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; } @@ -14559,8 +14531,6 @@ Func isGenera public bool IsReasonExitedDescriptorSupported { get; } public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -14827,7 +14797,6 @@ public GradeMappingContract( bool isNumericGradeEarnedSupported, bool isPerformanceBaseConversionDescriptorSupported, bool isStudentSectionAssociationReferenceSupported, - bool isGradeLearningStandardGradesItemCreatable, Func isGradeLearningStandardGradeIncluded, IReadOnlyList supportedExtensions ) @@ -14841,7 +14810,6 @@ IReadOnlyList supportedExtensions IsNumericGradeEarnedSupported = isNumericGradeEarnedSupported; IsPerformanceBaseConversionDescriptorSupported = isPerformanceBaseConversionDescriptorSupported; IsStudentSectionAssociationReferenceSupported = isStudentSectionAssociationReferenceSupported; - IsGradeLearningStandardGradesItemCreatable = isGradeLearningStandardGradesItemCreatable; IsGradeLearningStandardGradeIncluded = isGradeLearningStandardGradeIncluded; SupportedExtensions = supportedExtensions; } @@ -14855,7 +14823,6 @@ IReadOnlyList supportedExtensions public bool IsNumericGradeEarnedSupported { get; } public bool IsPerformanceBaseConversionDescriptorSupported { get; } public bool IsStudentSectionAssociationReferenceSupported { get; } - public bool IsGradeLearningStandardGradesItemCreatable { get; } public Func IsGradeLearningStandardGradeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -29646,7 +29613,6 @@ public ReportCardMappingContract( bool isReportCardStudentCompetencyObjectivesSupported, bool isReportCardStudentLearningObjectivesSupported, bool isStudentReferenceSupported, - bool isReportCardGradesItemCreatable, Func isReportCardGradeIncluded, bool isReportCardGradePointAveragesItemCreatable, Func isReportCardGradePointAverageIncluded, @@ -29669,7 +29635,6 @@ IReadOnlyList supportedExtensions IsReportCardStudentCompetencyObjectivesSupported = isReportCardStudentCompetencyObjectivesSupported; IsReportCardStudentLearningObjectivesSupported = isReportCardStudentLearningObjectivesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsReportCardGradesItemCreatable = isReportCardGradesItemCreatable; IsReportCardGradeIncluded = isReportCardGradeIncluded; IsReportCardGradePointAveragesItemCreatable = isReportCardGradePointAveragesItemCreatable; IsReportCardGradePointAverageIncluded = isReportCardGradePointAverageIncluded; @@ -29692,7 +29657,6 @@ IReadOnlyList supportedExtensions public bool IsReportCardStudentCompetencyObjectivesSupported { get; } public bool IsReportCardStudentLearningObjectivesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsReportCardGradesItemCreatable { get; } public Func IsReportCardGradeIncluded { get; } public bool IsReportCardGradePointAveragesItemCreatable { get; } public Func IsReportCardGradePointAverageIncluded { get; } @@ -30489,7 +30453,6 @@ public RestraintEventMappingContract( bool isRestraintEventReasonsSupported, bool isSchoolReferenceSupported, bool isStudentReferenceSupported, - bool isRestraintEventProgramsItemCreatable, Func isRestraintEventProgramIncluded, bool isRestraintEventReasonsItemCreatable, Func isRestraintEventReasonIncluded, @@ -30502,7 +30465,6 @@ IReadOnlyList supportedExtensions IsRestraintEventReasonsSupported = isRestraintEventReasonsSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsRestraintEventProgramsItemCreatable = isRestraintEventProgramsItemCreatable; IsRestraintEventProgramIncluded = isRestraintEventProgramIncluded; IsRestraintEventReasonsItemCreatable = isRestraintEventReasonsItemCreatable; IsRestraintEventReasonIncluded = isRestraintEventReasonIncluded; @@ -30515,7 +30477,6 @@ IReadOnlyList supportedExtensions public bool IsRestraintEventReasonsSupported { get; } public bool IsSchoolReferenceSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsRestraintEventProgramsItemCreatable { get; } public Func IsRestraintEventProgramIncluded { get; } public bool IsRestraintEventReasonsItemCreatable { get; } public Func IsRestraintEventReasonIncluded { get; } @@ -34314,7 +34275,6 @@ public StaffDisciplineIncidentAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported, bool isStaffReferenceSupported, - bool isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -34322,7 +34282,6 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; - IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -34330,7 +34289,6 @@ IReadOnlyList supportedExtensions public bool IsDisciplineIncidentReferenceSupported { get; } public bool IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported { get; } public bool IsStaffReferenceSupported { get; } - public bool IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable { get; } public Func IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -34621,8 +34579,6 @@ public StaffEducationOrganizationContactAssociationMappingContract( bool isStaffEducationOrganizationContactAssociationAddressSupported, bool isStaffEducationOrganizationContactAssociationTelephonesSupported, bool isStaffReferenceSupported, - bool isStaffEducationOrganizationContactAssociationAddressCreatable, - bool isStaffEducationOrganizationContactAssociationTelephonesItemCreatable, Func isStaffEducationOrganizationContactAssociationTelephoneIncluded, IReadOnlyList supportedExtensions ) @@ -34633,8 +34589,6 @@ IReadOnlyList supportedExtensions IsStaffEducationOrganizationContactAssociationAddressSupported = isStaffEducationOrganizationContactAssociationAddressSupported; IsStaffEducationOrganizationContactAssociationTelephonesSupported = isStaffEducationOrganizationContactAssociationTelephonesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; - IsStaffEducationOrganizationContactAssociationAddressCreatable = isStaffEducationOrganizationContactAssociationAddressCreatable; - IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable = isStaffEducationOrganizationContactAssociationTelephonesItemCreatable; IsStaffEducationOrganizationContactAssociationTelephoneIncluded = isStaffEducationOrganizationContactAssociationTelephoneIncluded; SupportedExtensions = supportedExtensions; } @@ -34645,8 +34599,6 @@ IReadOnlyList supportedExtensions public bool IsStaffEducationOrganizationContactAssociationAddressSupported { get; } public bool IsStaffEducationOrganizationContactAssociationTelephonesSupported { get; } public bool IsStaffReferenceSupported { get; } - public bool IsStaffEducationOrganizationContactAssociationAddressCreatable { get; } - public bool IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable { get; } public Func IsStaffEducationOrganizationContactAssociationTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -37555,8 +37507,6 @@ public StudentAcademicRecordMappingContract( bool isStudentAcademicRecordRecognitionsSupported, bool isStudentAcademicRecordReportCardsSupported, bool isStudentReferenceSupported, - bool isStudentAcademicRecordClassRankingCreatable, - bool isStudentAcademicRecordAcademicHonorsItemCreatable, Func isStudentAcademicRecordAcademicHonorIncluded, bool isStudentAcademicRecordDiplomasItemCreatable, Func isStudentAcademicRecordDiplomaIncluded, @@ -37596,8 +37546,6 @@ IReadOnlyList supportedExtensions IsStudentAcademicRecordRecognitionsSupported = isStudentAcademicRecordRecognitionsSupported; IsStudentAcademicRecordReportCardsSupported = isStudentAcademicRecordReportCardsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentAcademicRecordClassRankingCreatable = isStudentAcademicRecordClassRankingCreatable; - IsStudentAcademicRecordAcademicHonorsItemCreatable = isStudentAcademicRecordAcademicHonorsItemCreatable; IsStudentAcademicRecordAcademicHonorIncluded = isStudentAcademicRecordAcademicHonorIncluded; IsStudentAcademicRecordDiplomasItemCreatable = isStudentAcademicRecordDiplomasItemCreatable; IsStudentAcademicRecordDiplomaIncluded = isStudentAcademicRecordDiplomaIncluded; @@ -37637,8 +37585,6 @@ IReadOnlyList supportedExtensions public bool IsStudentAcademicRecordRecognitionsSupported { get; } public bool IsStudentAcademicRecordReportCardsSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentAcademicRecordClassRankingCreatable { get; } - public bool IsStudentAcademicRecordAcademicHonorsItemCreatable { get; } public Func IsStudentAcademicRecordAcademicHonorIncluded { get; } public bool IsStudentAcademicRecordDiplomasItemCreatable { get; } public Func IsStudentAcademicRecordDiplomaIncluded { get; } @@ -39456,7 +39402,6 @@ public StudentCohortAssociationMappingContract( bool isEndDateSupported, bool isStudentCohortAssociationSectionsSupported, bool isStudentReferenceSupported, - bool isStudentCohortAssociationSectionsItemCreatable, Func isStudentCohortAssociationSectionIncluded, IReadOnlyList supportedExtensions ) @@ -39465,7 +39410,6 @@ IReadOnlyList supportedExtensions IsEndDateSupported = isEndDateSupported; IsStudentCohortAssociationSectionsSupported = isStudentCohortAssociationSectionsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentCohortAssociationSectionsItemCreatable = isStudentCohortAssociationSectionsItemCreatable; IsStudentCohortAssociationSectionIncluded = isStudentCohortAssociationSectionIncluded; SupportedExtensions = supportedExtensions; } @@ -39474,7 +39418,6 @@ IReadOnlyList supportedExtensions public bool IsEndDateSupported { get; } public bool IsStudentCohortAssociationSectionsSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentCohortAssociationSectionsItemCreatable { get; } public Func IsStudentCohortAssociationSectionIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39656,7 +39599,6 @@ public StudentCompetencyObjectiveMappingContract( bool isStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported, bool isStudentCompetencyObjectiveStudentSectionAssociationsSupported, bool isStudentReferenceSupported, - bool isStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable, Func isStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded, bool isStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable, Func isStudentCompetencyObjectiveStudentSectionAssociationIncluded, @@ -39670,7 +39612,6 @@ IReadOnlyList supportedExtensions IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported = isStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported; IsStudentCompetencyObjectiveStudentSectionAssociationsSupported = isStudentCompetencyObjectiveStudentSectionAssociationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable = isStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable; IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded = isStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded; IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable = isStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable; IsStudentCompetencyObjectiveStudentSectionAssociationIncluded = isStudentCompetencyObjectiveStudentSectionAssociationIncluded; @@ -39684,7 +39625,6 @@ IReadOnlyList supportedExtensions public bool IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported { get; } public bool IsStudentCompetencyObjectiveStudentSectionAssociationsSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable { get; } public Func IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded { get; } public bool IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable { get; } public Func IsStudentCompetencyObjectiveStudentSectionAssociationIncluded { get; } @@ -40356,7 +40296,6 @@ public StudentDisciplineIncidentAssociationMappingContract( bool isStudentDisciplineIncidentAssociationBehaviorsSupported, bool isStudentParticipationCodeDescriptorSupported, bool isStudentReferenceSupported, - bool isStudentDisciplineIncidentAssociationBehaviorsItemCreatable, Func isStudentDisciplineIncidentAssociationBehaviorIncluded, IReadOnlyList supportedExtensions ) @@ -40365,7 +40304,6 @@ IReadOnlyList supportedExtensions IsStudentDisciplineIncidentAssociationBehaviorsSupported = isStudentDisciplineIncidentAssociationBehaviorsSupported; IsStudentParticipationCodeDescriptorSupported = isStudentParticipationCodeDescriptorSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentDisciplineIncidentAssociationBehaviorsItemCreatable = isStudentDisciplineIncidentAssociationBehaviorsItemCreatable; IsStudentDisciplineIncidentAssociationBehaviorIncluded = isStudentDisciplineIncidentAssociationBehaviorIncluded; SupportedExtensions = supportedExtensions; } @@ -40374,7 +40312,6 @@ IReadOnlyList supportedExtensions public bool IsStudentDisciplineIncidentAssociationBehaviorsSupported { get; } public bool IsStudentParticipationCodeDescriptorSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentDisciplineIncidentAssociationBehaviorsItemCreatable { get; } public Func IsStudentDisciplineIncidentAssociationBehaviorIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -40522,7 +40459,6 @@ public StudentDisciplineIncidentBehaviorAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported, bool isStudentReferenceSupported, - bool isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -40531,7 +40467,6 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -40540,7 +40475,6 @@ IReadOnlyList supportedExtensions public bool IsDisciplineIncidentReferenceSupported { get; } public bool IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable { get; } public Func IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -40680,7 +40614,6 @@ public StudentDisciplineIncidentNonOffenderAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported, bool isStudentReferenceSupported, - bool isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -40688,7 +40621,6 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -40696,7 +40628,6 @@ IReadOnlyList supportedExtensions public bool IsDisciplineIncidentReferenceSupported { get; } public bool IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable { get; } public Func IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -40882,7 +40813,6 @@ public StudentEducationOrganizationAssociationMappingContract( bool isStudentEducationOrganizationAssociationTelephonesSupported, bool isStudentEducationOrganizationAssociationTribalAffiliationsSupported, bool isStudentReferenceSupported, - bool isStudentEducationOrganizationAssociationAddressesItemCreatable, Func isStudentEducationOrganizationAssociationAddressIncluded, bool isStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable, Func isStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded, @@ -40942,7 +40872,6 @@ IReadOnlyList supportedExtensions IsStudentEducationOrganizationAssociationTelephonesSupported = isStudentEducationOrganizationAssociationTelephonesSupported; IsStudentEducationOrganizationAssociationTribalAffiliationsSupported = isStudentEducationOrganizationAssociationTribalAffiliationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentEducationOrganizationAssociationAddressesItemCreatable = isStudentEducationOrganizationAssociationAddressesItemCreatable; IsStudentEducationOrganizationAssociationAddressIncluded = isStudentEducationOrganizationAssociationAddressIncluded; IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable = isStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable; IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded = isStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded; @@ -41002,7 +40931,6 @@ IReadOnlyList supportedExtensions public bool IsStudentEducationOrganizationAssociationTelephonesSupported { get; } public bool IsStudentEducationOrganizationAssociationTribalAffiliationsSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentEducationOrganizationAssociationAddressesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAddressIncluded { get; } public bool IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded { get; } @@ -42895,8 +42823,6 @@ public StudentHomelessProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentHomelessProgramAssociationHomelessProgramServicesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationParticipationStatusCreatable, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable, Func isStudentHomelessProgramAssociationHomelessProgramServiceIncluded, @@ -42915,8 +42841,6 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentHomelessProgramAssociationHomelessProgramServicesSupported = isStudentHomelessProgramAssociationHomelessProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable = isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded = isStudentHomelessProgramAssociationHomelessProgramServiceIncluded; @@ -42935,8 +42859,6 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentHomelessProgramAssociationHomelessProgramServicesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable { get; } public Func IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded { get; } @@ -43296,7 +43218,6 @@ public StudentInterventionAssociationMappingContract( bool isInterventionReferenceSupported, bool isStudentInterventionAssociationInterventionEffectivenessesSupported, bool isStudentReferenceSupported, - bool isStudentInterventionAssociationInterventionEffectivenessesItemCreatable, Func isStudentInterventionAssociationInterventionEffectivenessIncluded, IReadOnlyList supportedExtensions ) @@ -43309,7 +43230,6 @@ IReadOnlyList supportedExtensions IsInterventionReferenceSupported = isInterventionReferenceSupported; IsStudentInterventionAssociationInterventionEffectivenessesSupported = isStudentInterventionAssociationInterventionEffectivenessesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable = isStudentInterventionAssociationInterventionEffectivenessesItemCreatable; IsStudentInterventionAssociationInterventionEffectivenessIncluded = isStudentInterventionAssociationInterventionEffectivenessIncluded; SupportedExtensions = supportedExtensions; } @@ -43322,7 +43242,6 @@ IReadOnlyList supportedExtensions public bool IsInterventionReferenceSupported { get; } public bool IsStudentInterventionAssociationInterventionEffectivenessesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable { get; } public Func IsStudentInterventionAssociationInterventionEffectivenessIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43598,8 +43517,6 @@ public StudentLanguageInstructionProgramAssociationMappingContract( bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported, bool isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationParticipationStatusCreatable, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable, Func isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded, @@ -43620,8 +43537,6 @@ IReadOnlyList supportedExtensions IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported; IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable; IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded; @@ -43642,8 +43557,6 @@ IReadOnlyList supportedExtensions public bool IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported { get; } public bool IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable { get; } public Func IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded { get; } @@ -43933,7 +43846,6 @@ public StudentLearningObjectiveMappingContract( bool isStudentLearningObjectiveGeneralStudentProgramAssociationsSupported, bool isStudentLearningObjectiveStudentSectionAssociationsSupported, bool isStudentReferenceSupported, - bool isStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable, Func isStudentLearningObjectiveGeneralStudentProgramAssociationIncluded, bool isStudentLearningObjectiveStudentSectionAssociationsItemCreatable, Func isStudentLearningObjectiveStudentSectionAssociationIncluded, @@ -43947,7 +43859,6 @@ IReadOnlyList supportedExtensions IsStudentLearningObjectiveGeneralStudentProgramAssociationsSupported = isStudentLearningObjectiveGeneralStudentProgramAssociationsSupported; IsStudentLearningObjectiveStudentSectionAssociationsSupported = isStudentLearningObjectiveStudentSectionAssociationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable = isStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable; IsStudentLearningObjectiveGeneralStudentProgramAssociationIncluded = isStudentLearningObjectiveGeneralStudentProgramAssociationIncluded; IsStudentLearningObjectiveStudentSectionAssociationsItemCreatable = isStudentLearningObjectiveStudentSectionAssociationsItemCreatable; IsStudentLearningObjectiveStudentSectionAssociationIncluded = isStudentLearningObjectiveStudentSectionAssociationIncluded; @@ -43961,7 +43872,6 @@ IReadOnlyList supportedExtensions public bool IsStudentLearningObjectiveGeneralStudentProgramAssociationsSupported { get; } public bool IsStudentLearningObjectiveStudentSectionAssociationsSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable { get; } public Func IsStudentLearningObjectiveGeneralStudentProgramAssociationIncluded { get; } public bool IsStudentLearningObjectiveStudentSectionAssociationsItemCreatable { get; } public Func IsStudentLearningObjectiveStudentSectionAssociationIncluded { get; } @@ -44487,8 +44397,6 @@ public StudentNeglectedOrDelinquentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationParticipationStatusCreatable, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable, Func isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded, @@ -44507,8 +44415,6 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded; @@ -44527,8 +44433,6 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable { get; } public Func IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded { get; } @@ -45072,8 +44976,6 @@ public StudentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentProgramAssociationServicesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationParticipationStatusCreatable, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentProgramAssociationServicesItemCreatable, Func isStudentProgramAssociationServiceIncluded, @@ -45089,8 +44991,6 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentProgramAssociationServicesSupported = isStudentProgramAssociationServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentProgramAssociationServicesItemCreatable = isStudentProgramAssociationServicesItemCreatable; IsStudentProgramAssociationServiceIncluded = isStudentProgramAssociationServiceIncluded; @@ -45106,8 +45006,6 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentProgramAssociationServicesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentProgramAssociationServicesItemCreatable { get; } public Func IsStudentProgramAssociationServiceIncluded { get; } @@ -48135,7 +48033,6 @@ public SurveyQuestionResponseMappingContract( bool isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported, bool isSurveyQuestionResponseValuesSupported, bool isSurveyResponseReferenceSupported, - bool isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable, Func isSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded, bool isSurveyQuestionResponseValuesItemCreatable, Func isSurveyQuestionResponseValueIncluded, @@ -48148,7 +48045,6 @@ IReadOnlyList supportedExtensions IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported = isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported; IsSurveyQuestionResponseValuesSupported = isSurveyQuestionResponseValuesSupported; IsSurveyResponseReferenceSupported = isSurveyResponseReferenceSupported; - IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable = isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable; IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded = isSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded; IsSurveyQuestionResponseValuesItemCreatable = isSurveyQuestionResponseValuesItemCreatable; IsSurveyQuestionResponseValueIncluded = isSurveyQuestionResponseValueIncluded; @@ -48161,7 +48057,6 @@ IReadOnlyList supportedExtensions public bool IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported { get; } public bool IsSurveyQuestionResponseValuesSupported { get; } public bool IsSurveyResponseReferenceSupported { get; } - public bool IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable { get; } public Func IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded { get; } public bool IsSurveyQuestionResponseValuesItemCreatable { get; } public Func IsSurveyQuestionResponseValueIncluded { get; } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index a1c385bd22..6f4a3f3645 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.Homograph.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -295,20 +295,17 @@ public class SchoolMappingContract : IMappingContract public SchoolMappingContract( bool isSchoolAddressSupported, bool isSchoolYearSupported, - bool isSchoolYearTypeReferenceSupported, - bool isSchoolAddressCreatable + bool isSchoolYearTypeReferenceSupported ) { IsSchoolAddressSupported = isSchoolAddressSupported; IsSchoolYearSupported = isSchoolYearSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; - IsSchoolAddressCreatable = isSchoolAddressCreatable; } public bool IsSchoolAddressSupported { get; } public bool IsSchoolYearSupported { get; } public bool IsSchoolYearTypeReferenceSupported { get; } - public bool IsSchoolAddressCreatable { get; } bool IMappingContract.IsMemberSupported(string memberName) { @@ -674,22 +671,19 @@ public StudentMappingContract( bool isSchoolYearSupported, bool isSchoolYearTypeReferenceSupported, bool isStudentAddressSupported, - bool isStudentNameReferenceSupported, - bool isStudentAddressCreatable + bool isStudentNameReferenceSupported ) { IsSchoolYearSupported = isSchoolYearSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; IsStudentAddressSupported = isStudentAddressSupported; IsStudentNameReferenceSupported = isStudentNameReferenceSupported; - IsStudentAddressCreatable = isStudentAddressCreatable; } public bool IsSchoolYearSupported { get; } public bool IsSchoolYearTypeReferenceSupported { get; } public bool IsStudentAddressSupported { get; } public bool IsStudentNameReferenceSupported { get; } - public bool IsStudentAddressCreatable { get; } bool IMappingContract.IsMemberSupported(string memberName) { diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index ca3b39d9ab..2c99e7b962 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.Sample.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -2077,7 +2077,6 @@ public StudentArtProgramAssociationMappingContract( bool isStudentArtProgramAssociationServicesSupported, bool isStudentArtProgramAssociationStylesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentArtProgramAssociationArtMediaItemCreatable, Func isStudentArtProgramAssociationArtMediumIncluded, @@ -2111,7 +2110,6 @@ Func isStudentArtProgramAssociationSty IsStudentArtProgramAssociationServicesSupported = isStudentArtProgramAssociationServicesSupported; IsStudentArtProgramAssociationStylesSupported = isStudentArtProgramAssociationStylesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentArtProgramAssociationArtMediaItemCreatable = isStudentArtProgramAssociationArtMediaItemCreatable; IsStudentArtProgramAssociationArtMediumIncluded = isStudentArtProgramAssociationArtMediumIncluded; @@ -2145,7 +2143,6 @@ Func isStudentArtProgramAssociationSty public bool IsStudentArtProgramAssociationServicesSupported { get; } public bool IsStudentArtProgramAssociationStylesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentArtProgramAssociationArtMediaItemCreatable { get; } public Func IsStudentArtProgramAssociationArtMediumIncluded { get; } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 409d78284e..9a989ad14a 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.TPDM.1.1.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -2354,7 +2354,6 @@ public EvaluationMappingContract( bool isMaxRatingSupported, bool isMinRatingSupported, bool isPerformanceEvaluationReferenceSupported, - bool isEvaluationRatingLevelsItemCreatable, Func isEvaluationRatingLevelIncluded ) { @@ -2365,7 +2364,6 @@ Func isEvaluationRatingLevelIncluded IsMaxRatingSupported = isMaxRatingSupported; IsMinRatingSupported = isMinRatingSupported; IsPerformanceEvaluationReferenceSupported = isPerformanceEvaluationReferenceSupported; - IsEvaluationRatingLevelsItemCreatable = isEvaluationRatingLevelsItemCreatable; IsEvaluationRatingLevelIncluded = isEvaluationRatingLevelIncluded; } @@ -2376,7 +2374,6 @@ Func isEvaluationRatingLevelIncluded public bool IsMaxRatingSupported { get; } public bool IsMinRatingSupported { get; } public bool IsPerformanceEvaluationReferenceSupported { get; } - public bool IsEvaluationRatingLevelsItemCreatable { get; } public Func IsEvaluationRatingLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3767,8 +3764,7 @@ public EvaluationRatingReviewerMappingContract( bool isEvaluationRatingReviewerReceivedTrainingSupported, bool isReviewerPersonIdSupported, bool isReviewerPersonReferenceSupported, - bool isReviewerSourceSystemDescriptorSupported, - bool isEvaluationRatingReviewerReceivedTrainingCreatable + bool isReviewerSourceSystemDescriptorSupported ) { IsEvaluationRatingReviewerReceivedTrainingSupported = isEvaluationRatingReviewerReceivedTrainingSupported; @@ -4311,7 +4307,6 @@ public PerformanceEvaluationMappingContract( bool isPerformanceEvaluationGradeLevelsSupported, bool isPerformanceEvaluationRatingLevelsSupported, bool isSchoolYearTypeReferenceSupported, - bool isPerformanceEvaluationGradeLevelsItemCreatable, Func isPerformanceEvaluationGradeLevelIncluded, bool isPerformanceEvaluationRatingLevelsItemCreatable, Func isPerformanceEvaluationRatingLevelIncluded @@ -4323,7 +4318,6 @@ Func isPerformanceEvaluationRatingLevel IsPerformanceEvaluationGradeLevelsSupported = isPerformanceEvaluationGradeLevelsSupported; IsPerformanceEvaluationRatingLevelsSupported = isPerformanceEvaluationRatingLevelsSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; - IsPerformanceEvaluationGradeLevelsItemCreatable = isPerformanceEvaluationGradeLevelsItemCreatable; IsPerformanceEvaluationGradeLevelIncluded = isPerformanceEvaluationGradeLevelIncluded; IsPerformanceEvaluationRatingLevelsItemCreatable = isPerformanceEvaluationRatingLevelsItemCreatable; IsPerformanceEvaluationRatingLevelIncluded = isPerformanceEvaluationRatingLevelIncluded; @@ -4335,7 +4329,6 @@ Func isPerformanceEvaluationRatingLevel public bool IsPerformanceEvaluationGradeLevelsSupported { get; } public bool IsPerformanceEvaluationRatingLevelsSupported { get; } public bool IsSchoolYearTypeReferenceSupported { get; } - public bool IsPerformanceEvaluationGradeLevelsItemCreatable { get; } public Func IsPerformanceEvaluationGradeLevelIncluded { get; } public bool IsPerformanceEvaluationRatingLevelsItemCreatable { get; } public Func IsPerformanceEvaluationRatingLevelIncluded { get; } @@ -4836,8 +4829,7 @@ public PerformanceEvaluationRatingReviewerMappingContract( bool isPerformanceEvaluationRatingReviewerReceivedTrainingSupported, bool isReviewerPersonIdSupported, bool isReviewerPersonReferenceSupported, - bool isReviewerSourceSystemDescriptorSupported, - bool isPerformanceEvaluationRatingReviewerReceivedTrainingCreatable + bool isReviewerSourceSystemDescriptorSupported ) { IsPerformanceEvaluationRatingReviewerReceivedTrainingSupported = isPerformanceEvaluationRatingReviewerReceivedTrainingSupported; diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 0027a7c5e5..ad67621472 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -2851,7 +2851,6 @@ public AssessmentScoreRangeLearningStandardMappingContract( bool isMaximumScoreSupported, bool isMinimumScoreSupported, bool isObjectiveAssessmentReferenceSupported, - bool isAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable, Func isAssessmentScoreRangeLearningStandardLearningStandardIncluded, IReadOnlyList supportedExtensions ) @@ -2863,7 +2862,6 @@ IReadOnlyList supportedExtensions IsMaximumScoreSupported = isMaximumScoreSupported; IsMinimumScoreSupported = isMinimumScoreSupported; IsObjectiveAssessmentReferenceSupported = isObjectiveAssessmentReferenceSupported; - IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable = isAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable; IsAssessmentScoreRangeLearningStandardLearningStandardIncluded = isAssessmentScoreRangeLearningStandardLearningStandardIncluded; SupportedExtensions = supportedExtensions; } @@ -2875,7 +2873,6 @@ IReadOnlyList supportedExtensions public bool IsMaximumScoreSupported { get; } public bool IsMinimumScoreSupported { get; } public bool IsObjectiveAssessmentReferenceSupported { get; } - public bool IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable { get; } public Func IsAssessmentScoreRangeLearningStandardLearningStandardIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3933,7 +3930,6 @@ public CalendarMappingContract( bool isCalendarTypeDescriptorSupported, bool isSchoolReferenceSupported, bool isSchoolYearTypeReferenceSupported, - bool isCalendarGradeLevelsItemCreatable, Func isCalendarGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -3942,7 +3938,6 @@ IReadOnlyList supportedExtensions IsCalendarTypeDescriptorSupported = isCalendarTypeDescriptorSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; - IsCalendarGradeLevelsItemCreatable = isCalendarGradeLevelsItemCreatable; IsCalendarGradeLevelIncluded = isCalendarGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -3951,7 +3946,6 @@ IReadOnlyList supportedExtensions public bool IsCalendarTypeDescriptorSupported { get; } public bool IsSchoolReferenceSupported { get; } public bool IsSchoolYearTypeReferenceSupported { get; } - public bool IsCalendarGradeLevelsItemCreatable { get; } public Func IsCalendarGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4033,21 +4027,18 @@ public class CalendarDateMappingContract : IMappingContract, IExtensionsMappingC public CalendarDateMappingContract( bool isCalendarDateCalendarEventsSupported, bool isCalendarReferenceSupported, - bool isCalendarDateCalendarEventsItemCreatable, Func isCalendarDateCalendarEventIncluded, IReadOnlyList supportedExtensions ) { IsCalendarDateCalendarEventsSupported = isCalendarDateCalendarEventsSupported; IsCalendarReferenceSupported = isCalendarReferenceSupported; - IsCalendarDateCalendarEventsItemCreatable = isCalendarDateCalendarEventsItemCreatable; IsCalendarDateCalendarEventIncluded = isCalendarDateCalendarEventIncluded; SupportedExtensions = supportedExtensions; } public bool IsCalendarDateCalendarEventsSupported { get; } public bool IsCalendarReferenceSupported { get; } - public bool IsCalendarDateCalendarEventsItemCreatable { get; } public Func IsCalendarDateCalendarEventIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4659,7 +4650,6 @@ public ChartOfAccountMappingContract( bool isProjectDimensionReferenceSupported, bool isSourceCodeSupported, bool isSourceDimensionReferenceSupported, - bool isChartOfAccountReportingTagsItemCreatable, Func isChartOfAccountReportingTagIncluded, IReadOnlyList supportedExtensions ) @@ -4684,7 +4674,6 @@ IReadOnlyList supportedExtensions IsProjectDimensionReferenceSupported = isProjectDimensionReferenceSupported; IsSourceCodeSupported = isSourceCodeSupported; IsSourceDimensionReferenceSupported = isSourceDimensionReferenceSupported; - IsChartOfAccountReportingTagsItemCreatable = isChartOfAccountReportingTagsItemCreatable; IsChartOfAccountReportingTagIncluded = isChartOfAccountReportingTagIncluded; SupportedExtensions = supportedExtensions; } @@ -4709,7 +4698,6 @@ IReadOnlyList supportedExtensions public bool IsProjectDimensionReferenceSupported { get; } public bool IsSourceCodeSupported { get; } public bool IsSourceDimensionReferenceSupported { get; } - public bool IsChartOfAccountReportingTagsItemCreatable { get; } public Func IsChartOfAccountReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4957,7 +4945,6 @@ public ClassPeriodMappingContract( bool isClassPeriodMeetingTimesSupported, bool isOfficialAttendancePeriodSupported, bool isSchoolReferenceSupported, - bool isClassPeriodMeetingTimesItemCreatable, Func isClassPeriodMeetingTimeIncluded, IReadOnlyList supportedExtensions ) @@ -4965,7 +4952,6 @@ IReadOnlyList supportedExtensions IsClassPeriodMeetingTimesSupported = isClassPeriodMeetingTimesSupported; IsOfficialAttendancePeriodSupported = isOfficialAttendancePeriodSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; - IsClassPeriodMeetingTimesItemCreatable = isClassPeriodMeetingTimesItemCreatable; IsClassPeriodMeetingTimeIncluded = isClassPeriodMeetingTimeIncluded; SupportedExtensions = supportedExtensions; } @@ -4973,7 +4959,6 @@ IReadOnlyList supportedExtensions public bool IsClassPeriodMeetingTimesSupported { get; } public bool IsOfficialAttendancePeriodSupported { get; } public bool IsSchoolReferenceSupported { get; } - public bool IsClassPeriodMeetingTimesItemCreatable { get; } public Func IsClassPeriodMeetingTimeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -5190,7 +5175,6 @@ public CohortMappingContract( bool isCohortScopeDescriptorSupported, bool isCohortTypeDescriptorSupported, bool isEducationOrganizationReferenceSupported, - bool isCohortProgramsItemCreatable, Func isCohortProgramIncluded, IReadOnlyList supportedExtensions ) @@ -5201,7 +5185,6 @@ IReadOnlyList supportedExtensions IsCohortScopeDescriptorSupported = isCohortScopeDescriptorSupported; IsCohortTypeDescriptorSupported = isCohortTypeDescriptorSupported; IsEducationOrganizationReferenceSupported = isEducationOrganizationReferenceSupported; - IsCohortProgramsItemCreatable = isCohortProgramsItemCreatable; IsCohortProgramIncluded = isCohortProgramIncluded; SupportedExtensions = supportedExtensions; } @@ -5212,7 +5195,6 @@ IReadOnlyList supportedExtensions public bool IsCohortScopeDescriptorSupported { get; } public bool IsCohortTypeDescriptorSupported { get; } public bool IsEducationOrganizationReferenceSupported { get; } - public bool IsCohortProgramsItemCreatable { get; } public Func IsCohortProgramIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -8639,7 +8621,6 @@ public CourseOfferingMappingContract( bool isLocalCourseTitleSupported, bool isSchoolReferenceSupported, bool isSessionReferenceSupported, - bool isCourseOfferingCourseLevelCharacteristicsItemCreatable, Func isCourseOfferingCourseLevelCharacteristicIncluded, bool isCourseOfferingCurriculumUsedsItemCreatable, Func isCourseOfferingCurriculumUsedIncluded, @@ -8658,7 +8639,6 @@ IReadOnlyList supportedExtensions IsLocalCourseTitleSupported = isLocalCourseTitleSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsSessionReferenceSupported = isSessionReferenceSupported; - IsCourseOfferingCourseLevelCharacteristicsItemCreatable = isCourseOfferingCourseLevelCharacteristicsItemCreatable; IsCourseOfferingCourseLevelCharacteristicIncluded = isCourseOfferingCourseLevelCharacteristicIncluded; IsCourseOfferingCurriculumUsedsItemCreatable = isCourseOfferingCurriculumUsedsItemCreatable; IsCourseOfferingCurriculumUsedIncluded = isCourseOfferingCurriculumUsedIncluded; @@ -8677,7 +8657,6 @@ IReadOnlyList supportedExtensions public bool IsLocalCourseTitleSupported { get; } public bool IsSchoolReferenceSupported { get; } public bool IsSessionReferenceSupported { get; } - public bool IsCourseOfferingCourseLevelCharacteristicsItemCreatable { get; } public Func IsCourseOfferingCourseLevelCharacteristicIncluded { get; } public bool IsCourseOfferingCurriculumUsedsItemCreatable { get; } public Func IsCourseOfferingCurriculumUsedIncluded { get; } @@ -11356,7 +11335,6 @@ public DisciplineActionMappingContract( bool isResponsibilitySchoolIdSupported, bool isResponsibilitySchoolReferenceSupported, bool isStudentReferenceSupported, - bool isDisciplineActionDisciplinesItemCreatable, Func isDisciplineActionDisciplineIncluded, bool isDisciplineActionStaffsItemCreatable, Func isDisciplineActionStaffIncluded, @@ -11378,7 +11356,6 @@ IReadOnlyList supportedExtensions IsResponsibilitySchoolIdSupported = isResponsibilitySchoolIdSupported; IsResponsibilitySchoolReferenceSupported = isResponsibilitySchoolReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsDisciplineActionDisciplinesItemCreatable = isDisciplineActionDisciplinesItemCreatable; IsDisciplineActionDisciplineIncluded = isDisciplineActionDisciplineIncluded; IsDisciplineActionStaffsItemCreatable = isDisciplineActionStaffsItemCreatable; IsDisciplineActionStaffIncluded = isDisciplineActionStaffIncluded; @@ -11400,7 +11377,6 @@ IReadOnlyList supportedExtensions public bool IsResponsibilitySchoolIdSupported { get; } public bool IsResponsibilitySchoolReferenceSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsDisciplineActionDisciplinesItemCreatable { get; } public Func IsDisciplineActionDisciplineIncluded { get; } public bool IsDisciplineActionStaffsItemCreatable { get; } public Func IsDisciplineActionStaffIncluded { get; } @@ -11864,7 +11840,6 @@ public DisciplineIncidentMappingContract( bool isReporterDescriptionDescriptorSupported, bool isReporterNameSupported, bool isSchoolReferenceSupported, - bool isDisciplineIncidentBehaviorsItemCreatable, Func isDisciplineIncidentBehaviorIncluded, bool isDisciplineIncidentExternalParticipantsItemCreatable, Func isDisciplineIncidentExternalParticipantIncluded, @@ -11886,7 +11861,6 @@ IReadOnlyList supportedExtensions IsReporterDescriptionDescriptorSupported = isReporterDescriptionDescriptorSupported; IsReporterNameSupported = isReporterNameSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; - IsDisciplineIncidentBehaviorsItemCreatable = isDisciplineIncidentBehaviorsItemCreatable; IsDisciplineIncidentBehaviorIncluded = isDisciplineIncidentBehaviorIncluded; IsDisciplineIncidentExternalParticipantsItemCreatable = isDisciplineIncidentExternalParticipantsItemCreatable; IsDisciplineIncidentExternalParticipantIncluded = isDisciplineIncidentExternalParticipantIncluded; @@ -11908,7 +11882,6 @@ IReadOnlyList supportedExtensions public bool IsReporterDescriptionDescriptorSupported { get; } public bool IsReporterNameSupported { get; } public bool IsSchoolReferenceSupported { get; } - public bool IsDisciplineIncidentBehaviorsItemCreatable { get; } public Func IsDisciplineIncidentBehaviorIncluded { get; } public bool IsDisciplineIncidentExternalParticipantsItemCreatable { get; } public Func IsDisciplineIncidentExternalParticipantIncluded { get; } @@ -16022,7 +15995,6 @@ public GeneralStudentProgramAssociationMappingContract( bool isReasonExitedDescriptorSupported, bool isServedOutsideOfRegularSessionSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded ) { @@ -16033,7 +16005,6 @@ Func isGenera IsReasonExitedDescriptorSupported = isReasonExitedDescriptorSupported; IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; } @@ -16044,7 +16015,6 @@ Func isGenera public bool IsReasonExitedDescriptorSupported { get; } public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -16234,7 +16204,6 @@ public GradeMappingContract( bool isNumericGradeEarnedSupported, bool isPerformanceBaseConversionDescriptorSupported, bool isStudentSectionAssociationReferenceSupported, - bool isGradeLearningStandardGradesItemCreatable, Func isGradeLearningStandardGradeIncluded, IReadOnlyList supportedExtensions ) @@ -16249,7 +16218,6 @@ IReadOnlyList supportedExtensions IsNumericGradeEarnedSupported = isNumericGradeEarnedSupported; IsPerformanceBaseConversionDescriptorSupported = isPerformanceBaseConversionDescriptorSupported; IsStudentSectionAssociationReferenceSupported = isStudentSectionAssociationReferenceSupported; - IsGradeLearningStandardGradesItemCreatable = isGradeLearningStandardGradesItemCreatable; IsGradeLearningStandardGradeIncluded = isGradeLearningStandardGradeIncluded; SupportedExtensions = supportedExtensions; } @@ -16264,7 +16232,6 @@ IReadOnlyList supportedExtensions public bool IsNumericGradeEarnedSupported { get; } public bool IsPerformanceBaseConversionDescriptorSupported { get; } public bool IsStudentSectionAssociationReferenceSupported { get; } - public bool IsGradeLearningStandardGradesItemCreatable { get; } public Func IsGradeLearningStandardGradeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -27899,7 +27866,6 @@ public ProgramEvaluationMappingContract( bool isProgramEvaluationDescriptionSupported, bool isProgramEvaluationLevelsSupported, bool isProgramReferenceSupported, - bool isProgramEvaluationLevelsItemCreatable, Func isProgramEvaluationLevelIncluded, IReadOnlyList supportedExtensions ) @@ -27909,7 +27875,6 @@ IReadOnlyList supportedExtensions IsProgramEvaluationDescriptionSupported = isProgramEvaluationDescriptionSupported; IsProgramEvaluationLevelsSupported = isProgramEvaluationLevelsSupported; IsProgramReferenceSupported = isProgramReferenceSupported; - IsProgramEvaluationLevelsItemCreatable = isProgramEvaluationLevelsItemCreatable; IsProgramEvaluationLevelIncluded = isProgramEvaluationLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -27919,7 +27884,6 @@ IReadOnlyList supportedExtensions public bool IsProgramEvaluationDescriptionSupported { get; } public bool IsProgramEvaluationLevelsSupported { get; } public bool IsProgramReferenceSupported { get; } - public bool IsProgramEvaluationLevelsItemCreatable { get; } public Func IsProgramEvaluationLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -28028,7 +27992,6 @@ public ProgramEvaluationElementMappingContract( bool isProgramEvaluationObjectiveReferenceSupported, bool isProgramEvaluationObjectiveTitleSupported, bool isProgramEvaluationReferenceSupported, - bool isProgramEvaluationElementProgramEvaluationLevelsItemCreatable, Func isProgramEvaluationElementProgramEvaluationLevelIncluded, IReadOnlyList supportedExtensions ) @@ -28041,7 +28004,6 @@ IReadOnlyList supportedExtensions IsProgramEvaluationObjectiveReferenceSupported = isProgramEvaluationObjectiveReferenceSupported; IsProgramEvaluationObjectiveTitleSupported = isProgramEvaluationObjectiveTitleSupported; IsProgramEvaluationReferenceSupported = isProgramEvaluationReferenceSupported; - IsProgramEvaluationElementProgramEvaluationLevelsItemCreatable = isProgramEvaluationElementProgramEvaluationLevelsItemCreatable; IsProgramEvaluationElementProgramEvaluationLevelIncluded = isProgramEvaluationElementProgramEvaluationLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -28054,7 +28016,6 @@ IReadOnlyList supportedExtensions public bool IsProgramEvaluationObjectiveReferenceSupported { get; } public bool IsProgramEvaluationObjectiveTitleSupported { get; } public bool IsProgramEvaluationReferenceSupported { get; } - public bool IsProgramEvaluationElementProgramEvaluationLevelsItemCreatable { get; } public Func IsProgramEvaluationElementProgramEvaluationLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -28300,7 +28261,6 @@ public ProgramEvaluationObjectiveMappingContract( bool isProgramEvaluationObjectiveDescriptionSupported, bool isProgramEvaluationObjectiveProgramEvaluationLevelsSupported, bool isProgramEvaluationReferenceSupported, - bool isProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable, Func isProgramEvaluationObjectiveProgramEvaluationLevelIncluded, IReadOnlyList supportedExtensions ) @@ -28311,7 +28271,6 @@ IReadOnlyList supportedExtensions IsProgramEvaluationObjectiveDescriptionSupported = isProgramEvaluationObjectiveDescriptionSupported; IsProgramEvaluationObjectiveProgramEvaluationLevelsSupported = isProgramEvaluationObjectiveProgramEvaluationLevelsSupported; IsProgramEvaluationReferenceSupported = isProgramEvaluationReferenceSupported; - IsProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable = isProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable; IsProgramEvaluationObjectiveProgramEvaluationLevelIncluded = isProgramEvaluationObjectiveProgramEvaluationLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -28322,7 +28281,6 @@ IReadOnlyList supportedExtensions public bool IsProgramEvaluationObjectiveDescriptionSupported { get; } public bool IsProgramEvaluationObjectiveProgramEvaluationLevelsSupported { get; } public bool IsProgramEvaluationReferenceSupported { get; } - public bool IsProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable { get; } public Func IsProgramEvaluationObjectiveProgramEvaluationLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -30128,7 +30086,6 @@ public ReportCardMappingContract( bool isReportCardGradesSupported, bool isReportCardStudentCompetencyObjectivesSupported, bool isStudentReferenceSupported, - bool isReportCardGradesItemCreatable, Func isReportCardGradeIncluded, bool isReportCardGradePointAveragesItemCreatable, Func isReportCardGradePointAverageIncluded, @@ -30146,7 +30103,6 @@ IReadOnlyList supportedExtensions IsReportCardGradesSupported = isReportCardGradesSupported; IsReportCardStudentCompetencyObjectivesSupported = isReportCardStudentCompetencyObjectivesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsReportCardGradesItemCreatable = isReportCardGradesItemCreatable; IsReportCardGradeIncluded = isReportCardGradeIncluded; IsReportCardGradePointAveragesItemCreatable = isReportCardGradePointAveragesItemCreatable; IsReportCardGradePointAverageIncluded = isReportCardGradePointAverageIncluded; @@ -30164,7 +30120,6 @@ IReadOnlyList supportedExtensions public bool IsReportCardGradesSupported { get; } public bool IsReportCardStudentCompetencyObjectivesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsReportCardGradesItemCreatable { get; } public Func IsReportCardGradeIncluded { get; } public bool IsReportCardGradePointAveragesItemCreatable { get; } public Func IsReportCardGradePointAverageIncluded { get; } @@ -30885,7 +30840,6 @@ public RestraintEventMappingContract( bool isRestraintEventReasonsSupported, bool isSchoolReferenceSupported, bool isStudentReferenceSupported, - bool isRestraintEventProgramsItemCreatable, Func isRestraintEventProgramIncluded, bool isRestraintEventReasonsItemCreatable, Func isRestraintEventReasonIncluded, @@ -30898,7 +30852,6 @@ IReadOnlyList supportedExtensions IsRestraintEventReasonsSupported = isRestraintEventReasonsSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsRestraintEventProgramsItemCreatable = isRestraintEventProgramsItemCreatable; IsRestraintEventProgramIncluded = isRestraintEventProgramIncluded; IsRestraintEventReasonsItemCreatable = isRestraintEventReasonsItemCreatable; IsRestraintEventReasonIncluded = isRestraintEventReasonIncluded; @@ -30911,7 +30864,6 @@ IReadOnlyList supportedExtensions public bool IsRestraintEventReasonsSupported { get; } public bool IsSchoolReferenceSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsRestraintEventProgramsItemCreatable { get; } public Func IsRestraintEventProgramIncluded { get; } public bool IsRestraintEventReasonsItemCreatable { get; } public Func IsRestraintEventReasonIncluded { get; } @@ -34956,7 +34908,6 @@ public StaffDisciplineIncidentAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported, bool isStaffReferenceSupported, - bool isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -34964,7 +34915,6 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; - IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -34972,7 +34922,6 @@ IReadOnlyList supportedExtensions public bool IsDisciplineIncidentReferenceSupported { get; } public bool IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported { get; } public bool IsStaffReferenceSupported { get; } - public bool IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable { get; } public Func IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -35263,8 +35212,6 @@ public StaffEducationOrganizationContactAssociationMappingContract( bool isStaffEducationOrganizationContactAssociationAddressSupported, bool isStaffEducationOrganizationContactAssociationTelephonesSupported, bool isStaffReferenceSupported, - bool isStaffEducationOrganizationContactAssociationAddressCreatable, - bool isStaffEducationOrganizationContactAssociationTelephonesItemCreatable, Func isStaffEducationOrganizationContactAssociationTelephoneIncluded, IReadOnlyList supportedExtensions ) @@ -35275,8 +35222,6 @@ IReadOnlyList supportedExtensions IsStaffEducationOrganizationContactAssociationAddressSupported = isStaffEducationOrganizationContactAssociationAddressSupported; IsStaffEducationOrganizationContactAssociationTelephonesSupported = isStaffEducationOrganizationContactAssociationTelephonesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; - IsStaffEducationOrganizationContactAssociationAddressCreatable = isStaffEducationOrganizationContactAssociationAddressCreatable; - IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable = isStaffEducationOrganizationContactAssociationTelephonesItemCreatable; IsStaffEducationOrganizationContactAssociationTelephoneIncluded = isStaffEducationOrganizationContactAssociationTelephoneIncluded; SupportedExtensions = supportedExtensions; } @@ -35287,8 +35232,6 @@ IReadOnlyList supportedExtensions public bool IsStaffEducationOrganizationContactAssociationAddressSupported { get; } public bool IsStaffEducationOrganizationContactAssociationTelephonesSupported { get; } public bool IsStaffReferenceSupported { get; } - public bool IsStaffEducationOrganizationContactAssociationAddressCreatable { get; } - public bool IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable { get; } public Func IsStaffEducationOrganizationContactAssociationTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -38203,8 +38146,6 @@ public StudentAcademicRecordMappingContract( bool isStudentAcademicRecordRecognitionsSupported, bool isStudentAcademicRecordReportCardsSupported, bool isStudentReferenceSupported, - bool isStudentAcademicRecordClassRankingCreatable, - bool isStudentAcademicRecordAcademicHonorsItemCreatable, Func isStudentAcademicRecordAcademicHonorIncluded, bool isStudentAcademicRecordDiplomasItemCreatable, Func isStudentAcademicRecordDiplomaIncluded, @@ -38239,8 +38180,6 @@ IReadOnlyList supportedExtensions IsStudentAcademicRecordRecognitionsSupported = isStudentAcademicRecordRecognitionsSupported; IsStudentAcademicRecordReportCardsSupported = isStudentAcademicRecordReportCardsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentAcademicRecordClassRankingCreatable = isStudentAcademicRecordClassRankingCreatable; - IsStudentAcademicRecordAcademicHonorsItemCreatable = isStudentAcademicRecordAcademicHonorsItemCreatable; IsStudentAcademicRecordAcademicHonorIncluded = isStudentAcademicRecordAcademicHonorIncluded; IsStudentAcademicRecordDiplomasItemCreatable = isStudentAcademicRecordDiplomasItemCreatable; IsStudentAcademicRecordDiplomaIncluded = isStudentAcademicRecordDiplomaIncluded; @@ -38275,8 +38214,6 @@ IReadOnlyList supportedExtensions public bool IsStudentAcademicRecordRecognitionsSupported { get; } public bool IsStudentAcademicRecordReportCardsSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentAcademicRecordClassRankingCreatable { get; } - public bool IsStudentAcademicRecordAcademicHonorsItemCreatable { get; } public Func IsStudentAcademicRecordAcademicHonorIncluded { get; } public bool IsStudentAcademicRecordDiplomasItemCreatable { get; } public Func IsStudentAcademicRecordDiplomaIncluded { get; } @@ -40084,7 +40021,6 @@ public StudentCohortAssociationMappingContract( bool isEndDateSupported, bool isStudentCohortAssociationSectionsSupported, bool isStudentReferenceSupported, - bool isStudentCohortAssociationSectionsItemCreatable, Func isStudentCohortAssociationSectionIncluded, IReadOnlyList supportedExtensions ) @@ -40093,7 +40029,6 @@ IReadOnlyList supportedExtensions IsEndDateSupported = isEndDateSupported; IsStudentCohortAssociationSectionsSupported = isStudentCohortAssociationSectionsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentCohortAssociationSectionsItemCreatable = isStudentCohortAssociationSectionsItemCreatable; IsStudentCohortAssociationSectionIncluded = isStudentCohortAssociationSectionIncluded; SupportedExtensions = supportedExtensions; } @@ -40102,7 +40037,6 @@ IReadOnlyList supportedExtensions public bool IsEndDateSupported { get; } public bool IsStudentCohortAssociationSectionsSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentCohortAssociationSectionsItemCreatable { get; } public Func IsStudentCohortAssociationSectionIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -40284,7 +40218,6 @@ public StudentCompetencyObjectiveMappingContract( bool isStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported, bool isStudentCompetencyObjectiveStudentSectionAssociationsSupported, bool isStudentReferenceSupported, - bool isStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable, Func isStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded, bool isStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable, Func isStudentCompetencyObjectiveStudentSectionAssociationIncluded, @@ -40298,7 +40231,6 @@ IReadOnlyList supportedExtensions IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported = isStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported; IsStudentCompetencyObjectiveStudentSectionAssociationsSupported = isStudentCompetencyObjectiveStudentSectionAssociationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable = isStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable; IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded = isStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded; IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable = isStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable; IsStudentCompetencyObjectiveStudentSectionAssociationIncluded = isStudentCompetencyObjectiveStudentSectionAssociationIncluded; @@ -40312,7 +40244,6 @@ IReadOnlyList supportedExtensions public bool IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported { get; } public bool IsStudentCompetencyObjectiveStudentSectionAssociationsSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable { get; } public Func IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded { get; } public bool IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable { get; } public Func IsStudentCompetencyObjectiveStudentSectionAssociationIncluded { get; } @@ -40916,7 +40847,6 @@ public StudentDisciplineIncidentBehaviorAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported, bool isStudentReferenceSupported, - bool isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -40925,7 +40855,6 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -40934,7 +40863,6 @@ IReadOnlyList supportedExtensions public bool IsDisciplineIncidentReferenceSupported { get; } public bool IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable { get; } public Func IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -41074,7 +41002,6 @@ public StudentDisciplineIncidentNonOffenderAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported, bool isStudentReferenceSupported, - bool isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -41082,7 +41009,6 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -41090,7 +41016,6 @@ IReadOnlyList supportedExtensions public bool IsDisciplineIncidentReferenceSupported { get; } public bool IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable { get; } public Func IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43131,7 +43056,6 @@ public StudentHomelessProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentHomelessProgramAssociationHomelessProgramServicesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable, Func isStudentHomelessProgramAssociationHomelessProgramServiceIncluded, @@ -43149,7 +43073,6 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentHomelessProgramAssociationHomelessProgramServicesSupported = isStudentHomelessProgramAssociationHomelessProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable = isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded = isStudentHomelessProgramAssociationHomelessProgramServiceIncluded; @@ -43167,7 +43090,6 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentHomelessProgramAssociationHomelessProgramServicesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable { get; } public Func IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded { get; } @@ -43523,7 +43445,6 @@ public StudentInterventionAssociationMappingContract( bool isInterventionReferenceSupported, bool isStudentInterventionAssociationInterventionEffectivenessesSupported, bool isStudentReferenceSupported, - bool isStudentInterventionAssociationInterventionEffectivenessesItemCreatable, Func isStudentInterventionAssociationInterventionEffectivenessIncluded, IReadOnlyList supportedExtensions ) @@ -43536,7 +43457,6 @@ IReadOnlyList supportedExtensions IsInterventionReferenceSupported = isInterventionReferenceSupported; IsStudentInterventionAssociationInterventionEffectivenessesSupported = isStudentInterventionAssociationInterventionEffectivenessesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable = isStudentInterventionAssociationInterventionEffectivenessesItemCreatable; IsStudentInterventionAssociationInterventionEffectivenessIncluded = isStudentInterventionAssociationInterventionEffectivenessIncluded; SupportedExtensions = supportedExtensions; } @@ -43549,7 +43469,6 @@ IReadOnlyList supportedExtensions public bool IsInterventionReferenceSupported { get; } public bool IsStudentInterventionAssociationInterventionEffectivenessesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable { get; } public Func IsStudentInterventionAssociationInterventionEffectivenessIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43824,7 +43743,6 @@ public StudentLanguageInstructionProgramAssociationMappingContract( bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported, bool isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable, Func isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded, @@ -43844,7 +43762,6 @@ IReadOnlyList supportedExtensions IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported; IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable; IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded; @@ -43864,7 +43781,6 @@ IReadOnlyList supportedExtensions public bool IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported { get; } public bool IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable { get; } public Func IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded { get; } @@ -44387,7 +44303,6 @@ public StudentNeglectedOrDelinquentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable, Func isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded, @@ -44405,7 +44320,6 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded; @@ -44423,7 +44337,6 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable { get; } public Func IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded { get; } @@ -44848,7 +44761,6 @@ public StudentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentProgramAssociationServicesSupported, bool isStudentReferenceSupported, - bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentProgramAssociationServicesItemCreatable, Func isStudentProgramAssociationServiceIncluded, @@ -44863,7 +44775,6 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentProgramAssociationServicesSupported = isStudentProgramAssociationServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; - IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentProgramAssociationServicesItemCreatable = isStudentProgramAssociationServicesItemCreatable; IsStudentProgramAssociationServiceIncluded = isStudentProgramAssociationServiceIncluded; @@ -44878,7 +44789,6 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentProgramAssociationServicesSupported { get; } public bool IsStudentReferenceSupported { get; } - public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentProgramAssociationServicesItemCreatable { get; } public Func IsStudentProgramAssociationServiceIncluded { get; } @@ -48585,7 +48495,6 @@ public SurveyQuestionResponseMappingContract( bool isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported, bool isSurveyQuestionResponseValuesSupported, bool isSurveyResponseReferenceSupported, - bool isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable, Func isSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded, bool isSurveyQuestionResponseValuesItemCreatable, Func isSurveyQuestionResponseValueIncluded, @@ -48598,7 +48507,6 @@ IReadOnlyList supportedExtensions IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported = isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported; IsSurveyQuestionResponseValuesSupported = isSurveyQuestionResponseValuesSupported; IsSurveyResponseReferenceSupported = isSurveyResponseReferenceSupported; - IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable = isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable; IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded = isSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded; IsSurveyQuestionResponseValuesItemCreatable = isSurveyQuestionResponseValuesItemCreatable; IsSurveyQuestionResponseValueIncluded = isSurveyQuestionResponseValueIncluded; @@ -48611,7 +48519,6 @@ IReadOnlyList supportedExtensions public bool IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported { get; } public bool IsSurveyQuestionResponseValuesSupported { get; } public bool IsSurveyResponseReferenceSupported { get; } - public bool IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable { get; } public Func IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded { get; } public bool IsSurveyQuestionResponseValuesItemCreatable { get; } public Func IsSurveyQuestionResponseValueIncluded { get; } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs index 752ae57d18..e292dc1c55 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs @@ -277,71 +277,50 @@ private bool IsModelInterfaceProperty(ResourceProperty p) private IEnumerable GetMappingContractMembers(ResourceClassBase resourceClass) { - return _mappingContractMembersByFullName.GetOrAdd(resourceClass.FullName, - static (fn, args) => + var properties = resourceClass.AllProperties + + // Don't include properties that are not synchronizable + .Where(p => p.IsSynchronizedProperty()) + + // Don't include identifying properties, with the exception of where UniqueIds are defined + .Where(p => !p.IsIdentifying || _personEntitySpecification.IsDefiningUniqueId(resourceClass, p)) + .Select(p => p.PropertyName) + + // Add embedded object properties + .Concat( + resourceClass.EmbeddedObjects.Cast() + .Concat(resourceClass.References) + .Concat(resourceClass.Extensions) + .Concat(resourceClass.Collections) + .Select(rc => rc.PropertyName)) + .Distinct() + .OrderBy(pn => pn) + .Select(pn => new { - var rc = args.resourceClass; - var personEntitySpecification = args.personEntitySpecification; - - var properties = rc.AllProperties - - // Don't include properties that are not synchronizable - .Where(p => p.IsSynchronizedProperty()) - - // Don't include identifying properties, with the exception of where UniqueIds are defined - .Where(p => !p.IsIdentifying || personEntitySpecification.IsDefiningUniqueId(rc, p)) - .Select(p => p.PropertyName) - - // Add embedded object properties - .Concat( - rc.EmbeddedObjects.Cast() - .Concat(rc.References) - .Concat(rc.Extensions) - .Concat(rc.Collections) - .Select(rc => rc.PropertyName)) - .Distinct() - .OrderBy(pn => pn) - .Select(pn => new - { - PropertyName = pn, - ItemTypeName = null as string, - IsCollection = false, - }); - - var embeddedObjects = rc.EmbeddedObjects - .OrderBy(c => c.ObjectType.Name) - .Select(c => new - { - PropertyName = c.PropertyName, - ItemTypeName = c.ObjectType.Name, - IsCollection = false, - }); - - var collections = rc.Collections - .OrderBy(c => c.ItemType.Name) - .Select(c => new - { - PropertyName = c.PropertyName, - ItemTypeName = c.ItemType.Name, - IsCollection = true, - }); - - var members = properties - .Concat(embeddedObjects) - .Concat(collections) - .ToList(); - - return members.Select( - x => - new - { - PropertyName = x.PropertyName, - ItemTypeName = x.ItemTypeName, - IsCollection = x.IsCollection, - IsLast = x == members.Last() && !rc.IsExtendable() - }); - }, - (resourceClass: resourceClass, personEntitySpecification: _personEntitySpecification)); + PropertyName = pn, + ItemTypeName = null as string, + }); + + var collections = resourceClass.Collections + .OrderBy(c => c.ItemType.Name) + .Select(c => new + { + PropertyName = c.PropertyName, + ItemTypeName = c.ItemType.Name + }); + + var members = properties + .Concat(collections) + .ToList(); + + return members.Select( + x => + new + { + PropertyName = x.PropertyName, + ItemTypeName = x.ItemTypeName, + IsLast = x == members.Last() && !resourceClass.IsExtendable() + }); } } }