From d85db1b24af5670c20baf7bb38727c67fce7ca23 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Wed, 10 Jan 2024 01:45:19 -0600 Subject: [PATCH 01/19] Semantic Model Enhancement: Minor changes after adding and reverting support detection of data policies (Profiles) that prevent resource creation. --- .../ProfileResourceMembersFilterProvider.cs | 29 ++++++++++--------- .../Models/Resource/Resource.cs | 7 +++++ .../Models/Resource/ResourceClassBase.cs | 7 +++++ 3 files changed, 29 insertions(+), 14 deletions(-) diff --git a/Application/EdFi.Ods.Common/Models/Resource/ProfileResourceMembersFilterProvider.cs b/Application/EdFi.Ods.Common/Models/Resource/ProfileResourceMembersFilterProvider.cs index 41093e35b3..031048ae02 100644 --- a/Application/EdFi.Ods.Common/Models/Resource/ProfileResourceMembersFilterProvider.cs +++ b/Application/EdFi.Ods.Common/Models/Resource/ProfileResourceMembersFilterProvider.cs @@ -45,7 +45,8 @@ public IMemberFilter GetMemberFilter(ResourceClassBase resourceClass, XElement d var definitionMemberNames = definition.Elements() .Where(e => _profileDefinitionMemberElementNames.Contains(e.Name.ToString())) .Select(e => e.AttributeValue("name")) - .Where(n => !string.IsNullOrEmpty(n)); + .Where(n => !string.IsNullOrEmpty(n)) + .ToArray(); var definitionExtensionNames = definition.Elements("Extension") .Select(e => e.AttributeValue("name")) @@ -61,7 +62,7 @@ public IMemberFilter GetMemberFilter(ResourceClassBase resourceClass, XElement d break; case "IncludeOnly": - var invalidInclusions = definitionMemberNames.Where( + var nonExistingIncludedMembers = definitionMemberNames.Where( n => !resourceClass.CollectionByName.ContainsKey(n) && !resourceClass.PropertyByName.ContainsKey(n) && !resourceClass.ReferenceByName.ContainsKey(n) @@ -69,28 +70,28 @@ public IMemberFilter GetMemberFilter(ResourceClassBase resourceClass, XElement d .OrderBy(n => n) .ToArray(); - if (invalidInclusions.Any()) + if (nonExistingIncludedMembers.Any()) { string profileName = GetProfileName(); string message = - $"Profile '{profileName}' definition for the {ReadOrWrite()} content type for resource '{resourceClass.ResourceRoot.FullName}' attempted to include {Inflector.Inflect("member", invalidInclusions.Length)} '{string.Join("', '", invalidInclusions)}' of '{resourceClass.FullName}', but {Inflector.Inflect(string.Empty, invalidInclusions.Length, "it doesn't", "they don't")} exist. The following members are available: '{GetAllMemberNamesCsv(resourceClass)}'."; + $"Profile '{profileName}' definition for the {ReadOrWrite()} content type for resource '{resourceClass.ResourceRoot.FullName}' attempted to include {Inflector.Inflect("member", nonExistingIncludedMembers.Length)} '{string.Join("', '", nonExistingIncludedMembers)}' of '{resourceClass.FullName}', but {Inflector.Inflect(string.Empty, nonExistingIncludedMembers.Length, "it doesn't", "they don't")} exist. The following members are available: '{GetAllMemberNamesCsv(resourceClass)}'."; _profileValidationReporter.ReportValidationFailure( ProfileValidationSeverity.Error, profileName, resourceClass.ResourceRoot.FullName, resourceClass.FullName, - invalidInclusions, + nonExistingIncludedMembers, message); } var finalInclusions = definitionMemberNames - .Except(invalidInclusions) + .Except(nonExistingIncludedMembers) .Concat(identifyingReferenceNames) .Concat(identifyingPropertyNames) .ToArray(); - + memberFilter = new IncludeOnlyMemberFilter( finalInclusions.ToArray(), definitionExtensionNames.ToArray()); @@ -106,10 +107,10 @@ public IMemberFilter GetMemberFilter(ResourceClassBase resourceClass, XElement d if (invalidIdentifyingExclusions.Any()) { string profileName = GetProfileName(); - + string message = $"Profile '{profileName}' definition for the {ReadOrWrite()} content type for resource '{resourceClass.ResourceRoot.FullName}' attempted to exclude identifying {Inflector.Inflect("member", invalidIdentifyingExclusions.Length)} '{string.Join("', '", invalidIdentifyingExclusions)}' of '{resourceClass.FullName}', but identifying members cannot be excluded. The following members are identifying and cannot be excluded: '{GetAllMemberNamesCsv(identifyingPropertyNames.Concat(identifyingReferenceNames))}'."; - + _profileValidationReporter.ReportValidationFailure( ProfileValidationSeverity.Warning, profileName, @@ -119,7 +120,7 @@ public IMemberFilter GetMemberFilter(ResourceClassBase resourceClass, XElement d message); } - var missingExclusions = definitionMemberNames + var nonExistingExcludedMembers = definitionMemberNames .Except(invalidIdentifyingExclusions) .Where( n => !resourceClass.CollectionByName.ContainsKey(n) @@ -128,25 +129,25 @@ public IMemberFilter GetMemberFilter(ResourceClassBase resourceClass, XElement d && !resourceClass.EmbeddedObjectByName.ContainsKey(n)) .ToArray(); - if (missingExclusions.Any()) + if (nonExistingExcludedMembers.Any()) { string profileName = GetProfileName(); string message = - $"Profile '{profileName}' definition for the {ReadOrWrite()} content type for resource '{resourceClass.ResourceRoot.FullName}' attempted to exclude {Inflector.Inflect("member", missingExclusions.Length)} '{string.Join("', '", missingExclusions)}' of '{resourceClass.FullName}', but {Inflector.Inflect(string.Empty, missingExclusions.Length, "it doesn't", "they don't")} exist. The following members are available: '{GetAllMemberNamesCsv(resourceClass)}'."; + $"Profile '{profileName}' definition for the {ReadOrWrite()} content type for resource '{resourceClass.ResourceRoot.FullName}' attempted to exclude {Inflector.Inflect("member", nonExistingExcludedMembers.Length)} '{string.Join("', '", nonExistingExcludedMembers)}' of '{resourceClass.FullName}', but {Inflector.Inflect(string.Empty, nonExistingExcludedMembers.Length, "it doesn't", "they don't")} exist. The following members are available: '{GetAllMemberNamesCsv(resourceClass)}'."; _profileValidationReporter.ReportValidationFailure( ProfileValidationSeverity.Warning, profileName, resourceClass.ResourceRoot.FullName, resourceClass.FullName, - missingExclusions, + nonExistingExcludedMembers, message); } string[] finalExclusions = definitionMemberNames .Except(invalidIdentifyingExclusions) // Don't let identifying members be excluded. - .Except(missingExclusions) // Don't let identifying members be excluded. + .Except(nonExistingExcludedMembers) // Don't let non-existing members be excluded. .ToArray(); memberFilter = new ExcludeOnlyMemberFilter(finalExclusions.ToArray(), definitionExtensionNames.ToArray()); diff --git a/Application/EdFi.Ods.Common/Models/Resource/Resource.cs b/Application/EdFi.Ods.Common/Models/Resource/Resource.cs index 34aa22e8c2..7dadf8b15a 100644 --- a/Application/EdFi.Ods.Common/Models/Resource/Resource.cs +++ b/Application/EdFi.Ods.Common/Models/Resource/Resource.cs @@ -25,6 +25,13 @@ internal Resource(IResourceModel resourceModel, Entity entity) _containedItemTypeByName = LazyInitializeContainedItemTypeByName(); } + /// + /// Initializes a new instance of the class whose surface area is constrained by + /// a profile (as determined by the supplied ). + /// + /// + /// + /// internal Resource(IResourceModel resourceModel, Entity entity, FilterContext filterContext) : base(resourceModel, entity, filterContext) { diff --git a/Application/EdFi.Ods.Common/Models/Resource/ResourceClassBase.cs b/Application/EdFi.Ods.Common/Models/Resource/ResourceClassBase.cs index 26bf415442..71828483be 100644 --- a/Application/EdFi.Ods.Common/Models/Resource/ResourceClassBase.cs +++ b/Application/EdFi.Ods.Common/Models/Resource/ResourceClassBase.cs @@ -60,6 +60,13 @@ public abstract class ResourceClassBase protected internal ResourceClassBase(IResourceModel resourceModel, Entity entity) : this(resourceModel, entity, null) { } + /// + /// Initializes a new instance of the class whose surface area is constrained by + /// a profile (as determined by the supplied ). + /// + /// + /// + /// protected internal ResourceClassBase(IResourceModel resourceModel, Entity entity, FilterContext filterContext) : this( resourceModel, From 80c58592a7f791b8e86decd0548715df810aa12a Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Wed, 10 Jan 2024 01:46:16 -0600 Subject: [PATCH 02/19] Add Profile-based create entity decorator to prevent resource creation when a data policy excludes (or doesn't include) the data elements needed to create the resource. --- .../Container/Modules/ProfilesModule.cs | 4 ++ .../ProfileBasedCreateEntityDecorator.cs | 57 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs diff --git a/Application/EdFi.Ods.Features/Container/Modules/ProfilesModule.cs b/Application/EdFi.Ods.Features/Container/Modules/ProfilesModule.cs index 36bdec133b..4810bcd3c1 100644 --- a/Application/EdFi.Ods.Features/Container/Modules/ProfilesModule.cs +++ b/Application/EdFi.Ods.Features/Container/Modules/ProfilesModule.cs @@ -21,6 +21,7 @@ using EdFi.Ods.Common.Models; using EdFi.Ods.Common.Models.Validation; using EdFi.Ods.Common.Profiles; +using EdFi.Ods.Common.Repositories; using EdFi.Ods.Features.Profiles; using MediatR; @@ -107,6 +108,9 @@ public override void ApplyConfigurationSpecificRegistrations(ContainerBuilder bu builder.RegisterType() .As() .SingleInstance(); + + // Register a decorator over ICreateEntity to perform suitability check of active Profile for resource creation. + builder.RegisterGenericDecorator(typeof(ProfileBasedCreateEntityDecorator<>), typeof(ICreateEntity<>)); } } } \ No newline at end of file diff --git a/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs b/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs new file mode 100644 index 0000000000..35ce20819f --- /dev/null +++ b/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs @@ -0,0 +1,57 @@ +using System.Threading; +using System.Threading.Tasks; +using EdFi.Ods.Common; +using EdFi.Ods.Common.Context; +using EdFi.Ods.Common.Exceptions; +using EdFi.Ods.Common.Models.Validation; +using EdFi.Ods.Common.Profiles; +using EdFi.Ods.Common.Repositories; +using EdFi.Ods.Common.Security.Claims; + +namespace EdFi.Ods.Features.Profiles; + +public class ProfileBasedCreateEntityDecorator : ICreateEntity + where TEntity : IHasIdentifier, IDateVersionedEntity +{ + private readonly ICreateEntity _createEntity; + private readonly IContextProvider _profileContentTypeContextProvider; + private readonly IContextProvider _dataManagementResourceContextProvider; + private readonly IProfileValidationReporter _profileValidationReporter; + + public ProfileBasedCreateEntityDecorator( + ICreateEntity createEntity, + IContextProvider profileContentTypeContextProvider, + IContextProvider dataManagementResourceContextProvider, + IProfileValidationReporter profileValidationReporter) + { + _createEntity = createEntity; + _profileContentTypeContextProvider = profileContentTypeContextProvider; + _dataManagementResourceContextProvider = dataManagementResourceContextProvider; + _profileValidationReporter = profileValidationReporter; + } + + public Task CreateAsync(TEntity entity, bool enforceOptimisticLock, CancellationToken cancellationToken) + { + EnsureCreatable(); + + return _createEntity.CreateAsync(entity, enforceOptimisticLock, cancellationToken); + } + + private void EnsureCreatable() + { + var profileContentTypeContext = _profileContentTypeContextProvider.Get(); + + if (profileContentTypeContext == null) + { + return; + } + + var resource = _dataManagementResourceContextProvider.Get().Resource; + + if (!_profileValidationReporter.IsSuitableForCreation(profileContentTypeContext.ProfileName, resource.FullName)) + { + throw new BadRequestException("The resource cannot be created because a data policy has been applied to the request that prevents it.", + new [] { $"The Profile definition for '{profileContentTypeContext.ProfileName}' excludes (or does not include) one or more required data elements needed to create the resource." }); + } + } +} \ No newline at end of file From 8580b6aa104c048b3d0aede3db83833d32c4ea2a Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Wed, 10 Jan 2024 23:50:59 -0600 Subject: [PATCH 03/19] Fixing compilation error in unit test. --- .../EdFi.Ods.Common/Extensions/CollectionExtensionsTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/EdFi.Ods.Tests/EdFi.Ods.Common/Extensions/CollectionExtensionsTests.cs b/Application/EdFi.Ods.Tests/EdFi.Ods.Common/Extensions/CollectionExtensionsTests.cs index f96c6d3f87..4c5eff54c7 100644 --- a/Application/EdFi.Ods.Tests/EdFi.Ods.Common/Extensions/CollectionExtensionsTests.cs +++ b/Application/EdFi.Ods.Tests/EdFi.Ods.Common/Extensions/CollectionExtensionsTests.cs @@ -40,7 +40,7 @@ public void Setup() { SourceList = GetSourceList(); TargetList = GetTargetList(); - IsModified = SourceList.SynchronizeCollectionTo(TargetList, OnChildAddedCallback, IncludeItemFunction); + IsModified = SourceList.SynchronizeCollectionTo(TargetList, OnChildAddedCallback, itemCreatable: true, IncludeItemFunction); } protected abstract List GetSourceList(); From 7efde5e81ab3501f59c914836ed57c1178cc935b Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Wed, 10 Jan 2024 23:21:19 -0600 Subject: [PATCH 04/19] Added support for detecting when a Profile will prevent the creation of the resource, or the creation/addition of a child item during an upsert operation. --- .../Exceptions/DataPolicyException.cs | 49 ++++++++ .../EdFiProblemDetailsExceptionBase.cs | 7 +- .../Extensions/CollectionExtensions.cs | 34 ++++- .../Models/IMappingContract.cs | 2 + .../Models/MappingContractProvider.cs | 22 ++++ .../Resource/ProfileResourceContentTypes.cs | 119 +++++++++++++++++- .../ProfileBasedCreateEntityDecorator.cs | 28 ++++- .../EdFi.Ods.Profiles.Test/Profiles.xml | 28 +++++ .../Mustache/EntityInterfaces.mustache | 18 +++ .../Mustache/EntityMapper.mustache | 6 +- 10 files changed, 298 insertions(+), 15 deletions(-) create mode 100644 Application/EdFi.Ods.Common/Exceptions/DataPolicyException.cs diff --git a/Application/EdFi.Ods.Common/Exceptions/DataPolicyException.cs b/Application/EdFi.Ods.Common/Exceptions/DataPolicyException.cs new file mode 100644 index 0000000000..57253d3257 --- /dev/null +++ b/Application/EdFi.Ods.Common/Exceptions/DataPolicyException.cs @@ -0,0 +1,49 @@ +// 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; + +namespace EdFi.Ods.Common.Exceptions; + +/// +/// An exception that indicates that a Profile (Data Policy) has prevented the request data from being processed. +/// +public class DataPolicyException : BadRequestDataException +{ + // Fields containing override values for Problem Details + private const string TypePart = "policy"; + private const string TitleText = "Data Policy Enforced"; + + public DataPolicyException(string detail) + : base(detail) { } + + public DataPolicyException(string detail, Dictionary validationErrors) + : base(detail) + { + ((IEdFiProblemDetails)this).ValidationErrors = validationErrors; + } + + public DataPolicyException(string detail, string[] errors) + : base(detail) + { + ((IEdFiProblemDetails)this).Errors = errors; + } + + // --------------------------- + // Boilerplate for overrides + // --------------------------- + public override string Title { get => TitleText; } + + protected override IEnumerable GetTypeParts() + { + foreach (var part in base.GetTypeParts()) + { + yield return part; + } + + yield return TypePart; + } + // --------------------------- +} diff --git a/Application/EdFi.Ods.Common/Exceptions/EdFiProblemDetailsExceptionBase.cs b/Application/EdFi.Ods.Common/Exceptions/EdFiProblemDetailsExceptionBase.cs index 26bc9cf736..5aec6890c1 100644 --- a/Application/EdFi.Ods.Common/Exceptions/EdFiProblemDetailsExceptionBase.cs +++ b/Application/EdFi.Ods.Common/Exceptions/EdFiProblemDetailsExceptionBase.cs @@ -22,8 +22,11 @@ namespace EdFi.Ods.Common.Exceptions; │ │ └─────────────────────────┘ │ │ △ │ │ │ ┌────────────────────────────────┐ - │ │ └──┤ KeyChangeNotSupportedException | - │ │ └────────────────────────────────┘ + │ │ ├──┤ KeyChangeNotSupportedException | + │ │ │ └────────────────────────────────┘ + │ │ │ ┌─────────────────────┐ + │ │ └──┤ DataPolicyException | + │ │ └─────────────────────┘ │ │ ┌──────────────────────────────┐ │ └──┤ BadRequestParameterException | │ └──────────────────────────────┘ diff --git a/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs b/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs index b4e0b08662..622073a145 100644 --- a/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs +++ b/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs @@ -7,18 +7,20 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; +using EdFi.Ods.Common.Dependencies; +using EdFi.Ods.Common.Exceptions; namespace EdFi.Ods.Common.Extensions { public static class CollectionExtensions { - private static readonly ConcurrentDictionary _itemTypeByUnderlyingListType = - new ConcurrentDictionary(); + private static readonly ConcurrentDictionary _itemTypeByUnderlyingListType = new(); public static bool SynchronizeCollectionTo( this ICollection sourceList, ICollection targetList, Action onChildAdded, + bool itemCreatable, Func includeItem = null) where T : ISynchronizable // { @@ -67,13 +69,24 @@ public static bool SynchronizeCollectionTo( .Except(targetList.Where(i => includeItem == null || includeItem(i))) .ToList(); - foreach (var item in itemsToAdd) + if (itemsToAdd.Any()) { - targetList.Add(item); + if (!itemCreatable) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; - onChildAdded?.Invoke(item); + throw new DataPolicyException("The resource cannot be saved because a data policy has been applied to the request that prevents it.", + new [] { $"The Profile definition for '{profileName}' excludes (or does not include) one or more required data elements needed to create a child item of type '{itemsToAdd.First().GetType().Name}' in the resource." }); + } + + foreach (var item in itemsToAdd) + { + targetList.Add(item); - isModified = true; + onChildAdded?.Invoke(item); + + isModified = true; + } } return isModified; @@ -82,6 +95,7 @@ public static bool SynchronizeCollectionTo( public static void MapCollectionTo( this ICollection sourceList, ICollection targetList, + bool itemCreatable = true, object parent = null, Func isItemIncluded = null) where TSource : IMappable @@ -101,6 +115,14 @@ public static void MapCollectionTo( foreach (var sourceItem in sourceList.Where(i => isItemIncluded == null || isItemIncluded(i))) { + if (!itemCreatable) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException("The resource cannot be saved because a data policy has been applied to the request that prevents it.", + new [] { $"The Profile definition for '{profileName}' excludes (or does not include) one or more required data elements needed to create a child item of type '{itemType.Name}' in the resource." }); + } + var targetItem = (TTarget) Activator.CreateInstance(itemType); if (parent != null) diff --git a/Application/EdFi.Ods.Common/Models/IMappingContract.cs b/Application/EdFi.Ods.Common/Models/IMappingContract.cs index b64f951aff..7c6e47ab10 100644 --- a/Application/EdFi.Ods.Common/Models/IMappingContract.cs +++ b/Application/EdFi.Ods.Common/Models/IMappingContract.cs @@ -16,4 +16,6 @@ public interface IMappingContract /// The name of member to be mapped/synchronized. /// true if the member is supported; otherwise false. bool IsMemberSupported(string memberName); + + bool IsItemCreatable(string memberName); } diff --git a/Application/EdFi.Ods.Common/Models/MappingContractProvider.cs b/Application/EdFi.Ods.Common/Models/MappingContractProvider.cs index e35cc3e522..8d43f5eb55 100644 --- a/Application/EdFi.Ods.Common/Models/MappingContractProvider.cs +++ b/Application/EdFi.Ods.Common/Models/MappingContractProvider.cs @@ -208,6 +208,28 @@ private IMappingContract GetOrCreateMappingContract(MappingContractKey mappingCo return null; } + if (parameterInfo.Name.EndsWith("ItemCreatable")) + { + string memberName = parameterInfo.Name.Substring( + 2, + parameterInfo.Name.Length - "ItemCreatable".Length - 2); + + if (key.ContentTypeUsage == ContentTypeUsage.Readable) + { + // Use of the readable content type implies outbound mapping is in play, which should always be supported + return true; + } + + string collectionName = CompositeTermInflector.MakePlural(memberName); + + if (profileResourceClass.CollectionByName.TryGetValue(collectionName, out var collection)) + { + return contentTypes.CanCreateResourceClass(collection.ItemType.FullName); + } + + return false; + } + throw new Exception( $"Constructor argument '{parameterInfo.Name}' of '{mappingContractType.FullName}' did not conform to expected naming convention of isXxxxSupported or isXxxxIncluded."); }) diff --git a/Application/EdFi.Ods.Common/Models/Resource/ProfileResourceContentTypes.cs b/Application/EdFi.Ods.Common/Models/Resource/ProfileResourceContentTypes.cs index de33cfa0f0..8b27bbab81 100644 --- a/Application/EdFi.Ods.Common/Models/Resource/ProfileResourceContentTypes.cs +++ b/Application/EdFi.Ods.Common/Models/Resource/ProfileResourceContentTypes.cs @@ -4,7 +4,12 @@ // See the LICENSE and NOTICES files in the project root for more information. using System; +using System.Collections.Concurrent; +using System.Linq; using System.Xml.Linq; +using EdFi.Ods.Common.Exceptions; +using EdFi.Ods.Common.Extensions; +using EdFi.Ods.Common.Models.Domain; using EdFi.Ods.Common.Models.Validation; namespace EdFi.Ods.Common.Models.Resource @@ -14,10 +19,13 @@ namespace EdFi.Ods.Common.Models.Resource /// public class ProfileResourceContentTypes { + private readonly ConcurrentDictionary _isCreatableByResourceClassName = new(); private readonly IProfileValidationReporter _profileValidationReporter; - + private readonly Lazy _readableResource; + private readonly Resource _sourceResource; private readonly Lazy _writableResource; + private readonly string _profileName; /// /// Initializes a new instance of the class using the @@ -25,8 +33,14 @@ public class ProfileResourceContentTypes /// /// The source (underlying) resource. /// The profile's definition for the resource. - public ProfileResourceContentTypes(Resource sourceResource, XElement resourceDefinition, IProfileValidationReporter profileValidationReporter) + public ProfileResourceContentTypes( + Resource sourceResource, + XElement resourceDefinition, + IProfileValidationReporter profileValidationReporter) { + _profileName = resourceDefinition.Parent.AttributeValue("name"); + + _sourceResource = sourceResource; _profileValidationReporter = profileValidationReporter; _readableResource = new Lazy( @@ -52,6 +66,107 @@ public Resource Writable get { return _writableResource.Value; } } + public bool CanCreateResourceClass(FullName resourceClassName) + { + if (_writableResource == null) + { + return false; + } + + return _isCreatableByResourceClassName.GetOrAdd( + resourceClassName, + fn => + { + // Find the resource class in both representations (writable content type, and original) + var sourceResourceClass = + _sourceResource.AllContainedItemTypesOrSelf.SingleOrDefault(t => t.FullName == resourceClassName); + + if (sourceResourceClass == null) + { + throw new InternalServerErrorException( + "An unexpected problem was encountered while creating the resource item.", + $"The resource class '{fn}' was not found in resource '{_sourceResource.FullName}' while attempting to determine if it is creatable with Profile '{_profileName}'."); + } + + var writableResourceClass = + Writable.AllContainedItemTypesOrSelf.SingleOrDefault(t => t.FullName == resourceClassName); + + if (writableResourceClass == null) + { + return false; + } + + return IsCreatable(sourceResourceClass, writableResourceClass); + }); + } + + private bool IsCreatable(ResourceClassBase sourceResourceClass, ResourceClassBase writableResourceClass) + { + // Need to check for any members that are required for creation have not been included in the Profile resource + + // Check for missing required properties + var requiredPropertyNames = sourceResourceClass.Properties.Where(p => !p.PropertyType.IsNullable) + .Select(p => p.PropertyName); + + if (requiredPropertyNames.Any(rn => !writableResourceClass.PropertyByName.ContainsKey(rn))) + { + return false; + } + + // Check for missing required references + var requiredReferenceNames = sourceResourceClass.References.Where(r => r.IsRequired).Select(r => r.PropertyName); + + if (requiredReferenceNames.Any(rn => !writableResourceClass.ReferenceByName.ContainsKey(rn))) + { + return false; + } + + // Check for missing required collections + var requiredCollections = sourceResourceClass.Collections.Where(c => c.Association.IsRequiredCollection); + + if (requiredCollections.Any(c => !writableResourceClass.CollectionByName.ContainsKey(c.PropertyName))) + { + return false; + } + + // Recursively check the resource class contained by the required collections + var requiredCollectionItemTypes = requiredCollections.Select( + rc => new + { + SourceItemType = rc.ItemType, + WritableItemType = writableResourceClass.CollectionByName[rc.PropertyName].ItemType + }); + + if (requiredCollectionItemTypes.Any(x => !IsCreatable(x.SourceItemType, x.WritableItemType))) + { + return false; + } + + // Check for missing embedded objects + var requiredEmbeddedObjects = sourceResourceClass.EmbeddedObjects.Where(e => e.Association.IsRequiredEmbeddedObject); + + if (requiredEmbeddedObjects.Any(eo => !writableResourceClass.EmbeddedObjectByName.ContainsKey(eo.PropertyName))) + { + return false; + } + + // Recursively check the resource class contained by the required embedded object + var requiredEmbeddedObjectTypes = requiredEmbeddedObjects.Select( + rc => new + { + SourceItemType = rc.ObjectType, + WritableItemType = writableResourceClass.EmbeddedObjectByName[rc.PropertyName].ObjectType + }); + + if (requiredEmbeddedObjectTypes.Any(x => !IsCreatable(x.SourceItemType, x.WritableItemType))) + { + return false; + } + + // If we're still here. It's creatable + return true; + } + private Resource GetResourceForContentType( Resource sourceResource, XElement resourceDefinition, diff --git a/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs b/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs index 35ce20819f..97c5232abc 100644 --- a/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs +++ b/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs @@ -3,6 +3,8 @@ using EdFi.Ods.Common; using EdFi.Ods.Common.Context; using EdFi.Ods.Common.Exceptions; +using EdFi.Ods.Common.Models; +using EdFi.Ods.Common.Models.Resource; using EdFi.Ods.Common.Models.Validation; using EdFi.Ods.Common.Profiles; using EdFi.Ods.Common.Repositories; @@ -10,26 +12,42 @@ namespace EdFi.Ods.Features.Profiles; +/// +/// Implements a decorator over that determines if a Profile has been applied that +/// makes it impossible to create the resource's entities and if so, throws a . +/// +/// public class ProfileBasedCreateEntityDecorator : ICreateEntity where TEntity : IHasIdentifier, IDateVersionedEntity { private readonly ICreateEntity _createEntity; private readonly IContextProvider _profileContentTypeContextProvider; + private readonly IProfileResourceModelProvider _profileResourceModelProvider; private readonly IContextProvider _dataManagementResourceContextProvider; private readonly IProfileValidationReporter _profileValidationReporter; public ProfileBasedCreateEntityDecorator( ICreateEntity createEntity, IContextProvider profileContentTypeContextProvider, + IProfileResourceModelProvider profileResourceModelProvider, IContextProvider dataManagementResourceContextProvider, IProfileValidationReporter profileValidationReporter) { _createEntity = createEntity; _profileContentTypeContextProvider = profileContentTypeContextProvider; + _profileResourceModelProvider = profileResourceModelProvider; _dataManagementResourceContextProvider = dataManagementResourceContextProvider; _profileValidationReporter = profileValidationReporter; } + /// + /// Ensures the entity can be created before passing it through to the target of the call. + /// + /// + /// + /// + /// + /// Occurs when an active Profile prevents the resource's entities from being created. public Task CreateAsync(TEntity entity, bool enforceOptimisticLock, CancellationToken cancellationToken) { EnsureCreatable(); @@ -48,10 +66,14 @@ private void EnsureCreatable() var resource = _dataManagementResourceContextProvider.Get().Resource; - if (!_profileValidationReporter.IsSuitableForCreation(profileContentTypeContext.ProfileName, resource.FullName)) + if (_profileResourceModelProvider.GetProfileResourceModel(profileContentTypeContext.ProfileName) + .ResourceByName.TryGetValue(resource.FullName, out ProfileResourceContentTypes contentTypes)) { - throw new BadRequestException("The resource cannot be created because a data policy has been applied to the request that prevents it.", - new [] { $"The Profile definition for '{profileContentTypeContext.ProfileName}' excludes (or does not include) one or more required data elements needed to create the resource." }); + if (!contentTypes.CanCreateResourceClass(resource.FullName)) + { + throw new DataPolicyException("The resource cannot be created because a data policy has been applied to the request that prevents it.", + new [] { $"The Profile definition for '{profileContentTypeContext.ProfileName}' excludes (or does not include) one or more required data elements needed to create the resource." }); + } } } } \ No newline at end of file diff --git a/Application/EdFi.Ods.Profiles.Test/Profiles.xml b/Application/EdFi.Ods.Profiles.Test/Profiles.xml index 082d1bbd1f..8cd40c193c 100644 --- a/Application/EdFi.Ods.Profiles.Test/Profiles.xml +++ b/Application/EdFi.Ods.Profiles.Test/Profiles.xml @@ -27,6 +27,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache index 96d736bc52..5b3f1336f5 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache @@ -79,6 +79,7 @@ namespace {{EntitiesBaseNamespace}} bool is{{PropertyName}}Supported{{^IsLast}},{{/IsLast}} {{/ItemTypeName}} {{#ItemTypeName}} + bool is{{PropertyName}}ItemCreatable, Func is{{ItemTypeName}}Included{{^IsLast}},{{/IsLast}} {{/ItemTypeName}} {{/MappingContractMembers}} @@ -92,6 +93,7 @@ namespace {{EntitiesBaseNamespace}} Is{{PropertyName}}Supported = is{{PropertyName}}Supported; {{/ItemTypeName}} {{#ItemTypeName}} + Is{{PropertyName}}ItemCreatable = is{{PropertyName}}ItemCreatable; Is{{ItemTypeName}}Included = is{{ItemTypeName}}Included; {{/ItemTypeName}} {{/MappingContractMembers}} @@ -105,6 +107,7 @@ namespace {{EntitiesBaseNamespace}} public bool Is{{PropertyName}}Supported { get; } {{/ItemTypeName}} {{#ItemTypeName}} + public bool Is{{PropertyName}}ItemCreatable { get; } public Func Is{{ItemTypeName}}Included { get; } {{/ItemTypeName}} {{/MappingContractMembers}} @@ -135,6 +138,21 @@ namespace {{EntitiesBaseNamespace}} } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + {{#MappingContractMembers}} + {{#ItemTypeName}} + case "{{PropertyName}}": + return Is{{PropertyName}}ItemCreatable; + {{/ItemTypeName}} + {{/MappingContractMembers}} + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + {{#IsExtendable}} public IReadOnlyList SupportedExtensions { get; } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache index 6bb95a4627..0cc8561416 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache @@ -148,6 +148,7 @@ namespace {{NamespaceName}} //.{{AggregateName}}Aggregate source.{{OtherClassPlural}}.SynchronizeCollectionTo( target.{{OtherClassPlural}}, onChildAdded: child => child.{{BaseClassName}} = target, + itemCreatable: mappingContract?.Is{{OtherClassPlural}}ItemCreatable ?? true, includeItem: item => mappingContract?.Is{{OtherClassSingular}}Included?.Invoke(item) ?? true); } @@ -170,6 +171,7 @@ namespace {{NamespaceName}} //.{{AggregateName}}Aggregate (child as IChildEntity)?.SetParent(target.{{ParentName}}); {{/IsExtensionClass}} }, + itemCreatable: mappingContract?.Is{{ChildClassPlural}}ItemCreatable ?? true, includeItem: item => mappingContract?.Is{{ChildClassSingular}}Included?.Invoke(item) ?? true); } @@ -292,7 +294,7 @@ namespace {{NamespaceName}} //.{{AggregateName}}Aggregate if (mappingContract?.Is{{OtherClassPlural}}Supported != false) { - source.{{OtherClassPlural}}.MapCollectionTo(target.{{OtherClassPlural}}, target, mappingContract?.Is{{OtherClassSingular}}Included); + source.{{OtherClassPlural}}.MapCollectionTo(target.{{OtherClassPlural}}, mappingContract?.Is{{OtherClassPlural}}ItemCreatable ?? true, target, mappingContract?.Is{{OtherClassSingular}}Included); } {{/BaseNavigableChildrenList}} {{/IsDerivedEntity}} @@ -302,7 +304,7 @@ namespace {{NamespaceName}} //.{{AggregateName}}Aggregate if (mappingContract?.Is{{ChildClassPlural}}Supported != false) { - source.{{ChildClassPlural}}.MapCollectionTo(target.{{ChildClassPlural}}, {{#IsCollectionTopLevelAggregateExtension}}target.{{ParentName}}{{/IsCollectionTopLevelAggregateExtension}}{{^IsCollectionTopLevelAggregateExtension}}target{{/IsCollectionTopLevelAggregateExtension}}, mappingContract?.Is{{ChildClassSingular}}Included); + source.{{ChildClassPlural}}.MapCollectionTo(target.{{ChildClassPlural}}, mappingContract?.Is{{ChildClassPlural}}ItemCreatable ?? true, {{#IsCollectionTopLevelAggregateExtension}}target.{{ParentName}}{{/IsCollectionTopLevelAggregateExtension}}{{^IsCollectionTopLevelAggregateExtension}}target{{/IsCollectionTopLevelAggregateExtension}}, mappingContract?.Is{{ChildClassSingular}}Included); } {{/NavigableChildrenList}} From d4c92bfd09b4d8605f99567affa0000874c15c32 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Thu, 11 Jan 2024 00:09:02 -0600 Subject: [PATCH 05/19] Updated approval tests. --- ...ces_EntityInterfaces.generated.approved.cs | 137 + ...Mappers_EntityMapper.generated.approved.cs | 12 +- ...ces_EntityInterfaces.generated.approved.cs | 781 +- ...Mappers_EntityMapper.generated.approved.cs | 117 +- ...ces_EntityInterfaces.generated.approved.cs | 63 + ...ces_EntityInterfaces.generated.approved.cs | 9 + ...ces_EntityInterfaces.generated.approved.cs | 706 ++ ...Mappers_EntityMapper.generated.approved.cs | 78 +- ...ces_EntityInterfaces.generated.approved.cs | 6970 +++++++++++++++- ...Mappers_EntityMapper.generated.approved.cs | 909 ++- ...ces_EntityInterfaces.generated.approved.cs | 137 + ...Mappers_EntityMapper.generated.approved.cs | 12 +- ...ces_EntityInterfaces.generated.approved.cs | 781 +- ...Mappers_EntityMapper.generated.approved.cs | 117 +- ...ces_EntityInterfaces.generated.approved.cs | 63 + ...ces_EntityInterfaces.generated.approved.cs | 9 + ...ces_EntityInterfaces.generated.approved.cs | 720 +- ...Mappers_EntityMapper.generated.approved.cs | 78 +- ...ces_EntityInterfaces.generated.approved.cs | 7102 ++++++++++++++++- ...Mappers_EntityMapper.generated.approved.cs | 885 +- 20 files changed, 18579 insertions(+), 1107 deletions(-) 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 65f80193fb..0cf248b9b6 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 @@ -58,6 +58,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -94,21 +103,27 @@ public ParentMappingContract( bool isParentAddressesSupported, bool isParentNameReferenceSupported, bool isParentStudentSchoolAssociationsSupported, + bool isParentAddressesItemCreatable, Func isParentAddressIncluded, + bool isParentStudentSchoolAssociationsItemCreatable, Func isParentStudentSchoolAssociationIncluded ) { IsParentAddressesSupported = isParentAddressesSupported; IsParentNameReferenceSupported = isParentNameReferenceSupported; IsParentStudentSchoolAssociationsSupported = isParentStudentSchoolAssociationsSupported; + IsParentAddressesItemCreatable = isParentAddressesItemCreatable; IsParentAddressIncluded = isParentAddressIncluded; + IsParentStudentSchoolAssociationsItemCreatable = isParentStudentSchoolAssociationsItemCreatable; IsParentStudentSchoolAssociationIncluded = isParentStudentSchoolAssociationIncluded; } public bool IsParentAddressesSupported { get; } public bool IsParentNameReferenceSupported { get; } public bool IsParentStudentSchoolAssociationsSupported { get; } + public bool IsParentAddressesItemCreatable { get; } public Func IsParentAddressIncluded { get; } + public bool IsParentStudentSchoolAssociationsItemCreatable { get; } public Func IsParentStudentSchoolAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -131,6 +146,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ParentAddresses": + return IsParentAddressesItemCreatable; + case "ParentStudentSchoolAssociations": + return IsParentStudentSchoolAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -176,6 +204,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -236,6 +273,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -300,6 +346,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -347,6 +402,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -391,6 +455,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -427,21 +500,27 @@ public StaffMappingContract( bool isStaffAddressesSupported, bool isStaffNameReferenceSupported, bool isStaffStudentSchoolAssociationsSupported, + bool isStaffAddressesItemCreatable, Func isStaffAddressIncluded, + bool isStaffStudentSchoolAssociationsItemCreatable, Func isStaffStudentSchoolAssociationIncluded ) { IsStaffAddressesSupported = isStaffAddressesSupported; IsStaffNameReferenceSupported = isStaffNameReferenceSupported; IsStaffStudentSchoolAssociationsSupported = isStaffStudentSchoolAssociationsSupported; + IsStaffAddressesItemCreatable = isStaffAddressesItemCreatable; IsStaffAddressIncluded = isStaffAddressIncluded; + IsStaffStudentSchoolAssociationsItemCreatable = isStaffStudentSchoolAssociationsItemCreatable; IsStaffStudentSchoolAssociationIncluded = isStaffStudentSchoolAssociationIncluded; } public bool IsStaffAddressesSupported { get; } public bool IsStaffNameReferenceSupported { get; } public bool IsStaffStudentSchoolAssociationsSupported { get; } + public bool IsStaffAddressesItemCreatable { get; } public Func IsStaffAddressIncluded { get; } + public bool IsStaffStudentSchoolAssociationsItemCreatable { get; } public Func IsStaffStudentSchoolAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -464,6 +543,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffAddresses": + return IsStaffAddressesItemCreatable; + case "StaffStudentSchoolAssociations": + return IsStaffStudentSchoolAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -509,6 +601,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -569,6 +670,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -644,6 +754,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -689,6 +808,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -755,5 +883,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index 570fe055fd..03370e4ab9 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -141,6 +141,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsParentAddressIncluded?.Invoke(item) ?? true); } @@ -153,6 +154,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentStudentSchoolAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsParentStudentSchoolAssociationIncluded?.Invoke(item) ?? true); } @@ -194,12 +196,12 @@ public static void MapTo(this IParent source, IParent target, Action mappingContract?.IsStaffAddressIncluded?.Invoke(item) ?? true); } @@ -733,6 +736,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffStudentSchoolAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffStudentSchoolAssociationIncluded?.Invoke(item) ?? true); } @@ -774,12 +778,12 @@ public static void MapTo(this IStaff source, IStaff target, Action @@ -129,6 +138,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -199,10 +217,15 @@ public BusRouteMappingContract( bool isStaffUniqueIdSupported, bool isStartDateSupported, bool isWeeklyMileageSupported, + bool isBusRouteBusYearsItemCreatable, Func isBusRouteBusYearIncluded, + bool isBusRouteProgramsItemCreatable, Func isBusRouteProgramIncluded, + bool isBusRouteServiceAreaPostalCodesItemCreatable, Func isBusRouteServiceAreaPostalCodeIncluded, + bool isBusRouteStartTimesItemCreatable, Func isBusRouteStartTimeIncluded, + bool isBusRouteTelephonesItemCreatable, Func isBusRouteTelephoneIncluded ) { @@ -226,10 +249,15 @@ Func isBusRouteTelephoneIncluded IsStaffUniqueIdSupported = isStaffUniqueIdSupported; IsStartDateSupported = isStartDateSupported; IsWeeklyMileageSupported = isWeeklyMileageSupported; + IsBusRouteBusYearsItemCreatable = isBusRouteBusYearsItemCreatable; IsBusRouteBusYearIncluded = isBusRouteBusYearIncluded; + IsBusRouteProgramsItemCreatable = isBusRouteProgramsItemCreatable; IsBusRouteProgramIncluded = isBusRouteProgramIncluded; + IsBusRouteServiceAreaPostalCodesItemCreatable = isBusRouteServiceAreaPostalCodesItemCreatable; IsBusRouteServiceAreaPostalCodeIncluded = isBusRouteServiceAreaPostalCodeIncluded; + IsBusRouteStartTimesItemCreatable = isBusRouteStartTimesItemCreatable; IsBusRouteStartTimeIncluded = isBusRouteStartTimeIncluded; + IsBusRouteTelephonesItemCreatable = isBusRouteTelephonesItemCreatable; IsBusRouteTelephoneIncluded = isBusRouteTelephoneIncluded; } @@ -253,10 +281,15 @@ Func isBusRouteTelephoneIncluded public bool IsStaffUniqueIdSupported { get; } public bool IsStartDateSupported { get; } public bool IsWeeklyMileageSupported { get; } + public bool IsBusRouteBusYearsItemCreatable { get; } public Func IsBusRouteBusYearIncluded { get; } + public bool IsBusRouteProgramsItemCreatable { get; } public Func IsBusRouteProgramIncluded { get; } + public bool IsBusRouteServiceAreaPostalCodesItemCreatable { get; } public Func IsBusRouteServiceAreaPostalCodeIncluded { get; } + public bool IsBusRouteStartTimesItemCreatable { get; } public Func IsBusRouteStartTimeIncluded { get; } + public bool IsBusRouteTelephonesItemCreatable { get; } public Func IsBusRouteTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -313,6 +346,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "BusRouteBusYears": + return IsBusRouteBusYearsItemCreatable; + case "BusRoutePrograms": + return IsBusRouteProgramsItemCreatable; + case "BusRouteServiceAreaPostalCodes": + return IsBusRouteServiceAreaPostalCodesItemCreatable; + case "BusRouteStartTimes": + return IsBusRouteStartTimesItemCreatable; + case "BusRouteTelephones": + return IsBusRouteTelephonesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -358,6 +410,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -418,6 +479,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -463,6 +533,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -508,6 +587,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -575,6 +663,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -649,6 +746,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -723,6 +829,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -757,7 +872,9 @@ public ParentAddressExtensionMappingContract( bool isOnBusRouteSupported, bool isParentAddressSchoolDistrictsSupported, bool isParentAddressTermsSupported, + bool isParentAddressSchoolDistrictsItemCreatable, Func isParentAddressSchoolDistrictIncluded, + bool isParentAddressTermsItemCreatable, Func isParentAddressTermIncluded ) { @@ -765,7 +882,9 @@ Func isParentAddressTermIncluded IsOnBusRouteSupported = isOnBusRouteSupported; IsParentAddressSchoolDistrictsSupported = isParentAddressSchoolDistrictsSupported; IsParentAddressTermsSupported = isParentAddressTermsSupported; + IsParentAddressSchoolDistrictsItemCreatable = isParentAddressSchoolDistrictsItemCreatable; IsParentAddressSchoolDistrictIncluded = isParentAddressSchoolDistrictIncluded; + IsParentAddressTermsItemCreatable = isParentAddressTermsItemCreatable; IsParentAddressTermIncluded = isParentAddressTermIncluded; } @@ -773,7 +892,9 @@ Func isParentAddressTermIncluded public bool IsOnBusRouteSupported { get; } public bool IsParentAddressSchoolDistrictsSupported { get; } public bool IsParentAddressTermsSupported { get; } + public bool IsParentAddressSchoolDistrictsItemCreatable { get; } public Func IsParentAddressSchoolDistrictIncluded { get; } + public bool IsParentAddressTermsItemCreatable { get; } public Func IsParentAddressTermIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -794,6 +915,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ParentAddressSchoolDistricts": + return IsParentAddressSchoolDistrictsItemCreatable; + case "ParentAddressTerms": + return IsParentAddressTermsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -839,6 +973,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -884,6 +1027,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -929,6 +1081,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -974,6 +1135,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1039,6 +1209,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1091,6 +1270,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1155,10 +1343,15 @@ public ParentExtensionMappingContract( bool isParentTeacherConferenceSupported, bool isPreferredWakeUpTimeSupported, bool isRainCertaintySupported, + bool isParentAuthorsItemCreatable, Func isParentAuthorIncluded, + bool isParentCeilingHeightsItemCreatable, Func isParentCeilingHeightIncluded, + bool isParentEducationContentsItemCreatable, Func isParentEducationContentIncluded, + bool isParentFavoriteBookTitlesItemCreatable, Func isParentFavoriteBookTitleIncluded, + bool isParentStudentProgramAssociationsItemCreatable, Func isParentStudentProgramAssociationIncluded ) { @@ -1180,10 +1373,15 @@ Func isParentStudentProgramAssociationIn IsParentTeacherConferenceSupported = isParentTeacherConferenceSupported; IsPreferredWakeUpTimeSupported = isPreferredWakeUpTimeSupported; IsRainCertaintySupported = isRainCertaintySupported; + IsParentAuthorsItemCreatable = isParentAuthorsItemCreatable; IsParentAuthorIncluded = isParentAuthorIncluded; + IsParentCeilingHeightsItemCreatable = isParentCeilingHeightsItemCreatable; IsParentCeilingHeightIncluded = isParentCeilingHeightIncluded; + IsParentEducationContentsItemCreatable = isParentEducationContentsItemCreatable; IsParentEducationContentIncluded = isParentEducationContentIncluded; + IsParentFavoriteBookTitlesItemCreatable = isParentFavoriteBookTitlesItemCreatable; IsParentFavoriteBookTitleIncluded = isParentFavoriteBookTitleIncluded; + IsParentStudentProgramAssociationsItemCreatable = isParentStudentProgramAssociationsItemCreatable; IsParentStudentProgramAssociationIncluded = isParentStudentProgramAssociationIncluded; } @@ -1205,10 +1403,15 @@ Func isParentStudentProgramAssociationIn public bool IsParentTeacherConferenceSupported { get; } public bool IsPreferredWakeUpTimeSupported { get; } public bool IsRainCertaintySupported { get; } + public bool IsParentAuthorsItemCreatable { get; } public Func IsParentAuthorIncluded { get; } + public bool IsParentCeilingHeightsItemCreatable { get; } public Func IsParentCeilingHeightIncluded { get; } + public bool IsParentEducationContentsItemCreatable { get; } public Func IsParentEducationContentIncluded { get; } + public bool IsParentFavoriteBookTitlesItemCreatable { get; } public Func IsParentFavoriteBookTitleIncluded { get; } + public bool IsParentStudentProgramAssociationsItemCreatable { get; } public Func IsParentStudentProgramAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1257,6 +1460,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ParentAuthors": + return IsParentAuthorsItemCreatable; + case "ParentCeilingHeights": + return IsParentCeilingHeightsItemCreatable; + case "ParentEducationContents": + return IsParentEducationContentsItemCreatable; + case "ParentFavoriteBookTitles": + return IsParentFavoriteBookTitlesItemCreatable; + case "ParentStudentProgramAssociations": + return IsParentStudentProgramAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1302,6 +1524,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1373,6 +1604,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1432,6 +1672,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1497,6 +1746,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1549,6 +1807,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1582,18 +1849,21 @@ public SchoolExtensionMappingContract( bool isIsExemplarySupported, bool isSchoolCTEProgramSupported, bool isSchoolDirectlyOwnedBusesSupported, + bool isSchoolDirectlyOwnedBusesItemCreatable, Func isSchoolDirectlyOwnedBusIncluded ) { IsIsExemplarySupported = isIsExemplarySupported; IsSchoolCTEProgramSupported = isSchoolCTEProgramSupported; IsSchoolDirectlyOwnedBusesSupported = isSchoolDirectlyOwnedBusesSupported; + IsSchoolDirectlyOwnedBusesItemCreatable = isSchoolDirectlyOwnedBusesItemCreatable; IsSchoolDirectlyOwnedBusIncluded = isSchoolDirectlyOwnedBusIncluded; } public bool IsIsExemplarySupported { get; } public bool IsSchoolCTEProgramSupported { get; } public bool IsSchoolDirectlyOwnedBusesSupported { get; } + public bool IsSchoolDirectlyOwnedBusesItemCreatable { get; } public Func IsSchoolDirectlyOwnedBusIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1612,6 +1882,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SchoolDirectlyOwnedBuses": + return IsSchoolDirectlyOwnedBusesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1645,18 +1926,21 @@ public StaffExtensionMappingContract( bool isFirstPetOwnedDateSupported, bool isStaffPetPreferenceSupported, bool isStaffPetsSupported, + bool isStaffPetsItemCreatable, Func isStaffPetIncluded ) { IsFirstPetOwnedDateSupported = isFirstPetOwnedDateSupported; IsStaffPetPreferenceSupported = isStaffPetPreferenceSupported; IsStaffPetsSupported = isStaffPetsSupported; + IsStaffPetsItemCreatable = isStaffPetsItemCreatable; IsStaffPetIncluded = isStaffPetIncluded; } public bool IsFirstPetOwnedDateSupported { get; } public bool IsStaffPetPreferenceSupported { get; } public bool IsStaffPetsSupported { get; } + public bool IsStaffPetsItemCreatable { get; } public Func IsStaffPetIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1675,6 +1959,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffPets": + return IsStaffPetsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1726,6 +2021,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1779,6 +2083,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1834,6 +2147,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1897,10 +2219,15 @@ public StudentArtProgramAssociationMappingContract( bool isStudentArtProgramAssociationServicesSupported, bool isStudentArtProgramAssociationStylesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentArtProgramAssociationArtMediaItemCreatable, Func isStudentArtProgramAssociationArtMediumIncluded, + bool isStudentArtProgramAssociationPortfolioYearsItemCreatable, Func isStudentArtProgramAssociationPortfolioYearsIncluded, + bool isStudentArtProgramAssociationServicesItemCreatable, Func isStudentArtProgramAssociationServiceIncluded, + bool isStudentArtProgramAssociationStylesItemCreatable, Func isStudentArtProgramAssociationStyleIncluded ) { @@ -1927,10 +2254,15 @@ Func isStudentArtProgramAssociationSty IsStudentArtProgramAssociationServicesSupported = isStudentArtProgramAssociationServicesSupported; IsStudentArtProgramAssociationStylesSupported = isStudentArtProgramAssociationStylesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentArtProgramAssociationArtMediaItemCreatable = isStudentArtProgramAssociationArtMediaItemCreatable; IsStudentArtProgramAssociationArtMediumIncluded = isStudentArtProgramAssociationArtMediumIncluded; + IsStudentArtProgramAssociationPortfolioYearsItemCreatable = isStudentArtProgramAssociationPortfolioYearsItemCreatable; IsStudentArtProgramAssociationPortfolioYearsIncluded = isStudentArtProgramAssociationPortfolioYearsIncluded; + IsStudentArtProgramAssociationServicesItemCreatable = isStudentArtProgramAssociationServicesItemCreatable; IsStudentArtProgramAssociationServiceIncluded = isStudentArtProgramAssociationServiceIncluded; + IsStudentArtProgramAssociationStylesItemCreatable = isStudentArtProgramAssociationStylesItemCreatable; IsStudentArtProgramAssociationStyleIncluded = isStudentArtProgramAssociationStyleIncluded; } @@ -1957,10 +2289,15 @@ 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; } + public bool IsStudentArtProgramAssociationPortfolioYearsItemCreatable { get; } public Func IsStudentArtProgramAssociationPortfolioYearsIncluded { get; } + public bool IsStudentArtProgramAssociationServicesItemCreatable { get; } public Func IsStudentArtProgramAssociationServiceIncluded { get; } + public bool IsStudentArtProgramAssociationStylesItemCreatable { get; } public Func IsStudentArtProgramAssociationStyleIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2031,6 +2368,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentArtProgramAssociationArtMedia": + return IsStudentArtProgramAssociationArtMediaItemCreatable; + case "StudentArtProgramAssociationPortfolioYears": + return IsStudentArtProgramAssociationPortfolioYearsItemCreatable; + case "StudentArtProgramAssociationServices": + return IsStudentArtProgramAssociationServicesItemCreatable; + case "StudentArtProgramAssociationStyles": + return IsStudentArtProgramAssociationStylesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2076,11 +2432,20 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - } - - /// - /// Defines available properties and methods for the abstraction of the StudentArtProgramAssociationPortfolioYears model. - /// + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + } + + /// + /// Defines available properties and methods for the abstraction of the StudentArtProgramAssociationPortfolioYears model. + /// public interface IStudentArtProgramAssociationPortfolioYears : ISynchronizable, IMappable, IGetByExample { // Primary Key properties @@ -2121,6 +2486,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2184,6 +2558,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2229,6 +2612,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2282,6 +2674,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2316,7 +2717,9 @@ public StudentEducationOrganizationAssociationAddressExtensionMappingContract( bool isOnBusRouteSupported, bool isStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported, bool isStudentEducationOrganizationAssociationAddressTermsSupported, + bool isStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable, Func isStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded, + bool isStudentEducationOrganizationAssociationAddressTermsItemCreatable, Func isStudentEducationOrganizationAssociationAddressTermIncluded ) { @@ -2324,7 +2727,9 @@ Func isStudentEducati IsOnBusRouteSupported = isOnBusRouteSupported; IsStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported = isStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported; IsStudentEducationOrganizationAssociationAddressTermsSupported = isStudentEducationOrganizationAssociationAddressTermsSupported; + IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable = isStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable; IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded = isStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded; + IsStudentEducationOrganizationAssociationAddressTermsItemCreatable = isStudentEducationOrganizationAssociationAddressTermsItemCreatable; IsStudentEducationOrganizationAssociationAddressTermIncluded = isStudentEducationOrganizationAssociationAddressTermIncluded; } @@ -2332,7 +2737,9 @@ Func isStudentEducati public bool IsOnBusRouteSupported { get; } public bool IsStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported { get; } public bool IsStudentEducationOrganizationAssociationAddressTermsSupported { get; } + public bool IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded { get; } + public bool IsStudentEducationOrganizationAssociationAddressTermsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAddressTermIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2353,6 +2760,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationAddressSchoolDistricts": + return IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable; + case "StudentEducationOrganizationAssociationAddressTerms": + return IsStudentEducationOrganizationAssociationAddressTermsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2398,6 +2818,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2443,6 +2872,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2503,6 +2941,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2531,14 +2978,17 @@ public class StudentEducationOrganizationAssociationStudentCharacteristicExtensi { public StudentEducationOrganizationAssociationStudentCharacteristicExtensionMappingContract( bool isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported, + bool isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable, Func isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded ) { IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported = isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported; + IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable = isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable; IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded = isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded; } public bool IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported { get; } + public bool IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2553,6 +3003,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds": + return IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2610,6 +3071,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2645,8 +3115,11 @@ public StudentExtensionMappingContract( bool isStudentFavoriteBooksSupported, bool isStudentPetPreferenceSupported, bool isStudentPetsSupported, + bool isStudentAquaticPetsItemCreatable, Func isStudentAquaticPetIncluded, + bool isStudentFavoriteBooksItemCreatable, Func isStudentFavoriteBookIncluded, + bool isStudentPetsItemCreatable, Func isStudentPetIncluded ) { @@ -2654,8 +3127,11 @@ Func isStudentPetIncluded IsStudentFavoriteBooksSupported = isStudentFavoriteBooksSupported; IsStudentPetPreferenceSupported = isStudentPetPreferenceSupported; IsStudentPetsSupported = isStudentPetsSupported; + IsStudentAquaticPetsItemCreatable = isStudentAquaticPetsItemCreatable; IsStudentAquaticPetIncluded = isStudentAquaticPetIncluded; + IsStudentFavoriteBooksItemCreatable = isStudentFavoriteBooksItemCreatable; IsStudentFavoriteBookIncluded = isStudentFavoriteBookIncluded; + IsStudentPetsItemCreatable = isStudentPetsItemCreatable; IsStudentPetIncluded = isStudentPetIncluded; } @@ -2663,8 +3139,11 @@ Func isStudentPetIncluded public bool IsStudentFavoriteBooksSupported { get; } public bool IsStudentPetPreferenceSupported { get; } public bool IsStudentPetsSupported { get; } + public bool IsStudentAquaticPetsItemCreatable { get; } public Func IsStudentAquaticPetIncluded { get; } + public bool IsStudentFavoriteBooksItemCreatable { get; } public Func IsStudentFavoriteBookIncluded { get; } + public bool IsStudentPetsItemCreatable { get; } public Func IsStudentPetIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2685,6 +3164,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentAquaticPets": + return IsStudentAquaticPetsItemCreatable; + case "StudentFavoriteBooks": + return IsStudentFavoriteBooksItemCreatable; + case "StudentPets": + return IsStudentPetsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2717,16 +3211,19 @@ public class StudentFavoriteBookMappingContract : IMappingContract public StudentFavoriteBookMappingContract( bool isBookTitleSupported, bool isStudentFavoriteBookArtMediaSupported, + bool isStudentFavoriteBookArtMediaItemCreatable, Func isStudentFavoriteBookArtMediumIncluded ) { IsBookTitleSupported = isBookTitleSupported; IsStudentFavoriteBookArtMediaSupported = isStudentFavoriteBookArtMediaSupported; + IsStudentFavoriteBookArtMediaItemCreatable = isStudentFavoriteBookArtMediaItemCreatable; IsStudentFavoriteBookArtMediumIncluded = isStudentFavoriteBookArtMediumIncluded; } public bool IsBookTitleSupported { get; } public bool IsStudentFavoriteBookArtMediaSupported { get; } + public bool IsStudentFavoriteBookArtMediaItemCreatable { get; } public Func IsStudentFavoriteBookArtMediumIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2745,6 +3242,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentFavoriteBookArtMedia": + return IsStudentFavoriteBookArtMediaItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2796,6 +3304,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2873,12 +3390,19 @@ public StudentGraduationPlanAssociationMappingContract( bool isStudentGraduationPlanAssociationYearsAttendedsSupported, bool isStudentReferenceSupported, bool isTargetGPASupported, + bool isStudentGraduationPlanAssociationAcademicSubjectsItemCreatable, Func isStudentGraduationPlanAssociationAcademicSubjectIncluded, + bool isStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable, Func isStudentGraduationPlanAssociationCareerPathwayCodeIncluded, + bool isStudentGraduationPlanAssociationDescriptionsItemCreatable, Func isStudentGraduationPlanAssociationDescriptionIncluded, + bool isStudentGraduationPlanAssociationDesignatedBiesItemCreatable, Func isStudentGraduationPlanAssociationDesignatedByIncluded, + bool isStudentGraduationPlanAssociationIndustryCredentialsItemCreatable, Func isStudentGraduationPlanAssociationIndustryCredentialIncluded, + bool isStudentGraduationPlanAssociationStudentParentAssociationsItemCreatable, Func isStudentGraduationPlanAssociationStudentParentAssociationIncluded, + bool isStudentGraduationPlanAssociationYearsAttendedsItemCreatable, Func isStudentGraduationPlanAssociationYearsAttendedIncluded ) { @@ -2902,12 +3426,19 @@ Func isStudentGraduationPl IsStudentGraduationPlanAssociationYearsAttendedsSupported = isStudentGraduationPlanAssociationYearsAttendedsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsTargetGPASupported = isTargetGPASupported; + IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable = isStudentGraduationPlanAssociationAcademicSubjectsItemCreatable; IsStudentGraduationPlanAssociationAcademicSubjectIncluded = isStudentGraduationPlanAssociationAcademicSubjectIncluded; + IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable = isStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable; IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded = isStudentGraduationPlanAssociationCareerPathwayCodeIncluded; + IsStudentGraduationPlanAssociationDescriptionsItemCreatable = isStudentGraduationPlanAssociationDescriptionsItemCreatable; IsStudentGraduationPlanAssociationDescriptionIncluded = isStudentGraduationPlanAssociationDescriptionIncluded; + IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable = isStudentGraduationPlanAssociationDesignatedBiesItemCreatable; IsStudentGraduationPlanAssociationDesignatedByIncluded = isStudentGraduationPlanAssociationDesignatedByIncluded; + IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable = isStudentGraduationPlanAssociationIndustryCredentialsItemCreatable; IsStudentGraduationPlanAssociationIndustryCredentialIncluded = isStudentGraduationPlanAssociationIndustryCredentialIncluded; + IsStudentGraduationPlanAssociationStudentParentAssociationsItemCreatable = isStudentGraduationPlanAssociationStudentParentAssociationsItemCreatable; IsStudentGraduationPlanAssociationStudentParentAssociationIncluded = isStudentGraduationPlanAssociationStudentParentAssociationIncluded; + IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable = isStudentGraduationPlanAssociationYearsAttendedsItemCreatable; IsStudentGraduationPlanAssociationYearsAttendedIncluded = isStudentGraduationPlanAssociationYearsAttendedIncluded; } @@ -2931,12 +3462,19 @@ Func isStudentGraduationPl public bool IsStudentGraduationPlanAssociationYearsAttendedsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsTargetGPASupported { get; } + public bool IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationAcademicSubjectIncluded { get; } + public bool IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable { get; } public Func IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded { get; } + public bool IsStudentGraduationPlanAssociationDescriptionsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationDescriptionIncluded { get; } + public bool IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable { get; } public Func IsStudentGraduationPlanAssociationDesignatedByIncluded { get; } + public bool IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationIndustryCredentialIncluded { get; } + public bool IsStudentGraduationPlanAssociationStudentParentAssociationsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationStudentParentAssociationIncluded { get; } + public bool IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationYearsAttendedIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2997,6 +3535,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentGraduationPlanAssociationAcademicSubjects": + return IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable; + case "StudentGraduationPlanAssociationCareerPathwayCodes": + return IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable; + case "StudentGraduationPlanAssociationDescriptions": + return IsStudentGraduationPlanAssociationDescriptionsItemCreatable; + case "StudentGraduationPlanAssociationDesignatedBies": + return IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable; + case "StudentGraduationPlanAssociationIndustryCredentials": + return IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable; + case "StudentGraduationPlanAssociationStudentParentAssociations": + return IsStudentGraduationPlanAssociationStudentParentAssociationsItemCreatable; + case "StudentGraduationPlanAssociationYearsAttendeds": + return IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3042,6 +3603,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3087,6 +3657,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3152,6 +3731,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3197,6 +3785,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3242,6 +3839,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3287,6 +3893,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3339,6 +3954,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3384,6 +4008,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3429,6 +4062,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3497,10 +4139,15 @@ public StudentParentAssociationExtensionMappingContract( bool isStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsSupported, bool isStudentParentAssociationTelephoneSupported, bool isStudentReadSupported, + bool isStudentParentAssociationDisciplinesItemCreatable, Func isStudentParentAssociationDisciplineIncluded, + bool isStudentParentAssociationFavoriteBookTitlesItemCreatable, Func isStudentParentAssociationFavoriteBookTitleIncluded, + bool isStudentParentAssociationHoursPerWeeksItemCreatable, Func isStudentParentAssociationHoursPerWeekIncluded, + bool isStudentParentAssociationPagesReadsItemCreatable, Func isStudentParentAssociationPagesReadIncluded, + bool isStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable, Func isStudentParentAssociationStaffEducationOrganizationEmploymentAssociationIncluded ) { @@ -3524,10 +4171,15 @@ Func IsStudentParentAssociationDisciplineIncluded { get; } + public bool IsStudentParentAssociationFavoriteBookTitlesItemCreatable { get; } public Func IsStudentParentAssociationFavoriteBookTitleIncluded { get; } + public bool IsStudentParentAssociationHoursPerWeeksItemCreatable { get; } public Func IsStudentParentAssociationHoursPerWeekIncluded { get; } + public bool IsStudentParentAssociationPagesReadsItemCreatable { get; } public Func IsStudentParentAssociationPagesReadIncluded { get; } + public bool IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable { get; } public Func IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3607,6 +4264,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentParentAssociationDisciplines": + return IsStudentParentAssociationDisciplinesItemCreatable; + case "StudentParentAssociationFavoriteBookTitles": + return IsStudentParentAssociationFavoriteBookTitlesItemCreatable; + case "StudentParentAssociationHoursPerWeeks": + return IsStudentParentAssociationHoursPerWeeksItemCreatable; + case "StudentParentAssociationPagesReads": + return IsStudentParentAssociationPagesReadsItemCreatable; + case "StudentParentAssociationStaffEducationOrganizationEmploymentAssociations": + return IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3652,6 +4328,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3697,6 +4382,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3742,6 +4436,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3806,6 +4509,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3877,6 +4589,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3928,6 +4649,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3981,6 +4711,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4028,6 +4767,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4056,14 +4804,17 @@ public class StudentSectionAssociationExtensionMappingContract : IMappingContrac { public StudentSectionAssociationExtensionMappingContract( bool isStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported, + bool isStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable, Func isStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded ) { IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported = isStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported; + IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable = isStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable; IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded = isStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded; } public bool IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported { get; } + public bool IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable { get; } public Func IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4078,6 +4829,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSectionAssociationRelatedGeneralStudentProgramAssociations": + return IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4146,5 +4908,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index afc83bfd9d..bd3c17c40b 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -389,6 +389,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteBusYearsItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteBusYearIncluded?.Invoke(item) ?? true); } @@ -401,6 +402,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteProgramIncluded?.Invoke(item) ?? true); } @@ -413,6 +415,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteServiceAreaPostalCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteServiceAreaPostalCodeIncluded?.Invoke(item) ?? true); } @@ -425,6 +428,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteStartTimesItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteStartTimeIncluded?.Invoke(item) ?? true); } @@ -437,6 +441,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteTelephoneIncluded?.Invoke(item) ?? true); } @@ -520,27 +525,27 @@ public static void MapTo(this IBusRoute source, IBusRoute target, Action mappingContract?.IsParentAddressSchoolDistrictIncluded?.Invoke(item) ?? true); } @@ -1304,6 +1310,7 @@ public static bool SynchronizeTo(this IParentAddressExtension source, IParentAdd // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.ParentAddress); }, + itemCreatable: mappingContract?.IsParentAddressTermsItemCreatable ?? true, includeItem: item => mappingContract?.IsParentAddressTermIncluded?.Invoke(item) ?? true); } @@ -1339,12 +1346,12 @@ public static void MapTo(this IParentAddressExtension source, IParentAddressExte if (mappingContract?.IsParentAddressSchoolDistrictsSupported != false) { - source.ParentAddressSchoolDistricts.MapCollectionTo(target.ParentAddressSchoolDistricts, target.ParentAddress, mappingContract?.IsParentAddressSchoolDistrictIncluded); + source.ParentAddressSchoolDistricts.MapCollectionTo(target.ParentAddressSchoolDistricts, mappingContract?.IsParentAddressSchoolDistrictsItemCreatable ?? true, target.ParentAddress, mappingContract?.IsParentAddressSchoolDistrictIncluded); } if (mappingContract?.IsParentAddressTermsSupported != false) { - source.ParentAddressTerms.MapCollectionTo(target.ParentAddressTerms, target.ParentAddress, mappingContract?.IsParentAddressTermIncluded); + source.ParentAddressTerms.MapCollectionTo(target.ParentAddressTerms, mappingContract?.IsParentAddressTermsItemCreatable ?? true, target.ParentAddress, mappingContract?.IsParentAddressTermIncluded); } @@ -1970,6 +1977,7 @@ public static bool SynchronizeTo(this IParentExtension source, IParentExtension // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Parent); }, + itemCreatable: mappingContract?.IsParentAuthorsItemCreatable ?? true, includeItem: item => mappingContract?.IsParentAuthorIncluded?.Invoke(item) ?? true); } @@ -1985,6 +1993,7 @@ public static bool SynchronizeTo(this IParentExtension source, IParentExtension // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Parent); }, + itemCreatable: mappingContract?.IsParentCeilingHeightsItemCreatable ?? true, includeItem: item => mappingContract?.IsParentCeilingHeightIncluded?.Invoke(item) ?? true); } @@ -2000,6 +2009,7 @@ public static bool SynchronizeTo(this IParentExtension source, IParentExtension // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Parent); }, + itemCreatable: mappingContract?.IsParentEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsParentEducationContentIncluded?.Invoke(item) ?? true); } @@ -2015,6 +2025,7 @@ public static bool SynchronizeTo(this IParentExtension source, IParentExtension // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Parent); }, + itemCreatable: mappingContract?.IsParentFavoriteBookTitlesItemCreatable ?? true, includeItem: item => mappingContract?.IsParentFavoriteBookTitleIncluded?.Invoke(item) ?? true); } @@ -2030,6 +2041,7 @@ public static bool SynchronizeTo(this IParentExtension source, IParentExtension // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Parent); }, + itemCreatable: mappingContract?.IsParentStudentProgramAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsParentStudentProgramAssociationIncluded?.Invoke(item) ?? true); } @@ -2139,27 +2151,27 @@ public static void MapTo(this IParentExtension source, IParentExtension target, if (mappingContract?.IsParentAuthorsSupported != false) { - source.ParentAuthors.MapCollectionTo(target.ParentAuthors, target.Parent, mappingContract?.IsParentAuthorIncluded); + source.ParentAuthors.MapCollectionTo(target.ParentAuthors, mappingContract?.IsParentAuthorsItemCreatable ?? true, target.Parent, mappingContract?.IsParentAuthorIncluded); } if (mappingContract?.IsParentCeilingHeightsSupported != false) { - source.ParentCeilingHeights.MapCollectionTo(target.ParentCeilingHeights, target.Parent, mappingContract?.IsParentCeilingHeightIncluded); + source.ParentCeilingHeights.MapCollectionTo(target.ParentCeilingHeights, mappingContract?.IsParentCeilingHeightsItemCreatable ?? true, target.Parent, mappingContract?.IsParentCeilingHeightIncluded); } if (mappingContract?.IsParentEducationContentsSupported != false) { - source.ParentEducationContents.MapCollectionTo(target.ParentEducationContents, target.Parent, mappingContract?.IsParentEducationContentIncluded); + source.ParentEducationContents.MapCollectionTo(target.ParentEducationContents, mappingContract?.IsParentEducationContentsItemCreatable ?? true, target.Parent, mappingContract?.IsParentEducationContentIncluded); } if (mappingContract?.IsParentFavoriteBookTitlesSupported != false) { - source.ParentFavoriteBookTitles.MapCollectionTo(target.ParentFavoriteBookTitles, target.Parent, mappingContract?.IsParentFavoriteBookTitleIncluded); + source.ParentFavoriteBookTitles.MapCollectionTo(target.ParentFavoriteBookTitles, mappingContract?.IsParentFavoriteBookTitlesItemCreatable ?? true, target.Parent, mappingContract?.IsParentFavoriteBookTitleIncluded); } if (mappingContract?.IsParentStudentProgramAssociationsSupported != false) { - source.ParentStudentProgramAssociations.MapCollectionTo(target.ParentStudentProgramAssociations, target.Parent, mappingContract?.IsParentStudentProgramAssociationIncluded); + source.ParentStudentProgramAssociations.MapCollectionTo(target.ParentStudentProgramAssociations, mappingContract?.IsParentStudentProgramAssociationsItemCreatable ?? true, target.Parent, mappingContract?.IsParentStudentProgramAssociationIncluded); } @@ -2671,6 +2683,7 @@ public static bool SynchronizeTo(this ISchoolExtension source, ISchoolExtension // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.School); }, + itemCreatable: mappingContract?.IsSchoolDirectlyOwnedBusesItemCreatable ?? true, includeItem: item => mappingContract?.IsSchoolDirectlyOwnedBusIncluded?.Invoke(item) ?? true); } @@ -2727,7 +2740,7 @@ public static void MapTo(this ISchoolExtension source, ISchoolExtension target, if (mappingContract?.IsSchoolDirectlyOwnedBusesSupported != false) { - source.SchoolDirectlyOwnedBuses.MapCollectionTo(target.SchoolDirectlyOwnedBuses, target.School, mappingContract?.IsSchoolDirectlyOwnedBusIncluded); + source.SchoolDirectlyOwnedBuses.MapCollectionTo(target.SchoolDirectlyOwnedBuses, mappingContract?.IsSchoolDirectlyOwnedBusesItemCreatable ?? true, target.School, mappingContract?.IsSchoolDirectlyOwnedBusIncluded); } @@ -2823,6 +2836,7 @@ public static bool SynchronizeTo(this IStaffExtension source, IStaffExtension ta // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Staff); }, + itemCreatable: mappingContract?.IsStaffPetsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffPetIncluded?.Invoke(item) ?? true); } @@ -2879,7 +2893,7 @@ public static void MapTo(this IStaffExtension source, IStaffExtension target, Ac if (mappingContract?.IsStaffPetsSupported != false) { - source.StaffPets.MapCollectionTo(target.StaffPets, target.Staff, mappingContract?.IsStaffPetIncluded); + source.StaffPets.MapCollectionTo(target.StaffPets, mappingContract?.IsStaffPetsItemCreatable ?? true, target.Staff, mappingContract?.IsStaffPetIncluded); } @@ -3206,6 +3220,7 @@ public static bool SynchronizeTo(this IStudentExtension source, IStudentExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Student); }, + itemCreatable: mappingContract?.IsStudentAquaticPetsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAquaticPetIncluded?.Invoke(item) ?? true); } @@ -3221,6 +3236,7 @@ public static bool SynchronizeTo(this IStudentExtension source, IStudentExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Student); }, + itemCreatable: mappingContract?.IsStudentFavoriteBooksItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentFavoriteBookIncluded?.Invoke(item) ?? true); } @@ -3236,6 +3252,7 @@ public static bool SynchronizeTo(this IStudentExtension source, IStudentExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Student); }, + itemCreatable: mappingContract?.IsStudentPetsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentPetIncluded?.Invoke(item) ?? true); } @@ -3289,17 +3306,17 @@ public static void MapTo(this IStudentExtension source, IStudentExtension target if (mappingContract?.IsStudentAquaticPetsSupported != false) { - source.StudentAquaticPets.MapCollectionTo(target.StudentAquaticPets, target.Student, mappingContract?.IsStudentAquaticPetIncluded); + source.StudentAquaticPets.MapCollectionTo(target.StudentAquaticPets, mappingContract?.IsStudentAquaticPetsItemCreatable ?? true, target.Student, mappingContract?.IsStudentAquaticPetIncluded); } if (mappingContract?.IsStudentFavoriteBooksSupported != false) { - source.StudentFavoriteBooks.MapCollectionTo(target.StudentFavoriteBooks, target.Student, mappingContract?.IsStudentFavoriteBookIncluded); + source.StudentFavoriteBooks.MapCollectionTo(target.StudentFavoriteBooks, mappingContract?.IsStudentFavoriteBooksItemCreatable ?? true, target.Student, mappingContract?.IsStudentFavoriteBookIncluded); } if (mappingContract?.IsStudentPetsSupported != false) { - source.StudentPets.MapCollectionTo(target.StudentPets, target.Student, mappingContract?.IsStudentPetIncluded); + source.StudentPets.MapCollectionTo(target.StudentPets, mappingContract?.IsStudentPetsItemCreatable ?? true, target.Student, mappingContract?.IsStudentPetIncluded); } @@ -3359,6 +3376,7 @@ public static bool SynchronizeTo(this IStudentFavoriteBook source, IStudentFavor { child.StudentFavoriteBook = target; }, + itemCreatable: mappingContract?.IsStudentFavoriteBookArtMediaItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentFavoriteBookArtMediumIncluded?.Invoke(item) ?? true); } @@ -3392,7 +3410,7 @@ public static void MapTo(this IStudentFavoriteBook source, IStudentFavoriteBook if (mappingContract?.IsStudentFavoriteBookArtMediaSupported != false) { - source.StudentFavoriteBookArtMedia.MapCollectionTo(target.StudentFavoriteBookArtMedia, target, mappingContract?.IsStudentFavoriteBookArtMediumIncluded); + source.StudentFavoriteBookArtMedia.MapCollectionTo(target.StudentFavoriteBookArtMedia, mappingContract?.IsStudentFavoriteBookArtMediaItemCreatable ?? true, target, mappingContract?.IsStudentFavoriteBookArtMediumIncluded); } @@ -3828,6 +3846,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -3842,6 +3861,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu { child.StudentArtProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentArtProgramAssociationArtMediaItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentArtProgramAssociationArtMediumIncluded?.Invoke(item) ?? true); } @@ -3854,6 +3874,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu { child.StudentArtProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentArtProgramAssociationPortfolioYearsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentArtProgramAssociationPortfolioYearsIncluded?.Invoke(item) ?? true); } @@ -3866,6 +3887,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu { child.StudentArtProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentArtProgramAssociationServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentArtProgramAssociationServiceIncluded?.Invoke(item) ?? true); } @@ -3878,6 +3900,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu { child.StudentArtProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentArtProgramAssociationStylesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentArtProgramAssociationStyleIncluded?.Invoke(item) ?? true); } @@ -3995,29 +4018,29 @@ public static void MapDerivedTo(this IStudentArtProgramAssociation source, IStud if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentArtProgramAssociationArtMediaSupported != false) { - source.StudentArtProgramAssociationArtMedia.MapCollectionTo(target.StudentArtProgramAssociationArtMedia, target, mappingContract?.IsStudentArtProgramAssociationArtMediumIncluded); + source.StudentArtProgramAssociationArtMedia.MapCollectionTo(target.StudentArtProgramAssociationArtMedia, mappingContract?.IsStudentArtProgramAssociationArtMediaItemCreatable ?? true, target, mappingContract?.IsStudentArtProgramAssociationArtMediumIncluded); } if (mappingContract?.IsStudentArtProgramAssociationPortfolioYearsSupported != false) { - source.StudentArtProgramAssociationPortfolioYears.MapCollectionTo(target.StudentArtProgramAssociationPortfolioYears, target, mappingContract?.IsStudentArtProgramAssociationPortfolioYearsIncluded); + source.StudentArtProgramAssociationPortfolioYears.MapCollectionTo(target.StudentArtProgramAssociationPortfolioYears, mappingContract?.IsStudentArtProgramAssociationPortfolioYearsItemCreatable ?? true, target, mappingContract?.IsStudentArtProgramAssociationPortfolioYearsIncluded); } if (mappingContract?.IsStudentArtProgramAssociationServicesSupported != false) { - source.StudentArtProgramAssociationServices.MapCollectionTo(target.StudentArtProgramAssociationServices, target, mappingContract?.IsStudentArtProgramAssociationServiceIncluded); + source.StudentArtProgramAssociationServices.MapCollectionTo(target.StudentArtProgramAssociationServices, mappingContract?.IsStudentArtProgramAssociationServicesItemCreatable ?? true, target, mappingContract?.IsStudentArtProgramAssociationServiceIncluded); } if (mappingContract?.IsStudentArtProgramAssociationStylesSupported != false) { - source.StudentArtProgramAssociationStyles.MapCollectionTo(target.StudentArtProgramAssociationStyles, target, mappingContract?.IsStudentArtProgramAssociationStyleIncluded); + source.StudentArtProgramAssociationStyles.MapCollectionTo(target.StudentArtProgramAssociationStyles, mappingContract?.IsStudentArtProgramAssociationStylesItemCreatable ?? true, target, mappingContract?.IsStudentArtProgramAssociationStyleIncluded); } @@ -4476,6 +4499,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationAd // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentEducationOrganizationAssociationAddress); }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded?.Invoke(item) ?? true); } @@ -4491,6 +4515,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationAd // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentEducationOrganizationAssociationAddress); }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAddressTermsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAddressTermIncluded?.Invoke(item) ?? true); } @@ -4526,12 +4551,12 @@ public static void MapTo(this IStudentEducationOrganizationAssociationAddressExt if (mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported != false) { - source.StudentEducationOrganizationAssociationAddressSchoolDistricts.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressSchoolDistricts, target.StudentEducationOrganizationAssociationAddress, mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded); + source.StudentEducationOrganizationAssociationAddressSchoolDistricts.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressSchoolDistricts, mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable ?? true, target.StudentEducationOrganizationAssociationAddress, mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationAddressTermsSupported != false) { - source.StudentEducationOrganizationAssociationAddressTerms.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressTerms, target.StudentEducationOrganizationAssociationAddress, mappingContract?.IsStudentEducationOrganizationAssociationAddressTermIncluded); + source.StudentEducationOrganizationAssociationAddressTerms.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressTerms, mappingContract?.IsStudentEducationOrganizationAssociationAddressTermsItemCreatable ?? true, target.StudentEducationOrganizationAssociationAddress, mappingContract?.IsStudentEducationOrganizationAssociationAddressTermIncluded); } @@ -4811,6 +4836,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationSt // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentEducationOrganizationAssociationStudentCharacteristic); }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded?.Invoke(item) ?? true); } @@ -4840,7 +4866,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationStudentCha if (mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported != false) { - source.StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds, target.StudentEducationOrganizationAssociationStudentCharacteristic, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded); + source.StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable ?? true, target.StudentEducationOrganizationAssociationStudentCharacteristic, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded); } @@ -5086,6 +5112,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -5098,6 +5125,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded?.Invoke(item) ?? true); } @@ -5110,6 +5138,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationDescriptionsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationDescriptionIncluded?.Invoke(item) ?? true); } @@ -5122,6 +5151,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationDesignatedByIncluded?.Invoke(item) ?? true); } @@ -5134,6 +5164,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialIncluded?.Invoke(item) ?? true); } @@ -5146,6 +5177,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationStudentParentAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationStudentParentAssociationIncluded?.Invoke(item) ?? true); } @@ -5158,6 +5190,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedIncluded?.Invoke(item) ?? true); } @@ -5256,37 +5289,37 @@ public static void MapTo(this IStudentGraduationPlanAssociation source, IStudent if (mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectsSupported != false) { - source.StudentGraduationPlanAssociationAcademicSubjects.MapCollectionTo(target.StudentGraduationPlanAssociationAcademicSubjects, target, mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectIncluded); + source.StudentGraduationPlanAssociationAcademicSubjects.MapCollectionTo(target.StudentGraduationPlanAssociationAcademicSubjects, mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodesSupported != false) { - source.StudentGraduationPlanAssociationCareerPathwayCodes.MapCollectionTo(target.StudentGraduationPlanAssociationCareerPathwayCodes, target, mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded); + source.StudentGraduationPlanAssociationCareerPathwayCodes.MapCollectionTo(target.StudentGraduationPlanAssociationCareerPathwayCodes, mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationDescriptionsSupported != false) { - source.StudentGraduationPlanAssociationDescriptions.MapCollectionTo(target.StudentGraduationPlanAssociationDescriptions, target, mappingContract?.IsStudentGraduationPlanAssociationDescriptionIncluded); + source.StudentGraduationPlanAssociationDescriptions.MapCollectionTo(target.StudentGraduationPlanAssociationDescriptions, mappingContract?.IsStudentGraduationPlanAssociationDescriptionsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationDescriptionIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationDesignatedBiesSupported != false) { - source.StudentGraduationPlanAssociationDesignatedBies.MapCollectionTo(target.StudentGraduationPlanAssociationDesignatedBies, target, mappingContract?.IsStudentGraduationPlanAssociationDesignatedByIncluded); + source.StudentGraduationPlanAssociationDesignatedBies.MapCollectionTo(target.StudentGraduationPlanAssociationDesignatedBies, mappingContract?.IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationDesignatedByIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialsSupported != false) { - source.StudentGraduationPlanAssociationIndustryCredentials.MapCollectionTo(target.StudentGraduationPlanAssociationIndustryCredentials, target, mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialIncluded); + source.StudentGraduationPlanAssociationIndustryCredentials.MapCollectionTo(target.StudentGraduationPlanAssociationIndustryCredentials, mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationStudentParentAssociationsSupported != false) { - source.StudentGraduationPlanAssociationStudentParentAssociations.MapCollectionTo(target.StudentGraduationPlanAssociationStudentParentAssociations, target, mappingContract?.IsStudentGraduationPlanAssociationStudentParentAssociationIncluded); + source.StudentGraduationPlanAssociationStudentParentAssociations.MapCollectionTo(target.StudentGraduationPlanAssociationStudentParentAssociations, mappingContract?.IsStudentGraduationPlanAssociationStudentParentAssociationsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationStudentParentAssociationIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedsSupported != false) { - source.StudentGraduationPlanAssociationYearsAttendeds.MapCollectionTo(target.StudentGraduationPlanAssociationYearsAttendeds, target, mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedIncluded); + source.StudentGraduationPlanAssociationYearsAttendeds.MapCollectionTo(target.StudentGraduationPlanAssociationYearsAttendeds, mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedIncluded); } @@ -6106,6 +6139,7 @@ public static bool SynchronizeTo(this IStudentParentAssociationExtension source, // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentParentAssociation); }, + itemCreatable: mappingContract?.IsStudentParentAssociationDisciplinesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentParentAssociationDisciplineIncluded?.Invoke(item) ?? true); } @@ -6121,6 +6155,7 @@ public static bool SynchronizeTo(this IStudentParentAssociationExtension source, // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentParentAssociation); }, + itemCreatable: mappingContract?.IsStudentParentAssociationFavoriteBookTitlesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentParentAssociationFavoriteBookTitleIncluded?.Invoke(item) ?? true); } @@ -6136,6 +6171,7 @@ public static bool SynchronizeTo(this IStudentParentAssociationExtension source, // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentParentAssociation); }, + itemCreatable: mappingContract?.IsStudentParentAssociationHoursPerWeeksItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentParentAssociationHoursPerWeekIncluded?.Invoke(item) ?? true); } @@ -6151,6 +6187,7 @@ public static bool SynchronizeTo(this IStudentParentAssociationExtension source, // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentParentAssociation); }, + itemCreatable: mappingContract?.IsStudentParentAssociationPagesReadsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentParentAssociationPagesReadIncluded?.Invoke(item) ?? true); } @@ -6166,6 +6203,7 @@ public static bool SynchronizeTo(this IStudentParentAssociationExtension source, // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentParentAssociation); }, + itemCreatable: mappingContract?.IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationIncluded?.Invoke(item) ?? true); } @@ -6265,27 +6303,27 @@ public static void MapTo(this IStudentParentAssociationExtension source, IStuden if (mappingContract?.IsStudentParentAssociationDisciplinesSupported != false) { - source.StudentParentAssociationDisciplines.MapCollectionTo(target.StudentParentAssociationDisciplines, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationDisciplineIncluded); + source.StudentParentAssociationDisciplines.MapCollectionTo(target.StudentParentAssociationDisciplines, mappingContract?.IsStudentParentAssociationDisciplinesItemCreatable ?? true, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationDisciplineIncluded); } if (mappingContract?.IsStudentParentAssociationFavoriteBookTitlesSupported != false) { - source.StudentParentAssociationFavoriteBookTitles.MapCollectionTo(target.StudentParentAssociationFavoriteBookTitles, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationFavoriteBookTitleIncluded); + source.StudentParentAssociationFavoriteBookTitles.MapCollectionTo(target.StudentParentAssociationFavoriteBookTitles, mappingContract?.IsStudentParentAssociationFavoriteBookTitlesItemCreatable ?? true, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationFavoriteBookTitleIncluded); } if (mappingContract?.IsStudentParentAssociationHoursPerWeeksSupported != false) { - source.StudentParentAssociationHoursPerWeeks.MapCollectionTo(target.StudentParentAssociationHoursPerWeeks, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationHoursPerWeekIncluded); + source.StudentParentAssociationHoursPerWeeks.MapCollectionTo(target.StudentParentAssociationHoursPerWeeks, mappingContract?.IsStudentParentAssociationHoursPerWeeksItemCreatable ?? true, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationHoursPerWeekIncluded); } if (mappingContract?.IsStudentParentAssociationPagesReadsSupported != false) { - source.StudentParentAssociationPagesReads.MapCollectionTo(target.StudentParentAssociationPagesReads, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationPagesReadIncluded); + source.StudentParentAssociationPagesReads.MapCollectionTo(target.StudentParentAssociationPagesReads, mappingContract?.IsStudentParentAssociationPagesReadsItemCreatable ?? true, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationPagesReadIncluded); } if (mappingContract?.IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsSupported != false) { - source.StudentParentAssociationStaffEducationOrganizationEmploymentAssociations.MapCollectionTo(target.StudentParentAssociationStaffEducationOrganizationEmploymentAssociations, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationIncluded); + source.StudentParentAssociationStaffEducationOrganizationEmploymentAssociations.MapCollectionTo(target.StudentParentAssociationStaffEducationOrganizationEmploymentAssociations, mappingContract?.IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable ?? true, target.StudentParentAssociation, mappingContract?.IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationIncluded); } @@ -6815,6 +6853,7 @@ public static bool SynchronizeTo(this IStudentSectionAssociationExtension source // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentSectionAssociation); }, + itemCreatable: mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded?.Invoke(item) ?? true); } @@ -6844,7 +6883,7 @@ public static void MapTo(this IStudentSectionAssociationExtension source, IStude if (mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported != false) { - source.StudentSectionAssociationRelatedGeneralStudentProgramAssociations.MapCollectionTo(target.StudentSectionAssociationRelatedGeneralStudentProgramAssociations, target.StudentSectionAssociation, mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded); + source.StudentSectionAssociationRelatedGeneralStudentProgramAssociations.MapCollectionTo(target.StudentSectionAssociationRelatedGeneralStudentProgramAssociations, mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable ?? true, target.StudentSectionAssociation, mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded); } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index f39ac277f1..2a9b84fb89 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -85,6 +85,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -159,6 +168,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -221,6 +239,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -295,6 +322,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -342,6 +378,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -402,6 +447,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -476,5 +530,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTransportation.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.SampleStudentTransportation.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 7b916d13d3..9b3d5da992 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTransportation.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.SampleStudentTransportation.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -85,5 +85,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } 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 4ee01c6eb4..c28bf88275 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 @@ -85,6 +85,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -159,6 +168,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -253,13 +271,21 @@ public CandidateMappingContract( bool isPersonReferenceSupported, bool isSexDescriptorSupported, bool isSourceSystemDescriptorSupported, + bool isCandidateAddressesItemCreatable, Func isCandidateAddressIncluded, + bool isCandidateDisabilitiesItemCreatable, Func isCandidateDisabilityIncluded, + bool isCandidateElectronicMailsItemCreatable, Func isCandidateElectronicMailIncluded, + bool isCandidateLanguagesItemCreatable, Func isCandidateLanguageIncluded, + bool isCandidateOtherNamesItemCreatable, Func isCandidateOtherNameIncluded, + bool isCandidatePersonalIdentificationDocumentsItemCreatable, Func isCandidatePersonalIdentificationDocumentIncluded, + bool isCandidateRacesItemCreatable, Func isCandidateRaceIncluded, + bool isCandidateTelephonesItemCreatable, Func isCandidateTelephoneIncluded ) { @@ -296,13 +322,21 @@ Func isCandidateTelephoneIncluded IsPersonReferenceSupported = isPersonReferenceSupported; IsSexDescriptorSupported = isSexDescriptorSupported; IsSourceSystemDescriptorSupported = isSourceSystemDescriptorSupported; + IsCandidateAddressesItemCreatable = isCandidateAddressesItemCreatable; IsCandidateAddressIncluded = isCandidateAddressIncluded; + IsCandidateDisabilitiesItemCreatable = isCandidateDisabilitiesItemCreatable; IsCandidateDisabilityIncluded = isCandidateDisabilityIncluded; + IsCandidateElectronicMailsItemCreatable = isCandidateElectronicMailsItemCreatable; IsCandidateElectronicMailIncluded = isCandidateElectronicMailIncluded; + IsCandidateLanguagesItemCreatable = isCandidateLanguagesItemCreatable; IsCandidateLanguageIncluded = isCandidateLanguageIncluded; + IsCandidateOtherNamesItemCreatable = isCandidateOtherNamesItemCreatable; IsCandidateOtherNameIncluded = isCandidateOtherNameIncluded; + IsCandidatePersonalIdentificationDocumentsItemCreatable = isCandidatePersonalIdentificationDocumentsItemCreatable; IsCandidatePersonalIdentificationDocumentIncluded = isCandidatePersonalIdentificationDocumentIncluded; + IsCandidateRacesItemCreatable = isCandidateRacesItemCreatable; IsCandidateRaceIncluded = isCandidateRaceIncluded; + IsCandidateTelephonesItemCreatable = isCandidateTelephonesItemCreatable; IsCandidateTelephoneIncluded = isCandidateTelephoneIncluded; } @@ -339,13 +373,21 @@ Func isCandidateTelephoneIncluded public bool IsPersonReferenceSupported { get; } public bool IsSexDescriptorSupported { get; } public bool IsSourceSystemDescriptorSupported { get; } + public bool IsCandidateAddressesItemCreatable { get; } public Func IsCandidateAddressIncluded { get; } + public bool IsCandidateDisabilitiesItemCreatable { get; } public Func IsCandidateDisabilityIncluded { get; } + public bool IsCandidateElectronicMailsItemCreatable { get; } public Func IsCandidateElectronicMailIncluded { get; } + public bool IsCandidateLanguagesItemCreatable { get; } public Func IsCandidateLanguageIncluded { get; } + public bool IsCandidateOtherNamesItemCreatable { get; } public Func IsCandidateOtherNameIncluded { get; } + public bool IsCandidatePersonalIdentificationDocumentsItemCreatable { get; } public Func IsCandidatePersonalIdentificationDocumentIncluded { get; } + public bool IsCandidateRacesItemCreatable { get; } public Func IsCandidateRaceIncluded { get; } + public bool IsCandidateTelephonesItemCreatable { get; } public Func IsCandidateTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -426,6 +468,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateAddresses": + return IsCandidateAddressesItemCreatable; + case "CandidateDisabilities": + return IsCandidateDisabilitiesItemCreatable; + case "CandidateElectronicMails": + return IsCandidateElectronicMailsItemCreatable; + case "CandidateLanguages": + return IsCandidateLanguagesItemCreatable; + case "CandidateOtherNames": + return IsCandidateOtherNamesItemCreatable; + case "CandidatePersonalIdentificationDocuments": + return IsCandidatePersonalIdentificationDocumentsItemCreatable; + case "CandidateRaces": + return IsCandidateRacesItemCreatable; + case "CandidateTelephones": + return IsCandidateTelephonesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -482,6 +549,7 @@ public CandidateAddressMappingContract( bool isLocaleDescriptorSupported, bool isLongitudeSupported, bool isNameOfCountySupported, + bool isCandidateAddressPeriodsItemCreatable, Func isCandidateAddressPeriodIncluded ) { @@ -495,6 +563,7 @@ Func isCandidateAddressPeriodIncluded IsLocaleDescriptorSupported = isLocaleDescriptorSupported; IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; + IsCandidateAddressPeriodsItemCreatable = isCandidateAddressPeriodsItemCreatable; IsCandidateAddressPeriodIncluded = isCandidateAddressPeriodIncluded; } @@ -508,6 +577,7 @@ Func isCandidateAddressPeriodIncluded public bool IsLocaleDescriptorSupported { get; } public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } + public bool IsCandidateAddressPeriodsItemCreatable { get; } public Func IsCandidateAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -550,6 +620,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateAddressPeriods": + return IsCandidateAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -601,6 +682,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -637,6 +727,7 @@ public CandidateDisabilityMappingContract( bool isDisabilityDeterminationSourceTypeDescriptorSupported, bool isDisabilityDiagnosisSupported, bool isOrderOfDisabilitySupported, + bool isCandidateDisabilityDesignationsItemCreatable, Func isCandidateDisabilityDesignationIncluded ) { @@ -644,6 +735,7 @@ Func isCandidateDisabilityDesignationIncl IsDisabilityDeterminationSourceTypeDescriptorSupported = isDisabilityDeterminationSourceTypeDescriptorSupported; IsDisabilityDiagnosisSupported = isDisabilityDiagnosisSupported; IsOrderOfDisabilitySupported = isOrderOfDisabilitySupported; + IsCandidateDisabilityDesignationsItemCreatable = isCandidateDisabilityDesignationsItemCreatable; IsCandidateDisabilityDesignationIncluded = isCandidateDisabilityDesignationIncluded; } @@ -651,6 +743,7 @@ Func isCandidateDisabilityDesignationIncl public bool IsDisabilityDeterminationSourceTypeDescriptorSupported { get; } public bool IsDisabilityDiagnosisSupported { get; } public bool IsOrderOfDisabilitySupported { get; } + public bool IsCandidateDisabilityDesignationsItemCreatable { get; } public Func IsCandidateDisabilityDesignationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -673,6 +766,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateDisabilityDesignations": + return IsCandidateDisabilityDesignationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -718,6 +822,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -769,7 +882,9 @@ public CandidateEducatorPreparationProgramAssociationMappingContract( bool isEndDateSupported, bool isEPPProgramPathwayDescriptorSupported, bool isReasonExitedDescriptorSupported, + bool isCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable, Func isCandidateEducatorPreparationProgramAssociationCohortYearIncluded, + bool isCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable, Func isCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded ) { @@ -780,7 +895,9 @@ Func IsEndDateSupported = isEndDateSupported; IsEPPProgramPathwayDescriptorSupported = isEPPProgramPathwayDescriptorSupported; IsReasonExitedDescriptorSupported = isReasonExitedDescriptorSupported; + IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable = isCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable; IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded = isCandidateEducatorPreparationProgramAssociationCohortYearIncluded; + IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable = isCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable; IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded = isCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded; } @@ -791,7 +908,9 @@ Func public bool IsEndDateSupported { get; } public bool IsEPPProgramPathwayDescriptorSupported { get; } public bool IsReasonExitedDescriptorSupported { get; } + public bool IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable { get; } public Func IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded { get; } + public bool IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable { get; } public Func IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -828,6 +947,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateEducatorPreparationProgramAssociationCohortYears": + return IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable; + case "CandidateEducatorPreparationProgramAssociationDegreeSpecializations": + return IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -889,6 +1021,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -946,6 +1087,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1007,6 +1157,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1037,14 +1196,17 @@ public class CandidateLanguageMappingContract : IMappingContract { public CandidateLanguageMappingContract( bool isCandidateLanguageUsesSupported, + bool isCandidateLanguageUsesItemCreatable, Func isCandidateLanguageUseIncluded ) { IsCandidateLanguageUsesSupported = isCandidateLanguageUsesSupported; + IsCandidateLanguageUsesItemCreatable = isCandidateLanguageUsesItemCreatable; IsCandidateLanguageUseIncluded = isCandidateLanguageUseIncluded; } public bool IsCandidateLanguageUsesSupported { get; } + public bool IsCandidateLanguageUsesItemCreatable { get; } public Func IsCandidateLanguageUseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1061,6 +1223,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateLanguageUses": + return IsCandidateLanguageUsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1106,6 +1279,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1181,6 +1363,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1260,6 +1451,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1305,6 +1505,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1372,6 +1581,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1446,6 +1664,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1520,6 +1747,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1567,6 +1803,7 @@ public CredentialExtensionMappingContract( bool isPersonIdSupported, bool isPersonReferenceSupported, bool isSourceSystemDescriptorSupported, + bool isCredentialStudentAcademicRecordsItemCreatable, Func isCredentialStudentAcademicRecordIncluded ) { @@ -1580,6 +1817,7 @@ Func isCredentialStudentAcademicRecordIn IsPersonIdSupported = isPersonIdSupported; IsPersonReferenceSupported = isPersonReferenceSupported; IsSourceSystemDescriptorSupported = isSourceSystemDescriptorSupported; + IsCredentialStudentAcademicRecordsItemCreatable = isCredentialStudentAcademicRecordsItemCreatable; IsCredentialStudentAcademicRecordIncluded = isCredentialStudentAcademicRecordIncluded; } @@ -1593,6 +1831,7 @@ Func isCredentialStudentAcademicRecordIn public bool IsPersonIdSupported { get; } public bool IsPersonReferenceSupported { get; } public bool IsSourceSystemDescriptorSupported { get; } + public bool IsCredentialStudentAcademicRecordsItemCreatable { get; } public Func IsCredentialStudentAcademicRecordIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1625,6 +1864,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CredentialStudentAcademicRecords": + return IsCredentialStudentAcademicRecordsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1699,6 +1949,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1763,6 +2022,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1803,6 +2071,7 @@ public EducatorPreparationProgramMappingContract( bool isEducationOrganizationReferenceSupported, bool isEducatorPreparationProgramGradeLevelsSupported, bool isProgramIdSupported, + bool isEducatorPreparationProgramGradeLevelsItemCreatable, Func isEducatorPreparationProgramGradeLevelIncluded ) { @@ -1810,6 +2079,7 @@ Func isEducatorPreparationProgramGr IsEducationOrganizationReferenceSupported = isEducationOrganizationReferenceSupported; IsEducatorPreparationProgramGradeLevelsSupported = isEducatorPreparationProgramGradeLevelsSupported; IsProgramIdSupported = isProgramIdSupported; + IsEducatorPreparationProgramGradeLevelsItemCreatable = isEducatorPreparationProgramGradeLevelsItemCreatable; IsEducatorPreparationProgramGradeLevelIncluded = isEducatorPreparationProgramGradeLevelIncluded; } @@ -1817,6 +2087,7 @@ Func isEducatorPreparationProgramGr public bool IsEducationOrganizationReferenceSupported { get; } public bool IsEducatorPreparationProgramGradeLevelsSupported { get; } public bool IsProgramIdSupported { get; } + public bool IsEducatorPreparationProgramGradeLevelsItemCreatable { get; } public Func IsEducatorPreparationProgramGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1843,6 +2114,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducatorPreparationProgramGradeLevels": + return IsEducatorPreparationProgramGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1888,6 +2170,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1962,6 +2253,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2036,6 +2336,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2110,6 +2419,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2164,6 +2482,7 @@ public EvaluationMappingContract( bool isMaxRatingSupported, bool isMinRatingSupported, bool isPerformanceEvaluationReferenceSupported, + bool isEvaluationRatingLevelsItemCreatable, Func isEvaluationRatingLevelIncluded ) { @@ -2174,6 +2493,7 @@ Func isEvaluationRatingLevelIncluded IsMaxRatingSupported = isMaxRatingSupported; IsMinRatingSupported = isMinRatingSupported; IsPerformanceEvaluationReferenceSupported = isPerformanceEvaluationReferenceSupported; + IsEvaluationRatingLevelsItemCreatable = isEvaluationRatingLevelsItemCreatable; IsEvaluationRatingLevelIncluded = isEvaluationRatingLevelIncluded; } @@ -2184,6 +2504,7 @@ 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) @@ -2224,6 +2545,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationRatingLevels": + return IsEvaluationRatingLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2280,6 +2612,7 @@ public EvaluationElementMappingContract( bool isMaxRatingSupported, bool isMinRatingSupported, bool isSortOrderSupported, + bool isEvaluationElementRatingLevelsItemCreatable, Func isEvaluationElementRatingLevelIncluded ) { @@ -2289,6 +2622,7 @@ Func isEvaluationElementRatingLevelIncluded IsMaxRatingSupported = isMaxRatingSupported; IsMinRatingSupported = isMinRatingSupported; IsSortOrderSupported = isSortOrderSupported; + IsEvaluationElementRatingLevelsItemCreatable = isEvaluationElementRatingLevelsItemCreatable; IsEvaluationElementRatingLevelIncluded = isEvaluationElementRatingLevelIncluded; } @@ -2298,6 +2632,7 @@ Func isEvaluationElementRatingLevelIncluded public bool IsMaxRatingSupported { get; } public bool IsMinRatingSupported { get; } public bool IsSortOrderSupported { get; } + public bool IsEvaluationElementRatingLevelsItemCreatable { get; } public Func IsEvaluationElementRatingLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2340,6 +2675,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationElementRatingLevels": + return IsEvaluationElementRatingLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2407,6 +2753,7 @@ public EvaluationElementRatingMappingContract( bool isEvaluationElementReferenceSupported, bool isEvaluationObjectiveRatingReferenceSupported, bool isFeedbackSupported, + bool isEvaluationElementRatingResultsItemCreatable, Func isEvaluationElementRatingResultIncluded ) { @@ -2418,6 +2765,7 @@ Func isEvaluationElementRatingResultInclud IsEvaluationElementReferenceSupported = isEvaluationElementReferenceSupported; IsEvaluationObjectiveRatingReferenceSupported = isEvaluationObjectiveRatingReferenceSupported; IsFeedbackSupported = isFeedbackSupported; + IsEvaluationElementRatingResultsItemCreatable = isEvaluationElementRatingResultsItemCreatable; IsEvaluationElementRatingResultIncluded = isEvaluationElementRatingResultIncluded; } @@ -2429,6 +2777,7 @@ Func isEvaluationElementRatingResultInclud public bool IsEvaluationElementReferenceSupported { get; } public bool IsEvaluationObjectiveRatingReferenceSupported { get; } public bool IsFeedbackSupported { get; } + public bool IsEvaluationElementRatingResultsItemCreatable { get; } public Func IsEvaluationElementRatingResultIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2481,6 +2830,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationElementRatingResults": + return IsEvaluationElementRatingResultsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2538,6 +2898,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2612,6 +2981,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2667,6 +3045,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2723,6 +3110,7 @@ public EvaluationObjectiveMappingContract( bool isMaxRatingSupported, bool isMinRatingSupported, bool isSortOrderSupported, + bool isEvaluationObjectiveRatingLevelsItemCreatable, Func isEvaluationObjectiveRatingLevelIncluded ) { @@ -2733,6 +3121,7 @@ Func isEvaluationObjectiveRatingLevelIncl IsMaxRatingSupported = isMaxRatingSupported; IsMinRatingSupported = isMinRatingSupported; IsSortOrderSupported = isSortOrderSupported; + IsEvaluationObjectiveRatingLevelsItemCreatable = isEvaluationObjectiveRatingLevelsItemCreatable; IsEvaluationObjectiveRatingLevelIncluded = isEvaluationObjectiveRatingLevelIncluded; } @@ -2743,6 +3132,7 @@ Func isEvaluationObjectiveRatingLevelIncl public bool IsMaxRatingSupported { get; } public bool IsMinRatingSupported { get; } public bool IsSortOrderSupported { get; } + public bool IsEvaluationObjectiveRatingLevelsItemCreatable { get; } public Func IsEvaluationObjectiveRatingLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2785,6 +3175,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationObjectiveRatingLevels": + return IsEvaluationObjectiveRatingLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2844,6 +3245,7 @@ public EvaluationObjectiveRatingMappingContract( bool isEvaluationObjectiveReferenceSupported, bool isEvaluationRatingReferenceSupported, bool isObjectiveRatingLevelDescriptorSupported, + bool isEvaluationObjectiveRatingResultsItemCreatable, Func isEvaluationObjectiveRatingResultIncluded ) { @@ -2852,6 +3254,7 @@ Func isEvaluationObjectiveRatingResultIn IsEvaluationObjectiveReferenceSupported = isEvaluationObjectiveReferenceSupported; IsEvaluationRatingReferenceSupported = isEvaluationRatingReferenceSupported; IsObjectiveRatingLevelDescriptorSupported = isObjectiveRatingLevelDescriptorSupported; + IsEvaluationObjectiveRatingResultsItemCreatable = isEvaluationObjectiveRatingResultsItemCreatable; IsEvaluationObjectiveRatingResultIncluded = isEvaluationObjectiveRatingResultIncluded; } @@ -2860,6 +3263,7 @@ Func isEvaluationObjectiveRatingResultIn public bool IsEvaluationObjectiveReferenceSupported { get; } public bool IsEvaluationRatingReferenceSupported { get; } public bool IsObjectiveRatingLevelDescriptorSupported { get; } + public bool IsEvaluationObjectiveRatingResultsItemCreatable { get; } public Func IsEvaluationObjectiveRatingResultIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2904,6 +3308,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationObjectiveRatingResults": + return IsEvaluationObjectiveRatingResultsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2961,6 +3376,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3016,6 +3440,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3090,6 +3523,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3160,7 +3602,9 @@ public EvaluationRatingMappingContract( bool isSectionIdentifierSupported, bool isSectionReferenceSupported, bool isSessionNameSupported, + bool isEvaluationRatingResultsItemCreatable, Func isEvaluationRatingResultIncluded, + bool isEvaluationRatingReviewersItemCreatable, Func isEvaluationRatingReviewerIncluded ) { @@ -3175,7 +3619,9 @@ Func isEvaluationRatingReviewerIncluded IsSectionIdentifierSupported = isSectionIdentifierSupported; IsSectionReferenceSupported = isSectionReferenceSupported; IsSessionNameSupported = isSessionNameSupported; + IsEvaluationRatingResultsItemCreatable = isEvaluationRatingResultsItemCreatable; IsEvaluationRatingResultIncluded = isEvaluationRatingResultIncluded; + IsEvaluationRatingReviewersItemCreatable = isEvaluationRatingReviewersItemCreatable; IsEvaluationRatingReviewerIncluded = isEvaluationRatingReviewerIncluded; } @@ -3190,7 +3636,9 @@ Func isEvaluationRatingReviewerIncluded public bool IsSectionIdentifierSupported { get; } public bool IsSectionReferenceSupported { get; } public bool IsSessionNameSupported { get; } + public bool IsEvaluationRatingResultsItemCreatable { get; } public Func IsEvaluationRatingResultIncluded { get; } + public bool IsEvaluationRatingReviewersItemCreatable { get; } public Func IsEvaluationRatingReviewerIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3245,6 +3693,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationRatingResults": + return IsEvaluationRatingResultsItemCreatable; + case "EvaluationRatingReviewers": + return IsEvaluationRatingReviewersItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3302,6 +3763,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3376,6 +3846,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3431,6 +3910,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3506,6 +3994,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3559,6 +4056,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3633,6 +4139,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3707,6 +4222,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3790,6 +4314,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3864,6 +4397,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3938,6 +4480,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3988,7 +4539,9 @@ public PerformanceEvaluationMappingContract( bool isPerformanceEvaluationGradeLevelsSupported, bool isPerformanceEvaluationRatingLevelsSupported, bool isSchoolYearTypeReferenceSupported, + bool isPerformanceEvaluationGradeLevelsItemCreatable, Func isPerformanceEvaluationGradeLevelIncluded, + bool isPerformanceEvaluationRatingLevelsItemCreatable, Func isPerformanceEvaluationRatingLevelIncluded ) { @@ -3998,7 +4551,9 @@ Func isPerformanceEvaluationRatingLevel IsPerformanceEvaluationGradeLevelsSupported = isPerformanceEvaluationGradeLevelsSupported; IsPerformanceEvaluationRatingLevelsSupported = isPerformanceEvaluationRatingLevelsSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; + IsPerformanceEvaluationGradeLevelsItemCreatable = isPerformanceEvaluationGradeLevelsItemCreatable; IsPerformanceEvaluationGradeLevelIncluded = isPerformanceEvaluationGradeLevelIncluded; + IsPerformanceEvaluationRatingLevelsItemCreatable = isPerformanceEvaluationRatingLevelsItemCreatable; IsPerformanceEvaluationRatingLevelIncluded = isPerformanceEvaluationRatingLevelIncluded; } @@ -4008,7 +4563,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4045,6 +4602,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "PerformanceEvaluationGradeLevels": + return IsPerformanceEvaluationGradeLevelsItemCreatable; + case "PerformanceEvaluationRatingLevels": + return IsPerformanceEvaluationRatingLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4090,6 +4660,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4157,7 +4736,9 @@ public PerformanceEvaluationRatingMappingContract( bool isPerformanceEvaluationReferenceSupported, bool isPersonReferenceSupported, bool isScheduleDateSupported, + bool isPerformanceEvaluationRatingResultsItemCreatable, Func isPerformanceEvaluationRatingResultIncluded, + bool isPerformanceEvaluationRatingReviewersItemCreatable, Func isPerformanceEvaluationRatingReviewerIncluded ) { @@ -4173,7 +4754,9 @@ Func isPerformanceEvaluationRatingRe IsPerformanceEvaluationReferenceSupported = isPerformanceEvaluationReferenceSupported; IsPersonReferenceSupported = isPersonReferenceSupported; IsScheduleDateSupported = isScheduleDateSupported; + IsPerformanceEvaluationRatingResultsItemCreatable = isPerformanceEvaluationRatingResultsItemCreatable; IsPerformanceEvaluationRatingResultIncluded = isPerformanceEvaluationRatingResultIncluded; + IsPerformanceEvaluationRatingReviewersItemCreatable = isPerformanceEvaluationRatingReviewersItemCreatable; IsPerformanceEvaluationRatingReviewerIncluded = isPerformanceEvaluationRatingReviewerIncluded; } @@ -4189,7 +4772,9 @@ Func isPerformanceEvaluationRatingRe public bool IsPerformanceEvaluationReferenceSupported { get; } public bool IsPersonReferenceSupported { get; } public bool IsScheduleDateSupported { get; } + public bool IsPerformanceEvaluationRatingResultsItemCreatable { get; } public Func IsPerformanceEvaluationRatingResultIncluded { get; } + public bool IsPerformanceEvaluationRatingReviewersItemCreatable { get; } public Func IsPerformanceEvaluationRatingReviewerIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4242,6 +4827,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "PerformanceEvaluationRatingResults": + return IsPerformanceEvaluationRatingResultsItemCreatable; + case "PerformanceEvaluationRatingReviewers": + return IsPerformanceEvaluationRatingReviewersItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4299,6 +4897,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4373,6 +4980,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4428,6 +5044,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4503,6 +5128,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4556,6 +5190,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4630,6 +5273,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4735,6 +5387,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4809,6 +5470,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4862,6 +5532,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4922,6 +5601,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4996,6 +5684,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5074,5 +5771,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index 2fd8e309de..cae2f51204 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -526,6 +526,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateAddressIncluded?.Invoke(item) ?? true); } @@ -538,6 +539,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateDisabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateDisabilityIncluded?.Invoke(item) ?? true); } @@ -550,6 +552,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateElectronicMailsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateElectronicMailIncluded?.Invoke(item) ?? true); } @@ -562,6 +565,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateLanguageIncluded?.Invoke(item) ?? true); } @@ -574,6 +578,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateOtherNamesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateOtherNameIncluded?.Invoke(item) ?? true); } @@ -586,6 +591,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidatePersonalIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidatePersonalIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -598,6 +604,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateRacesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateRaceIncluded?.Invoke(item) ?? true); } @@ -610,6 +617,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateTelephoneIncluded?.Invoke(item) ?? true); } @@ -722,42 +730,42 @@ public static void MapTo(this ICandidate source, ICandidate target, Action mappingContract?.IsCandidateAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -934,7 +943,7 @@ public static void MapTo(this ICandidateAddress source, ICandidateAddress target if (mappingContract?.IsCandidateAddressPeriodsSupported != false) { - source.CandidateAddressPeriods.MapCollectionTo(target.CandidateAddressPeriods, target, mappingContract?.IsCandidateAddressPeriodIncluded); + source.CandidateAddressPeriods.MapCollectionTo(target.CandidateAddressPeriods, mappingContract?.IsCandidateAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsCandidateAddressPeriodIncluded); } @@ -1084,6 +1093,7 @@ public static bool SynchronizeTo(this ICandidateDisability source, ICandidateDis { child.CandidateDisability = target; }, + itemCreatable: mappingContract?.IsCandidateDisabilityDesignationsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateDisabilityDesignationIncluded?.Invoke(item) ?? true); } @@ -1123,7 +1133,7 @@ public static void MapTo(this ICandidateDisability source, ICandidateDisability if (mappingContract?.IsCandidateDisabilityDesignationsSupported != false) { - source.CandidateDisabilityDesignations.MapCollectionTo(target.CandidateDisabilityDesignations, target, mappingContract?.IsCandidateDisabilityDesignationIncluded); + source.CandidateDisabilityDesignations.MapCollectionTo(target.CandidateDisabilityDesignations, mappingContract?.IsCandidateDisabilityDesignationsItemCreatable ?? true, target, mappingContract?.IsCandidateDisabilityDesignationIncluded); } @@ -1329,6 +1339,7 @@ public static bool SynchronizeTo(this ICandidateLanguage source, ICandidateLangu { child.CandidateLanguage = target; }, + itemCreatable: mappingContract?.IsCandidateLanguageUsesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateLanguageUseIncluded?.Invoke(item) ?? true); } @@ -1359,7 +1370,7 @@ public static void MapTo(this ICandidateLanguage source, ICandidateLanguage targ if (mappingContract?.IsCandidateLanguageUsesSupported != false) { - source.CandidateLanguageUses.MapCollectionTo(target.CandidateLanguageUses, target, mappingContract?.IsCandidateLanguageUseIncluded); + source.CandidateLanguageUses.MapCollectionTo(target.CandidateLanguageUses, mappingContract?.IsCandidateLanguageUsesItemCreatable ?? true, target, mappingContract?.IsCandidateLanguageUseIncluded); } @@ -1914,6 +1925,7 @@ public static bool SynchronizeTo(this ICandidateEducatorPreparationProgramAssoci { child.CandidateEducatorPreparationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded?.Invoke(item) ?? true); } @@ -1926,6 +1938,7 @@ public static bool SynchronizeTo(this ICandidateEducatorPreparationProgramAssoci { child.CandidateEducatorPreparationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded?.Invoke(item) ?? true); } @@ -1981,12 +1994,12 @@ public static void MapTo(this ICandidateEducatorPreparationProgramAssociation so if (mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearsSupported != false) { - source.CandidateEducatorPreparationProgramAssociationCohortYears.MapCollectionTo(target.CandidateEducatorPreparationProgramAssociationCohortYears, target, mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded); + source.CandidateEducatorPreparationProgramAssociationCohortYears.MapCollectionTo(target.CandidateEducatorPreparationProgramAssociationCohortYears, mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable ?? true, target, mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded); } if (mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsSupported != false) { - source.CandidateEducatorPreparationProgramAssociationDegreeSpecializations.MapCollectionTo(target.CandidateEducatorPreparationProgramAssociationDegreeSpecializations, target, mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded); + source.CandidateEducatorPreparationProgramAssociationDegreeSpecializations.MapCollectionTo(target.CandidateEducatorPreparationProgramAssociationDegreeSpecializations, mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable ?? true, target, mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded); } @@ -2576,6 +2589,7 @@ public static bool SynchronizeTo(this ICredentialExtension source, ICredentialEx // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Credential); }, + itemCreatable: mappingContract?.IsCredentialStudentAcademicRecordsItemCreatable ?? true, includeItem: item => mappingContract?.IsCredentialStudentAcademicRecordIncluded?.Invoke(item) ?? true); } @@ -2636,7 +2650,7 @@ public static void MapTo(this ICredentialExtension source, ICredentialExtension if (mappingContract?.IsCredentialStudentAcademicRecordsSupported != false) { - source.CredentialStudentAcademicRecords.MapCollectionTo(target.CredentialStudentAcademicRecords, target.Credential, mappingContract?.IsCredentialStudentAcademicRecordIncluded); + source.CredentialStudentAcademicRecords.MapCollectionTo(target.CredentialStudentAcademicRecords, mappingContract?.IsCredentialStudentAcademicRecordsItemCreatable ?? true, target.Credential, mappingContract?.IsCredentialStudentAcademicRecordIncluded); } @@ -2948,6 +2962,7 @@ public static bool SynchronizeTo(this IEducatorPreparationProgram source, IEduca { child.EducatorPreparationProgram = target; }, + itemCreatable: mappingContract?.IsEducatorPreparationProgramGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducatorPreparationProgramGradeLevelIncluded?.Invoke(item) ?? true); } @@ -2996,7 +3011,7 @@ public static void MapTo(this IEducatorPreparationProgram source, IEducatorPrepa if (mappingContract?.IsEducatorPreparationProgramGradeLevelsSupported != false) { - source.EducatorPreparationProgramGradeLevels.MapCollectionTo(target.EducatorPreparationProgramGradeLevels, target, mappingContract?.IsEducatorPreparationProgramGradeLevelIncluded); + source.EducatorPreparationProgramGradeLevels.MapCollectionTo(target.EducatorPreparationProgramGradeLevels, mappingContract?.IsEducatorPreparationProgramGradeLevelsItemCreatable ?? true, target, mappingContract?.IsEducatorPreparationProgramGradeLevelIncluded); } @@ -3627,6 +3642,7 @@ public static bool SynchronizeTo(this IEvaluation source, IEvaluation target) { child.Evaluation = target; }, + itemCreatable: mappingContract?.IsEvaluationRatingLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationRatingLevelIncluded?.Invoke(item) ?? true); } @@ -3688,7 +3704,7 @@ public static void MapTo(this IEvaluation source, IEvaluation target, Action mappingContract?.IsEvaluationElementRatingLevelIncluded?.Invoke(item) ?? true); } @@ -3938,7 +3955,7 @@ public static void MapTo(this IEvaluationElement source, IEvaluationElement targ if (mappingContract?.IsEvaluationElementRatingLevelsSupported != false) { - source.EvaluationElementRatingLevels.MapCollectionTo(target.EvaluationElementRatingLevels, target, mappingContract?.IsEvaluationElementRatingLevelIncluded); + source.EvaluationElementRatingLevels.MapCollectionTo(target.EvaluationElementRatingLevels, mappingContract?.IsEvaluationElementRatingLevelsItemCreatable ?? true, target, mappingContract?.IsEvaluationElementRatingLevelIncluded); } @@ -4138,6 +4155,7 @@ public static bool SynchronizeTo(this IEvaluationElementRating source, IEvaluati { child.EvaluationElementRating = target; }, + itemCreatable: mappingContract?.IsEvaluationElementRatingResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationElementRatingResultIncluded?.Invoke(item) ?? true); } @@ -4206,7 +4224,7 @@ public static void MapTo(this IEvaluationElementRating source, IEvaluationElemen if (mappingContract?.IsEvaluationElementRatingResultsSupported != false) { - source.EvaluationElementRatingResults.MapCollectionTo(target.EvaluationElementRatingResults, target, mappingContract?.IsEvaluationElementRatingResultIncluded); + source.EvaluationElementRatingResults.MapCollectionTo(target.EvaluationElementRatingResults, mappingContract?.IsEvaluationElementRatingResultsItemCreatable ?? true, target, mappingContract?.IsEvaluationElementRatingResultIncluded); } @@ -4545,6 +4563,7 @@ public static bool SynchronizeTo(this IEvaluationObjective source, IEvaluationOb { child.EvaluationObjective = target; }, + itemCreatable: mappingContract?.IsEvaluationObjectiveRatingLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationObjectiveRatingLevelIncluded?.Invoke(item) ?? true); } @@ -4607,7 +4626,7 @@ public static void MapTo(this IEvaluationObjective source, IEvaluationObjective if (mappingContract?.IsEvaluationObjectiveRatingLevelsSupported != false) { - source.EvaluationObjectiveRatingLevels.MapCollectionTo(target.EvaluationObjectiveRatingLevels, target, mappingContract?.IsEvaluationObjectiveRatingLevelIncluded); + source.EvaluationObjectiveRatingLevels.MapCollectionTo(target.EvaluationObjectiveRatingLevels, mappingContract?.IsEvaluationObjectiveRatingLevelsItemCreatable ?? true, target, mappingContract?.IsEvaluationObjectiveRatingLevelIncluded); } @@ -4785,6 +4804,7 @@ public static bool SynchronizeTo(this IEvaluationObjectiveRating source, IEvalua { child.EvaluationObjectiveRating = target; }, + itemCreatable: mappingContract?.IsEvaluationObjectiveRatingResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationObjectiveRatingResultIncluded?.Invoke(item) ?? true); } @@ -4843,7 +4863,7 @@ public static void MapTo(this IEvaluationObjectiveRating source, IEvaluationObje if (mappingContract?.IsEvaluationObjectiveRatingResultsSupported != false) { - source.EvaluationObjectiveRatingResults.MapCollectionTo(target.EvaluationObjectiveRatingResults, target, mappingContract?.IsEvaluationObjectiveRatingResultIncluded); + source.EvaluationObjectiveRatingResults.MapCollectionTo(target.EvaluationObjectiveRatingResults, mappingContract?.IsEvaluationObjectiveRatingResultsItemCreatable ?? true, target, mappingContract?.IsEvaluationObjectiveRatingResultIncluded); } @@ -5191,6 +5211,7 @@ public static bool SynchronizeTo(this IEvaluationRating source, IEvaluationRatin { child.EvaluationRating = target; }, + itemCreatable: mappingContract?.IsEvaluationRatingResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationRatingResultIncluded?.Invoke(item) ?? true); } @@ -5203,6 +5224,7 @@ public static bool SynchronizeTo(this IEvaluationRating source, IEvaluationRatin { child.EvaluationRating = target; }, + itemCreatable: mappingContract?.IsEvaluationRatingReviewersItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationRatingReviewerIncluded?.Invoke(item) ?? true); } @@ -5274,12 +5296,12 @@ public static void MapTo(this IEvaluationRating source, IEvaluationRating target if (mappingContract?.IsEvaluationRatingResultsSupported != false) { - source.EvaluationRatingResults.MapCollectionTo(target.EvaluationRatingResults, target, mappingContract?.IsEvaluationRatingResultIncluded); + source.EvaluationRatingResults.MapCollectionTo(target.EvaluationRatingResults, mappingContract?.IsEvaluationRatingResultsItemCreatable ?? true, target, mappingContract?.IsEvaluationRatingResultIncluded); } if (mappingContract?.IsEvaluationRatingReviewersSupported != false) { - source.EvaluationRatingReviewers.MapCollectionTo(target.EvaluationRatingReviewers, target, mappingContract?.IsEvaluationRatingReviewerIncluded); + source.EvaluationRatingReviewers.MapCollectionTo(target.EvaluationRatingReviewers, mappingContract?.IsEvaluationRatingReviewersItemCreatable ?? true, target, mappingContract?.IsEvaluationRatingReviewerIncluded); } @@ -6567,6 +6589,7 @@ public static bool SynchronizeTo(this IPerformanceEvaluation source, IPerformanc { child.PerformanceEvaluation = target; }, + itemCreatable: mappingContract?.IsPerformanceEvaluationGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsPerformanceEvaluationGradeLevelIncluded?.Invoke(item) ?? true); } @@ -6579,6 +6602,7 @@ public static bool SynchronizeTo(this IPerformanceEvaluation source, IPerformanc { child.PerformanceEvaluation = target; }, + itemCreatable: mappingContract?.IsPerformanceEvaluationRatingLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsPerformanceEvaluationRatingLevelIncluded?.Invoke(item) ?? true); } @@ -6631,12 +6655,12 @@ public static void MapTo(this IPerformanceEvaluation source, IPerformanceEvaluat if (mappingContract?.IsPerformanceEvaluationGradeLevelsSupported != false) { - source.PerformanceEvaluationGradeLevels.MapCollectionTo(target.PerformanceEvaluationGradeLevels, target, mappingContract?.IsPerformanceEvaluationGradeLevelIncluded); + source.PerformanceEvaluationGradeLevels.MapCollectionTo(target.PerformanceEvaluationGradeLevels, mappingContract?.IsPerformanceEvaluationGradeLevelsItemCreatable ?? true, target, mappingContract?.IsPerformanceEvaluationGradeLevelIncluded); } if (mappingContract?.IsPerformanceEvaluationRatingLevelsSupported != false) { - source.PerformanceEvaluationRatingLevels.MapCollectionTo(target.PerformanceEvaluationRatingLevels, target, mappingContract?.IsPerformanceEvaluationRatingLevelIncluded); + source.PerformanceEvaluationRatingLevels.MapCollectionTo(target.PerformanceEvaluationRatingLevels, mappingContract?.IsPerformanceEvaluationRatingLevelsItemCreatable ?? true, target, mappingContract?.IsPerformanceEvaluationRatingLevelIncluded); } @@ -6919,6 +6943,7 @@ public static bool SynchronizeTo(this IPerformanceEvaluationRating source, IPerf { child.PerformanceEvaluationRating = target; }, + itemCreatable: mappingContract?.IsPerformanceEvaluationRatingResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsPerformanceEvaluationRatingResultIncluded?.Invoke(item) ?? true); } @@ -6931,6 +6956,7 @@ public static bool SynchronizeTo(this IPerformanceEvaluationRating source, IPerf { child.PerformanceEvaluationRating = target; }, + itemCreatable: mappingContract?.IsPerformanceEvaluationRatingReviewersItemCreatable ?? true, includeItem: item => mappingContract?.IsPerformanceEvaluationRatingReviewerIncluded?.Invoke(item) ?? true); } @@ -7004,12 +7030,12 @@ public static void MapTo(this IPerformanceEvaluationRating source, IPerformanceE if (mappingContract?.IsPerformanceEvaluationRatingResultsSupported != false) { - source.PerformanceEvaluationRatingResults.MapCollectionTo(target.PerformanceEvaluationRatingResults, target, mappingContract?.IsPerformanceEvaluationRatingResultIncluded); + source.PerformanceEvaluationRatingResults.MapCollectionTo(target.PerformanceEvaluationRatingResults, mappingContract?.IsPerformanceEvaluationRatingResultsItemCreatable ?? true, target, mappingContract?.IsPerformanceEvaluationRatingResultIncluded); } if (mappingContract?.IsPerformanceEvaluationRatingReviewersSupported != false) { - source.PerformanceEvaluationRatingReviewers.MapCollectionTo(target.PerformanceEvaluationRatingReviewers, target, mappingContract?.IsPerformanceEvaluationRatingReviewerIncluded); + source.PerformanceEvaluationRatingReviewers.MapCollectionTo(target.PerformanceEvaluationRatingReviewers, mappingContract?.IsPerformanceEvaluationRatingReviewersItemCreatable ?? true, target, mappingContract?.IsPerformanceEvaluationRatingReviewerIncluded); } 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 08258f0810..78463ac9de 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 @@ -84,6 +84,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -158,6 +167,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -232,6 +250,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -306,6 +333,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -386,6 +422,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -477,6 +522,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -557,6 +611,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -631,6 +694,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -705,6 +777,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -779,6 +860,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -853,6 +943,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -927,6 +1026,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1001,6 +1109,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1076,15 +1193,25 @@ public AssessmentMappingContract( bool isMaxRawScoreSupported, bool isNomenclatureSupported, bool isRevisionDateSupported, + bool isAssessmentAcademicSubjectsItemCreatable, Func isAssessmentAcademicSubjectIncluded, + bool isAssessmentAssessedGradeLevelsItemCreatable, Func isAssessmentAssessedGradeLevelIncluded, + bool isAssessmentIdentificationCodesItemCreatable, Func isAssessmentIdentificationCodeIncluded, + bool isAssessmentLanguagesItemCreatable, Func isAssessmentLanguageIncluded, + bool isAssessmentPerformanceLevelsItemCreatable, Func isAssessmentPerformanceLevelIncluded, + bool isAssessmentPeriodsItemCreatable, Func isAssessmentPeriodIncluded, + bool isAssessmentPlatformTypesItemCreatable, Func isAssessmentPlatformTypeIncluded, + bool isAssessmentProgramsItemCreatable, Func isAssessmentProgramIncluded, + bool isAssessmentScoresItemCreatable, Func isAssessmentScoreIncluded, + bool isAssessmentSectionsItemCreatable, Func isAssessmentSectionIncluded, IReadOnlyList supportedExtensions ) @@ -1111,15 +1238,25 @@ IReadOnlyList supportedExtensions IsMaxRawScoreSupported = isMaxRawScoreSupported; IsNomenclatureSupported = isNomenclatureSupported; IsRevisionDateSupported = isRevisionDateSupported; + IsAssessmentAcademicSubjectsItemCreatable = isAssessmentAcademicSubjectsItemCreatable; IsAssessmentAcademicSubjectIncluded = isAssessmentAcademicSubjectIncluded; + IsAssessmentAssessedGradeLevelsItemCreatable = isAssessmentAssessedGradeLevelsItemCreatable; IsAssessmentAssessedGradeLevelIncluded = isAssessmentAssessedGradeLevelIncluded; + IsAssessmentIdentificationCodesItemCreatable = isAssessmentIdentificationCodesItemCreatable; IsAssessmentIdentificationCodeIncluded = isAssessmentIdentificationCodeIncluded; + IsAssessmentLanguagesItemCreatable = isAssessmentLanguagesItemCreatable; IsAssessmentLanguageIncluded = isAssessmentLanguageIncluded; + IsAssessmentPerformanceLevelsItemCreatable = isAssessmentPerformanceLevelsItemCreatable; IsAssessmentPerformanceLevelIncluded = isAssessmentPerformanceLevelIncluded; + IsAssessmentPeriodsItemCreatable = isAssessmentPeriodsItemCreatable; IsAssessmentPeriodIncluded = isAssessmentPeriodIncluded; + IsAssessmentPlatformTypesItemCreatable = isAssessmentPlatformTypesItemCreatable; IsAssessmentPlatformTypeIncluded = isAssessmentPlatformTypeIncluded; + IsAssessmentProgramsItemCreatable = isAssessmentProgramsItemCreatable; IsAssessmentProgramIncluded = isAssessmentProgramIncluded; + IsAssessmentScoresItemCreatable = isAssessmentScoresItemCreatable; IsAssessmentScoreIncluded = isAssessmentScoreIncluded; + IsAssessmentSectionsItemCreatable = isAssessmentSectionsItemCreatable; IsAssessmentSectionIncluded = isAssessmentSectionIncluded; SupportedExtensions = supportedExtensions; } @@ -1146,15 +1283,25 @@ IReadOnlyList supportedExtensions public bool IsMaxRawScoreSupported { get; } public bool IsNomenclatureSupported { get; } public bool IsRevisionDateSupported { get; } + public bool IsAssessmentAcademicSubjectsItemCreatable { get; } public Func IsAssessmentAcademicSubjectIncluded { get; } + public bool IsAssessmentAssessedGradeLevelsItemCreatable { get; } public Func IsAssessmentAssessedGradeLevelIncluded { get; } + public bool IsAssessmentIdentificationCodesItemCreatable { get; } public Func IsAssessmentIdentificationCodeIncluded { get; } + public bool IsAssessmentLanguagesItemCreatable { get; } public Func IsAssessmentLanguageIncluded { get; } + public bool IsAssessmentPerformanceLevelsItemCreatable { get; } public Func IsAssessmentPerformanceLevelIncluded { get; } + public bool IsAssessmentPeriodsItemCreatable { get; } public Func IsAssessmentPeriodIncluded { get; } + public bool IsAssessmentPlatformTypesItemCreatable { get; } public Func IsAssessmentPlatformTypeIncluded { get; } + public bool IsAssessmentProgramsItemCreatable { get; } public Func IsAssessmentProgramIncluded { get; } + public bool IsAssessmentScoresItemCreatable { get; } public Func IsAssessmentScoreIncluded { get; } + public bool IsAssessmentSectionsItemCreatable { get; } public Func IsAssessmentSectionIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1215,6 +1362,35 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "AssessmentAcademicSubjects": + return IsAssessmentAcademicSubjectsItemCreatable; + case "AssessmentAssessedGradeLevels": + return IsAssessmentAssessedGradeLevelsItemCreatable; + case "AssessmentIdentificationCodes": + return IsAssessmentIdentificationCodesItemCreatable; + case "AssessmentLanguages": + return IsAssessmentLanguagesItemCreatable; + case "AssessmentPerformanceLevels": + return IsAssessmentPerformanceLevelsItemCreatable; + case "AssessmentPeriods": + return IsAssessmentPeriodsItemCreatable; + case "AssessmentPlatformTypes": + return IsAssessmentPlatformTypesItemCreatable; + case "AssessmentPrograms": + return IsAssessmentProgramsItemCreatable; + case "AssessmentScores": + return IsAssessmentScoresItemCreatable; + case "AssessmentSections": + return IsAssessmentSectionsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1268,6 +1444,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1321,6 +1506,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1401,6 +1595,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1450,6 +1653,7 @@ public AssessmentContentStandardMappingContract( bool isTitleSupported, bool isURISupported, bool isVersionSupported, + bool isAssessmentContentStandardAuthorsItemCreatable, Func isAssessmentContentStandardAuthorIncluded, IReadOnlyList supportedExtensions ) @@ -1465,6 +1669,7 @@ IReadOnlyList supportedExtensions IsTitleSupported = isTitleSupported; IsURISupported = isURISupported; IsVersionSupported = isVersionSupported; + IsAssessmentContentStandardAuthorsItemCreatable = isAssessmentContentStandardAuthorsItemCreatable; IsAssessmentContentStandardAuthorIncluded = isAssessmentContentStandardAuthorIncluded; SupportedExtensions = supportedExtensions; } @@ -1480,6 +1685,7 @@ IReadOnlyList supportedExtensions public bool IsTitleSupported { get; } public bool IsURISupported { get; } public bool IsVersionSupported { get; } + public bool IsAssessmentContentStandardAuthorsItemCreatable { get; } public Func IsAssessmentContentStandardAuthorIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1514,6 +1720,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "AssessmentContentStandardAuthors": + return IsAssessmentContentStandardAuthorsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1567,6 +1784,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1632,6 +1858,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1712,6 +1947,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1762,7 +2006,9 @@ public AssessmentItemMappingContract( bool isItemTextSupported, bool isMaxRawScoreSupported, bool isNomenclatureSupported, + bool isAssessmentItemLearningStandardsItemCreatable, Func isAssessmentItemLearningStandardIncluded, + bool isAssessmentItemPossibleResponsesItemCreatable, Func isAssessmentItemPossibleResponseIncluded, IReadOnlyList supportedExtensions ) @@ -1776,7 +2022,9 @@ IReadOnlyList supportedExtensions IsItemTextSupported = isItemTextSupported; IsMaxRawScoreSupported = isMaxRawScoreSupported; IsNomenclatureSupported = isNomenclatureSupported; + IsAssessmentItemLearningStandardsItemCreatable = isAssessmentItemLearningStandardsItemCreatable; IsAssessmentItemLearningStandardIncluded = isAssessmentItemLearningStandardIncluded; + IsAssessmentItemPossibleResponsesItemCreatable = isAssessmentItemPossibleResponsesItemCreatable; IsAssessmentItemPossibleResponseIncluded = isAssessmentItemPossibleResponseIncluded; SupportedExtensions = supportedExtensions; } @@ -1790,7 +2038,9 @@ IReadOnlyList supportedExtensions public bool IsItemTextSupported { get; } public bool IsMaxRawScoreSupported { get; } public bool IsNomenclatureSupported { get; } + public bool IsAssessmentItemLearningStandardsItemCreatable { get; } public Func IsAssessmentItemLearningStandardIncluded { get; } + public bool IsAssessmentItemPossibleResponsesItemCreatable { get; } public Func IsAssessmentItemPossibleResponseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1827,6 +2077,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "AssessmentItemLearningStandards": + return IsAssessmentItemLearningStandardsItemCreatable; + case "AssessmentItemPossibleResponses": + return IsAssessmentItemPossibleResponsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1907,6 +2170,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1961,6 +2233,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2026,6 +2307,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2106,6 +2396,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2153,6 +2452,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2234,6 +2542,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2299,6 +2616,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2379,6 +2705,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2426,6 +2761,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2494,6 +2838,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2574,6 +2927,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2639,6 +3001,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2692,6 +3063,7 @@ public AssessmentScoreRangeLearningStandardMappingContract( bool isMaximumScoreSupported, bool isMinimumScoreSupported, bool isObjectiveAssessmentReferenceSupported, + bool isAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable, Func isAssessmentScoreRangeLearningStandardLearningStandardIncluded, IReadOnlyList supportedExtensions ) @@ -2703,6 +3075,7 @@ IReadOnlyList supportedExtensions IsMaximumScoreSupported = isMaximumScoreSupported; IsMinimumScoreSupported = isMinimumScoreSupported; IsObjectiveAssessmentReferenceSupported = isObjectiveAssessmentReferenceSupported; + IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable = isAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable; IsAssessmentScoreRangeLearningStandardLearningStandardIncluded = isAssessmentScoreRangeLearningStandardLearningStandardIncluded; SupportedExtensions = supportedExtensions; } @@ -2714,6 +3087,7 @@ 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) @@ -2746,6 +3120,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "AssessmentScoreRangeLearningStandardLearningStandards": + return IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2806,6 +3191,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2882,6 +3276,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2962,6 +3365,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3036,6 +3448,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3110,6 +3531,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3143,18 +3573,21 @@ public class BalanceSheetDimensionMappingContract : IMappingContract, IExtension public BalanceSheetDimensionMappingContract( bool isBalanceSheetDimensionReportingTagsSupported, bool isCodeNameSupported, + bool isBalanceSheetDimensionReportingTagsItemCreatable, Func isBalanceSheetDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsBalanceSheetDimensionReportingTagsSupported = isBalanceSheetDimensionReportingTagsSupported; IsCodeNameSupported = isCodeNameSupported; + IsBalanceSheetDimensionReportingTagsItemCreatable = isBalanceSheetDimensionReportingTagsItemCreatable; IsBalanceSheetDimensionReportingTagIncluded = isBalanceSheetDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsBalanceSheetDimensionReportingTagsSupported { get; } public bool IsCodeNameSupported { get; } + public bool IsBalanceSheetDimensionReportingTagsItemCreatable { get; } public Func IsBalanceSheetDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3175,6 +3608,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "BalanceSheetDimensionReportingTags": + return IsBalanceSheetDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3228,6 +3672,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3308,6 +3761,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3382,6 +3844,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3427,8 +3898,11 @@ public BellScheduleMappingContract( bool isSchoolReferenceSupported, bool isStartTimeSupported, bool isTotalInstructionalTimeSupported, + bool isBellScheduleClassPeriodsItemCreatable, Func isBellScheduleClassPeriodIncluded, + bool isBellScheduleDatesItemCreatable, Func isBellScheduleDateIncluded, + bool isBellScheduleGradeLevelsItemCreatable, Func isBellScheduleGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -3441,8 +3915,11 @@ IReadOnlyList supportedExtensions IsSchoolReferenceSupported = isSchoolReferenceSupported; IsStartTimeSupported = isStartTimeSupported; IsTotalInstructionalTimeSupported = isTotalInstructionalTimeSupported; + IsBellScheduleClassPeriodsItemCreatable = isBellScheduleClassPeriodsItemCreatable; IsBellScheduleClassPeriodIncluded = isBellScheduleClassPeriodIncluded; + IsBellScheduleDatesItemCreatable = isBellScheduleDatesItemCreatable; IsBellScheduleDateIncluded = isBellScheduleDateIncluded; + IsBellScheduleGradeLevelsItemCreatable = isBellScheduleGradeLevelsItemCreatable; IsBellScheduleGradeLevelIncluded = isBellScheduleGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -3455,8 +3932,11 @@ IReadOnlyList supportedExtensions public bool IsSchoolReferenceSupported { get; } public bool IsStartTimeSupported { get; } public bool IsTotalInstructionalTimeSupported { get; } + public bool IsBellScheduleClassPeriodsItemCreatable { get; } public Func IsBellScheduleClassPeriodIncluded { get; } + public bool IsBellScheduleDatesItemCreatable { get; } public Func IsBellScheduleDateIncluded { get; } + public bool IsBellScheduleGradeLevelsItemCreatable { get; } public Func IsBellScheduleGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3489,6 +3969,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "BellScheduleClassPeriods": + return IsBellScheduleClassPeriodsItemCreatable; + case "BellScheduleDates": + return IsBellScheduleDatesItemCreatable; + case "BellScheduleGradeLevels": + return IsBellScheduleGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3549,6 +4044,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3602,6 +4106,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3655,6 +4168,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3700,6 +4222,7 @@ public CalendarMappingContract( bool isCalendarTypeDescriptorSupported, bool isSchoolReferenceSupported, bool isSchoolYearTypeReferenceSupported, + bool isCalendarGradeLevelsItemCreatable, Func isCalendarGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -3708,6 +4231,7 @@ IReadOnlyList supportedExtensions IsCalendarTypeDescriptorSupported = isCalendarTypeDescriptorSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; + IsCalendarGradeLevelsItemCreatable = isCalendarGradeLevelsItemCreatable; IsCalendarGradeLevelIncluded = isCalendarGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -3716,6 +4240,7 @@ 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) @@ -3742,6 +4267,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CalendarGradeLevels": + return IsCalendarGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3786,18 +4322,21 @@ 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) @@ -3822,6 +4361,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CalendarDateCalendarEvents": + return IsCalendarDateCalendarEventsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3875,6 +4425,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3955,6 +4514,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4002,6 +4570,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4082,6 +4659,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4156,6 +4742,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4230,6 +4825,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4304,6 +4908,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4384,6 +4997,7 @@ public ChartOfAccountMappingContract( bool isProjectDimensionReferenceSupported, bool isSourceCodeSupported, bool isSourceDimensionReferenceSupported, + bool isChartOfAccountReportingTagsItemCreatable, Func isChartOfAccountReportingTagIncluded, IReadOnlyList supportedExtensions ) @@ -4408,6 +5022,7 @@ IReadOnlyList supportedExtensions IsProjectDimensionReferenceSupported = isProjectDimensionReferenceSupported; IsSourceCodeSupported = isSourceCodeSupported; IsSourceDimensionReferenceSupported = isSourceDimensionReferenceSupported; + IsChartOfAccountReportingTagsItemCreatable = isChartOfAccountReportingTagsItemCreatable; IsChartOfAccountReportingTagIncluded = isChartOfAccountReportingTagIncluded; SupportedExtensions = supportedExtensions; } @@ -4432,6 +5047,7 @@ 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) @@ -4490,6 +5106,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ChartOfAccountReportingTags": + return IsChartOfAccountReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4549,6 +5176,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4629,6 +5265,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4664,6 +5309,7 @@ public ClassPeriodMappingContract( bool isClassPeriodMeetingTimesSupported, bool isOfficialAttendancePeriodSupported, bool isSchoolReferenceSupported, + bool isClassPeriodMeetingTimesItemCreatable, Func isClassPeriodMeetingTimeIncluded, IReadOnlyList supportedExtensions ) @@ -4671,6 +5317,7 @@ IReadOnlyList supportedExtensions IsClassPeriodMeetingTimesSupported = isClassPeriodMeetingTimesSupported; IsOfficialAttendancePeriodSupported = isOfficialAttendancePeriodSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; + IsClassPeriodMeetingTimesItemCreatable = isClassPeriodMeetingTimesItemCreatable; IsClassPeriodMeetingTimeIncluded = isClassPeriodMeetingTimeIncluded; SupportedExtensions = supportedExtensions; } @@ -4678,6 +5325,7 @@ 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) @@ -4700,6 +5348,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ClassPeriodMeetingTimes": + return IsClassPeriodMeetingTimesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4757,6 +5416,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4837,6 +5505,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4879,6 +5556,7 @@ public CohortMappingContract( bool isCohortScopeDescriptorSupported, bool isCohortTypeDescriptorSupported, bool isEducationOrganizationReferenceSupported, + bool isCohortProgramsItemCreatable, Func isCohortProgramIncluded, IReadOnlyList supportedExtensions ) @@ -4889,6 +5567,7 @@ IReadOnlyList supportedExtensions IsCohortScopeDescriptorSupported = isCohortScopeDescriptorSupported; IsCohortTypeDescriptorSupported = isCohortTypeDescriptorSupported; IsEducationOrganizationReferenceSupported = isEducationOrganizationReferenceSupported; + IsCohortProgramsItemCreatable = isCohortProgramsItemCreatable; IsCohortProgramIncluded = isCohortProgramIncluded; SupportedExtensions = supportedExtensions; } @@ -4899,6 +5578,7 @@ 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) @@ -4927,6 +5607,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CohortPrograms": + return IsCohortProgramsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4995,6 +5686,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5075,6 +5775,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5149,6 +5858,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5223,6 +5941,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5260,11 +5987,17 @@ public CommunityOrganizationMappingContract( bool isOperationalStatusDescriptorSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -5279,11 +6012,17 @@ IReadOnlyList supportedExtensions IsOperationalStatusDescriptorSupported = isOperationalStatusDescriptorSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -5298,11 +6037,17 @@ IReadOnlyList supportedExtensions public bool IsOperationalStatusDescriptorSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -5337,6 +6082,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5394,11 +6160,17 @@ public CommunityProviderMappingContract( bool isSchoolIndicatorSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -5420,11 +6192,17 @@ IReadOnlyList supportedExtensions IsSchoolIndicatorSupported = isSchoolIndicatorSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -5446,11 +6224,17 @@ IReadOnlyList supportedExtensions public bool IsSchoolIndicatorSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -5499,6 +6283,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5613,6 +6418,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5693,6 +6507,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5772,6 +6595,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5852,6 +6684,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5926,6 +6767,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6000,6 +6850,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6074,6 +6933,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6148,6 +7016,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6226,11 +7103,17 @@ public CourseMappingContract( bool isMinimumAvailableCreditTypeDescriptorSupported, bool isNumberOfPartsSupported, bool isTimeRequiredForCompletionSupported, + bool isCourseCompetencyLevelsItemCreatable, Func isCourseCompetencyLevelIncluded, + bool isCourseIdentificationCodesItemCreatable, Func isCourseIdentificationCodeIncluded, + bool isCourseLearningObjectivesItemCreatable, Func isCourseLearningObjectiveIncluded, + bool isCourseLearningStandardsItemCreatable, Func isCourseLearningStandardIncluded, + bool isCourseLevelCharacteristicsItemCreatable, Func isCourseLevelCharacteristicIncluded, + bool isCourseOfferedGradeLevelsItemCreatable, Func isCourseOfferedGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -6259,11 +7142,17 @@ IReadOnlyList supportedExtensions IsMinimumAvailableCreditTypeDescriptorSupported = isMinimumAvailableCreditTypeDescriptorSupported; IsNumberOfPartsSupported = isNumberOfPartsSupported; IsTimeRequiredForCompletionSupported = isTimeRequiredForCompletionSupported; + IsCourseCompetencyLevelsItemCreatable = isCourseCompetencyLevelsItemCreatable; IsCourseCompetencyLevelIncluded = isCourseCompetencyLevelIncluded; + IsCourseIdentificationCodesItemCreatable = isCourseIdentificationCodesItemCreatable; IsCourseIdentificationCodeIncluded = isCourseIdentificationCodeIncluded; + IsCourseLearningObjectivesItemCreatable = isCourseLearningObjectivesItemCreatable; IsCourseLearningObjectiveIncluded = isCourseLearningObjectiveIncluded; + IsCourseLearningStandardsItemCreatable = isCourseLearningStandardsItemCreatable; IsCourseLearningStandardIncluded = isCourseLearningStandardIncluded; + IsCourseLevelCharacteristicsItemCreatable = isCourseLevelCharacteristicsItemCreatable; IsCourseLevelCharacteristicIncluded = isCourseLevelCharacteristicIncluded; + IsCourseOfferedGradeLevelsItemCreatable = isCourseOfferedGradeLevelsItemCreatable; IsCourseOfferedGradeLevelIncluded = isCourseOfferedGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -6292,11 +7181,17 @@ IReadOnlyList supportedExtensions public bool IsMinimumAvailableCreditTypeDescriptorSupported { get; } public bool IsNumberOfPartsSupported { get; } public bool IsTimeRequiredForCompletionSupported { get; } + public bool IsCourseCompetencyLevelsItemCreatable { get; } public Func IsCourseCompetencyLevelIncluded { get; } + public bool IsCourseIdentificationCodesItemCreatable { get; } public Func IsCourseIdentificationCodeIncluded { get; } + public bool IsCourseLearningObjectivesItemCreatable { get; } public Func IsCourseLearningObjectiveIncluded { get; } + public bool IsCourseLearningStandardsItemCreatable { get; } public Func IsCourseLearningStandardIncluded { get; } + public bool IsCourseLevelCharacteristicsItemCreatable { get; } public Func IsCourseLevelCharacteristicIncluded { get; } + public bool IsCourseOfferedGradeLevelsItemCreatable { get; } public Func IsCourseOfferedGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -6361,6 +7256,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CourseCompetencyLevels": + return IsCourseCompetencyLevelsItemCreatable; + case "CourseIdentificationCodes": + return IsCourseIdentificationCodesItemCreatable; + case "CourseLearningObjectives": + return IsCourseLearningObjectivesItemCreatable; + case "CourseLearningStandards": + return IsCourseLearningStandardsItemCreatable; + case "CourseLevelCharacteristics": + return IsCourseLevelCharacteristicsItemCreatable; + case "CourseOfferedGradeLevels": + return IsCourseOfferedGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6441,6 +7357,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6488,6 +7413,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6568,6 +7502,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6642,6 +7585,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6707,6 +7659,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6787,6 +7748,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6845,6 +7815,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6905,6 +7884,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6958,6 +7946,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7038,6 +8035,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7085,6 +8091,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7146,8 +8161,11 @@ public CourseOfferingMappingContract( bool isLocalCourseTitleSupported, bool isSchoolReferenceSupported, bool isSessionReferenceSupported, + bool isCourseOfferingCourseLevelCharacteristicsItemCreatable, Func isCourseOfferingCourseLevelCharacteristicIncluded, + bool isCourseOfferingCurriculumUsedsItemCreatable, Func isCourseOfferingCurriculumUsedIncluded, + bool isCourseOfferingOfferedGradeLevelsItemCreatable, Func isCourseOfferingOfferedGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -7162,8 +8180,11 @@ IReadOnlyList supportedExtensions IsLocalCourseTitleSupported = isLocalCourseTitleSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsSessionReferenceSupported = isSessionReferenceSupported; + IsCourseOfferingCourseLevelCharacteristicsItemCreatable = isCourseOfferingCourseLevelCharacteristicsItemCreatable; IsCourseOfferingCourseLevelCharacteristicIncluded = isCourseOfferingCourseLevelCharacteristicIncluded; + IsCourseOfferingCurriculumUsedsItemCreatable = isCourseOfferingCurriculumUsedsItemCreatable; IsCourseOfferingCurriculumUsedIncluded = isCourseOfferingCurriculumUsedIncluded; + IsCourseOfferingOfferedGradeLevelsItemCreatable = isCourseOfferingOfferedGradeLevelsItemCreatable; IsCourseOfferingOfferedGradeLevelIncluded = isCourseOfferingOfferedGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -7178,8 +8199,11 @@ 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; } + public bool IsCourseOfferingOfferedGradeLevelsItemCreatable { get; } public Func IsCourseOfferingOfferedGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -7220,6 +8244,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CourseOfferingCourseLevelCharacteristics": + return IsCourseOfferingCourseLevelCharacteristicsItemCreatable; + case "CourseOfferingCurriculumUseds": + return IsCourseOfferingCurriculumUsedsItemCreatable; + case "CourseOfferingOfferedGradeLevels": + return IsCourseOfferingOfferedGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7273,6 +8312,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7326,6 +8374,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7379,6 +8436,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7459,6 +8525,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7553,10 +8628,15 @@ public CourseTranscriptMappingContract( bool isMethodCreditEarnedDescriptorSupported, bool isStudentAcademicRecordReferenceSupported, bool isWhenTakenGradeLevelDescriptorSupported, + bool isCourseTranscriptAcademicSubjectsItemCreatable, Func isCourseTranscriptAcademicSubjectIncluded, + bool isCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable, Func isCourseTranscriptAlternativeCourseIdentificationCodeIncluded, + bool isCourseTranscriptCreditCategoriesItemCreatable, Func isCourseTranscriptCreditCategoryIncluded, + bool isCourseTranscriptEarnedAdditionalCreditsItemCreatable, Func isCourseTranscriptEarnedAdditionalCreditsIncluded, + bool isCourseTranscriptPartialCourseTranscriptAwardsItemCreatable, Func isCourseTranscriptPartialCourseTranscriptAwardsIncluded, IReadOnlyList supportedExtensions ) @@ -7587,10 +8667,15 @@ IReadOnlyList supportedExtensions IsMethodCreditEarnedDescriptorSupported = isMethodCreditEarnedDescriptorSupported; IsStudentAcademicRecordReferenceSupported = isStudentAcademicRecordReferenceSupported; IsWhenTakenGradeLevelDescriptorSupported = isWhenTakenGradeLevelDescriptorSupported; + IsCourseTranscriptAcademicSubjectsItemCreatable = isCourseTranscriptAcademicSubjectsItemCreatable; IsCourseTranscriptAcademicSubjectIncluded = isCourseTranscriptAcademicSubjectIncluded; + IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable = isCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable; IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded = isCourseTranscriptAlternativeCourseIdentificationCodeIncluded; + IsCourseTranscriptCreditCategoriesItemCreatable = isCourseTranscriptCreditCategoriesItemCreatable; IsCourseTranscriptCreditCategoryIncluded = isCourseTranscriptCreditCategoryIncluded; + IsCourseTranscriptEarnedAdditionalCreditsItemCreatable = isCourseTranscriptEarnedAdditionalCreditsItemCreatable; IsCourseTranscriptEarnedAdditionalCreditsIncluded = isCourseTranscriptEarnedAdditionalCreditsIncluded; + IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable = isCourseTranscriptPartialCourseTranscriptAwardsItemCreatable; IsCourseTranscriptPartialCourseTranscriptAwardsIncluded = isCourseTranscriptPartialCourseTranscriptAwardsIncluded; SupportedExtensions = supportedExtensions; } @@ -7621,10 +8706,15 @@ IReadOnlyList supportedExtensions public bool IsMethodCreditEarnedDescriptorSupported { get; } public bool IsStudentAcademicRecordReferenceSupported { get; } public bool IsWhenTakenGradeLevelDescriptorSupported { get; } + public bool IsCourseTranscriptAcademicSubjectsItemCreatable { get; } public Func IsCourseTranscriptAcademicSubjectIncluded { get; } + public bool IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable { get; } public Func IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded { get; } + public bool IsCourseTranscriptCreditCategoriesItemCreatable { get; } public Func IsCourseTranscriptCreditCategoryIncluded { get; } + public bool IsCourseTranscriptEarnedAdditionalCreditsItemCreatable { get; } public Func IsCourseTranscriptEarnedAdditionalCreditsIncluded { get; } + public bool IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable { get; } public Func IsCourseTranscriptPartialCourseTranscriptAwardsIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -7703,6 +8793,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CourseTranscriptAcademicSubjects": + return IsCourseTranscriptAcademicSubjectsItemCreatable; + case "CourseTranscriptAlternativeCourseIdentificationCodes": + return IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable; + case "CourseTranscriptCreditCategories": + return IsCourseTranscriptCreditCategoriesItemCreatable; + case "CourseTranscriptEarnedAdditionalCredits": + return IsCourseTranscriptEarnedAdditionalCreditsItemCreatable; + case "CourseTranscriptPartialCourseTranscriptAwards": + return IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7756,6 +8865,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7827,6 +8945,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7880,6 +9007,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7939,6 +9075,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8016,6 +9161,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8073,8 +9227,11 @@ public CredentialMappingContract( bool isNamespaceSupported, bool isTeachingCredentialBasisDescriptorSupported, bool isTeachingCredentialDescriptorSupported, + bool isCredentialAcademicSubjectsItemCreatable, Func isCredentialAcademicSubjectIncluded, + bool isCredentialEndorsementsItemCreatable, Func isCredentialEndorsementIncluded, + bool isCredentialGradeLevelsItemCreatable, Func isCredentialGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -8090,8 +9247,11 @@ IReadOnlyList supportedExtensions IsNamespaceSupported = isNamespaceSupported; IsTeachingCredentialBasisDescriptorSupported = isTeachingCredentialBasisDescriptorSupported; IsTeachingCredentialDescriptorSupported = isTeachingCredentialDescriptorSupported; + IsCredentialAcademicSubjectsItemCreatable = isCredentialAcademicSubjectsItemCreatable; IsCredentialAcademicSubjectIncluded = isCredentialAcademicSubjectIncluded; + IsCredentialEndorsementsItemCreatable = isCredentialEndorsementsItemCreatable; IsCredentialEndorsementIncluded = isCredentialEndorsementIncluded; + IsCredentialGradeLevelsItemCreatable = isCredentialGradeLevelsItemCreatable; IsCredentialGradeLevelIncluded = isCredentialGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -8107,8 +9267,11 @@ IReadOnlyList supportedExtensions public bool IsNamespaceSupported { get; } public bool IsTeachingCredentialBasisDescriptorSupported { get; } public bool IsTeachingCredentialDescriptorSupported { get; } + public bool IsCredentialAcademicSubjectsItemCreatable { get; } public Func IsCredentialAcademicSubjectIncluded { get; } + public bool IsCredentialEndorsementsItemCreatable { get; } public Func IsCredentialEndorsementIncluded { get; } + public bool IsCredentialGradeLevelsItemCreatable { get; } public Func IsCredentialGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -8147,6 +9310,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CredentialAcademicSubjects": + return IsCredentialAcademicSubjectsItemCreatable; + case "CredentialEndorsements": + return IsCredentialEndorsementsItemCreatable; + case "CredentialGradeLevels": + return IsCredentialGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8200,6 +9378,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8253,6 +9440,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8333,6 +9529,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8380,6 +9585,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8460,6 +9674,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8534,6 +9757,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8608,6 +9840,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8682,6 +9923,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8756,6 +10006,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8830,6 +10089,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8910,6 +10178,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8945,16 +10222,19 @@ public class DescriptorMappingMappingContract : IMappingContract, IExtensionsMap { public DescriptorMappingMappingContract( bool isDescriptorMappingModelEntitiesSupported, + bool isDescriptorMappingModelEntitiesItemCreatable, Func isDescriptorMappingModelEntityIncluded, IReadOnlyList supportedExtensions ) { IsDescriptorMappingModelEntitiesSupported = isDescriptorMappingModelEntitiesSupported; + IsDescriptorMappingModelEntitiesItemCreatable = isDescriptorMappingModelEntitiesItemCreatable; IsDescriptorMappingModelEntityIncluded = isDescriptorMappingModelEntityIncluded; SupportedExtensions = supportedExtensions; } public bool IsDescriptorMappingModelEntitiesSupported { get; } + public bool IsDescriptorMappingModelEntitiesItemCreatable { get; } public Func IsDescriptorMappingModelEntityIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -8977,6 +10257,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "DescriptorMappingModelEntities": + return IsDescriptorMappingModelEntitiesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9030,6 +10321,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9110,6 +10410,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9184,6 +10493,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9258,6 +10576,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9332,6 +10659,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9406,6 +10742,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9480,6 +10825,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9542,9 +10896,13 @@ public DisciplineActionMappingContract( bool isResponsibilitySchoolIdSupported, bool isResponsibilitySchoolReferenceSupported, bool isStudentReferenceSupported, + bool isDisciplineActionDisciplinesItemCreatable, Func isDisciplineActionDisciplineIncluded, + bool isDisciplineActionStaffsItemCreatable, Func isDisciplineActionStaffIncluded, + bool isDisciplineActionStudentDisciplineIncidentAssociationsItemCreatable, Func isDisciplineActionStudentDisciplineIncidentAssociationIncluded, + bool isDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable, Func isDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded, IReadOnlyList supportedExtensions ) @@ -9564,9 +10922,13 @@ IReadOnlyList supportedExtensions IsResponsibilitySchoolIdSupported = isResponsibilitySchoolIdSupported; IsResponsibilitySchoolReferenceSupported = isResponsibilitySchoolReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsDisciplineActionDisciplinesItemCreatable = isDisciplineActionDisciplinesItemCreatable; IsDisciplineActionDisciplineIncluded = isDisciplineActionDisciplineIncluded; + IsDisciplineActionStaffsItemCreatable = isDisciplineActionStaffsItemCreatable; IsDisciplineActionStaffIncluded = isDisciplineActionStaffIncluded; + IsDisciplineActionStudentDisciplineIncidentAssociationsItemCreatable = isDisciplineActionStudentDisciplineIncidentAssociationsItemCreatable; IsDisciplineActionStudentDisciplineIncidentAssociationIncluded = isDisciplineActionStudentDisciplineIncidentAssociationIncluded; + IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable = isDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable; IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded = isDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded; SupportedExtensions = supportedExtensions; } @@ -9586,9 +10948,13 @@ 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; } + public bool IsDisciplineActionStudentDisciplineIncidentAssociationsItemCreatable { get; } public Func IsDisciplineActionStudentDisciplineIncidentAssociationIncluded { get; } + public bool IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable { get; } public Func IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -9637,6 +11003,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "DisciplineActionDisciplines": + return IsDisciplineActionDisciplinesItemCreatable; + case "DisciplineActionStaffs": + return IsDisciplineActionStaffsItemCreatable; + case "DisciplineActionStudentDisciplineIncidentAssociations": + return IsDisciplineActionStudentDisciplineIncidentAssociationsItemCreatable; + case "DisciplineActionStudentDisciplineIncidentBehaviorAssociations": + return IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9690,6 +11073,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9770,6 +11162,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9824,6 +11225,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9888,6 +11298,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9956,6 +11375,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10036,6 +11464,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10096,8 +11533,11 @@ public DisciplineIncidentMappingContract( bool isSchoolReferenceSupported, bool isStaffReferenceSupported, bool isStaffUniqueIdSupported, + bool isDisciplineIncidentBehaviorsItemCreatable, Func isDisciplineIncidentBehaviorIncluded, + bool isDisciplineIncidentExternalParticipantsItemCreatable, Func isDisciplineIncidentExternalParticipantIncluded, + bool isDisciplineIncidentWeaponsItemCreatable, Func isDisciplineIncidentWeaponIncluded, IReadOnlyList supportedExtensions ) @@ -10117,8 +11557,11 @@ IReadOnlyList supportedExtensions IsSchoolReferenceSupported = isSchoolReferenceSupported; IsStaffReferenceSupported = isStaffReferenceSupported; IsStaffUniqueIdSupported = isStaffUniqueIdSupported; + IsDisciplineIncidentBehaviorsItemCreatable = isDisciplineIncidentBehaviorsItemCreatable; IsDisciplineIncidentBehaviorIncluded = isDisciplineIncidentBehaviorIncluded; + IsDisciplineIncidentExternalParticipantsItemCreatable = isDisciplineIncidentExternalParticipantsItemCreatable; IsDisciplineIncidentExternalParticipantIncluded = isDisciplineIncidentExternalParticipantIncluded; + IsDisciplineIncidentWeaponsItemCreatable = isDisciplineIncidentWeaponsItemCreatable; IsDisciplineIncidentWeaponIncluded = isDisciplineIncidentWeaponIncluded; SupportedExtensions = supportedExtensions; } @@ -10138,8 +11581,11 @@ IReadOnlyList supportedExtensions public bool IsSchoolReferenceSupported { get; } public bool IsStaffReferenceSupported { get; } public bool IsStaffUniqueIdSupported { get; } + public bool IsDisciplineIncidentBehaviorsItemCreatable { get; } public Func IsDisciplineIncidentBehaviorIncluded { get; } + public bool IsDisciplineIncidentExternalParticipantsItemCreatable { get; } public Func IsDisciplineIncidentExternalParticipantIncluded { get; } + public bool IsDisciplineIncidentWeaponsItemCreatable { get; } public Func IsDisciplineIncidentWeaponIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -10186,6 +11632,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "DisciplineIncidentBehaviors": + return IsDisciplineIncidentBehaviorsItemCreatable; + case "DisciplineIncidentExternalParticipants": + return IsDisciplineIncidentExternalParticipantsItemCreatable; + case "DisciplineIncidentWeapons": + return IsDisciplineIncidentWeaponsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10245,6 +11706,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10306,6 +11776,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10386,6 +11865,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10433,6 +11921,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10513,6 +12010,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10589,12 +12095,19 @@ public EducationContentMappingContract( bool isTimeRequiredSupported, bool isUseRightsURLSupported, bool isVersionSupported, + bool isEducationContentAppropriateGradeLevelsItemCreatable, Func isEducationContentAppropriateGradeLevelIncluded, + bool isEducationContentAppropriateSexesItemCreatable, Func isEducationContentAppropriateSexIncluded, + bool isEducationContentAuthorsItemCreatable, Func isEducationContentAuthorIncluded, + bool isEducationContentDerivativeSourceEducationContentsItemCreatable, Func isEducationContentDerivativeSourceEducationContentIncluded, + bool isEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable, Func isEducationContentDerivativeSourceLearningResourceMetadataURIIncluded, + bool isEducationContentDerivativeSourceURIsItemCreatable, Func isEducationContentDerivativeSourceURIIncluded, + bool isEducationContentLanguagesItemCreatable, Func isEducationContentLanguageIncluded, IReadOnlyList supportedExtensions ) @@ -10623,12 +12136,19 @@ IReadOnlyList supportedExtensions IsTimeRequiredSupported = isTimeRequiredSupported; IsUseRightsURLSupported = isUseRightsURLSupported; IsVersionSupported = isVersionSupported; + IsEducationContentAppropriateGradeLevelsItemCreatable = isEducationContentAppropriateGradeLevelsItemCreatable; IsEducationContentAppropriateGradeLevelIncluded = isEducationContentAppropriateGradeLevelIncluded; + IsEducationContentAppropriateSexesItemCreatable = isEducationContentAppropriateSexesItemCreatable; IsEducationContentAppropriateSexIncluded = isEducationContentAppropriateSexIncluded; + IsEducationContentAuthorsItemCreatable = isEducationContentAuthorsItemCreatable; IsEducationContentAuthorIncluded = isEducationContentAuthorIncluded; + IsEducationContentDerivativeSourceEducationContentsItemCreatable = isEducationContentDerivativeSourceEducationContentsItemCreatable; IsEducationContentDerivativeSourceEducationContentIncluded = isEducationContentDerivativeSourceEducationContentIncluded; + IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable = isEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable; IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded = isEducationContentDerivativeSourceLearningResourceMetadataURIIncluded; + IsEducationContentDerivativeSourceURIsItemCreatable = isEducationContentDerivativeSourceURIsItemCreatable; IsEducationContentDerivativeSourceURIIncluded = isEducationContentDerivativeSourceURIIncluded; + IsEducationContentLanguagesItemCreatable = isEducationContentLanguagesItemCreatable; IsEducationContentLanguageIncluded = isEducationContentLanguageIncluded; SupportedExtensions = supportedExtensions; } @@ -10657,12 +12177,19 @@ IReadOnlyList supportedExtensions public bool IsTimeRequiredSupported { get; } public bool IsUseRightsURLSupported { get; } public bool IsVersionSupported { get; } + public bool IsEducationContentAppropriateGradeLevelsItemCreatable { get; } public Func IsEducationContentAppropriateGradeLevelIncluded { get; } + public bool IsEducationContentAppropriateSexesItemCreatable { get; } public Func IsEducationContentAppropriateSexIncluded { get; } + public bool IsEducationContentAuthorsItemCreatable { get; } public Func IsEducationContentAuthorIncluded { get; } + public bool IsEducationContentDerivativeSourceEducationContentsItemCreatable { get; } public Func IsEducationContentDerivativeSourceEducationContentIncluded { get; } + public bool IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable { get; } public Func IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded { get; } + public bool IsEducationContentDerivativeSourceURIsItemCreatable { get; } public Func IsEducationContentDerivativeSourceURIIncluded { get; } + public bool IsEducationContentLanguagesItemCreatable { get; } public Func IsEducationContentLanguageIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -10725,6 +12252,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationContentAppropriateGradeLevels": + return IsEducationContentAppropriateGradeLevelsItemCreatable; + case "EducationContentAppropriateSexes": + return IsEducationContentAppropriateSexesItemCreatable; + case "EducationContentAuthors": + return IsEducationContentAuthorsItemCreatable; + case "EducationContentDerivativeSourceEducationContents": + return IsEducationContentDerivativeSourceEducationContentsItemCreatable; + case "EducationContentDerivativeSourceLearningResourceMetadataURIs": + return IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable; + case "EducationContentDerivativeSourceURIs": + return IsEducationContentDerivativeSourceURIsItemCreatable; + case "EducationContentLanguages": + return IsEducationContentLanguagesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10778,6 +12328,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10831,6 +12390,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10884,6 +12452,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10944,6 +12521,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10997,6 +12583,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11050,6 +12645,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11103,6 +12707,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11156,11 +12769,17 @@ public EducationOrganizationMappingContract( bool isOperationalStatusDescriptorSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded ) { @@ -11174,11 +12793,17 @@ Func isEducationOrganizationIn IsOperationalStatusDescriptorSupported = isOperationalStatusDescriptorSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; } @@ -11192,11 +12817,17 @@ Func isEducationOrganizationIn public bool IsOperationalStatusDescriptorSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -11231,6 +12862,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -11287,6 +12939,7 @@ public EducationOrganizationAddressMappingContract( bool isLocaleDescriptorSupported, bool isLongitudeSupported, bool isNameOfCountySupported, + bool isEducationOrganizationAddressPeriodsItemCreatable, Func isEducationOrganizationAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -11301,6 +12954,7 @@ IReadOnlyList supportedExtensions IsLocaleDescriptorSupported = isLocaleDescriptorSupported; IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; + IsEducationOrganizationAddressPeriodsItemCreatable = isEducationOrganizationAddressPeriodsItemCreatable; IsEducationOrganizationAddressPeriodIncluded = isEducationOrganizationAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -11315,6 +12969,7 @@ IReadOnlyList supportedExtensions public bool IsLocaleDescriptorSupported { get; } public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } + public bool IsEducationOrganizationAddressPeriodsItemCreatable { get; } public Func IsEducationOrganizationAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -11357,6 +13012,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddressPeriods": + return IsEducationOrganizationAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11416,6 +13082,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11496,6 +13171,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -11543,6 +13227,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11623,6 +13316,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -11676,6 +13378,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11756,6 +13467,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -11794,6 +13514,7 @@ public EducationOrganizationIndicatorMappingContract( bool isIndicatorGroupDescriptorSupported, bool isIndicatorLevelDescriptorSupported, bool isIndicatorValueSupported, + bool isEducationOrganizationIndicatorPeriodsItemCreatable, Func isEducationOrganizationIndicatorPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -11803,6 +13524,7 @@ IReadOnlyList supportedExtensions IsIndicatorGroupDescriptorSupported = isIndicatorGroupDescriptorSupported; IsIndicatorLevelDescriptorSupported = isIndicatorLevelDescriptorSupported; IsIndicatorValueSupported = isIndicatorValueSupported; + IsEducationOrganizationIndicatorPeriodsItemCreatable = isEducationOrganizationIndicatorPeriodsItemCreatable; IsEducationOrganizationIndicatorPeriodIncluded = isEducationOrganizationIndicatorPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -11812,6 +13534,7 @@ IReadOnlyList supportedExtensions public bool IsIndicatorGroupDescriptorSupported { get; } public bool IsIndicatorLevelDescriptorSupported { get; } public bool IsIndicatorValueSupported { get; } + public bool IsEducationOrganizationIndicatorPeriodsItemCreatable { get; } public Func IsEducationOrganizationIndicatorPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -11836,6 +13559,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationIndicatorPeriods": + return IsEducationOrganizationIndicatorPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11895,6 +13629,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11954,6 +13697,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12061,6 +13813,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12147,6 +13908,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12192,11 +13962,17 @@ public EducationOrganizationNetworkMappingContract( bool isOperationalStatusDescriptorSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -12212,11 +13988,17 @@ IReadOnlyList supportedExtensions IsOperationalStatusDescriptorSupported = isOperationalStatusDescriptorSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -12232,11 +14014,17 @@ IReadOnlyList supportedExtensions public bool IsOperationalStatusDescriptorSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -12273,6 +14061,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12354,6 +14163,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12424,6 +14242,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12504,6 +14331,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -12545,11 +14381,17 @@ public EducationServiceCenterMappingContract( bool isStateEducationAgencyIdSupported, bool isStateEducationAgencyReferenceSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -12566,11 +14408,17 @@ IReadOnlyList supportedExtensions IsStateEducationAgencyIdSupported = isStateEducationAgencyIdSupported; IsStateEducationAgencyReferenceSupported = isStateEducationAgencyReferenceSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -12587,11 +14435,17 @@ IReadOnlyList supportedExtensions public bool IsStateEducationAgencyIdSupported { get; } public bool IsStateEducationAgencyReferenceSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -12630,6 +14484,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12710,6 +14585,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -12784,6 +14668,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -12858,6 +14751,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -12932,6 +14834,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13006,6 +14917,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13080,6 +15000,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13158,6 +15087,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13238,6 +15176,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13271,18 +15218,21 @@ public class FunctionDimensionMappingContract : IMappingContract, IExtensionsMap public FunctionDimensionMappingContract( bool isCodeNameSupported, bool isFunctionDimensionReportingTagsSupported, + bool isFunctionDimensionReportingTagsItemCreatable, Func isFunctionDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsFunctionDimensionReportingTagsSupported = isFunctionDimensionReportingTagsSupported; + IsFunctionDimensionReportingTagsItemCreatable = isFunctionDimensionReportingTagsItemCreatable; IsFunctionDimensionReportingTagIncluded = isFunctionDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsFunctionDimensionReportingTagsSupported { get; } + public bool IsFunctionDimensionReportingTagsItemCreatable { get; } public Func IsFunctionDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -13303,6 +15253,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "FunctionDimensionReportingTags": + return IsFunctionDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13356,6 +15317,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13395,18 +15365,21 @@ public class FundDimensionMappingContract : IMappingContract, IExtensionsMapping public FundDimensionMappingContract( bool isCodeNameSupported, bool isFundDimensionReportingTagsSupported, + bool isFundDimensionReportingTagsItemCreatable, Func isFundDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsFundDimensionReportingTagsSupported = isFundDimensionReportingTagsSupported; + IsFundDimensionReportingTagsItemCreatable = isFundDimensionReportingTagsItemCreatable; IsFundDimensionReportingTagIncluded = isFundDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsFundDimensionReportingTagsSupported { get; } + public bool IsFundDimensionReportingTagsItemCreatable { get; } public Func IsFundDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -13427,6 +15400,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "FundDimensionReportingTags": + return IsFundDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13480,6 +15464,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13543,6 +15536,7 @@ public GeneralStudentProgramAssociationMappingContract( bool isReasonExitedDescriptorSupported, bool isServedOutsideOfRegularSessionSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded ) { @@ -13554,6 +15548,7 @@ Func isGenera IsReasonExitedDescriptorSupported = isReasonExitedDescriptorSupported; IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; } @@ -13565,6 +15560,7 @@ 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) @@ -13605,6 +15601,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13672,6 +15679,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13741,6 +15757,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13814,6 +15839,7 @@ public GradeMappingContract( bool isNumericGradeEarnedSupported, bool isPerformanceBaseConversionDescriptorSupported, bool isStudentSectionAssociationReferenceSupported, + bool isGradeLearningStandardGradesItemCreatable, Func isGradeLearningStandardGradeIncluded, IReadOnlyList supportedExtensions ) @@ -13827,6 +15853,7 @@ IReadOnlyList supportedExtensions IsNumericGradeEarnedSupported = isNumericGradeEarnedSupported; IsPerformanceBaseConversionDescriptorSupported = isPerformanceBaseConversionDescriptorSupported; IsStudentSectionAssociationReferenceSupported = isStudentSectionAssociationReferenceSupported; + IsGradeLearningStandardGradesItemCreatable = isGradeLearningStandardGradesItemCreatable; IsGradeLearningStandardGradeIncluded = isGradeLearningStandardGradeIncluded; SupportedExtensions = supportedExtensions; } @@ -13840,6 +15867,7 @@ 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) @@ -13892,6 +15920,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GradeLearningStandardGrades": + return IsGradeLearningStandardGradesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13965,6 +16004,7 @@ public GradebookEntryMappingContract( bool isSessionNameSupported, bool isSourceSectionIdentifierSupported, bool isTitleSupported, + bool isGradebookEntryLearningStandardsItemCreatable, Func isGradebookEntryLearningStandardIncluded, IReadOnlyList supportedExtensions ) @@ -13987,6 +16027,7 @@ IReadOnlyList supportedExtensions IsSessionNameSupported = isSessionNameSupported; IsSourceSectionIdentifierSupported = isSourceSectionIdentifierSupported; IsTitleSupported = isTitleSupported; + IsGradebookEntryLearningStandardsItemCreatable = isGradebookEntryLearningStandardsItemCreatable; IsGradebookEntryLearningStandardIncluded = isGradebookEntryLearningStandardIncluded; SupportedExtensions = supportedExtensions; } @@ -14009,6 +16050,7 @@ IReadOnlyList supportedExtensions public bool IsSessionNameSupported { get; } public bool IsSourceSectionIdentifierSupported { get; } public bool IsTitleSupported { get; } + public bool IsGradebookEntryLearningStandardsItemCreatable { get; } public Func IsGradebookEntryLearningStandardIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -14061,6 +16103,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GradebookEntryLearningStandards": + return IsGradebookEntryLearningStandardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14121,6 +16174,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14201,6 +16263,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14279,6 +16350,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14359,6 +16439,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14433,6 +16522,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14507,6 +16605,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14595,6 +16702,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14675,6 +16791,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14727,9 +16852,13 @@ public GraduationPlanMappingContract( bool isTotalRequiredCreditConversionSupported, bool isTotalRequiredCreditsSupported, bool isTotalRequiredCreditTypeDescriptorSupported, + bool isGraduationPlanCreditsByCoursesItemCreatable, Func isGraduationPlanCreditsByCourseIncluded, + bool isGraduationPlanCreditsByCreditCategoriesItemCreatable, Func isGraduationPlanCreditsByCreditCategoryIncluded, + bool isGraduationPlanCreditsBySubjectsItemCreatable, Func isGraduationPlanCreditsBySubjectIncluded, + bool isGraduationPlanRequiredAssessmentsItemCreatable, Func isGraduationPlanRequiredAssessmentIncluded, IReadOnlyList supportedExtensions ) @@ -14744,9 +16873,13 @@ IReadOnlyList supportedExtensions IsTotalRequiredCreditConversionSupported = isTotalRequiredCreditConversionSupported; IsTotalRequiredCreditsSupported = isTotalRequiredCreditsSupported; IsTotalRequiredCreditTypeDescriptorSupported = isTotalRequiredCreditTypeDescriptorSupported; + IsGraduationPlanCreditsByCoursesItemCreatable = isGraduationPlanCreditsByCoursesItemCreatable; IsGraduationPlanCreditsByCourseIncluded = isGraduationPlanCreditsByCourseIncluded; + IsGraduationPlanCreditsByCreditCategoriesItemCreatable = isGraduationPlanCreditsByCreditCategoriesItemCreatable; IsGraduationPlanCreditsByCreditCategoryIncluded = isGraduationPlanCreditsByCreditCategoryIncluded; + IsGraduationPlanCreditsBySubjectsItemCreatable = isGraduationPlanCreditsBySubjectsItemCreatable; IsGraduationPlanCreditsBySubjectIncluded = isGraduationPlanCreditsBySubjectIncluded; + IsGraduationPlanRequiredAssessmentsItemCreatable = isGraduationPlanRequiredAssessmentsItemCreatable; IsGraduationPlanRequiredAssessmentIncluded = isGraduationPlanRequiredAssessmentIncluded; SupportedExtensions = supportedExtensions; } @@ -14761,9 +16894,13 @@ IReadOnlyList supportedExtensions public bool IsTotalRequiredCreditConversionSupported { get; } public bool IsTotalRequiredCreditsSupported { get; } public bool IsTotalRequiredCreditTypeDescriptorSupported { get; } + public bool IsGraduationPlanCreditsByCoursesItemCreatable { get; } public Func IsGraduationPlanCreditsByCourseIncluded { get; } + public bool IsGraduationPlanCreditsByCreditCategoriesItemCreatable { get; } public Func IsGraduationPlanCreditsByCreditCategoryIncluded { get; } + public bool IsGraduationPlanCreditsBySubjectsItemCreatable { get; } public Func IsGraduationPlanCreditsBySubjectIncluded { get; } + public bool IsGraduationPlanRequiredAssessmentsItemCreatable { get; } public Func IsGraduationPlanRequiredAssessmentIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -14802,6 +16939,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GraduationPlanCreditsByCourses": + return IsGraduationPlanCreditsByCoursesItemCreatable; + case "GraduationPlanCreditsByCreditCategories": + return IsGraduationPlanCreditsByCreditCategoriesItemCreatable; + case "GraduationPlanCreditsBySubjects": + return IsGraduationPlanCreditsBySubjectsItemCreatable; + case "GraduationPlanRequiredAssessments": + return IsGraduationPlanRequiredAssessmentsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14846,6 +17000,7 @@ public GraduationPlanCreditsByCourseMappingContract( bool isCreditTypeDescriptorSupported, bool isGraduationPlanCreditsByCourseCoursesSupported, bool isWhenTakenGradeLevelDescriptorSupported, + bool isGraduationPlanCreditsByCourseCoursesItemCreatable, Func isGraduationPlanCreditsByCourseCourseIncluded, IReadOnlyList supportedExtensions ) @@ -14855,6 +17010,7 @@ IReadOnlyList supportedExtensions IsCreditTypeDescriptorSupported = isCreditTypeDescriptorSupported; IsGraduationPlanCreditsByCourseCoursesSupported = isGraduationPlanCreditsByCourseCoursesSupported; IsWhenTakenGradeLevelDescriptorSupported = isWhenTakenGradeLevelDescriptorSupported; + IsGraduationPlanCreditsByCourseCoursesItemCreatable = isGraduationPlanCreditsByCourseCoursesItemCreatable; IsGraduationPlanCreditsByCourseCourseIncluded = isGraduationPlanCreditsByCourseCourseIncluded; SupportedExtensions = supportedExtensions; } @@ -14864,6 +17020,7 @@ IReadOnlyList supportedExtensions public bool IsCreditTypeDescriptorSupported { get; } public bool IsGraduationPlanCreditsByCourseCoursesSupported { get; } public bool IsWhenTakenGradeLevelDescriptorSupported { get; } + public bool IsGraduationPlanCreditsByCourseCoursesItemCreatable { get; } public Func IsGraduationPlanCreditsByCourseCourseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -14888,6 +17045,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GraduationPlanCreditsByCourseCourses": + return IsGraduationPlanCreditsByCourseCoursesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14952,6 +17120,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15023,6 +17200,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15094,6 +17280,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15138,6 +17333,7 @@ public GraduationPlanRequiredAssessmentMappingContract( bool isAssessmentReferenceSupported, bool isGraduationPlanRequiredAssessmentPerformanceLevelSupported, bool isGraduationPlanRequiredAssessmentScoresSupported, + bool isGraduationPlanRequiredAssessmentScoresItemCreatable, Func isGraduationPlanRequiredAssessmentScoreIncluded, IReadOnlyList supportedExtensions ) @@ -15145,6 +17341,7 @@ IReadOnlyList supportedExtensions IsAssessmentReferenceSupported = isAssessmentReferenceSupported; IsGraduationPlanRequiredAssessmentPerformanceLevelSupported = isGraduationPlanRequiredAssessmentPerformanceLevelSupported; IsGraduationPlanRequiredAssessmentScoresSupported = isGraduationPlanRequiredAssessmentScoresSupported; + IsGraduationPlanRequiredAssessmentScoresItemCreatable = isGraduationPlanRequiredAssessmentScoresItemCreatable; IsGraduationPlanRequiredAssessmentScoreIncluded = isGraduationPlanRequiredAssessmentScoreIncluded; SupportedExtensions = supportedExtensions; } @@ -15152,6 +17349,7 @@ IReadOnlyList supportedExtensions public bool IsAssessmentReferenceSupported { get; } public bool IsGraduationPlanRequiredAssessmentPerformanceLevelSupported { get; } public bool IsGraduationPlanRequiredAssessmentScoresSupported { get; } + public bool IsGraduationPlanRequiredAssessmentScoresItemCreatable { get; } public Func IsGraduationPlanRequiredAssessmentScoreIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -15174,6 +17372,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GraduationPlanRequiredAssessmentScores": + return IsGraduationPlanRequiredAssessmentScoresItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15259,6 +17468,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15330,6 +17548,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15410,6 +17637,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15484,6 +17720,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15558,6 +17803,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15632,6 +17886,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15706,6 +17969,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15780,6 +18052,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15854,6 +18135,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15928,6 +18218,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16002,6 +18301,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16076,6 +18384,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16150,6 +18467,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16224,6 +18550,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16298,6 +18633,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16372,6 +18716,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16438,15 +18791,25 @@ public InterventionMappingContract( bool isMaxDosageSupported, bool isMinDosageSupported, bool isNamespaceSupported, + bool isInterventionAppropriateGradeLevelsItemCreatable, Func isInterventionAppropriateGradeLevelIncluded, + bool isInterventionAppropriateSexesItemCreatable, Func isInterventionAppropriateSexIncluded, + bool isInterventionDiagnosesItemCreatable, Func isInterventionDiagnosisIncluded, + bool isInterventionEducationContentsItemCreatable, Func isInterventionEducationContentIncluded, + bool isInterventionInterventionPrescriptionsItemCreatable, Func isInterventionInterventionPrescriptionIncluded, + bool isInterventionLearningResourceMetadataURIsItemCreatable, Func isInterventionLearningResourceMetadataURIIncluded, + bool isInterventionMeetingTimesItemCreatable, Func isInterventionMeetingTimeIncluded, + bool isInterventionPopulationServedsItemCreatable, Func isInterventionPopulationServedIncluded, + bool isInterventionStaffsItemCreatable, Func isInterventionStaffIncluded, + bool isInterventionURIsItemCreatable, Func isInterventionURIIncluded, IReadOnlyList supportedExtensions ) @@ -16469,15 +18832,25 @@ IReadOnlyList supportedExtensions IsMaxDosageSupported = isMaxDosageSupported; IsMinDosageSupported = isMinDosageSupported; IsNamespaceSupported = isNamespaceSupported; + IsInterventionAppropriateGradeLevelsItemCreatable = isInterventionAppropriateGradeLevelsItemCreatable; IsInterventionAppropriateGradeLevelIncluded = isInterventionAppropriateGradeLevelIncluded; + IsInterventionAppropriateSexesItemCreatable = isInterventionAppropriateSexesItemCreatable; IsInterventionAppropriateSexIncluded = isInterventionAppropriateSexIncluded; + IsInterventionDiagnosesItemCreatable = isInterventionDiagnosesItemCreatable; IsInterventionDiagnosisIncluded = isInterventionDiagnosisIncluded; + IsInterventionEducationContentsItemCreatable = isInterventionEducationContentsItemCreatable; IsInterventionEducationContentIncluded = isInterventionEducationContentIncluded; + IsInterventionInterventionPrescriptionsItemCreatable = isInterventionInterventionPrescriptionsItemCreatable; IsInterventionInterventionPrescriptionIncluded = isInterventionInterventionPrescriptionIncluded; + IsInterventionLearningResourceMetadataURIsItemCreatable = isInterventionLearningResourceMetadataURIsItemCreatable; IsInterventionLearningResourceMetadataURIIncluded = isInterventionLearningResourceMetadataURIIncluded; + IsInterventionMeetingTimesItemCreatable = isInterventionMeetingTimesItemCreatable; IsInterventionMeetingTimeIncluded = isInterventionMeetingTimeIncluded; + IsInterventionPopulationServedsItemCreatable = isInterventionPopulationServedsItemCreatable; IsInterventionPopulationServedIncluded = isInterventionPopulationServedIncluded; + IsInterventionStaffsItemCreatable = isInterventionStaffsItemCreatable; IsInterventionStaffIncluded = isInterventionStaffIncluded; + IsInterventionURIsItemCreatable = isInterventionURIsItemCreatable; IsInterventionURIIncluded = isInterventionURIIncluded; SupportedExtensions = supportedExtensions; } @@ -16500,15 +18873,25 @@ IReadOnlyList supportedExtensions public bool IsMaxDosageSupported { get; } public bool IsMinDosageSupported { get; } public bool IsNamespaceSupported { get; } + public bool IsInterventionAppropriateGradeLevelsItemCreatable { get; } public Func IsInterventionAppropriateGradeLevelIncluded { get; } + public bool IsInterventionAppropriateSexesItemCreatable { get; } public Func IsInterventionAppropriateSexIncluded { get; } + public bool IsInterventionDiagnosesItemCreatable { get; } public Func IsInterventionDiagnosisIncluded { get; } + public bool IsInterventionEducationContentsItemCreatable { get; } public Func IsInterventionEducationContentIncluded { get; } + public bool IsInterventionInterventionPrescriptionsItemCreatable { get; } public Func IsInterventionInterventionPrescriptionIncluded { get; } + public bool IsInterventionLearningResourceMetadataURIsItemCreatable { get; } public Func IsInterventionLearningResourceMetadataURIIncluded { get; } + public bool IsInterventionMeetingTimesItemCreatable { get; } public Func IsInterventionMeetingTimeIncluded { get; } + public bool IsInterventionPopulationServedsItemCreatable { get; } public Func IsInterventionPopulationServedIncluded { get; } + public bool IsInterventionStaffsItemCreatable { get; } public Func IsInterventionStaffIncluded { get; } + public bool IsInterventionURIsItemCreatable { get; } public Func IsInterventionURIIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -16561,6 +18944,35 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "InterventionAppropriateGradeLevels": + return IsInterventionAppropriateGradeLevelsItemCreatable; + case "InterventionAppropriateSexes": + return IsInterventionAppropriateSexesItemCreatable; + case "InterventionDiagnoses": + return IsInterventionDiagnosesItemCreatable; + case "InterventionEducationContents": + return IsInterventionEducationContentsItemCreatable; + case "InterventionInterventionPrescriptions": + return IsInterventionInterventionPrescriptionsItemCreatable; + case "InterventionLearningResourceMetadataURIs": + return IsInterventionLearningResourceMetadataURIsItemCreatable; + case "InterventionMeetingTimes": + return IsInterventionMeetingTimesItemCreatable; + case "InterventionPopulationServeds": + return IsInterventionPopulationServedsItemCreatable; + case "InterventionStaffs": + return IsInterventionStaffsItemCreatable; + case "InterventionURIs": + return IsInterventionURIsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16614,6 +19026,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16667,6 +19088,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16747,6 +19177,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16794,6 +19233,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16854,6 +19302,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16934,6 +19391,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16992,6 +19458,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17045,6 +19520,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17102,6 +19586,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17155,6 +19648,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17217,12 +19719,19 @@ public InterventionPrescriptionMappingContract( bool isMaxDosageSupported, bool isMinDosageSupported, bool isNamespaceSupported, + bool isInterventionPrescriptionAppropriateGradeLevelsItemCreatable, Func isInterventionPrescriptionAppropriateGradeLevelIncluded, + bool isInterventionPrescriptionAppropriateSexesItemCreatable, Func isInterventionPrescriptionAppropriateSexIncluded, + bool isInterventionPrescriptionDiagnosesItemCreatable, Func isInterventionPrescriptionDiagnosisIncluded, + bool isInterventionPrescriptionEducationContentsItemCreatable, Func isInterventionPrescriptionEducationContentIncluded, + bool isInterventionPrescriptionLearningResourceMetadataURIsItemCreatable, Func isInterventionPrescriptionLearningResourceMetadataURIIncluded, + bool isInterventionPrescriptionPopulationServedsItemCreatable, Func isInterventionPrescriptionPopulationServedIncluded, + bool isInterventionPrescriptionURIsItemCreatable, Func isInterventionPrescriptionURIIncluded, IReadOnlyList supportedExtensions ) @@ -17240,12 +19749,19 @@ IReadOnlyList supportedExtensions IsMaxDosageSupported = isMaxDosageSupported; IsMinDosageSupported = isMinDosageSupported; IsNamespaceSupported = isNamespaceSupported; + IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable = isInterventionPrescriptionAppropriateGradeLevelsItemCreatable; IsInterventionPrescriptionAppropriateGradeLevelIncluded = isInterventionPrescriptionAppropriateGradeLevelIncluded; + IsInterventionPrescriptionAppropriateSexesItemCreatable = isInterventionPrescriptionAppropriateSexesItemCreatable; IsInterventionPrescriptionAppropriateSexIncluded = isInterventionPrescriptionAppropriateSexIncluded; + IsInterventionPrescriptionDiagnosesItemCreatable = isInterventionPrescriptionDiagnosesItemCreatable; IsInterventionPrescriptionDiagnosisIncluded = isInterventionPrescriptionDiagnosisIncluded; + IsInterventionPrescriptionEducationContentsItemCreatable = isInterventionPrescriptionEducationContentsItemCreatable; IsInterventionPrescriptionEducationContentIncluded = isInterventionPrescriptionEducationContentIncluded; + IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable = isInterventionPrescriptionLearningResourceMetadataURIsItemCreatable; IsInterventionPrescriptionLearningResourceMetadataURIIncluded = isInterventionPrescriptionLearningResourceMetadataURIIncluded; + IsInterventionPrescriptionPopulationServedsItemCreatable = isInterventionPrescriptionPopulationServedsItemCreatable; IsInterventionPrescriptionPopulationServedIncluded = isInterventionPrescriptionPopulationServedIncluded; + IsInterventionPrescriptionURIsItemCreatable = isInterventionPrescriptionURIsItemCreatable; IsInterventionPrescriptionURIIncluded = isInterventionPrescriptionURIIncluded; SupportedExtensions = supportedExtensions; } @@ -17263,12 +19779,19 @@ IReadOnlyList supportedExtensions public bool IsMaxDosageSupported { get; } public bool IsMinDosageSupported { get; } public bool IsNamespaceSupported { get; } + public bool IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable { get; } public Func IsInterventionPrescriptionAppropriateGradeLevelIncluded { get; } + public bool IsInterventionPrescriptionAppropriateSexesItemCreatable { get; } public Func IsInterventionPrescriptionAppropriateSexIncluded { get; } + public bool IsInterventionPrescriptionDiagnosesItemCreatable { get; } public Func IsInterventionPrescriptionDiagnosisIncluded { get; } + public bool IsInterventionPrescriptionEducationContentsItemCreatable { get; } public Func IsInterventionPrescriptionEducationContentIncluded { get; } + public bool IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable { get; } public Func IsInterventionPrescriptionLearningResourceMetadataURIIncluded { get; } + public bool IsInterventionPrescriptionPopulationServedsItemCreatable { get; } public Func IsInterventionPrescriptionPopulationServedIncluded { get; } + public bool IsInterventionPrescriptionURIsItemCreatable { get; } public Func IsInterventionPrescriptionURIIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -17311,6 +19834,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "InterventionPrescriptionAppropriateGradeLevels": + return IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable; + case "InterventionPrescriptionAppropriateSexes": + return IsInterventionPrescriptionAppropriateSexesItemCreatable; + case "InterventionPrescriptionDiagnoses": + return IsInterventionPrescriptionDiagnosesItemCreatable; + case "InterventionPrescriptionEducationContents": + return IsInterventionPrescriptionEducationContentsItemCreatable; + case "InterventionPrescriptionLearningResourceMetadataURIs": + return IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable; + case "InterventionPrescriptionPopulationServeds": + return IsInterventionPrescriptionPopulationServedsItemCreatable; + case "InterventionPrescriptionURIs": + return IsInterventionPrescriptionURIsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17364,6 +19910,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17417,6 +19972,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17470,6 +20034,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17530,6 +20103,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17583,6 +20165,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17636,6 +20227,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17689,6 +20289,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17749,6 +20358,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17816,13 +20434,21 @@ public InterventionStudyMappingContract( bool isInterventionStudyStateAbbreviationsSupported, bool isInterventionStudyURIsSupported, bool isParticipantsSupported, + bool isInterventionStudyAppropriateGradeLevelsItemCreatable, Func isInterventionStudyAppropriateGradeLevelIncluded, + bool isInterventionStudyAppropriateSexesItemCreatable, Func isInterventionStudyAppropriateSexIncluded, + bool isInterventionStudyEducationContentsItemCreatable, Func isInterventionStudyEducationContentIncluded, + bool isInterventionStudyInterventionEffectivenessesItemCreatable, Func isInterventionStudyInterventionEffectivenessIncluded, + bool isInterventionStudyLearningResourceMetadataURIsItemCreatable, Func isInterventionStudyLearningResourceMetadataURIIncluded, + bool isInterventionStudyPopulationServedsItemCreatable, Func isInterventionStudyPopulationServedIncluded, + bool isInterventionStudyStateAbbreviationsItemCreatable, Func isInterventionStudyStateAbbreviationIncluded, + bool isInterventionStudyURIsItemCreatable, Func isInterventionStudyURIIncluded, IReadOnlyList supportedExtensions ) @@ -17842,13 +20468,21 @@ IReadOnlyList supportedExtensions IsInterventionStudyStateAbbreviationsSupported = isInterventionStudyStateAbbreviationsSupported; IsInterventionStudyURIsSupported = isInterventionStudyURIsSupported; IsParticipantsSupported = isParticipantsSupported; + IsInterventionStudyAppropriateGradeLevelsItemCreatable = isInterventionStudyAppropriateGradeLevelsItemCreatable; IsInterventionStudyAppropriateGradeLevelIncluded = isInterventionStudyAppropriateGradeLevelIncluded; + IsInterventionStudyAppropriateSexesItemCreatable = isInterventionStudyAppropriateSexesItemCreatable; IsInterventionStudyAppropriateSexIncluded = isInterventionStudyAppropriateSexIncluded; + IsInterventionStudyEducationContentsItemCreatable = isInterventionStudyEducationContentsItemCreatable; IsInterventionStudyEducationContentIncluded = isInterventionStudyEducationContentIncluded; + IsInterventionStudyInterventionEffectivenessesItemCreatable = isInterventionStudyInterventionEffectivenessesItemCreatable; IsInterventionStudyInterventionEffectivenessIncluded = isInterventionStudyInterventionEffectivenessIncluded; + IsInterventionStudyLearningResourceMetadataURIsItemCreatable = isInterventionStudyLearningResourceMetadataURIsItemCreatable; IsInterventionStudyLearningResourceMetadataURIIncluded = isInterventionStudyLearningResourceMetadataURIIncluded; + IsInterventionStudyPopulationServedsItemCreatable = isInterventionStudyPopulationServedsItemCreatable; IsInterventionStudyPopulationServedIncluded = isInterventionStudyPopulationServedIncluded; + IsInterventionStudyStateAbbreviationsItemCreatable = isInterventionStudyStateAbbreviationsItemCreatable; IsInterventionStudyStateAbbreviationIncluded = isInterventionStudyStateAbbreviationIncluded; + IsInterventionStudyURIsItemCreatable = isInterventionStudyURIsItemCreatable; IsInterventionStudyURIIncluded = isInterventionStudyURIIncluded; SupportedExtensions = supportedExtensions; } @@ -17868,13 +20502,21 @@ IReadOnlyList supportedExtensions public bool IsInterventionStudyStateAbbreviationsSupported { get; } public bool IsInterventionStudyURIsSupported { get; } public bool IsParticipantsSupported { get; } + public bool IsInterventionStudyAppropriateGradeLevelsItemCreatable { get; } public Func IsInterventionStudyAppropriateGradeLevelIncluded { get; } + public bool IsInterventionStudyAppropriateSexesItemCreatable { get; } public Func IsInterventionStudyAppropriateSexIncluded { get; } + public bool IsInterventionStudyEducationContentsItemCreatable { get; } public Func IsInterventionStudyEducationContentIncluded { get; } + public bool IsInterventionStudyInterventionEffectivenessesItemCreatable { get; } public Func IsInterventionStudyInterventionEffectivenessIncluded { get; } + public bool IsInterventionStudyLearningResourceMetadataURIsItemCreatable { get; } public Func IsInterventionStudyLearningResourceMetadataURIIncluded { get; } + public bool IsInterventionStudyPopulationServedsItemCreatable { get; } public Func IsInterventionStudyPopulationServedIncluded { get; } + public bool IsInterventionStudyStateAbbreviationsItemCreatable { get; } public Func IsInterventionStudyStateAbbreviationIncluded { get; } + public bool IsInterventionStudyURIsItemCreatable { get; } public Func IsInterventionStudyURIIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -17921,6 +20563,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "InterventionStudyAppropriateGradeLevels": + return IsInterventionStudyAppropriateGradeLevelsItemCreatable; + case "InterventionStudyAppropriateSexes": + return IsInterventionStudyAppropriateSexesItemCreatable; + case "InterventionStudyEducationContents": + return IsInterventionStudyEducationContentsItemCreatable; + case "InterventionStudyInterventionEffectivenesses": + return IsInterventionStudyInterventionEffectivenessesItemCreatable; + case "InterventionStudyLearningResourceMetadataURIs": + return IsInterventionStudyLearningResourceMetadataURIsItemCreatable; + case "InterventionStudyPopulationServeds": + return IsInterventionStudyPopulationServedsItemCreatable; + case "InterventionStudyStateAbbreviations": + return IsInterventionStudyStateAbbreviationsItemCreatable; + case "InterventionStudyURIs": + return IsInterventionStudyURIsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -17974,6 +20641,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18027,6 +20703,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18087,6 +20772,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18160,6 +20854,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18213,6 +20916,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18266,6 +20978,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18319,6 +21040,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18372,6 +21102,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18425,6 +21164,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18505,6 +21253,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -18579,6 +21336,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -18653,6 +21419,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -18706,8 +21481,11 @@ public LearningObjectiveMappingContract( bool isParentLearningObjectiveReferenceSupported, bool isParentNamespaceSupported, bool isSuccessCriteriaSupported, + bool isLearningObjectiveAcademicSubjectsItemCreatable, Func isLearningObjectiveAcademicSubjectIncluded, + bool isLearningObjectiveGradeLevelsItemCreatable, Func isLearningObjectiveGradeLevelIncluded, + bool isLearningObjectiveLearningStandardsItemCreatable, Func isLearningObjectiveLearningStandardIncluded, IReadOnlyList supportedExtensions ) @@ -18723,8 +21501,11 @@ IReadOnlyList supportedExtensions IsParentLearningObjectiveReferenceSupported = isParentLearningObjectiveReferenceSupported; IsParentNamespaceSupported = isParentNamespaceSupported; IsSuccessCriteriaSupported = isSuccessCriteriaSupported; + IsLearningObjectiveAcademicSubjectsItemCreatable = isLearningObjectiveAcademicSubjectsItemCreatable; IsLearningObjectiveAcademicSubjectIncluded = isLearningObjectiveAcademicSubjectIncluded; + IsLearningObjectiveGradeLevelsItemCreatable = isLearningObjectiveGradeLevelsItemCreatable; IsLearningObjectiveGradeLevelIncluded = isLearningObjectiveGradeLevelIncluded; + IsLearningObjectiveLearningStandardsItemCreatable = isLearningObjectiveLearningStandardsItemCreatable; IsLearningObjectiveLearningStandardIncluded = isLearningObjectiveLearningStandardIncluded; SupportedExtensions = supportedExtensions; } @@ -18740,8 +21521,11 @@ IReadOnlyList supportedExtensions public bool IsParentLearningObjectiveReferenceSupported { get; } public bool IsParentNamespaceSupported { get; } public bool IsSuccessCriteriaSupported { get; } + public bool IsLearningObjectiveAcademicSubjectsItemCreatable { get; } public Func IsLearningObjectiveAcademicSubjectIncluded { get; } + public bool IsLearningObjectiveGradeLevelsItemCreatable { get; } public Func IsLearningObjectiveGradeLevelIncluded { get; } + public bool IsLearningObjectiveLearningStandardsItemCreatable { get; } public Func IsLearningObjectiveLearningStandardIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -18780,6 +21564,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "LearningObjectiveAcademicSubjects": + return IsLearningObjectiveAcademicSubjectsItemCreatable; + case "LearningObjectiveGradeLevels": + return IsLearningObjectiveGradeLevelsItemCreatable; + case "LearningObjectiveLearningStandards": + return IsLearningObjectiveLearningStandardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18833,6 +21632,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18888,6 +21696,7 @@ public LearningObjectiveContentStandardMappingContract( bool isTitleSupported, bool isURISupported, bool isVersionSupported, + bool isLearningObjectiveContentStandardAuthorsItemCreatable, Func isLearningObjectiveContentStandardAuthorIncluded, IReadOnlyList supportedExtensions ) @@ -18903,6 +21712,7 @@ IReadOnlyList supportedExtensions IsTitleSupported = isTitleSupported; IsURISupported = isURISupported; IsVersionSupported = isVersionSupported; + IsLearningObjectiveContentStandardAuthorsItemCreatable = isLearningObjectiveContentStandardAuthorsItemCreatable; IsLearningObjectiveContentStandardAuthorIncluded = isLearningObjectiveContentStandardAuthorIncluded; SupportedExtensions = supportedExtensions; } @@ -18918,6 +21728,7 @@ IReadOnlyList supportedExtensions public bool IsTitleSupported { get; } public bool IsURISupported { get; } public bool IsVersionSupported { get; } + public bool IsLearningObjectiveContentStandardAuthorsItemCreatable { get; } public Func IsLearningObjectiveContentStandardAuthorIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -18952,6 +21763,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "LearningObjectiveContentStandardAuthors": + return IsLearningObjectiveContentStandardAuthorsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19005,6 +21827,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19058,6 +21889,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19118,6 +21958,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19183,9 +22032,13 @@ public LearningStandardMappingContract( bool isParentLearningStandardReferenceSupported, bool isSuccessCriteriaSupported, bool isURISupported, + bool isLearningStandardAcademicSubjectsItemCreatable, Func isLearningStandardAcademicSubjectIncluded, + bool isLearningStandardGradeLevelsItemCreatable, Func isLearningStandardGradeLevelIncluded, + bool isLearningStandardIdentificationCodesItemCreatable, Func isLearningStandardIdentificationCodeIncluded, + bool isLearningStandardPrerequisiteLearningStandardsItemCreatable, Func isLearningStandardPrerequisiteLearningStandardIncluded, IReadOnlyList supportedExtensions ) @@ -19205,9 +22058,13 @@ IReadOnlyList supportedExtensions IsParentLearningStandardReferenceSupported = isParentLearningStandardReferenceSupported; IsSuccessCriteriaSupported = isSuccessCriteriaSupported; IsURISupported = isURISupported; + IsLearningStandardAcademicSubjectsItemCreatable = isLearningStandardAcademicSubjectsItemCreatable; IsLearningStandardAcademicSubjectIncluded = isLearningStandardAcademicSubjectIncluded; + IsLearningStandardGradeLevelsItemCreatable = isLearningStandardGradeLevelsItemCreatable; IsLearningStandardGradeLevelIncluded = isLearningStandardGradeLevelIncluded; + IsLearningStandardIdentificationCodesItemCreatable = isLearningStandardIdentificationCodesItemCreatable; IsLearningStandardIdentificationCodeIncluded = isLearningStandardIdentificationCodeIncluded; + IsLearningStandardPrerequisiteLearningStandardsItemCreatable = isLearningStandardPrerequisiteLearningStandardsItemCreatable; IsLearningStandardPrerequisiteLearningStandardIncluded = isLearningStandardPrerequisiteLearningStandardIncluded; SupportedExtensions = supportedExtensions; } @@ -19227,9 +22084,13 @@ IReadOnlyList supportedExtensions public bool IsParentLearningStandardReferenceSupported { get; } public bool IsSuccessCriteriaSupported { get; } public bool IsURISupported { get; } + public bool IsLearningStandardAcademicSubjectsItemCreatable { get; } public Func IsLearningStandardAcademicSubjectIncluded { get; } + public bool IsLearningStandardGradeLevelsItemCreatable { get; } public Func IsLearningStandardGradeLevelIncluded { get; } + public bool IsLearningStandardIdentificationCodesItemCreatable { get; } public Func IsLearningStandardIdentificationCodeIncluded { get; } + public bool IsLearningStandardPrerequisiteLearningStandardsItemCreatable { get; } public Func IsLearningStandardPrerequisiteLearningStandardIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -19274,6 +22135,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "LearningStandardAcademicSubjects": + return IsLearningStandardAcademicSubjectsItemCreatable; + case "LearningStandardGradeLevels": + return IsLearningStandardGradeLevelsItemCreatable; + case "LearningStandardIdentificationCodes": + return IsLearningStandardIdentificationCodesItemCreatable; + case "LearningStandardPrerequisiteLearningStandards": + return IsLearningStandardPrerequisiteLearningStandardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19327,6 +22205,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19407,6 +22294,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -19456,6 +22352,7 @@ public LearningStandardContentStandardMappingContract( bool isTitleSupported, bool isURISupported, bool isVersionSupported, + bool isLearningStandardContentStandardAuthorsItemCreatable, Func isLearningStandardContentStandardAuthorIncluded, IReadOnlyList supportedExtensions ) @@ -19471,6 +22368,7 @@ IReadOnlyList supportedExtensions IsTitleSupported = isTitleSupported; IsURISupported = isURISupported; IsVersionSupported = isVersionSupported; + IsLearningStandardContentStandardAuthorsItemCreatable = isLearningStandardContentStandardAuthorsItemCreatable; IsLearningStandardContentStandardAuthorIncluded = isLearningStandardContentStandardAuthorIncluded; SupportedExtensions = supportedExtensions; } @@ -19486,6 +22384,7 @@ IReadOnlyList supportedExtensions public bool IsTitleSupported { get; } public bool IsURISupported { get; } public bool IsVersionSupported { get; } + public bool IsLearningStandardContentStandardAuthorsItemCreatable { get; } public Func IsLearningStandardContentStandardAuthorIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -19520,6 +22419,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "LearningStandardContentStandardAuthors": + return IsLearningStandardContentStandardAuthorsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19573,6 +22483,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19665,6 +22584,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19745,6 +22673,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -19792,6 +22729,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19849,6 +22795,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19909,6 +22864,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19989,6 +22953,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20063,6 +23036,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20137,6 +23119,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20211,6 +23202,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20285,6 +23285,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20330,6 +23339,7 @@ public LocalAccountMappingContract( bool isChartOfAccountReferenceSupported, bool isEducationOrganizationReferenceSupported, bool isLocalAccountReportingTagsSupported, + bool isLocalAccountReportingTagsItemCreatable, Func isLocalAccountReportingTagIncluded, IReadOnlyList supportedExtensions ) @@ -20340,6 +23350,7 @@ IReadOnlyList supportedExtensions IsChartOfAccountReferenceSupported = isChartOfAccountReferenceSupported; IsEducationOrganizationReferenceSupported = isEducationOrganizationReferenceSupported; IsLocalAccountReportingTagsSupported = isLocalAccountReportingTagsSupported; + IsLocalAccountReportingTagsItemCreatable = isLocalAccountReportingTagsItemCreatable; IsLocalAccountReportingTagIncluded = isLocalAccountReportingTagIncluded; SupportedExtensions = supportedExtensions; } @@ -20350,6 +23361,7 @@ IReadOnlyList supportedExtensions public bool IsChartOfAccountReferenceSupported { get; } public bool IsEducationOrganizationReferenceSupported { get; } public bool IsLocalAccountReportingTagsSupported { get; } + public bool IsLocalAccountReportingTagsItemCreatable { get; } public Func IsLocalAccountReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -20380,6 +23392,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "LocalAccountReportingTags": + return IsLocalAccountReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20439,6 +23462,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20522,6 +23554,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20605,6 +23646,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20699,6 +23749,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20779,6 +23838,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20836,13 +23904,21 @@ public LocalEducationAgencyMappingContract( bool isStateEducationAgencyIdSupported, bool isStateEducationAgencyReferenceSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, + bool isLocalEducationAgencyAccountabilitiesItemCreatable, Func isLocalEducationAgencyAccountabilityIncluded, + bool isLocalEducationAgencyFederalFundsItemCreatable, Func isLocalEducationAgencyFederalFundsIncluded, IReadOnlyList supportedExtensions ) @@ -20867,13 +23943,21 @@ IReadOnlyList supportedExtensions IsStateEducationAgencyIdSupported = isStateEducationAgencyIdSupported; IsStateEducationAgencyReferenceSupported = isStateEducationAgencyReferenceSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; + IsLocalEducationAgencyAccountabilitiesItemCreatable = isLocalEducationAgencyAccountabilitiesItemCreatable; IsLocalEducationAgencyAccountabilityIncluded = isLocalEducationAgencyAccountabilityIncluded; + IsLocalEducationAgencyFederalFundsItemCreatable = isLocalEducationAgencyFederalFundsItemCreatable; IsLocalEducationAgencyFederalFundsIncluded = isLocalEducationAgencyFederalFundsIncluded; SupportedExtensions = supportedExtensions; } @@ -20898,13 +23982,21 @@ IReadOnlyList supportedExtensions public bool IsStateEducationAgencyIdSupported { get; } public bool IsStateEducationAgencyReferenceSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } + public bool IsLocalEducationAgencyAccountabilitiesItemCreatable { get; } public Func IsLocalEducationAgencyAccountabilityIncluded { get; } + public bool IsLocalEducationAgencyFederalFundsItemCreatable { get; } public Func IsLocalEducationAgencyFederalFundsIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -20959,6 +24051,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + case "LocalEducationAgencyAccountabilities": + return IsLocalEducationAgencyAccountabilitiesItemCreatable; + case "LocalEducationAgencyFederalFunds": + return IsLocalEducationAgencyFederalFundsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21030,6 +24147,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21110,6 +24236,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21205,6 +24340,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21288,6 +24432,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21382,6 +24535,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21456,6 +24618,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21536,6 +24707,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21610,6 +24790,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21684,6 +24873,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21758,6 +24956,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21832,6 +25039,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21906,6 +25122,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21980,6 +25205,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22054,6 +25288,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22128,6 +25371,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22161,18 +25413,21 @@ public class ObjectDimensionMappingContract : IMappingContract, IExtensionsMappi public ObjectDimensionMappingContract( bool isCodeNameSupported, bool isObjectDimensionReportingTagsSupported, + bool isObjectDimensionReportingTagsItemCreatable, Func isObjectDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsObjectDimensionReportingTagsSupported = isObjectDimensionReportingTagsSupported; + IsObjectDimensionReportingTagsItemCreatable = isObjectDimensionReportingTagsItemCreatable; IsObjectDimensionReportingTagIncluded = isObjectDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsObjectDimensionReportingTagsSupported { get; } + public bool IsObjectDimensionReportingTagsItemCreatable { get; } public Func IsObjectDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -22193,6 +25448,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ObjectDimensionReportingTags": + return IsObjectDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22246,6 +25512,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22309,9 +25584,13 @@ public ObjectiveAssessmentMappingContract( bool isParentIdentificationCodeSupported, bool isParentObjectiveAssessmentReferenceSupported, bool isPercentOfAssessmentSupported, + bool isObjectiveAssessmentAssessmentItemsItemCreatable, Func isObjectiveAssessmentAssessmentItemIncluded, + bool isObjectiveAssessmentLearningStandardsItemCreatable, Func isObjectiveAssessmentLearningStandardIncluded, + bool isObjectiveAssessmentPerformanceLevelsItemCreatable, Func isObjectiveAssessmentPerformanceLevelIncluded, + bool isObjectiveAssessmentScoresItemCreatable, Func isObjectiveAssessmentScoreIncluded, IReadOnlyList supportedExtensions ) @@ -22328,9 +25607,13 @@ IReadOnlyList supportedExtensions IsParentIdentificationCodeSupported = isParentIdentificationCodeSupported; IsParentObjectiveAssessmentReferenceSupported = isParentObjectiveAssessmentReferenceSupported; IsPercentOfAssessmentSupported = isPercentOfAssessmentSupported; + IsObjectiveAssessmentAssessmentItemsItemCreatable = isObjectiveAssessmentAssessmentItemsItemCreatable; IsObjectiveAssessmentAssessmentItemIncluded = isObjectiveAssessmentAssessmentItemIncluded; + IsObjectiveAssessmentLearningStandardsItemCreatable = isObjectiveAssessmentLearningStandardsItemCreatable; IsObjectiveAssessmentLearningStandardIncluded = isObjectiveAssessmentLearningStandardIncluded; + IsObjectiveAssessmentPerformanceLevelsItemCreatable = isObjectiveAssessmentPerformanceLevelsItemCreatable; IsObjectiveAssessmentPerformanceLevelIncluded = isObjectiveAssessmentPerformanceLevelIncluded; + IsObjectiveAssessmentScoresItemCreatable = isObjectiveAssessmentScoresItemCreatable; IsObjectiveAssessmentScoreIncluded = isObjectiveAssessmentScoreIncluded; SupportedExtensions = supportedExtensions; } @@ -22347,9 +25630,13 @@ IReadOnlyList supportedExtensions public bool IsParentIdentificationCodeSupported { get; } public bool IsParentObjectiveAssessmentReferenceSupported { get; } public bool IsPercentOfAssessmentSupported { get; } + public bool IsObjectiveAssessmentAssessmentItemsItemCreatable { get; } public Func IsObjectiveAssessmentAssessmentItemIncluded { get; } + public bool IsObjectiveAssessmentLearningStandardsItemCreatable { get; } public Func IsObjectiveAssessmentLearningStandardIncluded { get; } + public bool IsObjectiveAssessmentPerformanceLevelsItemCreatable { get; } public Func IsObjectiveAssessmentPerformanceLevelIncluded { get; } + public bool IsObjectiveAssessmentScoresItemCreatable { get; } public Func IsObjectiveAssessmentScoreIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -22392,6 +25679,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ObjectiveAssessmentAssessmentItems": + return IsObjectiveAssessmentAssessmentItemsItemCreatable; + case "ObjectiveAssessmentLearningStandards": + return IsObjectiveAssessmentLearningStandardsItemCreatable; + case "ObjectiveAssessmentPerformanceLevels": + return IsObjectiveAssessmentPerformanceLevelsItemCreatable; + case "ObjectiveAssessmentScores": + return IsObjectiveAssessmentScoresItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22452,6 +25756,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22512,6 +25825,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22593,6 +25915,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22664,6 +25995,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22744,6 +26084,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22794,7 +26143,9 @@ public OpenStaffPositionMappingContract( bool isPostingResultDescriptorSupported, bool isProgramAssignmentDescriptorSupported, bool isStaffClassificationDescriptorSupported, + bool isOpenStaffPositionAcademicSubjectsItemCreatable, Func isOpenStaffPositionAcademicSubjectIncluded, + bool isOpenStaffPositionInstructionalGradeLevelsItemCreatable, Func isOpenStaffPositionInstructionalGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -22809,7 +26160,9 @@ IReadOnlyList supportedExtensions IsPostingResultDescriptorSupported = isPostingResultDescriptorSupported; IsProgramAssignmentDescriptorSupported = isProgramAssignmentDescriptorSupported; IsStaffClassificationDescriptorSupported = isStaffClassificationDescriptorSupported; + IsOpenStaffPositionAcademicSubjectsItemCreatable = isOpenStaffPositionAcademicSubjectsItemCreatable; IsOpenStaffPositionAcademicSubjectIncluded = isOpenStaffPositionAcademicSubjectIncluded; + IsOpenStaffPositionInstructionalGradeLevelsItemCreatable = isOpenStaffPositionInstructionalGradeLevelsItemCreatable; IsOpenStaffPositionInstructionalGradeLevelIncluded = isOpenStaffPositionInstructionalGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -22824,7 +26177,9 @@ IReadOnlyList supportedExtensions public bool IsPostingResultDescriptorSupported { get; } public bool IsProgramAssignmentDescriptorSupported { get; } public bool IsStaffClassificationDescriptorSupported { get; } + public bool IsOpenStaffPositionAcademicSubjectsItemCreatable { get; } public Func IsOpenStaffPositionAcademicSubjectIncluded { get; } + public bool IsOpenStaffPositionInstructionalGradeLevelsItemCreatable { get; } public Func IsOpenStaffPositionInstructionalGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -22861,6 +26216,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "OpenStaffPositionAcademicSubjects": + return IsOpenStaffPositionAcademicSubjectsItemCreatable; + case "OpenStaffPositionInstructionalGradeLevels": + return IsOpenStaffPositionInstructionalGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22914,6 +26282,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22967,6 +26344,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23047,6 +26433,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -23080,18 +26475,21 @@ public class OperationalUnitDimensionMappingContract : IMappingContract, IExtens public OperationalUnitDimensionMappingContract( bool isCodeNameSupported, bool isOperationalUnitDimensionReportingTagsSupported, + bool isOperationalUnitDimensionReportingTagsItemCreatable, Func isOperationalUnitDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsOperationalUnitDimensionReportingTagsSupported = isOperationalUnitDimensionReportingTagsSupported; + IsOperationalUnitDimensionReportingTagsItemCreatable = isOperationalUnitDimensionReportingTagsItemCreatable; IsOperationalUnitDimensionReportingTagIncluded = isOperationalUnitDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsOperationalUnitDimensionReportingTagsSupported { get; } + public bool IsOperationalUnitDimensionReportingTagsItemCreatable { get; } public Func IsOperationalUnitDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23112,6 +26510,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "OperationalUnitDimensionReportingTags": + return IsOperationalUnitDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23165,6 +26574,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23215,11 +26633,17 @@ public OrganizationDepartmentMappingContract( bool isParentEducationOrganizationReferenceSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -23237,11 +26661,17 @@ IReadOnlyList supportedExtensions IsParentEducationOrganizationReferenceSupported = isParentEducationOrganizationReferenceSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -23259,11 +26689,17 @@ IReadOnlyList supportedExtensions public bool IsParentEducationOrganizationReferenceSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23304,6 +26740,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23384,6 +26841,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -23451,12 +26917,19 @@ public ParentMappingContract( bool isPersonReferenceSupported, bool isSexDescriptorSupported, bool isSourceSystemDescriptorSupported, + bool isParentAddressesItemCreatable, Func isParentAddressIncluded, + bool isParentElectronicMailsItemCreatable, Func isParentElectronicMailIncluded, + bool isParentInternationalAddressesItemCreatable, Func isParentInternationalAddressIncluded, + bool isParentLanguagesItemCreatable, Func isParentLanguageIncluded, + bool isParentOtherNamesItemCreatable, Func isParentOtherNameIncluded, + bool isParentPersonalIdentificationDocumentsItemCreatable, Func isParentPersonalIdentificationDocumentIncluded, + bool isParentTelephonesItemCreatable, Func isParentTelephoneIncluded, IReadOnlyList supportedExtensions ) @@ -23481,12 +26954,19 @@ IReadOnlyList supportedExtensions IsPersonReferenceSupported = isPersonReferenceSupported; IsSexDescriptorSupported = isSexDescriptorSupported; IsSourceSystemDescriptorSupported = isSourceSystemDescriptorSupported; + IsParentAddressesItemCreatable = isParentAddressesItemCreatable; IsParentAddressIncluded = isParentAddressIncluded; + IsParentElectronicMailsItemCreatable = isParentElectronicMailsItemCreatable; IsParentElectronicMailIncluded = isParentElectronicMailIncluded; + IsParentInternationalAddressesItemCreatable = isParentInternationalAddressesItemCreatable; IsParentInternationalAddressIncluded = isParentInternationalAddressIncluded; + IsParentLanguagesItemCreatable = isParentLanguagesItemCreatable; IsParentLanguageIncluded = isParentLanguageIncluded; + IsParentOtherNamesItemCreatable = isParentOtherNamesItemCreatable; IsParentOtherNameIncluded = isParentOtherNameIncluded; + IsParentPersonalIdentificationDocumentsItemCreatable = isParentPersonalIdentificationDocumentsItemCreatable; IsParentPersonalIdentificationDocumentIncluded = isParentPersonalIdentificationDocumentIncluded; + IsParentTelephonesItemCreatable = isParentTelephonesItemCreatable; IsParentTelephoneIncluded = isParentTelephoneIncluded; SupportedExtensions = supportedExtensions; } @@ -23511,12 +26991,19 @@ IReadOnlyList supportedExtensions public bool IsPersonReferenceSupported { get; } public bool IsSexDescriptorSupported { get; } public bool IsSourceSystemDescriptorSupported { get; } + public bool IsParentAddressesItemCreatable { get; } public Func IsParentAddressIncluded { get; } + public bool IsParentElectronicMailsItemCreatable { get; } public Func IsParentElectronicMailIncluded { get; } + public bool IsParentInternationalAddressesItemCreatable { get; } public Func IsParentInternationalAddressIncluded { get; } + public bool IsParentLanguagesItemCreatable { get; } public Func IsParentLanguageIncluded { get; } + public bool IsParentOtherNamesItemCreatable { get; } public Func IsParentOtherNameIncluded { get; } + public bool IsParentPersonalIdentificationDocumentsItemCreatable { get; } public Func IsParentPersonalIdentificationDocumentIncluded { get; } + public bool IsParentTelephonesItemCreatable { get; } public Func IsParentTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23569,6 +27056,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ParentAddresses": + return IsParentAddressesItemCreatable; + case "ParentElectronicMails": + return IsParentElectronicMailsItemCreatable; + case "ParentInternationalAddresses": + return IsParentInternationalAddressesItemCreatable; + case "ParentLanguages": + return IsParentLanguagesItemCreatable; + case "ParentOtherNames": + return IsParentOtherNamesItemCreatable; + case "ParentPersonalIdentificationDocuments": + return IsParentPersonalIdentificationDocumentsItemCreatable; + case "ParentTelephones": + return IsParentTelephonesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23631,6 +27141,7 @@ public ParentAddressMappingContract( bool isLongitudeSupported, bool isNameOfCountySupported, bool isParentAddressPeriodsSupported, + bool isParentAddressPeriodsItemCreatable, Func isParentAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -23645,6 +27156,7 @@ IReadOnlyList supportedExtensions IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; IsParentAddressPeriodsSupported = isParentAddressPeriodsSupported; + IsParentAddressPeriodsItemCreatable = isParentAddressPeriodsItemCreatable; IsParentAddressPeriodIncluded = isParentAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -23659,6 +27171,7 @@ IReadOnlyList supportedExtensions public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } public bool IsParentAddressPeriodsSupported { get; } + public bool IsParentAddressPeriodsItemCreatable { get; } public Func IsParentAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23701,6 +27214,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ParentAddressPeriods": + return IsParentAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23760,6 +27284,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23829,6 +27362,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23936,6 +27478,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23972,16 +27523,19 @@ public class ParentLanguageMappingContract : IMappingContract, IExtensionsMappin { public ParentLanguageMappingContract( bool isParentLanguageUsesSupported, + bool isParentLanguageUsesItemCreatable, Func isParentLanguageUseIncluded, IReadOnlyList supportedExtensions ) { IsParentLanguageUsesSupported = isParentLanguageUsesSupported; + IsParentLanguageUsesItemCreatable = isParentLanguageUsesItemCreatable; IsParentLanguageUseIncluded = isParentLanguageUseIncluded; SupportedExtensions = supportedExtensions; } public bool IsParentLanguageUsesSupported { get; } + public bool IsParentLanguageUsesItemCreatable { get; } public Func IsParentLanguageUseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23998,6 +27552,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ParentLanguageUses": + return IsParentLanguageUsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24051,6 +27616,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24134,6 +27708,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24221,6 +27804,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24296,6 +27888,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24376,6 +27977,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24450,6 +28060,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24524,6 +28143,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24598,6 +28226,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24648,6 +28285,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24728,6 +28374,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24802,6 +28457,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24876,6 +28540,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24950,6 +28623,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25023,6 +28705,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25103,6 +28794,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25146,12 +28846,19 @@ public PostSecondaryInstitutionMappingContract( bool isPostSecondaryInstitutionMediumOfInstructionsSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, + bool isPostSecondaryInstitutionMediumOfInstructionsItemCreatable, Func isPostSecondaryInstitutionMediumOfInstructionIncluded, IReadOnlyList supportedExtensions ) @@ -25169,12 +28876,19 @@ IReadOnlyList supportedExtensions IsPostSecondaryInstitutionMediumOfInstructionsSupported = isPostSecondaryInstitutionMediumOfInstructionsSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; + IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable = isPostSecondaryInstitutionMediumOfInstructionsItemCreatable; IsPostSecondaryInstitutionMediumOfInstructionIncluded = isPostSecondaryInstitutionMediumOfInstructionIncluded; SupportedExtensions = supportedExtensions; } @@ -25192,12 +28906,19 @@ IReadOnlyList supportedExtensions public bool IsPostSecondaryInstitutionMediumOfInstructionsSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } + public bool IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable { get; } public Func IsPostSecondaryInstitutionMediumOfInstructionIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -25238,6 +28959,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + case "PostSecondaryInstitutionMediumOfInstructions": + return IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25318,6 +29062,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25365,6 +29118,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25445,6 +29207,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25519,6 +29290,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25593,6 +29373,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25667,6 +29456,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25713,10 +29511,15 @@ public ProgramMappingContract( bool isProgramLearningStandardsSupported, bool isProgramServicesSupported, bool isProgramSponsorsSupported, + bool isProgramCharacteristicsItemCreatable, Func isProgramCharacteristicIncluded, + bool isProgramLearningObjectivesItemCreatable, Func isProgramLearningObjectiveIncluded, + bool isProgramLearningStandardsItemCreatable, Func isProgramLearningStandardIncluded, + bool isProgramServicesItemCreatable, Func isProgramServiceIncluded, + bool isProgramSponsorsItemCreatable, Func isProgramSponsorIncluded, IReadOnlyList supportedExtensions ) @@ -25728,10 +29531,15 @@ IReadOnlyList supportedExtensions IsProgramLearningStandardsSupported = isProgramLearningStandardsSupported; IsProgramServicesSupported = isProgramServicesSupported; IsProgramSponsorsSupported = isProgramSponsorsSupported; + IsProgramCharacteristicsItemCreatable = isProgramCharacteristicsItemCreatable; IsProgramCharacteristicIncluded = isProgramCharacteristicIncluded; + IsProgramLearningObjectivesItemCreatable = isProgramLearningObjectivesItemCreatable; IsProgramLearningObjectiveIncluded = isProgramLearningObjectiveIncluded; + IsProgramLearningStandardsItemCreatable = isProgramLearningStandardsItemCreatable; IsProgramLearningStandardIncluded = isProgramLearningStandardIncluded; + IsProgramServicesItemCreatable = isProgramServicesItemCreatable; IsProgramServiceIncluded = isProgramServiceIncluded; + IsProgramSponsorsItemCreatable = isProgramSponsorsItemCreatable; IsProgramSponsorIncluded = isProgramSponsorIncluded; SupportedExtensions = supportedExtensions; } @@ -25743,10 +29551,15 @@ IReadOnlyList supportedExtensions public bool IsProgramLearningStandardsSupported { get; } public bool IsProgramServicesSupported { get; } public bool IsProgramSponsorsSupported { get; } + public bool IsProgramCharacteristicsItemCreatable { get; } public Func IsProgramCharacteristicIncluded { get; } + public bool IsProgramLearningObjectivesItemCreatable { get; } public Func IsProgramLearningObjectiveIncluded { get; } + public bool IsProgramLearningStandardsItemCreatable { get; } public Func IsProgramLearningStandardIncluded { get; } + public bool IsProgramServicesItemCreatable { get; } public Func IsProgramServiceIncluded { get; } + public bool IsProgramSponsorsItemCreatable { get; } public Func IsProgramSponsorIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -25779,6 +29592,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProgramCharacteristics": + return IsProgramCharacteristicsItemCreatable; + case "ProgramLearningObjectives": + return IsProgramLearningObjectivesItemCreatable; + case "ProgramLearningStandards": + return IsProgramLearningStandardsItemCreatable; + case "ProgramServices": + return IsProgramServicesItemCreatable; + case "ProgramSponsors": + return IsProgramSponsorsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25859,6 +29691,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25906,6 +29747,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25986,6 +29836,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26019,18 +29878,21 @@ public class ProgramDimensionMappingContract : IMappingContract, IExtensionsMapp public ProgramDimensionMappingContract( bool isCodeNameSupported, bool isProgramDimensionReportingTagsSupported, + bool isProgramDimensionReportingTagsItemCreatable, Func isProgramDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsProgramDimensionReportingTagsSupported = isProgramDimensionReportingTagsSupported; + IsProgramDimensionReportingTagsItemCreatable = isProgramDimensionReportingTagsItemCreatable; IsProgramDimensionReportingTagIncluded = isProgramDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsProgramDimensionReportingTagsSupported { get; } + public bool IsProgramDimensionReportingTagsItemCreatable { get; } public Func IsProgramDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -26051,6 +29913,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProgramDimensionReportingTags": + return IsProgramDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26104,6 +29977,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26168,6 +30050,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26228,6 +30119,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26281,6 +30181,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26334,6 +30243,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26414,6 +30332,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26488,6 +30415,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26562,6 +30498,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26636,6 +30581,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26669,18 +30623,21 @@ public class ProjectDimensionMappingContract : IMappingContract, IExtensionsMapp public ProjectDimensionMappingContract( bool isCodeNameSupported, bool isProjectDimensionReportingTagsSupported, + bool isProjectDimensionReportingTagsItemCreatable, Func isProjectDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsProjectDimensionReportingTagsSupported = isProjectDimensionReportingTagsSupported; + IsProjectDimensionReportingTagsItemCreatable = isProjectDimensionReportingTagsItemCreatable; IsProjectDimensionReportingTagIncluded = isProjectDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsProjectDimensionReportingTagsSupported { get; } + public bool IsProjectDimensionReportingTagsItemCreatable { get; } public Func IsProjectDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -26701,6 +30658,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProjectDimensionReportingTags": + return IsProjectDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26754,6 +30722,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26834,6 +30811,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26908,6 +30894,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26982,6 +30977,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27056,6 +31060,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27130,6 +31143,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27204,6 +31226,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27278,75 +31309,10 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - } - - /// - /// Defines available properties and methods for the abstraction of the ReasonNotTestedDescriptor model. - /// - public interface IReasonNotTestedDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int ReasonNotTestedDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class ReasonNotTestedDescriptorMappingContract : IMappingContract - { - public ReasonNotTestedDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "ReasonNotTestedDescriptorId": - return true; default: throw new Exception($"Unknown member '{memberName}'."); } @@ -27355,13 +31321,13 @@ bool IMappingContract.IsMemberSupported(string memberName) } /// - /// Defines available properties and methods for the abstraction of the RecognitionTypeDescriptor model. + /// Defines available properties and methods for the abstraction of the ReasonNotTestedDescriptor model. /// - public interface IRecognitionTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + public interface IReasonNotTestedDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample { // Primary Key properties [AutoIncrement] - int RecognitionTypeDescriptorId { get; set; } + int ReasonNotTestedDescriptorId { get; set; } // Non-PK properties @@ -27376,9 +31342,9 @@ public interface IRecognitionTypeDescriptor : EdFi.IDescriptor, ISynchronizable, /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized /// between entities/resources during API request processing. /// - public class RecognitionTypeDescriptorMappingContract : IMappingContract + public class ReasonNotTestedDescriptorMappingContract : IMappingContract { - public RecognitionTypeDescriptorMappingContract( + public ReasonNotTestedDescriptorMappingContract( bool isCodeValueSupported, bool isDescriptionSupported, bool isEffectiveBeginDateSupported, @@ -27419,82 +31385,17 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "RecognitionTypeDescriptorId": + case "ReasonNotTestedDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - } - - /// - /// Defines available properties and methods for the abstraction of the RelationDescriptor model. - /// - public interface IRelationDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int RelationDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class RelationDescriptorMappingContract : IMappingContract - { - public RelationDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "RelationDescriptorId": - return true; default: throw new Exception($"Unknown member '{memberName}'."); } @@ -27503,13 +31404,13 @@ bool IMappingContract.IsMemberSupported(string memberName) } /// - /// Defines available properties and methods for the abstraction of the RepeatIdentifierDescriptor model. + /// Defines available properties and methods for the abstraction of the RecognitionTypeDescriptor model. /// - public interface IRepeatIdentifierDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + public interface IRecognitionTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample { // Primary Key properties [AutoIncrement] - int RepeatIdentifierDescriptorId { get; set; } + int RecognitionTypeDescriptorId { get; set; } // Non-PK properties @@ -27524,9 +31425,175 @@ public interface IRepeatIdentifierDescriptor : EdFi.IDescriptor, ISynchronizable /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized /// between entities/resources during API request processing. /// - public class RepeatIdentifierDescriptorMappingContract : IMappingContract + public class RecognitionTypeDescriptorMappingContract : IMappingContract { - public RepeatIdentifierDescriptorMappingContract( + public RecognitionTypeDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) + { + switch (memberName) + { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "RecognitionTypeDescriptorId": + return true; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + } + + /// + /// Defines available properties and methods for the abstraction of the RelationDescriptor model. + /// + public interface IRelationDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int RelationDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class RelationDescriptorMappingContract : IMappingContract + { + public RelationDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) + { + switch (memberName) + { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "RelationDescriptorId": + return true; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + } + + /// + /// Defines available properties and methods for the abstraction of the RepeatIdentifierDescriptor model. + /// + public interface IRepeatIdentifierDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int RepeatIdentifierDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class RepeatIdentifierDescriptorMappingContract : IMappingContract + { + public RepeatIdentifierDescriptorMappingContract( bool isCodeValueSupported, bool isDescriptionSupported, bool isEffectiveBeginDateSupported, @@ -27574,6 +31641,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27638,9 +31714,13 @@ public ReportCardMappingContract( bool isReportCardStudentCompetencyObjectivesSupported, bool isReportCardStudentLearningObjectivesSupported, bool isStudentReferenceSupported, + bool isReportCardGradesItemCreatable, Func isReportCardGradeIncluded, + bool isReportCardGradePointAveragesItemCreatable, Func isReportCardGradePointAverageIncluded, + bool isReportCardStudentCompetencyObjectivesItemCreatable, Func isReportCardStudentCompetencyObjectiveIncluded, + bool isReportCardStudentLearningObjectivesItemCreatable, Func isReportCardStudentLearningObjectiveIncluded, IReadOnlyList supportedExtensions ) @@ -27657,9 +31737,13 @@ IReadOnlyList supportedExtensions IsReportCardStudentCompetencyObjectivesSupported = isReportCardStudentCompetencyObjectivesSupported; IsReportCardStudentLearningObjectivesSupported = isReportCardStudentLearningObjectivesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsReportCardGradesItemCreatable = isReportCardGradesItemCreatable; IsReportCardGradeIncluded = isReportCardGradeIncluded; + IsReportCardGradePointAveragesItemCreatable = isReportCardGradePointAveragesItemCreatable; IsReportCardGradePointAverageIncluded = isReportCardGradePointAverageIncluded; + IsReportCardStudentCompetencyObjectivesItemCreatable = isReportCardStudentCompetencyObjectivesItemCreatable; IsReportCardStudentCompetencyObjectiveIncluded = isReportCardStudentCompetencyObjectiveIncluded; + IsReportCardStudentLearningObjectivesItemCreatable = isReportCardStudentLearningObjectivesItemCreatable; IsReportCardStudentLearningObjectiveIncluded = isReportCardStudentLearningObjectiveIncluded; SupportedExtensions = supportedExtensions; } @@ -27676,9 +31760,13 @@ 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; } + public bool IsReportCardStudentCompetencyObjectivesItemCreatable { get; } public Func IsReportCardStudentCompetencyObjectiveIncluded { get; } + public bool IsReportCardStudentLearningObjectivesItemCreatable { get; } public Func IsReportCardStudentLearningObjectiveIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -27727,6 +31815,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ReportCardGrades": + return IsReportCardGradesItemCreatable; + case "ReportCardGradePointAverages": + return IsReportCardGradePointAveragesItemCreatable; + case "ReportCardStudentCompetencyObjectives": + return IsReportCardStudentCompetencyObjectivesItemCreatable; + case "ReportCardStudentLearningObjectives": + return IsReportCardStudentLearningObjectivesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -27811,6 +31916,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -27882,6 +31996,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -27950,6 +32073,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28014,6 +32146,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28094,6 +32235,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28168,6 +32318,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28242,6 +32401,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28316,6 +32484,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28390,6 +32567,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28434,7 +32620,9 @@ public RestraintEventMappingContract( bool isRestraintEventReasonsSupported, bool isSchoolReferenceSupported, bool isStudentReferenceSupported, + bool isRestraintEventProgramsItemCreatable, Func isRestraintEventProgramIncluded, + bool isRestraintEventReasonsItemCreatable, Func isRestraintEventReasonIncluded, IReadOnlyList supportedExtensions ) @@ -28445,7 +32633,9 @@ IReadOnlyList supportedExtensions IsRestraintEventReasonsSupported = isRestraintEventReasonsSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsRestraintEventProgramsItemCreatable = isRestraintEventProgramsItemCreatable; IsRestraintEventProgramIncluded = isRestraintEventProgramIncluded; + IsRestraintEventReasonsItemCreatable = isRestraintEventReasonsItemCreatable; IsRestraintEventReasonIncluded = isRestraintEventReasonIncluded; SupportedExtensions = supportedExtensions; } @@ -28456,7 +32646,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -28487,6 +32679,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "RestraintEventPrograms": + return IsRestraintEventProgramsItemCreatable; + case "RestraintEventReasons": + return IsRestraintEventReasonsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28555,6 +32760,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28608,6 +32822,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28688,6 +32911,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28762,6 +32994,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28836,6 +33077,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28899,13 +33149,21 @@ public SchoolMappingContract( bool isShortNameOfInstitutionSupported, bool isTitleIPartASchoolDesignationDescriptorSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, + bool isSchoolCategoriesItemCreatable, Func isSchoolCategoryIncluded, + bool isSchoolGradeLevelsItemCreatable, Func isSchoolGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -28933,13 +33191,21 @@ IReadOnlyList supportedExtensions IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsTitleIPartASchoolDesignationDescriptorSupported = isTitleIPartASchoolDesignationDescriptorSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; + IsSchoolCategoriesItemCreatable = isSchoolCategoriesItemCreatable; IsSchoolCategoryIncluded = isSchoolCategoryIncluded; + IsSchoolGradeLevelsItemCreatable = isSchoolGradeLevelsItemCreatable; IsSchoolGradeLevelIncluded = isSchoolGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -28967,13 +33233,21 @@ IReadOnlyList supportedExtensions public bool IsShortNameOfInstitutionSupported { get; } public bool IsTitleIPartASchoolDesignationDescriptorSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } + public bool IsSchoolCategoriesItemCreatable { get; } public Func IsSchoolCategoryIncluded { get; } + public bool IsSchoolGradeLevelsItemCreatable { get; } public Func IsSchoolGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -29034,6 +33308,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + case "SchoolCategories": + return IsSchoolCategoriesItemCreatable; + case "SchoolGradeLevels": + return IsSchoolGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29087,6 +33386,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29167,6 +33475,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29241,6 +33558,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29315,6 +33641,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29362,6 +33697,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29442,6 +33786,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29500,6 +33853,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29583,10 +33945,15 @@ public SectionMappingContract( bool isSectionOfferedGradeLevelsSupported, bool isSectionProgramsSupported, bool isSequenceOfCourseSupported, + bool isSectionCharacteristicsItemCreatable, Func isSectionCharacteristicIncluded, + bool isSectionClassPeriodsItemCreatable, Func isSectionClassPeriodIncluded, + bool isSectionCourseLevelCharacteristicsItemCreatable, Func isSectionCourseLevelCharacteristicIncluded, + bool isSectionOfferedGradeLevelsItemCreatable, Func isSectionOfferedGradeLevelIncluded, + bool isSectionProgramsItemCreatable, Func isSectionProgramIncluded, IReadOnlyList supportedExtensions ) @@ -29611,10 +33978,15 @@ IReadOnlyList supportedExtensions IsSectionOfferedGradeLevelsSupported = isSectionOfferedGradeLevelsSupported; IsSectionProgramsSupported = isSectionProgramsSupported; IsSequenceOfCourseSupported = isSequenceOfCourseSupported; + IsSectionCharacteristicsItemCreatable = isSectionCharacteristicsItemCreatable; IsSectionCharacteristicIncluded = isSectionCharacteristicIncluded; + IsSectionClassPeriodsItemCreatable = isSectionClassPeriodsItemCreatable; IsSectionClassPeriodIncluded = isSectionClassPeriodIncluded; + IsSectionCourseLevelCharacteristicsItemCreatable = isSectionCourseLevelCharacteristicsItemCreatable; IsSectionCourseLevelCharacteristicIncluded = isSectionCourseLevelCharacteristicIncluded; + IsSectionOfferedGradeLevelsItemCreatable = isSectionOfferedGradeLevelsItemCreatable; IsSectionOfferedGradeLevelIncluded = isSectionOfferedGradeLevelIncluded; + IsSectionProgramsItemCreatable = isSectionProgramsItemCreatable; IsSectionProgramIncluded = isSectionProgramIncluded; SupportedExtensions = supportedExtensions; } @@ -29639,10 +34011,15 @@ IReadOnlyList supportedExtensions public bool IsSectionOfferedGradeLevelsSupported { get; } public bool IsSectionProgramsSupported { get; } public bool IsSequenceOfCourseSupported { get; } + public bool IsSectionCharacteristicsItemCreatable { get; } public Func IsSectionCharacteristicIncluded { get; } + public bool IsSectionClassPeriodsItemCreatable { get; } public Func IsSectionClassPeriodIncluded { get; } + public bool IsSectionCourseLevelCharacteristicsItemCreatable { get; } public Func IsSectionCourseLevelCharacteristicIncluded { get; } + public bool IsSectionOfferedGradeLevelsItemCreatable { get; } public Func IsSectionOfferedGradeLevelIncluded { get; } + public bool IsSectionProgramsItemCreatable { get; } public Func IsSectionProgramIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -29705,6 +34082,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SectionCharacteristics": + return IsSectionCharacteristicsItemCreatable; + case "SectionClassPeriods": + return IsSectionClassPeriodsItemCreatable; + case "SectionCourseLevelCharacteristics": + return IsSectionCourseLevelCharacteristicsItemCreatable; + case "SectionOfferedGradeLevels": + return IsSectionOfferedGradeLevelsItemCreatable; + case "SectionPrograms": + return IsSectionProgramsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29814,6 +34210,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29867,6 +34272,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29947,6 +34361,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30001,6 +34424,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30054,6 +34486,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30107,6 +34548,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30175,6 +34625,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30255,6 +34714,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30329,6 +34797,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30403,6 +34880,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30450,7 +34936,9 @@ public SessionMappingContract( bool isSessionGradingPeriodsSupported, bool isTermDescriptorSupported, bool isTotalInstructionalDaysSupported, + bool isSessionAcademicWeeksItemCreatable, Func isSessionAcademicWeekIncluded, + bool isSessionGradingPeriodsItemCreatable, Func isSessionGradingPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -30463,7 +34951,9 @@ IReadOnlyList supportedExtensions IsSessionGradingPeriodsSupported = isSessionGradingPeriodsSupported; IsTermDescriptorSupported = isTermDescriptorSupported; IsTotalInstructionalDaysSupported = isTotalInstructionalDaysSupported; + IsSessionAcademicWeeksItemCreatable = isSessionAcademicWeeksItemCreatable; IsSessionAcademicWeekIncluded = isSessionAcademicWeekIncluded; + IsSessionGradingPeriodsItemCreatable = isSessionGradingPeriodsItemCreatable; IsSessionGradingPeriodIncluded = isSessionGradingPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -30476,7 +34966,9 @@ IReadOnlyList supportedExtensions public bool IsSessionGradingPeriodsSupported { get; } public bool IsTermDescriptorSupported { get; } public bool IsTotalInstructionalDaysSupported { get; } + public bool IsSessionAcademicWeeksItemCreatable { get; } public Func IsSessionAcademicWeekIncluded { get; } + public bool IsSessionGradingPeriodsItemCreatable { get; } public Func IsSessionGradingPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -30511,6 +35003,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SessionAcademicWeeks": + return IsSessionAcademicWeeksItemCreatable; + case "SessionGradingPeriods": + return IsSessionGradingPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30571,6 +35076,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30635,6 +35149,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30715,6 +35238,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30748,18 +35280,21 @@ public class SourceDimensionMappingContract : IMappingContract, IExtensionsMappi public SourceDimensionMappingContract( bool isCodeNameSupported, bool isSourceDimensionReportingTagsSupported, + bool isSourceDimensionReportingTagsItemCreatable, Func isSourceDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsSourceDimensionReportingTagsSupported = isSourceDimensionReportingTagsSupported; + IsSourceDimensionReportingTagsItemCreatable = isSourceDimensionReportingTagsItemCreatable; IsSourceDimensionReportingTagIncluded = isSourceDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsSourceDimensionReportingTagsSupported { get; } + public bool IsSourceDimensionReportingTagsItemCreatable { get; } public Func IsSourceDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -30780,6 +35315,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SourceDimensionReportingTags": + return IsSourceDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30833,6 +35379,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30913,6 +35468,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30987,6 +35551,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31061,6 +35634,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31158,20 +35740,35 @@ public StaffMappingContract( bool isStaffVisasSupported, bool isYearsOfPriorProfessionalExperienceSupported, bool isYearsOfPriorTeachingExperienceSupported, + bool isStaffAddressesItemCreatable, Func isStaffAddressIncluded, + bool isStaffAncestryEthnicOriginsItemCreatable, Func isStaffAncestryEthnicOriginIncluded, + bool isStaffCredentialsItemCreatable, Func isStaffCredentialIncluded, + bool isStaffElectronicMailsItemCreatable, Func isStaffElectronicMailIncluded, + bool isStaffIdentificationCodesItemCreatable, Func isStaffIdentificationCodeIncluded, + bool isStaffIdentificationDocumentsItemCreatable, Func isStaffIdentificationDocumentIncluded, + bool isStaffInternationalAddressesItemCreatable, Func isStaffInternationalAddressIncluded, + bool isStaffLanguagesItemCreatable, Func isStaffLanguageIncluded, + bool isStaffOtherNamesItemCreatable, Func isStaffOtherNameIncluded, + bool isStaffPersonalIdentificationDocumentsItemCreatable, Func isStaffPersonalIdentificationDocumentIncluded, + bool isStaffRacesItemCreatable, Func isStaffRaceIncluded, + bool isStaffRecognitionsItemCreatable, Func isStaffRecognitionIncluded, + bool isStaffTelephonesItemCreatable, Func isStaffTelephoneIncluded, + bool isStaffTribalAffiliationsItemCreatable, Func isStaffTribalAffiliationIncluded, + bool isStaffVisasItemCreatable, Func isStaffVisaIncluded, IReadOnlyList supportedExtensions ) @@ -31211,20 +35808,35 @@ IReadOnlyList supportedExtensions IsStaffVisasSupported = isStaffVisasSupported; IsYearsOfPriorProfessionalExperienceSupported = isYearsOfPriorProfessionalExperienceSupported; IsYearsOfPriorTeachingExperienceSupported = isYearsOfPriorTeachingExperienceSupported; + IsStaffAddressesItemCreatable = isStaffAddressesItemCreatable; IsStaffAddressIncluded = isStaffAddressIncluded; + IsStaffAncestryEthnicOriginsItemCreatable = isStaffAncestryEthnicOriginsItemCreatable; IsStaffAncestryEthnicOriginIncluded = isStaffAncestryEthnicOriginIncluded; + IsStaffCredentialsItemCreatable = isStaffCredentialsItemCreatable; IsStaffCredentialIncluded = isStaffCredentialIncluded; + IsStaffElectronicMailsItemCreatable = isStaffElectronicMailsItemCreatable; IsStaffElectronicMailIncluded = isStaffElectronicMailIncluded; + IsStaffIdentificationCodesItemCreatable = isStaffIdentificationCodesItemCreatable; IsStaffIdentificationCodeIncluded = isStaffIdentificationCodeIncluded; + IsStaffIdentificationDocumentsItemCreatable = isStaffIdentificationDocumentsItemCreatable; IsStaffIdentificationDocumentIncluded = isStaffIdentificationDocumentIncluded; + IsStaffInternationalAddressesItemCreatable = isStaffInternationalAddressesItemCreatable; IsStaffInternationalAddressIncluded = isStaffInternationalAddressIncluded; + IsStaffLanguagesItemCreatable = isStaffLanguagesItemCreatable; IsStaffLanguageIncluded = isStaffLanguageIncluded; + IsStaffOtherNamesItemCreatable = isStaffOtherNamesItemCreatable; IsStaffOtherNameIncluded = isStaffOtherNameIncluded; + IsStaffPersonalIdentificationDocumentsItemCreatable = isStaffPersonalIdentificationDocumentsItemCreatable; IsStaffPersonalIdentificationDocumentIncluded = isStaffPersonalIdentificationDocumentIncluded; + IsStaffRacesItemCreatable = isStaffRacesItemCreatable; IsStaffRaceIncluded = isStaffRaceIncluded; + IsStaffRecognitionsItemCreatable = isStaffRecognitionsItemCreatable; IsStaffRecognitionIncluded = isStaffRecognitionIncluded; + IsStaffTelephonesItemCreatable = isStaffTelephonesItemCreatable; IsStaffTelephoneIncluded = isStaffTelephoneIncluded; + IsStaffTribalAffiliationsItemCreatable = isStaffTribalAffiliationsItemCreatable; IsStaffTribalAffiliationIncluded = isStaffTribalAffiliationIncluded; + IsStaffVisasItemCreatable = isStaffVisasItemCreatable; IsStaffVisaIncluded = isStaffVisaIncluded; SupportedExtensions = supportedExtensions; } @@ -31264,20 +35876,35 @@ IReadOnlyList supportedExtensions public bool IsStaffVisasSupported { get; } public bool IsYearsOfPriorProfessionalExperienceSupported { get; } public bool IsYearsOfPriorTeachingExperienceSupported { get; } + public bool IsStaffAddressesItemCreatable { get; } public Func IsStaffAddressIncluded { get; } + public bool IsStaffAncestryEthnicOriginsItemCreatable { get; } public Func IsStaffAncestryEthnicOriginIncluded { get; } + public bool IsStaffCredentialsItemCreatable { get; } public Func IsStaffCredentialIncluded { get; } + public bool IsStaffElectronicMailsItemCreatable { get; } public Func IsStaffElectronicMailIncluded { get; } + public bool IsStaffIdentificationCodesItemCreatable { get; } public Func IsStaffIdentificationCodeIncluded { get; } + public bool IsStaffIdentificationDocumentsItemCreatable { get; } public Func IsStaffIdentificationDocumentIncluded { get; } + public bool IsStaffInternationalAddressesItemCreatable { get; } public Func IsStaffInternationalAddressIncluded { get; } + public bool IsStaffLanguagesItemCreatable { get; } public Func IsStaffLanguageIncluded { get; } + public bool IsStaffOtherNamesItemCreatable { get; } public Func IsStaffOtherNameIncluded { get; } + public bool IsStaffPersonalIdentificationDocumentsItemCreatable { get; } public Func IsStaffPersonalIdentificationDocumentIncluded { get; } + public bool IsStaffRacesItemCreatable { get; } public Func IsStaffRaceIncluded { get; } + public bool IsStaffRecognitionsItemCreatable { get; } public Func IsStaffRecognitionIncluded { get; } + public bool IsStaffTelephonesItemCreatable { get; } public Func IsStaffTelephoneIncluded { get; } + public bool IsStaffTribalAffiliationsItemCreatable { get; } public Func IsStaffTribalAffiliationIncluded { get; } + public bool IsStaffVisasItemCreatable { get; } public Func IsStaffVisaIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -31360,6 +35987,45 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffAddresses": + return IsStaffAddressesItemCreatable; + case "StaffAncestryEthnicOrigins": + return IsStaffAncestryEthnicOriginsItemCreatable; + case "StaffCredentials": + return IsStaffCredentialsItemCreatable; + case "StaffElectronicMails": + return IsStaffElectronicMailsItemCreatable; + case "StaffIdentificationCodes": + return IsStaffIdentificationCodesItemCreatable; + case "StaffIdentificationDocuments": + return IsStaffIdentificationDocumentsItemCreatable; + case "StaffInternationalAddresses": + return IsStaffInternationalAddressesItemCreatable; + case "StaffLanguages": + return IsStaffLanguagesItemCreatable; + case "StaffOtherNames": + return IsStaffOtherNamesItemCreatable; + case "StaffPersonalIdentificationDocuments": + return IsStaffPersonalIdentificationDocumentsItemCreatable; + case "StaffRaces": + return IsStaffRacesItemCreatable; + case "StaffRecognitions": + return IsStaffRecognitionsItemCreatable; + case "StaffTelephones": + return IsStaffTelephonesItemCreatable; + case "StaffTribalAffiliations": + return IsStaffTribalAffiliationsItemCreatable; + case "StaffVisas": + return IsStaffVisasItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31439,6 +36105,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31501,6 +36176,7 @@ public StaffAddressMappingContract( bool isLongitudeSupported, bool isNameOfCountySupported, bool isStaffAddressPeriodsSupported, + bool isStaffAddressPeriodsItemCreatable, Func isStaffAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -31515,6 +36191,7 @@ IReadOnlyList supportedExtensions IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; IsStaffAddressPeriodsSupported = isStaffAddressPeriodsSupported; + IsStaffAddressPeriodsItemCreatable = isStaffAddressPeriodsItemCreatable; IsStaffAddressPeriodIncluded = isStaffAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -31529,6 +36206,7 @@ IReadOnlyList supportedExtensions public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } public bool IsStaffAddressPeriodsSupported { get; } + public bool IsStaffAddressPeriodsItemCreatable { get; } public Func IsStaffAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -31571,6 +36249,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffAddressPeriods": + return IsStaffAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31630,6 +36319,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31683,6 +36381,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31763,6 +36470,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31847,6 +36563,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31911,6 +36636,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31956,6 +36690,7 @@ public StaffDisciplineIncidentAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported, bool isStaffReferenceSupported, + bool isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -31963,6 +36698,7 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; + IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -31970,6 +36706,7 @@ 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) @@ -31994,6 +36731,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes": + return IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32047,6 +36795,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32193,6 +36950,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32245,6 +37011,7 @@ public StaffEducationOrganizationContactAssociationMappingContract( bool isStaffEducationOrganizationContactAssociationAddressSupported, bool isStaffEducationOrganizationContactAssociationTelephonesSupported, bool isStaffReferenceSupported, + bool isStaffEducationOrganizationContactAssociationTelephonesItemCreatable, Func isStaffEducationOrganizationContactAssociationTelephoneIncluded, IReadOnlyList supportedExtensions ) @@ -32255,6 +37022,7 @@ IReadOnlyList supportedExtensions IsStaffEducationOrganizationContactAssociationAddressSupported = isStaffEducationOrganizationContactAssociationAddressSupported; IsStaffEducationOrganizationContactAssociationTelephonesSupported = isStaffEducationOrganizationContactAssociationTelephonesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; + IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable = isStaffEducationOrganizationContactAssociationTelephonesItemCreatable; IsStaffEducationOrganizationContactAssociationTelephoneIncluded = isStaffEducationOrganizationContactAssociationTelephoneIncluded; SupportedExtensions = supportedExtensions; } @@ -32265,6 +37033,7 @@ IReadOnlyList supportedExtensions public bool IsStaffEducationOrganizationContactAssociationAddressSupported { get; } public bool IsStaffEducationOrganizationContactAssociationTelephonesSupported { get; } public bool IsStaffReferenceSupported { get; } + public bool IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable { get; } public Func IsStaffEducationOrganizationContactAssociationTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -32295,6 +37064,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffEducationOrganizationContactAssociationTelephones": + return IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32357,6 +37137,7 @@ public StaffEducationOrganizationContactAssociationAddressMappingContract( bool isStaffEducationOrganizationContactAssociationAddressPeriodsSupported, bool isStateAbbreviationDescriptorSupported, bool isStreetNumberNameSupported, + bool isStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable, Func isStaffEducationOrganizationContactAssociationAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -32376,6 +37157,7 @@ IReadOnlyList supportedExtensions IsStaffEducationOrganizationContactAssociationAddressPeriodsSupported = isStaffEducationOrganizationContactAssociationAddressPeriodsSupported; IsStateAbbreviationDescriptorSupported = isStateAbbreviationDescriptorSupported; IsStreetNumberNameSupported = isStreetNumberNameSupported; + IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable = isStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable; IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded = isStaffEducationOrganizationContactAssociationAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -32395,6 +37177,7 @@ IReadOnlyList supportedExtensions public bool IsStaffEducationOrganizationContactAssociationAddressPeriodsSupported { get; } public bool IsStateAbbreviationDescriptorSupported { get; } public bool IsStreetNumberNameSupported { get; } + public bool IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable { get; } public Func IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -32437,6 +37220,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffEducationOrganizationContactAssociationAddressPeriods": + return IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32496,6 +37290,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32571,6 +37374,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32710,6 +37522,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32779,6 +37600,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32844,6 +37674,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32931,6 +37770,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33011,6 +37859,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -33112,6 +37969,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33148,16 +38014,19 @@ public class StaffLanguageMappingContract : IMappingContract, IExtensionsMapping { public StaffLanguageMappingContract( bool isStaffLanguageUsesSupported, + bool isStaffLanguageUsesItemCreatable, Func isStaffLanguageUseIncluded, IReadOnlyList supportedExtensions ) { IsStaffLanguageUsesSupported = isStaffLanguageUsesSupported; + IsStaffLanguageUsesItemCreatable = isStaffLanguageUsesItemCreatable; IsStaffLanguageUseIncluded = isStaffLanguageUseIncluded; SupportedExtensions = supportedExtensions; } public bool IsStaffLanguageUsesSupported { get; } + public bool IsStaffLanguageUsesItemCreatable { get; } public Func IsStaffLanguageUseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -33174,6 +38043,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffLanguageUses": + return IsStaffLanguageUsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33227,6 +38107,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33312,6 +38201,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33392,6 +38290,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -33469,6 +38376,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33556,6 +38472,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33650,6 +38575,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33703,6 +38637,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33828,6 +38771,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33883,7 +38835,9 @@ public StaffSchoolAssociationMappingContract( bool isStaffReferenceSupported, bool isStaffSchoolAssociationAcademicSubjectsSupported, bool isStaffSchoolAssociationGradeLevelsSupported, + bool isStaffSchoolAssociationAcademicSubjectsItemCreatable, Func isStaffSchoolAssociationAcademicSubjectIncluded, + bool isStaffSchoolAssociationGradeLevelsItemCreatable, Func isStaffSchoolAssociationGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -33896,7 +38850,9 @@ IReadOnlyList supportedExtensions IsStaffReferenceSupported = isStaffReferenceSupported; IsStaffSchoolAssociationAcademicSubjectsSupported = isStaffSchoolAssociationAcademicSubjectsSupported; IsStaffSchoolAssociationGradeLevelsSupported = isStaffSchoolAssociationGradeLevelsSupported; + IsStaffSchoolAssociationAcademicSubjectsItemCreatable = isStaffSchoolAssociationAcademicSubjectsItemCreatable; IsStaffSchoolAssociationAcademicSubjectIncluded = isStaffSchoolAssociationAcademicSubjectIncluded; + IsStaffSchoolAssociationGradeLevelsItemCreatable = isStaffSchoolAssociationGradeLevelsItemCreatable; IsStaffSchoolAssociationGradeLevelIncluded = isStaffSchoolAssociationGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -33909,7 +38865,9 @@ IReadOnlyList supportedExtensions public bool IsStaffReferenceSupported { get; } public bool IsStaffSchoolAssociationAcademicSubjectsSupported { get; } public bool IsStaffSchoolAssociationGradeLevelsSupported { get; } + public bool IsStaffSchoolAssociationAcademicSubjectsItemCreatable { get; } public Func IsStaffSchoolAssociationAcademicSubjectIncluded { get; } + public bool IsStaffSchoolAssociationGradeLevelsItemCreatable { get; } public Func IsStaffSchoolAssociationGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -33944,6 +38902,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffSchoolAssociationAcademicSubjects": + return IsStaffSchoolAssociationAcademicSubjectsItemCreatable; + case "StaffSchoolAssociationGradeLevels": + return IsStaffSchoolAssociationGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33997,6 +38968,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34050,6 +39030,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34172,6 +39161,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34247,6 +39245,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34300,6 +39307,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34353,6 +39369,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34433,6 +39458,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -34474,13 +39508,21 @@ public StateEducationAgencyMappingContract( bool isStateEducationAgencyAccountabilitiesSupported, bool isStateEducationAgencyFederalFundsSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, + bool isStateEducationAgencyAccountabilitiesItemCreatable, Func isStateEducationAgencyAccountabilityIncluded, + bool isStateEducationAgencyFederalFundsItemCreatable, Func isStateEducationAgencyFederalFundsIncluded, IReadOnlyList supportedExtensions ) @@ -34497,13 +39539,21 @@ IReadOnlyList supportedExtensions IsStateEducationAgencyAccountabilitiesSupported = isStateEducationAgencyAccountabilitiesSupported; IsStateEducationAgencyFederalFundsSupported = isStateEducationAgencyFederalFundsSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; + IsStateEducationAgencyAccountabilitiesItemCreatable = isStateEducationAgencyAccountabilitiesItemCreatable; IsStateEducationAgencyAccountabilityIncluded = isStateEducationAgencyAccountabilityIncluded; + IsStateEducationAgencyFederalFundsItemCreatable = isStateEducationAgencyFederalFundsItemCreatable; IsStateEducationAgencyFederalFundsIncluded = isStateEducationAgencyFederalFundsIncluded; SupportedExtensions = supportedExtensions; } @@ -34520,13 +39570,21 @@ IReadOnlyList supportedExtensions public bool IsStateEducationAgencyAccountabilitiesSupported { get; } public bool IsStateEducationAgencyFederalFundsSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } + public bool IsStateEducationAgencyAccountabilitiesItemCreatable { get; } public Func IsStateEducationAgencyAccountabilityIncluded { get; } + public bool IsStateEducationAgencyFederalFundsItemCreatable { get; } public Func IsStateEducationAgencyFederalFundsIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -34565,6 +39623,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + case "StateEducationAgencyAccountabilities": + return IsStateEducationAgencyAccountabilitiesItemCreatable; + case "StateEducationAgencyFederalFunds": + return IsStateEducationAgencyFederalFundsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34630,6 +39713,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34689,6 +39781,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34768,9 +39869,13 @@ public StudentMappingContract( bool isStudentPersonalIdentificationDocumentsSupported, bool isStudentUniqueIdSupported, bool isStudentVisasSupported, + bool isStudentIdentificationDocumentsItemCreatable, Func isStudentIdentificationDocumentIncluded, + bool isStudentOtherNamesItemCreatable, Func isStudentOtherNameIncluded, + bool isStudentPersonalIdentificationDocumentsItemCreatable, Func isStudentPersonalIdentificationDocumentIncluded, + bool isStudentVisasItemCreatable, Func isStudentVisaIncluded, IReadOnlyList supportedExtensions ) @@ -34798,9 +39903,13 @@ IReadOnlyList supportedExtensions IsStudentPersonalIdentificationDocumentsSupported = isStudentPersonalIdentificationDocumentsSupported; IsStudentUniqueIdSupported = isStudentUniqueIdSupported; IsStudentVisasSupported = isStudentVisasSupported; + IsStudentIdentificationDocumentsItemCreatable = isStudentIdentificationDocumentsItemCreatable; IsStudentIdentificationDocumentIncluded = isStudentIdentificationDocumentIncluded; + IsStudentOtherNamesItemCreatable = isStudentOtherNamesItemCreatable; IsStudentOtherNameIncluded = isStudentOtherNameIncluded; + IsStudentPersonalIdentificationDocumentsItemCreatable = isStudentPersonalIdentificationDocumentsItemCreatable; IsStudentPersonalIdentificationDocumentIncluded = isStudentPersonalIdentificationDocumentIncluded; + IsStudentVisasItemCreatable = isStudentVisasItemCreatable; IsStudentVisaIncluded = isStudentVisaIncluded; SupportedExtensions = supportedExtensions; } @@ -34828,9 +39937,13 @@ IReadOnlyList supportedExtensions public bool IsStudentPersonalIdentificationDocumentsSupported { get; } public bool IsStudentUniqueIdSupported { get; } public bool IsStudentVisasSupported { get; } + public bool IsStudentIdentificationDocumentsItemCreatable { get; } public Func IsStudentIdentificationDocumentIncluded { get; } + public bool IsStudentOtherNamesItemCreatable { get; } public Func IsStudentOtherNameIncluded { get; } + public bool IsStudentPersonalIdentificationDocumentsItemCreatable { get; } public Func IsStudentPersonalIdentificationDocumentIncluded { get; } + public bool IsStudentVisasItemCreatable { get; } public Func IsStudentVisaIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -34889,6 +40002,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentIdentificationDocuments": + return IsStudentIdentificationDocumentsItemCreatable; + case "StudentOtherNames": + return IsStudentOtherNamesItemCreatable; + case "StudentPersonalIdentificationDocuments": + return IsStudentPersonalIdentificationDocumentsItemCreatable; + case "StudentVisas": + return IsStudentVisasItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34985,10 +40115,15 @@ public StudentAcademicRecordMappingContract( bool isStudentAcademicRecordRecognitionsSupported, bool isStudentAcademicRecordReportCardsSupported, bool isStudentReferenceSupported, + bool isStudentAcademicRecordAcademicHonorsItemCreatable, Func isStudentAcademicRecordAcademicHonorIncluded, + bool isStudentAcademicRecordDiplomasItemCreatable, Func isStudentAcademicRecordDiplomaIncluded, + bool isStudentAcademicRecordGradePointAveragesItemCreatable, Func isStudentAcademicRecordGradePointAverageIncluded, + bool isStudentAcademicRecordRecognitionsItemCreatable, Func isStudentAcademicRecordRecognitionIncluded, + bool isStudentAcademicRecordReportCardsItemCreatable, Func isStudentAcademicRecordReportCardIncluded, IReadOnlyList supportedExtensions ) @@ -35020,10 +40155,15 @@ IReadOnlyList supportedExtensions IsStudentAcademicRecordRecognitionsSupported = isStudentAcademicRecordRecognitionsSupported; IsStudentAcademicRecordReportCardsSupported = isStudentAcademicRecordReportCardsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentAcademicRecordAcademicHonorsItemCreatable = isStudentAcademicRecordAcademicHonorsItemCreatable; IsStudentAcademicRecordAcademicHonorIncluded = isStudentAcademicRecordAcademicHonorIncluded; + IsStudentAcademicRecordDiplomasItemCreatable = isStudentAcademicRecordDiplomasItemCreatable; IsStudentAcademicRecordDiplomaIncluded = isStudentAcademicRecordDiplomaIncluded; + IsStudentAcademicRecordGradePointAveragesItemCreatable = isStudentAcademicRecordGradePointAveragesItemCreatable; IsStudentAcademicRecordGradePointAverageIncluded = isStudentAcademicRecordGradePointAverageIncluded; + IsStudentAcademicRecordRecognitionsItemCreatable = isStudentAcademicRecordRecognitionsItemCreatable; IsStudentAcademicRecordRecognitionIncluded = isStudentAcademicRecordRecognitionIncluded; + IsStudentAcademicRecordReportCardsItemCreatable = isStudentAcademicRecordReportCardsItemCreatable; IsStudentAcademicRecordReportCardIncluded = isStudentAcademicRecordReportCardIncluded; SupportedExtensions = supportedExtensions; } @@ -35055,10 +40195,15 @@ IReadOnlyList supportedExtensions public bool IsStudentAcademicRecordRecognitionsSupported { get; } public bool IsStudentAcademicRecordReportCardsSupported { get; } public bool IsStudentReferenceSupported { get; } + public bool IsStudentAcademicRecordAcademicHonorsItemCreatable { get; } public Func IsStudentAcademicRecordAcademicHonorIncluded { get; } + public bool IsStudentAcademicRecordDiplomasItemCreatable { get; } public Func IsStudentAcademicRecordDiplomaIncluded { get; } + public bool IsStudentAcademicRecordGradePointAveragesItemCreatable { get; } public Func IsStudentAcademicRecordGradePointAverageIncluded { get; } + public bool IsStudentAcademicRecordRecognitionsItemCreatable { get; } public Func IsStudentAcademicRecordRecognitionIncluded { get; } + public bool IsStudentAcademicRecordReportCardsItemCreatable { get; } public Func IsStudentAcademicRecordReportCardIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -35133,6 +40278,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentAcademicRecordAcademicHonors": + return IsStudentAcademicRecordAcademicHonorsItemCreatable; + case "StudentAcademicRecordDiplomas": + return IsStudentAcademicRecordDiplomasItemCreatable; + case "StudentAcademicRecordGradePointAverages": + return IsStudentAcademicRecordGradePointAveragesItemCreatable; + case "StudentAcademicRecordRecognitions": + return IsStudentAcademicRecordRecognitionsItemCreatable; + case "StudentAcademicRecordReportCards": + return IsStudentAcademicRecordReportCardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35256,6 +40420,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35329,6 +40502,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35464,6 +40646,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35535,6 +40726,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35660,6 +40860,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35732,6 +40941,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35824,10 +41042,15 @@ public StudentAssessmentMappingContract( bool isStudentAssessmentStudentObjectiveAssessmentsSupported, bool isStudentReferenceSupported, bool isWhenAssessedGradeLevelDescriptorSupported, + bool isStudentAssessmentAccommodationsItemCreatable, Func isStudentAssessmentAccommodationIncluded, + bool isStudentAssessmentItemsItemCreatable, Func isStudentAssessmentItemIncluded, + bool isStudentAssessmentPerformanceLevelsItemCreatable, Func isStudentAssessmentPerformanceLevelIncluded, + bool isStudentAssessmentScoreResultsItemCreatable, Func isStudentAssessmentScoreResultIncluded, + bool isStudentAssessmentStudentObjectiveAssessmentsItemCreatable, Func isStudentAssessmentStudentObjectiveAssessmentIncluded, IReadOnlyList supportedExtensions ) @@ -35857,10 +41080,15 @@ IReadOnlyList supportedExtensions IsStudentAssessmentStudentObjectiveAssessmentsSupported = isStudentAssessmentStudentObjectiveAssessmentsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsWhenAssessedGradeLevelDescriptorSupported = isWhenAssessedGradeLevelDescriptorSupported; + IsStudentAssessmentAccommodationsItemCreatable = isStudentAssessmentAccommodationsItemCreatable; IsStudentAssessmentAccommodationIncluded = isStudentAssessmentAccommodationIncluded; + IsStudentAssessmentItemsItemCreatable = isStudentAssessmentItemsItemCreatable; IsStudentAssessmentItemIncluded = isStudentAssessmentItemIncluded; + IsStudentAssessmentPerformanceLevelsItemCreatable = isStudentAssessmentPerformanceLevelsItemCreatable; IsStudentAssessmentPerformanceLevelIncluded = isStudentAssessmentPerformanceLevelIncluded; + IsStudentAssessmentScoreResultsItemCreatable = isStudentAssessmentScoreResultsItemCreatable; IsStudentAssessmentScoreResultIncluded = isStudentAssessmentScoreResultIncluded; + IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable = isStudentAssessmentStudentObjectiveAssessmentsItemCreatable; IsStudentAssessmentStudentObjectiveAssessmentIncluded = isStudentAssessmentStudentObjectiveAssessmentIncluded; SupportedExtensions = supportedExtensions; } @@ -35890,10 +41118,15 @@ IReadOnlyList supportedExtensions public bool IsStudentAssessmentStudentObjectiveAssessmentsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsWhenAssessedGradeLevelDescriptorSupported { get; } + public bool IsStudentAssessmentAccommodationsItemCreatable { get; } public Func IsStudentAssessmentAccommodationIncluded { get; } + public bool IsStudentAssessmentItemsItemCreatable { get; } public Func IsStudentAssessmentItemIncluded { get; } + public bool IsStudentAssessmentPerformanceLevelsItemCreatable { get; } public Func IsStudentAssessmentPerformanceLevelIncluded { get; } + public bool IsStudentAssessmentScoreResultsItemCreatable { get; } public Func IsStudentAssessmentScoreResultIncluded { get; } + public bool IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable { get; } public Func IsStudentAssessmentStudentObjectiveAssessmentIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -35964,6 +41197,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentAssessmentAccommodations": + return IsStudentAssessmentAccommodationsItemCreatable; + case "StudentAssessmentItems": + return IsStudentAssessmentItemsItemCreatable; + case "StudentAssessmentPerformanceLevels": + return IsStudentAssessmentPerformanceLevelsItemCreatable; + case "StudentAssessmentScoreResults": + return IsStudentAssessmentScoreResultsItemCreatable; + case "StudentAssessmentStudentObjectiveAssessments": + return IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36017,6 +41269,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36115,6 +41376,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36217,6 +41487,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36280,6 +41559,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36347,6 +41635,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36412,6 +41709,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36459,7 +41765,9 @@ public StudentAssessmentStudentObjectiveAssessmentMappingContract( bool isObjectiveAssessmentReferenceSupported, bool isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported, bool isStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported, + bool isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable, Func isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded, + bool isStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable, Func isStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded, IReadOnlyList supportedExtensions ) @@ -36470,7 +41778,9 @@ IReadOnlyList supportedExtensions IsObjectiveAssessmentReferenceSupported = isObjectiveAssessmentReferenceSupported; IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported = isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported; IsStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported = isStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported; + IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable = isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable; IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded = isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded; + IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable = isStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable; IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded = isStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded; SupportedExtensions = supportedExtensions; } @@ -36481,7 +41791,9 @@ IReadOnlyList supportedExtensions public bool IsObjectiveAssessmentReferenceSupported { get; } public bool IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported { get; } public bool IsStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported { get; } + public bool IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable { get; } public Func IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded { get; } + public bool IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable { get; } public Func IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -36508,6 +41820,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentAssessmentStudentObjectiveAssessmentPerformanceLevels": + return IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable; + case "StudentAssessmentStudentObjectiveAssessmentScoreResults": + return IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36571,6 +41896,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36636,6 +41970,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36716,6 +42059,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -36759,6 +42111,7 @@ public StudentCohortAssociationMappingContract( bool isEndDateSupported, bool isStudentCohortAssociationSectionsSupported, bool isStudentReferenceSupported, + bool isStudentCohortAssociationSectionsItemCreatable, Func isStudentCohortAssociationSectionIncluded, IReadOnlyList supportedExtensions ) @@ -36767,6 +42120,7 @@ IReadOnlyList supportedExtensions IsEndDateSupported = isEndDateSupported; IsStudentCohortAssociationSectionsSupported = isStudentCohortAssociationSectionsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentCohortAssociationSectionsItemCreatable = isStudentCohortAssociationSectionsItemCreatable; IsStudentCohortAssociationSectionIncluded = isStudentCohortAssociationSectionIncluded; SupportedExtensions = supportedExtensions; } @@ -36775,6 +42129,7 @@ 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) @@ -36803,6 +42158,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentCohortAssociationSections": + return IsStudentCohortAssociationSectionsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36879,6 +42245,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36943,7 +42318,9 @@ public StudentCompetencyObjectiveMappingContract( bool isStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported, bool isStudentCompetencyObjectiveStudentSectionAssociationsSupported, bool isStudentReferenceSupported, + bool isStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable, Func isStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded, + bool isStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable, Func isStudentCompetencyObjectiveStudentSectionAssociationIncluded, IReadOnlyList supportedExtensions ) @@ -36955,7 +42332,9 @@ IReadOnlyList supportedExtensions IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported = isStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported; IsStudentCompetencyObjectiveStudentSectionAssociationsSupported = isStudentCompetencyObjectiveStudentSectionAssociationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable = isStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable; IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded = isStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded; + IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable = isStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable; IsStudentCompetencyObjectiveStudentSectionAssociationIncluded = isStudentCompetencyObjectiveStudentSectionAssociationIncluded; SupportedExtensions = supportedExtensions; } @@ -36967,7 +42346,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -37010,6 +42391,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentCompetencyObjectiveGeneralStudentProgramAssociations": + return IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable; + case "StudentCompetencyObjectiveStudentSectionAssociations": + return IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37086,6 +42480,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37166,6 +42569,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37217,9 +42629,13 @@ public StudentCTEProgramAssociationMappingContract( bool isStudentCTEProgramAssociationServicesSupported, bool isStudentReferenceSupported, bool isTechnicalSkillsAssessmentDescriptorSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentCTEProgramAssociationCTEProgramsItemCreatable, Func isStudentCTEProgramAssociationCTEProgramIncluded, + bool isStudentCTEProgramAssociationCTEProgramServicesItemCreatable, Func isStudentCTEProgramAssociationCTEProgramServiceIncluded, + bool isStudentCTEProgramAssociationServicesItemCreatable, Func isStudentCTEProgramAssociationServiceIncluded, IReadOnlyList supportedExtensions ) @@ -37238,9 +42654,13 @@ IReadOnlyList supportedExtensions IsStudentCTEProgramAssociationServicesSupported = isStudentCTEProgramAssociationServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsTechnicalSkillsAssessmentDescriptorSupported = isTechnicalSkillsAssessmentDescriptorSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentCTEProgramAssociationCTEProgramsItemCreatable = isStudentCTEProgramAssociationCTEProgramsItemCreatable; IsStudentCTEProgramAssociationCTEProgramIncluded = isStudentCTEProgramAssociationCTEProgramIncluded; + IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable = isStudentCTEProgramAssociationCTEProgramServicesItemCreatable; IsStudentCTEProgramAssociationCTEProgramServiceIncluded = isStudentCTEProgramAssociationCTEProgramServiceIncluded; + IsStudentCTEProgramAssociationServicesItemCreatable = isStudentCTEProgramAssociationServicesItemCreatable; IsStudentCTEProgramAssociationServiceIncluded = isStudentCTEProgramAssociationServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -37259,9 +42679,13 @@ IReadOnlyList supportedExtensions public bool IsStudentCTEProgramAssociationServicesSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsTechnicalSkillsAssessmentDescriptorSupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentCTEProgramAssociationCTEProgramsItemCreatable { get; } public Func IsStudentCTEProgramAssociationCTEProgramIncluded { get; } + public bool IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable { get; } public Func IsStudentCTEProgramAssociationCTEProgramServiceIncluded { get; } + public bool IsStudentCTEProgramAssociationServicesItemCreatable { get; } public Func IsStudentCTEProgramAssociationServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -37314,6 +42738,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentCTEProgramAssociationCTEPrograms": + return IsStudentCTEProgramAssociationCTEProgramsItemCreatable; + case "StudentCTEProgramAssociationCTEProgramServices": + return IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable; + case "StudentCTEProgramAssociationServices": + return IsStudentCTEProgramAssociationServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37385,6 +42826,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37462,6 +42912,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37533,6 +42992,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37580,6 +43048,7 @@ public StudentDisciplineIncidentAssociationMappingContract( bool isStudentDisciplineIncidentAssociationBehaviorsSupported, bool isStudentParticipationCodeDescriptorSupported, bool isStudentReferenceSupported, + bool isStudentDisciplineIncidentAssociationBehaviorsItemCreatable, Func isStudentDisciplineIncidentAssociationBehaviorIncluded, IReadOnlyList supportedExtensions ) @@ -37588,6 +43057,7 @@ IReadOnlyList supportedExtensions IsStudentDisciplineIncidentAssociationBehaviorsSupported = isStudentDisciplineIncidentAssociationBehaviorsSupported; IsStudentParticipationCodeDescriptorSupported = isStudentParticipationCodeDescriptorSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentDisciplineIncidentAssociationBehaviorsItemCreatable = isStudentDisciplineIncidentAssociationBehaviorsItemCreatable; IsStudentDisciplineIncidentAssociationBehaviorIncluded = isStudentDisciplineIncidentAssociationBehaviorIncluded; SupportedExtensions = supportedExtensions; } @@ -37596,6 +43066,7 @@ 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) @@ -37622,6 +43093,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentDisciplineIncidentAssociationBehaviors": + return IsStudentDisciplineIncidentAssociationBehaviorsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37681,6 +43163,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37730,6 +43221,7 @@ public StudentDisciplineIncidentBehaviorAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported, bool isStudentReferenceSupported, + bool isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -37738,6 +43230,7 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -37746,6 +43239,7 @@ 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) @@ -37774,6 +43268,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes": + return IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37827,6 +43332,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37872,6 +43386,7 @@ public StudentDisciplineIncidentNonOffenderAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported, bool isStudentReferenceSupported, + bool isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -37879,6 +43394,7 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -37886,6 +43402,7 @@ 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) @@ -37910,6 +43427,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes": + return IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37963,6 +43491,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38058,19 +43595,33 @@ public StudentEducationOrganizationAssociationMappingContract( bool isStudentEducationOrganizationAssociationTelephonesSupported, bool isStudentEducationOrganizationAssociationTribalAffiliationsSupported, bool isStudentReferenceSupported, + bool isStudentEducationOrganizationAssociationAddressesItemCreatable, Func isStudentEducationOrganizationAssociationAddressIncluded, + bool isStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable, Func isStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded, + bool isStudentEducationOrganizationAssociationCohortYearsItemCreatable, Func isStudentEducationOrganizationAssociationCohortYearIncluded, + bool isStudentEducationOrganizationAssociationDisabilitiesItemCreatable, Func isStudentEducationOrganizationAssociationDisabilityIncluded, + bool isStudentEducationOrganizationAssociationElectronicMailsItemCreatable, Func isStudentEducationOrganizationAssociationElectronicMailIncluded, + bool isStudentEducationOrganizationAssociationInternationalAddressesItemCreatable, Func isStudentEducationOrganizationAssociationInternationalAddressIncluded, + bool isStudentEducationOrganizationAssociationLanguagesItemCreatable, Func isStudentEducationOrganizationAssociationLanguageIncluded, + bool isStudentEducationOrganizationAssociationProgramParticipationsItemCreatable, Func isStudentEducationOrganizationAssociationProgramParticipationIncluded, + bool isStudentEducationOrganizationAssociationRacesItemCreatable, Func isStudentEducationOrganizationAssociationRaceIncluded, + bool isStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable, Func isStudentEducationOrganizationAssociationStudentCharacteristicIncluded, + bool isStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable, Func isStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded, + bool isStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable, Func isStudentEducationOrganizationAssociationStudentIndicatorIncluded, + bool isStudentEducationOrganizationAssociationTelephonesItemCreatable, Func isStudentEducationOrganizationAssociationTelephoneIncluded, + bool isStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable, Func isStudentEducationOrganizationAssociationTribalAffiliationIncluded, IReadOnlyList supportedExtensions ) @@ -38104,19 +43655,33 @@ IReadOnlyList supportedExtensions IsStudentEducationOrganizationAssociationTelephonesSupported = isStudentEducationOrganizationAssociationTelephonesSupported; IsStudentEducationOrganizationAssociationTribalAffiliationsSupported = isStudentEducationOrganizationAssociationTribalAffiliationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentEducationOrganizationAssociationAddressesItemCreatable = isStudentEducationOrganizationAssociationAddressesItemCreatable; IsStudentEducationOrganizationAssociationAddressIncluded = isStudentEducationOrganizationAssociationAddressIncluded; + IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable = isStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable; IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded = isStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded; + IsStudentEducationOrganizationAssociationCohortYearsItemCreatable = isStudentEducationOrganizationAssociationCohortYearsItemCreatable; IsStudentEducationOrganizationAssociationCohortYearIncluded = isStudentEducationOrganizationAssociationCohortYearIncluded; + IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable = isStudentEducationOrganizationAssociationDisabilitiesItemCreatable; IsStudentEducationOrganizationAssociationDisabilityIncluded = isStudentEducationOrganizationAssociationDisabilityIncluded; + IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable = isStudentEducationOrganizationAssociationElectronicMailsItemCreatable; IsStudentEducationOrganizationAssociationElectronicMailIncluded = isStudentEducationOrganizationAssociationElectronicMailIncluded; + IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable = isStudentEducationOrganizationAssociationInternationalAddressesItemCreatable; IsStudentEducationOrganizationAssociationInternationalAddressIncluded = isStudentEducationOrganizationAssociationInternationalAddressIncluded; + IsStudentEducationOrganizationAssociationLanguagesItemCreatable = isStudentEducationOrganizationAssociationLanguagesItemCreatable; IsStudentEducationOrganizationAssociationLanguageIncluded = isStudentEducationOrganizationAssociationLanguageIncluded; + IsStudentEducationOrganizationAssociationProgramParticipationsItemCreatable = isStudentEducationOrganizationAssociationProgramParticipationsItemCreatable; IsStudentEducationOrganizationAssociationProgramParticipationIncluded = isStudentEducationOrganizationAssociationProgramParticipationIncluded; + IsStudentEducationOrganizationAssociationRacesItemCreatable = isStudentEducationOrganizationAssociationRacesItemCreatable; IsStudentEducationOrganizationAssociationRaceIncluded = isStudentEducationOrganizationAssociationRaceIncluded; + IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable = isStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable; IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded = isStudentEducationOrganizationAssociationStudentCharacteristicIncluded; + IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable = isStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable; IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded = isStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded; + IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable = isStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable; IsStudentEducationOrganizationAssociationStudentIndicatorIncluded = isStudentEducationOrganizationAssociationStudentIndicatorIncluded; + IsStudentEducationOrganizationAssociationTelephonesItemCreatable = isStudentEducationOrganizationAssociationTelephonesItemCreatable; IsStudentEducationOrganizationAssociationTelephoneIncluded = isStudentEducationOrganizationAssociationTelephoneIncluded; + IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable = isStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable; IsStudentEducationOrganizationAssociationTribalAffiliationIncluded = isStudentEducationOrganizationAssociationTribalAffiliationIncluded; SupportedExtensions = supportedExtensions; } @@ -38150,19 +43715,33 @@ 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; } + public bool IsStudentEducationOrganizationAssociationCohortYearsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationCohortYearIncluded { get; } + public bool IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationDisabilityIncluded { get; } + public bool IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationElectronicMailIncluded { get; } + public bool IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationInternationalAddressIncluded { get; } + public bool IsStudentEducationOrganizationAssociationLanguagesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationLanguageIncluded { get; } + public bool IsStudentEducationOrganizationAssociationProgramParticipationsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationProgramParticipationIncluded { get; } + public bool IsStudentEducationOrganizationAssociationRacesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationRaceIncluded { get; } + public bool IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded { get; } + public bool IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded { get; } + public bool IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentIndicatorIncluded { get; } + public bool IsStudentEducationOrganizationAssociationTelephonesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationTelephoneIncluded { get; } + public bool IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationTribalAffiliationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -38237,6 +43816,43 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationAddresses": + return IsStudentEducationOrganizationAssociationAddressesItemCreatable; + case "StudentEducationOrganizationAssociationAncestryEthnicOrigins": + return IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable; + case "StudentEducationOrganizationAssociationCohortYears": + return IsStudentEducationOrganizationAssociationCohortYearsItemCreatable; + case "StudentEducationOrganizationAssociationDisabilities": + return IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable; + case "StudentEducationOrganizationAssociationElectronicMails": + return IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable; + case "StudentEducationOrganizationAssociationInternationalAddresses": + return IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable; + case "StudentEducationOrganizationAssociationLanguages": + return IsStudentEducationOrganizationAssociationLanguagesItemCreatable; + case "StudentEducationOrganizationAssociationProgramParticipations": + return IsStudentEducationOrganizationAssociationProgramParticipationsItemCreatable; + case "StudentEducationOrganizationAssociationRaces": + return IsStudentEducationOrganizationAssociationRacesItemCreatable; + case "StudentEducationOrganizationAssociationStudentCharacteristics": + return IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable; + case "StudentEducationOrganizationAssociationStudentIdentificationCodes": + return IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable; + case "StudentEducationOrganizationAssociationStudentIndicators": + return IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable; + case "StudentEducationOrganizationAssociationTelephones": + return IsStudentEducationOrganizationAssociationTelephonesItemCreatable; + case "StudentEducationOrganizationAssociationTribalAffiliations": + return IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38299,6 +43915,7 @@ public StudentEducationOrganizationAssociationAddressMappingContract( bool isLongitudeSupported, bool isNameOfCountySupported, bool isStudentEducationOrganizationAssociationAddressPeriodsSupported, + bool isStudentEducationOrganizationAssociationAddressPeriodsItemCreatable, Func isStudentEducationOrganizationAssociationAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -38313,6 +43930,7 @@ IReadOnlyList supportedExtensions IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; IsStudentEducationOrganizationAssociationAddressPeriodsSupported = isStudentEducationOrganizationAssociationAddressPeriodsSupported; + IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable = isStudentEducationOrganizationAssociationAddressPeriodsItemCreatable; IsStudentEducationOrganizationAssociationAddressPeriodIncluded = isStudentEducationOrganizationAssociationAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -38327,6 +43945,7 @@ IReadOnlyList supportedExtensions public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } public bool IsStudentEducationOrganizationAssociationAddressPeriodsSupported { get; } + public bool IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -38369,6 +43988,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationAddressPeriods": + return IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38428,6 +44058,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38481,6 +44120,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38550,6 +44198,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38592,6 +44249,7 @@ public StudentEducationOrganizationAssociationDisabilityMappingContract( bool isDisabilityDiagnosisSupported, bool isOrderOfDisabilitySupported, bool isStudentEducationOrganizationAssociationDisabilityDesignationsSupported, + bool isStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable, Func isStudentEducationOrganizationAssociationDisabilityDesignationIncluded, IReadOnlyList supportedExtensions ) @@ -38600,6 +44258,7 @@ IReadOnlyList supportedExtensions IsDisabilityDiagnosisSupported = isDisabilityDiagnosisSupported; IsOrderOfDisabilitySupported = isOrderOfDisabilitySupported; IsStudentEducationOrganizationAssociationDisabilityDesignationsSupported = isStudentEducationOrganizationAssociationDisabilityDesignationsSupported; + IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable = isStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable; IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded = isStudentEducationOrganizationAssociationDisabilityDesignationIncluded; SupportedExtensions = supportedExtensions; } @@ -38608,6 +44267,7 @@ IReadOnlyList supportedExtensions public bool IsDisabilityDiagnosisSupported { get; } public bool IsOrderOfDisabilitySupported { get; } public bool IsStudentEducationOrganizationAssociationDisabilityDesignationsSupported { get; } + public bool IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -38630,6 +44290,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationDisabilityDesignations": + return IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38683,6 +44354,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38752,6 +44432,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38859,6 +44548,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38895,16 +44593,19 @@ public class StudentEducationOrganizationAssociationLanguageMappingContract : IM { public StudentEducationOrganizationAssociationLanguageMappingContract( bool isStudentEducationOrganizationAssociationLanguageUsesSupported, + bool isStudentEducationOrganizationAssociationLanguageUsesItemCreatable, Func isStudentEducationOrganizationAssociationLanguageUseIncluded, IReadOnlyList supportedExtensions ) { IsStudentEducationOrganizationAssociationLanguageUsesSupported = isStudentEducationOrganizationAssociationLanguageUsesSupported; + IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable = isStudentEducationOrganizationAssociationLanguageUsesItemCreatable; IsStudentEducationOrganizationAssociationLanguageUseIncluded = isStudentEducationOrganizationAssociationLanguageUseIncluded; SupportedExtensions = supportedExtensions; } public bool IsStudentEducationOrganizationAssociationLanguageUsesSupported { get; } + public bool IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationLanguageUseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -38921,6 +44622,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationLanguageUses": + return IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38974,6 +44686,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39016,6 +44737,7 @@ public StudentEducationOrganizationAssociationProgramParticipationMappingContrac bool isDesignatedBySupported, bool isEndDateSupported, bool isStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsSupported, + bool isStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsItemCreatable, Func isStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicIncluded, IReadOnlyList supportedExtensions ) @@ -39024,6 +44746,7 @@ IReadOnlyList supportedExtensions IsDesignatedBySupported = isDesignatedBySupported; IsEndDateSupported = isEndDateSupported; IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsSupported = isStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsSupported; + IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsItemCreatable = isStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsItemCreatable; IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicIncluded = isStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicIncluded; SupportedExtensions = supportedExtensions; } @@ -39032,6 +44755,7 @@ IReadOnlyList supportedExtensions public bool IsDesignatedBySupported { get; } public bool IsEndDateSupported { get; } public bool IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsSupported { get; } + public bool IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39054,6 +44778,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationProgramParticipationProgramCharacteristics": + return IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39107,6 +44842,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39160,6 +44904,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39198,18 +44951,21 @@ public class StudentEducationOrganizationAssociationStudentCharacteristicMapping public StudentEducationOrganizationAssociationStudentCharacteristicMappingContract( bool isDesignatedBySupported, bool isStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported, + bool isStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable, Func isStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded, IReadOnlyList supportedExtensions ) { IsDesignatedBySupported = isDesignatedBySupported; IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported = isStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported; + IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable = isStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable; IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded = isStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded; SupportedExtensions = supportedExtensions; } public bool IsDesignatedBySupported { get; } public bool IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported { get; } + public bool IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39228,6 +44984,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationStudentCharacteristicPeriods": + return IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39287,6 +45054,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39350,6 +45126,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39392,6 +45177,7 @@ public StudentEducationOrganizationAssociationStudentIndicatorMappingContract( bool isIndicatorSupported, bool isIndicatorGroupSupported, bool isStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported, + bool isStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable, Func isStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -39400,6 +45186,7 @@ IReadOnlyList supportedExtensions IsIndicatorSupported = isIndicatorSupported; IsIndicatorGroupSupported = isIndicatorGroupSupported; IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported = isStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported; + IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable = isStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable; IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded = isStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -39408,6 +45195,7 @@ IReadOnlyList supportedExtensions public bool IsIndicatorSupported { get; } public bool IsIndicatorGroupSupported { get; } public bool IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported { get; } + public bool IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39430,6 +45218,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationStudentIndicatorPeriods": + return IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39489,6 +45288,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39564,6 +45372,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39617,6 +45434,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39701,6 +45527,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39829,6 +45664,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39876,7 +45720,9 @@ public StudentHomelessProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentHomelessProgramAssociationHomelessProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable, Func isStudentHomelessProgramAssociationHomelessProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -39893,7 +45739,9 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentHomelessProgramAssociationHomelessProgramServicesSupported = isStudentHomelessProgramAssociationHomelessProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable = isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded = isStudentHomelessProgramAssociationHomelessProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -39910,7 +45758,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39959,6 +45809,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentHomelessProgramAssociationHomelessProgramServices": + return IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40030,6 +45893,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40117,6 +45989,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40197,6 +46078,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -40247,6 +46137,7 @@ public StudentInterventionAssociationMappingContract( bool isInterventionReferenceSupported, bool isStudentInterventionAssociationInterventionEffectivenessesSupported, bool isStudentReferenceSupported, + bool isStudentInterventionAssociationInterventionEffectivenessesItemCreatable, Func isStudentInterventionAssociationInterventionEffectivenessIncluded, IReadOnlyList supportedExtensions ) @@ -40259,6 +46150,7 @@ IReadOnlyList supportedExtensions IsInterventionReferenceSupported = isInterventionReferenceSupported; IsStudentInterventionAssociationInterventionEffectivenessesSupported = isStudentInterventionAssociationInterventionEffectivenessesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable = isStudentInterventionAssociationInterventionEffectivenessesItemCreatable; IsStudentInterventionAssociationInterventionEffectivenessIncluded = isStudentInterventionAssociationInterventionEffectivenessIncluded; SupportedExtensions = supportedExtensions; } @@ -40271,6 +46163,7 @@ 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) @@ -40305,6 +46198,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentInterventionAssociationInterventionEffectivenesses": + return IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40378,6 +46282,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40484,6 +46397,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40531,8 +46453,11 @@ public StudentLanguageInstructionProgramAssociationMappingContract( bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported, bool isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable, Func isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded, + bool isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable, Func isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -40549,8 +46474,11 @@ IReadOnlyList supportedExtensions IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported; IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable; IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded; + IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable; IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -40567,8 +46495,11 @@ 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; } + public bool IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable { get; } public Func IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -40617,6 +46548,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments": + return IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable; + case "StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices": + return IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40700,6 +46646,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40771,6 +46726,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40833,7 +46797,9 @@ public StudentLearningObjectiveMappingContract( bool isStudentLearningObjectiveGeneralStudentProgramAssociationsSupported, bool isStudentLearningObjectiveStudentSectionAssociationsSupported, bool isStudentReferenceSupported, + bool isStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable, Func isStudentLearningObjectiveGeneralStudentProgramAssociationIncluded, + bool isStudentLearningObjectiveStudentSectionAssociationsItemCreatable, Func isStudentLearningObjectiveStudentSectionAssociationIncluded, IReadOnlyList supportedExtensions ) @@ -40845,7 +46811,9 @@ IReadOnlyList supportedExtensions IsStudentLearningObjectiveGeneralStudentProgramAssociationsSupported = isStudentLearningObjectiveGeneralStudentProgramAssociationsSupported; IsStudentLearningObjectiveStudentSectionAssociationsSupported = isStudentLearningObjectiveStudentSectionAssociationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable = isStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable; IsStudentLearningObjectiveGeneralStudentProgramAssociationIncluded = isStudentLearningObjectiveGeneralStudentProgramAssociationIncluded; + IsStudentLearningObjectiveStudentSectionAssociationsItemCreatable = isStudentLearningObjectiveStudentSectionAssociationsItemCreatable; IsStudentLearningObjectiveStudentSectionAssociationIncluded = isStudentLearningObjectiveStudentSectionAssociationIncluded; SupportedExtensions = supportedExtensions; } @@ -40857,7 +46825,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -40898,6 +46868,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentLearningObjectiveGeneralStudentProgramAssociations": + return IsStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable; + case "StudentLearningObjectiveStudentSectionAssociations": + return IsStudentLearningObjectiveStudentSectionAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40974,6 +46957,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41054,6 +47046,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41113,7 +47114,9 @@ public StudentMigrantEducationProgramAssociationMappingContract( bool isUSInitialEntrySupported, bool isUSInitialSchoolEntrySupported, bool isUSMostRecentEntrySupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable, Func isStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -41136,7 +47139,9 @@ IReadOnlyList supportedExtensions IsUSInitialEntrySupported = isUSInitialEntrySupported; IsUSInitialSchoolEntrySupported = isUSInitialSchoolEntrySupported; IsUSMostRecentEntrySupported = isUSMostRecentEntrySupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable = isStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable; IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded = isStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -41159,7 +47164,9 @@ IReadOnlyList supportedExtensions public bool IsUSInitialEntrySupported { get; } public bool IsUSInitialSchoolEntrySupported { get; } public bool IsUSMostRecentEntrySupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable { get; } public Func IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -41220,6 +47227,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentMigrantEducationProgramAssociationMigrantEducationProgramServices": + return IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41291,6 +47311,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41338,7 +47367,9 @@ public StudentNeglectedOrDelinquentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable, Func isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -41355,7 +47386,9 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -41372,7 +47405,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -41421,6 +47456,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices": + return IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41492,6 +47540,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41575,6 +47632,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41687,6 +47753,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41767,6 +47842,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -41848,6 +47932,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41889,7 +47982,9 @@ public StudentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentProgramAssociationServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentProgramAssociationServicesItemCreatable, Func isStudentProgramAssociationServiceIncluded, IReadOnlyList supportedExtensions ) @@ -41903,7 +47998,9 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentProgramAssociationServicesSupported = isStudentProgramAssociationServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentProgramAssociationServicesItemCreatable = isStudentProgramAssociationServicesItemCreatable; IsStudentProgramAssociationServiceIncluded = isStudentProgramAssociationServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -41917,7 +48014,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -41960,6 +48059,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentProgramAssociationServices": + return IsStudentProgramAssociationServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42031,6 +48143,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42152,6 +48273,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42244,7 +48374,9 @@ public StudentSchoolAssociationMappingContract( bool isStudentSchoolAssociationAlternativeGraduationPlansSupported, bool isStudentSchoolAssociationEducationPlansSupported, bool isTermCompletionIndicatorSupported, + bool isStudentSchoolAssociationAlternativeGraduationPlansItemCreatable, Func isStudentSchoolAssociationAlternativeGraduationPlanIncluded, + bool isStudentSchoolAssociationEducationPlansItemCreatable, Func isStudentSchoolAssociationEducationPlanIncluded, IReadOnlyList supportedExtensions ) @@ -42275,7 +48407,9 @@ IReadOnlyList supportedExtensions IsStudentSchoolAssociationAlternativeGraduationPlansSupported = isStudentSchoolAssociationAlternativeGraduationPlansSupported; IsStudentSchoolAssociationEducationPlansSupported = isStudentSchoolAssociationEducationPlansSupported; IsTermCompletionIndicatorSupported = isTermCompletionIndicatorSupported; + IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable = isStudentSchoolAssociationAlternativeGraduationPlansItemCreatable; IsStudentSchoolAssociationAlternativeGraduationPlanIncluded = isStudentSchoolAssociationAlternativeGraduationPlanIncluded; + IsStudentSchoolAssociationEducationPlansItemCreatable = isStudentSchoolAssociationEducationPlansItemCreatable; IsStudentSchoolAssociationEducationPlanIncluded = isStudentSchoolAssociationEducationPlanIncluded; SupportedExtensions = supportedExtensions; } @@ -42306,7 +48440,9 @@ IReadOnlyList supportedExtensions public bool IsStudentSchoolAssociationAlternativeGraduationPlansSupported { get; } public bool IsStudentSchoolAssociationEducationPlansSupported { get; } public bool IsTermCompletionIndicatorSupported { get; } + public bool IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable { get; } public Func IsStudentSchoolAssociationAlternativeGraduationPlanIncluded { get; } + public bool IsStudentSchoolAssociationEducationPlansItemCreatable { get; } public Func IsStudentSchoolAssociationEducationPlanIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -42377,6 +48513,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSchoolAssociationAlternativeGraduationPlans": + return IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable; + case "StudentSchoolAssociationEducationPlans": + return IsStudentSchoolAssociationEducationPlansItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42445,6 +48594,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42498,6 +48656,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42626,6 +48793,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42669,7 +48845,9 @@ public StudentSchoolFoodServiceProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentReferenceSupported, bool isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable, Func isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -42684,7 +48862,9 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported = isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable = isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable; IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded = isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -42699,7 +48879,9 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable { get; } public Func IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -42744,6 +48926,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices": + return IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42815,6 +49010,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42935,6 +49139,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43002,6 +49215,7 @@ public StudentSectionAttendanceEventMappingContract( bool isSectionReferenceSupported, bool isStudentReferenceSupported, bool isStudentSectionAttendanceEventClassPeriodsSupported, + bool isStudentSectionAttendanceEventClassPeriodsItemCreatable, Func isStudentSectionAttendanceEventClassPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -43015,6 +49229,7 @@ IReadOnlyList supportedExtensions IsSectionReferenceSupported = isSectionReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsStudentSectionAttendanceEventClassPeriodsSupported = isStudentSectionAttendanceEventClassPeriodsSupported; + IsStudentSectionAttendanceEventClassPeriodsItemCreatable = isStudentSectionAttendanceEventClassPeriodsItemCreatable; IsStudentSectionAttendanceEventClassPeriodIncluded = isStudentSectionAttendanceEventClassPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -43028,6 +49243,7 @@ IReadOnlyList supportedExtensions public bool IsSectionReferenceSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsStudentSectionAttendanceEventClassPeriodsSupported { get; } + public bool IsStudentSectionAttendanceEventClassPeriodsItemCreatable { get; } public Func IsStudentSectionAttendanceEventClassPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43074,6 +49290,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSectionAttendanceEventClassPeriods": + return IsStudentSectionAttendanceEventClassPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43134,6 +49361,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43199,9 +49435,13 @@ public StudentSpecialEducationProgramAssociationMappingContract( bool isStudentSpecialEducationProgramAssociationDisabilitiesSupported, bool isStudentSpecialEducationProgramAssociationServiceProvidersSupported, bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable, Func isStudentSpecialEducationProgramAssociationDisabilityIncluded, + bool isStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable, Func isStudentSpecialEducationProgramAssociationServiceProviderIncluded, + bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable, Func isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -43227,9 +49467,13 @@ IReadOnlyList supportedExtensions IsStudentSpecialEducationProgramAssociationDisabilitiesSupported = isStudentSpecialEducationProgramAssociationDisabilitiesSupported; IsStudentSpecialEducationProgramAssociationServiceProvidersSupported = isStudentSpecialEducationProgramAssociationServiceProvidersSupported; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable = isStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable; IsStudentSpecialEducationProgramAssociationDisabilityIncluded = isStudentSpecialEducationProgramAssociationDisabilityIncluded; + IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable = isStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable; IsStudentSpecialEducationProgramAssociationServiceProviderIncluded = isStudentSpecialEducationProgramAssociationServiceProviderIncluded; + IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -43255,9 +49499,13 @@ IReadOnlyList supportedExtensions public bool IsStudentSpecialEducationProgramAssociationDisabilitiesSupported { get; } public bool IsStudentSpecialEducationProgramAssociationServiceProvidersSupported { get; } public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationDisabilityIncluded { get; } + public bool IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationServiceProviderIncluded { get; } + public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43324,6 +49572,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentSpecialEducationProgramAssociationDisabilities": + return IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable; + case "StudentSpecialEducationProgramAssociationServiceProviders": + return IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable; + case "StudentSpecialEducationProgramAssociationSpecialEducationProgramServices": + return IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43366,6 +49631,7 @@ public StudentSpecialEducationProgramAssociationDisabilityMappingContract( bool isDisabilityDiagnosisSupported, bool isOrderOfDisabilitySupported, bool isStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported, + bool isStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable, Func isStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded, IReadOnlyList supportedExtensions ) @@ -43374,6 +49640,7 @@ IReadOnlyList supportedExtensions IsDisabilityDiagnosisSupported = isDisabilityDiagnosisSupported; IsOrderOfDisabilitySupported = isOrderOfDisabilitySupported; IsStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported = isStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported; + IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable = isStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable; IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded = isStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded; SupportedExtensions = supportedExtensions; } @@ -43382,6 +49649,7 @@ IReadOnlyList supportedExtensions public bool IsDisabilityDiagnosisSupported { get; } public bool IsOrderOfDisabilitySupported { get; } public bool IsStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported { get; } + public bool IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43404,6 +49672,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSpecialEducationProgramAssociationDisabilityDesignations": + return IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43457,6 +49736,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43523,6 +49811,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43565,6 +49862,7 @@ public StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceMa bool isServiceBeginDateSupported, bool isServiceEndDateSupported, bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported, + bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable, Func isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded, IReadOnlyList supportedExtensions ) @@ -43573,6 +49871,7 @@ IReadOnlyList supportedExtensions IsServiceBeginDateSupported = isServiceBeginDateSupported; IsServiceEndDateSupported = isServiceEndDateSupported; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported; + IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded; SupportedExtensions = supportedExtensions; } @@ -43581,6 +49880,7 @@ IReadOnlyList supportedExtensions public bool IsServiceBeginDateSupported { get; } public bool IsServiceEndDateSupported { get; } public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported { get; } + public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43603,6 +49903,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders": + return IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43669,6 +49980,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43714,8 +50034,11 @@ public StudentTitleIPartAProgramAssociationMappingContract( bool isStudentTitleIPartAProgramAssociationServicesSupported, bool isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported, bool isTitleIPartAParticipantDescriptorSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentTitleIPartAProgramAssociationServicesItemCreatable, Func isStudentTitleIPartAProgramAssociationServiceIncluded, + bool isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable, Func isStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -43731,8 +50054,11 @@ IReadOnlyList supportedExtensions IsStudentTitleIPartAProgramAssociationServicesSupported = isStudentTitleIPartAProgramAssociationServicesSupported; IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported = isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported; IsTitleIPartAParticipantDescriptorSupported = isTitleIPartAParticipantDescriptorSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentTitleIPartAProgramAssociationServicesItemCreatable = isStudentTitleIPartAProgramAssociationServicesItemCreatable; IsStudentTitleIPartAProgramAssociationServiceIncluded = isStudentTitleIPartAProgramAssociationServiceIncluded; + IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable = isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable; IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded = isStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -43748,8 +50074,11 @@ IReadOnlyList supportedExtensions public bool IsStudentTitleIPartAProgramAssociationServicesSupported { get; } public bool IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported { get; } public bool IsTitleIPartAParticipantDescriptorSupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentTitleIPartAProgramAssociationServicesItemCreatable { get; } public Func IsStudentTitleIPartAProgramAssociationServiceIncluded { get; } + public bool IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable { get; } public Func IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43796,6 +50125,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentTitleIPartAProgramAssociationServices": + return IsStudentTitleIPartAProgramAssociationServicesItemCreatable; + case "StudentTitleIPartAProgramAssociationTitleIPartAProgramServices": + return IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43867,6 +50211,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43938,6 +50291,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43991,6 +50353,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44071,6 +50442,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -44183,6 +50563,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44263,6 +50652,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -44335,6 +50733,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44415,6 +50822,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -44491,6 +50907,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44544,7 +50969,9 @@ public SurveyQuestionMappingContract( bool isSurveyReferenceSupported, bool isSurveySectionReferenceSupported, bool isSurveySectionTitleSupported, + bool isSurveyQuestionMatricesItemCreatable, Func isSurveyQuestionMatrixIncluded, + bool isSurveyQuestionResponseChoicesItemCreatable, Func isSurveyQuestionResponseChoiceIncluded, IReadOnlyList supportedExtensions ) @@ -44556,7 +50983,9 @@ IReadOnlyList supportedExtensions IsSurveyReferenceSupported = isSurveyReferenceSupported; IsSurveySectionReferenceSupported = isSurveySectionReferenceSupported; IsSurveySectionTitleSupported = isSurveySectionTitleSupported; + IsSurveyQuestionMatricesItemCreatable = isSurveyQuestionMatricesItemCreatable; IsSurveyQuestionMatrixIncluded = isSurveyQuestionMatrixIncluded; + IsSurveyQuestionResponseChoicesItemCreatable = isSurveyQuestionResponseChoicesItemCreatable; IsSurveyQuestionResponseChoiceIncluded = isSurveyQuestionResponseChoiceIncluded; SupportedExtensions = supportedExtensions; } @@ -44568,7 +50997,9 @@ IReadOnlyList supportedExtensions public bool IsSurveyReferenceSupported { get; } public bool IsSurveySectionReferenceSupported { get; } public bool IsSurveySectionTitleSupported { get; } + public bool IsSurveyQuestionMatricesItemCreatable { get; } public Func IsSurveyQuestionMatrixIncluded { get; } + public bool IsSurveyQuestionResponseChoicesItemCreatable { get; } public Func IsSurveyQuestionResponseChoiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -44601,6 +51032,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SurveyQuestionMatrices": + return IsSurveyQuestionMatricesItemCreatable; + case "SurveyQuestionResponseChoices": + return IsSurveyQuestionResponseChoicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44666,6 +51110,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44719,7 +51172,9 @@ public SurveyQuestionResponseMappingContract( bool isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported, bool isSurveyQuestionResponseValuesSupported, bool isSurveyResponseReferenceSupported, + bool isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable, Func isSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded, + bool isSurveyQuestionResponseValuesItemCreatable, Func isSurveyQuestionResponseValueIncluded, IReadOnlyList supportedExtensions ) @@ -44730,7 +51185,9 @@ IReadOnlyList supportedExtensions IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported = isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported; IsSurveyQuestionResponseValuesSupported = isSurveyQuestionResponseValuesSupported; IsSurveyResponseReferenceSupported = isSurveyResponseReferenceSupported; + IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable = isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable; IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded = isSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded; + IsSurveyQuestionResponseValuesItemCreatable = isSurveyQuestionResponseValuesItemCreatable; IsSurveyQuestionResponseValueIncluded = isSurveyQuestionResponseValueIncluded; SupportedExtensions = supportedExtensions; } @@ -44741,7 +51198,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -44774,6 +51233,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SurveyQuestionResponseSurveyQuestionMatrixElementResponses": + return IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable; + case "SurveyQuestionResponseValues": + return IsSurveyQuestionResponseValuesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44839,6 +51311,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44922,6 +51403,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44987,6 +51477,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45054,6 +51553,7 @@ public SurveyResponseMappingContract( bool isStudentUniqueIdSupported, bool isSurveyReferenceSupported, bool isSurveyResponseSurveyLevelsSupported, + bool isSurveyResponseSurveyLevelsItemCreatable, Func isSurveyResponseSurveyLevelIncluded, IReadOnlyList supportedExtensions ) @@ -45071,6 +51571,7 @@ IReadOnlyList supportedExtensions IsStudentUniqueIdSupported = isStudentUniqueIdSupported; IsSurveyReferenceSupported = isSurveyReferenceSupported; IsSurveyResponseSurveyLevelsSupported = isSurveyResponseSurveyLevelsSupported; + IsSurveyResponseSurveyLevelsItemCreatable = isSurveyResponseSurveyLevelsItemCreatable; IsSurveyResponseSurveyLevelIncluded = isSurveyResponseSurveyLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -45088,6 +51589,7 @@ IReadOnlyList supportedExtensions public bool IsStudentUniqueIdSupported { get; } public bool IsSurveyReferenceSupported { get; } public bool IsSurveyResponseSurveyLevelsSupported { get; } + public bool IsSurveyResponseSurveyLevelsItemCreatable { get; } public Func IsSurveyResponseSurveyLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -45132,6 +51634,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SurveyResponseSurveyLevels": + return IsSurveyResponseSurveyLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45210,6 +51723,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45288,6 +51810,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45341,6 +51872,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45408,6 +51948,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45498,6 +52047,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45582,6 +52140,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45664,6 +52231,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45746,6 +52322,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45826,6 +52411,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -45900,6 +52494,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -45974,6 +52577,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46048,6 +52660,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46122,6 +52743,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46196,6 +52826,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46270,6 +52909,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46344,6 +52992,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46418,6 +53075,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46492,6 +53158,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46566,5 +53241,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Mappers_EntityMapper.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Mappers_EntityMapper.generated.approved.cs index 0821323ad3..9cc7364c47 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Mappers_EntityMapper.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Mappers_EntityMapper.generated.approved.cs @@ -2091,6 +2091,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -2103,6 +2104,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentAssessedGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentAssessedGradeLevelIncluded?.Invoke(item) ?? true); } @@ -2115,6 +2117,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -2127,6 +2130,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentLanguageIncluded?.Invoke(item) ?? true); } @@ -2139,6 +2143,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentPerformanceLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentPerformanceLevelIncluded?.Invoke(item) ?? true); } @@ -2151,6 +2156,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentPeriodIncluded?.Invoke(item) ?? true); } @@ -2163,6 +2169,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentPlatformTypesItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentPlatformTypeIncluded?.Invoke(item) ?? true); } @@ -2175,6 +2182,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentProgramIncluded?.Invoke(item) ?? true); } @@ -2187,6 +2195,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentScoresItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentScoreIncluded?.Invoke(item) ?? true); } @@ -2199,6 +2208,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentSectionsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentSectionIncluded?.Invoke(item) ?? true); } @@ -2296,52 +2306,52 @@ public static void MapTo(this IAssessment source, IAssessment target, Action mappingContract?.IsAssessmentContentStandardAuthorIncluded?.Invoke(item) ?? true); } @@ -2664,7 +2675,7 @@ public static void MapTo(this IAssessmentContentStandard source, IAssessmentCont if (mappingContract?.IsAssessmentContentStandardAuthorsSupported != false) { - source.AssessmentContentStandardAuthors.MapCollectionTo(target.AssessmentContentStandardAuthors, target, mappingContract?.IsAssessmentContentStandardAuthorIncluded); + source.AssessmentContentStandardAuthors.MapCollectionTo(target.AssessmentContentStandardAuthors, mappingContract?.IsAssessmentContentStandardAuthorsItemCreatable ?? true, target, mappingContract?.IsAssessmentContentStandardAuthorIncluded); } // Map extensions @@ -3843,6 +3854,7 @@ public static bool SynchronizeTo(this IAssessmentItem source, IAssessmentItem ta { child.AssessmentItem = target; }, + itemCreatable: mappingContract?.IsAssessmentItemLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentItemLearningStandardIncluded?.Invoke(item) ?? true); } @@ -3855,6 +3867,7 @@ public static bool SynchronizeTo(this IAssessmentItem source, IAssessmentItem ta { child.AssessmentItem = target; }, + itemCreatable: mappingContract?.IsAssessmentItemPossibleResponsesItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentItemPossibleResponseIncluded?.Invoke(item) ?? true); } @@ -3917,12 +3930,12 @@ public static void MapTo(this IAssessmentItem source, IAssessmentItem target, Ac if (mappingContract?.IsAssessmentItemLearningStandardsSupported != false) { - source.AssessmentItemLearningStandards.MapCollectionTo(target.AssessmentItemLearningStandards, target, mappingContract?.IsAssessmentItemLearningStandardIncluded); + source.AssessmentItemLearningStandards.MapCollectionTo(target.AssessmentItemLearningStandards, mappingContract?.IsAssessmentItemLearningStandardsItemCreatable ?? true, target, mappingContract?.IsAssessmentItemLearningStandardIncluded); } if (mappingContract?.IsAssessmentItemPossibleResponsesSupported != false) { - source.AssessmentItemPossibleResponses.MapCollectionTo(target.AssessmentItemPossibleResponses, target, mappingContract?.IsAssessmentItemPossibleResponseIncluded); + source.AssessmentItemPossibleResponses.MapCollectionTo(target.AssessmentItemPossibleResponses, mappingContract?.IsAssessmentItemPossibleResponsesItemCreatable ?? true, target, mappingContract?.IsAssessmentItemPossibleResponseIncluded); } // Map extensions @@ -4797,6 +4810,7 @@ public static bool SynchronizeTo(this IAssessmentScoreRangeLearningStandard sour { child.AssessmentScoreRangeLearningStandard = target; }, + itemCreatable: mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardIncluded?.Invoke(item) ?? true); } @@ -4855,7 +4869,7 @@ public static void MapTo(this IAssessmentScoreRangeLearningStandard source, IAss if (mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardsSupported != false) { - source.AssessmentScoreRangeLearningStandardLearningStandards.MapCollectionTo(target.AssessmentScoreRangeLearningStandardLearningStandards, target, mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardIncluded); + source.AssessmentScoreRangeLearningStandardLearningStandards.MapCollectionTo(target.AssessmentScoreRangeLearningStandardLearningStandards, mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable ?? true, target, mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardIncluded); } // Map extensions @@ -5466,6 +5480,7 @@ public static bool SynchronizeTo(this IBalanceSheetDimension source, IBalanceShe { child.BalanceSheetDimension = target; }, + itemCreatable: mappingContract?.IsBalanceSheetDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsBalanceSheetDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -5505,7 +5520,7 @@ public static void MapTo(this IBalanceSheetDimension source, IBalanceSheetDimens if (mappingContract?.IsBalanceSheetDimensionReportingTagsSupported != false) { - source.BalanceSheetDimensionReportingTags.MapCollectionTo(target.BalanceSheetDimensionReportingTags, target, mappingContract?.IsBalanceSheetDimensionReportingTagIncluded); + source.BalanceSheetDimensionReportingTags.MapCollectionTo(target.BalanceSheetDimensionReportingTags, mappingContract?.IsBalanceSheetDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsBalanceSheetDimensionReportingTagIncluded); } // Map extensions @@ -5978,6 +5993,7 @@ public static bool SynchronizeTo(this IBellSchedule source, IBellSchedule target { child.BellSchedule = target; }, + itemCreatable: mappingContract?.IsBellScheduleClassPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsBellScheduleClassPeriodIncluded?.Invoke(item) ?? true); } @@ -5990,6 +6006,7 @@ public static bool SynchronizeTo(this IBellSchedule source, IBellSchedule target { child.BellSchedule = target; }, + itemCreatable: mappingContract?.IsBellScheduleDatesItemCreatable ?? true, includeItem: item => mappingContract?.IsBellScheduleDateIncluded?.Invoke(item) ?? true); } @@ -6002,6 +6019,7 @@ public static bool SynchronizeTo(this IBellSchedule source, IBellSchedule target { child.BellSchedule = target; }, + itemCreatable: mappingContract?.IsBellScheduleGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsBellScheduleGradeLevelIncluded?.Invoke(item) ?? true); } @@ -6056,17 +6074,17 @@ public static void MapTo(this IBellSchedule source, IBellSchedule target, Action if (mappingContract?.IsBellScheduleClassPeriodsSupported != false) { - source.BellScheduleClassPeriods.MapCollectionTo(target.BellScheduleClassPeriods, target, mappingContract?.IsBellScheduleClassPeriodIncluded); + source.BellScheduleClassPeriods.MapCollectionTo(target.BellScheduleClassPeriods, mappingContract?.IsBellScheduleClassPeriodsItemCreatable ?? true, target, mappingContract?.IsBellScheduleClassPeriodIncluded); } if (mappingContract?.IsBellScheduleDatesSupported != false) { - source.BellScheduleDates.MapCollectionTo(target.BellScheduleDates, target, mappingContract?.IsBellScheduleDateIncluded); + source.BellScheduleDates.MapCollectionTo(target.BellScheduleDates, mappingContract?.IsBellScheduleDatesItemCreatable ?? true, target, mappingContract?.IsBellScheduleDateIncluded); } if (mappingContract?.IsBellScheduleGradeLevelsSupported != false) { - source.BellScheduleGradeLevels.MapCollectionTo(target.BellScheduleGradeLevels, target, mappingContract?.IsBellScheduleGradeLevelIncluded); + source.BellScheduleGradeLevels.MapCollectionTo(target.BellScheduleGradeLevels, mappingContract?.IsBellScheduleGradeLevelsItemCreatable ?? true, target, mappingContract?.IsBellScheduleGradeLevelIncluded); } // Map extensions @@ -6362,6 +6380,7 @@ public static bool SynchronizeTo(this ICalendar source, ICalendar target) { child.Calendar = target; }, + itemCreatable: mappingContract?.IsCalendarGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCalendarGradeLevelIncluded?.Invoke(item) ?? true); } @@ -6409,7 +6428,7 @@ public static void MapTo(this ICalendar source, ICalendar target, Action mappingContract?.IsCalendarDateCalendarEventIncluded?.Invoke(item) ?? true); } @@ -6597,7 +6617,7 @@ public static void MapTo(this ICalendarDate source, ICalendarDate target, Action if (mappingContract?.IsCalendarDateCalendarEventsSupported != false) { - source.CalendarDateCalendarEvents.MapCollectionTo(target.CalendarDateCalendarEvents, target, mappingContract?.IsCalendarDateCalendarEventIncluded); + source.CalendarDateCalendarEvents.MapCollectionTo(target.CalendarDateCalendarEvents, mappingContract?.IsCalendarDateCalendarEventsItemCreatable ?? true, target, mappingContract?.IsCalendarDateCalendarEventIncluded); } // Map extensions @@ -7569,6 +7589,7 @@ public static bool SynchronizeTo(this IChartOfAccount source, IChartOfAccount ta { child.ChartOfAccount = target; }, + itemCreatable: mappingContract?.IsChartOfAccountReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsChartOfAccountReportingTagIncluded?.Invoke(item) ?? true); } @@ -7659,7 +7680,7 @@ public static void MapTo(this IChartOfAccount source, IChartOfAccount target, Ac if (mappingContract?.IsChartOfAccountReportingTagsSupported != false) { - source.ChartOfAccountReportingTags.MapCollectionTo(target.ChartOfAccountReportingTags, target, mappingContract?.IsChartOfAccountReportingTagIncluded); + source.ChartOfAccountReportingTags.MapCollectionTo(target.ChartOfAccountReportingTags, mappingContract?.IsChartOfAccountReportingTagsItemCreatable ?? true, target, mappingContract?.IsChartOfAccountReportingTagIncluded); } // Map extensions @@ -7989,6 +8010,7 @@ public static bool SynchronizeTo(this IClassPeriod source, IClassPeriod target) { child.ClassPeriod = target; }, + itemCreatable: mappingContract?.IsClassPeriodMeetingTimesItemCreatable ?? true, includeItem: item => mappingContract?.IsClassPeriodMeetingTimeIncluded?.Invoke(item) ?? true); } @@ -8034,7 +8056,7 @@ public static void MapTo(this IClassPeriod source, IClassPeriod target, Action mappingContract?.IsCohortProgramIncluded?.Invoke(item) ?? true); } @@ -8411,7 +8434,7 @@ public static void MapTo(this ICohort source, ICohort target, Action child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -9051,6 +9075,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -9060,6 +9085,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -9069,6 +9095,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -9078,6 +9105,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -9087,6 +9115,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -9138,32 +9167,32 @@ public static void MapTo(this ICommunityOrganization source, ICommunityOrganizat if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -9303,6 +9332,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -9312,6 +9342,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -9321,6 +9352,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -9330,6 +9362,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -9339,6 +9372,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -9348,6 +9382,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -9423,32 +9458,32 @@ public static void MapTo(this ICommunityProvider source, ICommunityProvider targ if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -10859,6 +10894,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseCompetencyLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseCompetencyLevelIncluded?.Invoke(item) ?? true); } @@ -10871,6 +10907,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -10883,6 +10920,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseLearningObjectivesItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseLearningObjectiveIncluded?.Invoke(item) ?? true); } @@ -10895,6 +10933,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseLearningStandardIncluded?.Invoke(item) ?? true); } @@ -10907,6 +10946,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseLevelCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseLevelCharacteristicIncluded?.Invoke(item) ?? true); } @@ -10919,6 +10959,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseOfferedGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseOfferedGradeLevelIncluded?.Invoke(item) ?? true); } @@ -11013,32 +11054,32 @@ public static void MapTo(this ICourse source, ICourse target, Action mappingContract?.IsCourseOfferingCourseLevelCharacteristicIncluded?.Invoke(item) ?? true); } @@ -12376,6 +12418,7 @@ public static bool SynchronizeTo(this ICourseOffering source, ICourseOffering ta { child.CourseOffering = target; }, + itemCreatable: mappingContract?.IsCourseOfferingCurriculumUsedsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseOfferingCurriculumUsedIncluded?.Invoke(item) ?? true); } @@ -12388,6 +12431,7 @@ public static bool SynchronizeTo(this ICourseOffering source, ICourseOffering ta { child.CourseOffering = target; }, + itemCreatable: mappingContract?.IsCourseOfferingOfferedGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseOfferingOfferedGradeLevelIncluded?.Invoke(item) ?? true); } @@ -12448,17 +12492,17 @@ public static void MapTo(this ICourseOffering source, ICourseOffering target, Ac if (mappingContract?.IsCourseOfferingCourseLevelCharacteristicsSupported != false) { - source.CourseOfferingCourseLevelCharacteristics.MapCollectionTo(target.CourseOfferingCourseLevelCharacteristics, target, mappingContract?.IsCourseOfferingCourseLevelCharacteristicIncluded); + source.CourseOfferingCourseLevelCharacteristics.MapCollectionTo(target.CourseOfferingCourseLevelCharacteristics, mappingContract?.IsCourseOfferingCourseLevelCharacteristicsItemCreatable ?? true, target, mappingContract?.IsCourseOfferingCourseLevelCharacteristicIncluded); } if (mappingContract?.IsCourseOfferingCurriculumUsedsSupported != false) { - source.CourseOfferingCurriculumUseds.MapCollectionTo(target.CourseOfferingCurriculumUseds, target, mappingContract?.IsCourseOfferingCurriculumUsedIncluded); + source.CourseOfferingCurriculumUseds.MapCollectionTo(target.CourseOfferingCurriculumUseds, mappingContract?.IsCourseOfferingCurriculumUsedsItemCreatable ?? true, target, mappingContract?.IsCourseOfferingCurriculumUsedIncluded); } if (mappingContract?.IsCourseOfferingOfferedGradeLevelsSupported != false) { - source.CourseOfferingOfferedGradeLevels.MapCollectionTo(target.CourseOfferingOfferedGradeLevels, target, mappingContract?.IsCourseOfferingOfferedGradeLevelIncluded); + source.CourseOfferingOfferedGradeLevels.MapCollectionTo(target.CourseOfferingOfferedGradeLevels, mappingContract?.IsCourseOfferingOfferedGradeLevelsItemCreatable ?? true, target, mappingContract?.IsCourseOfferingOfferedGradeLevelIncluded); } // Map extensions @@ -13022,6 +13066,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -13034,6 +13079,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -13046,6 +13092,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptCreditCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptCreditCategoryIncluded?.Invoke(item) ?? true); } @@ -13058,6 +13105,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsIncluded?.Invoke(item) ?? true); } @@ -13070,6 +13118,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsIncluded?.Invoke(item) ?? true); } @@ -13176,27 +13225,27 @@ public static void MapTo(this ICourseTranscript source, ICourseTranscript target if (mappingContract?.IsCourseTranscriptAcademicSubjectsSupported != false) { - source.CourseTranscriptAcademicSubjects.MapCollectionTo(target.CourseTranscriptAcademicSubjects, target, mappingContract?.IsCourseTranscriptAcademicSubjectIncluded); + source.CourseTranscriptAcademicSubjects.MapCollectionTo(target.CourseTranscriptAcademicSubjects, mappingContract?.IsCourseTranscriptAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptAcademicSubjectIncluded); } if (mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodesSupported != false) { - source.CourseTranscriptAlternativeCourseIdentificationCodes.MapCollectionTo(target.CourseTranscriptAlternativeCourseIdentificationCodes, target, mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded); + source.CourseTranscriptAlternativeCourseIdentificationCodes.MapCollectionTo(target.CourseTranscriptAlternativeCourseIdentificationCodes, mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded); } if (mappingContract?.IsCourseTranscriptCreditCategoriesSupported != false) { - source.CourseTranscriptCreditCategories.MapCollectionTo(target.CourseTranscriptCreditCategories, target, mappingContract?.IsCourseTranscriptCreditCategoryIncluded); + source.CourseTranscriptCreditCategories.MapCollectionTo(target.CourseTranscriptCreditCategories, mappingContract?.IsCourseTranscriptCreditCategoriesItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptCreditCategoryIncluded); } if (mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsSupported != false) { - source.CourseTranscriptEarnedAdditionalCredits.MapCollectionTo(target.CourseTranscriptEarnedAdditionalCredits, target, mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsIncluded); + source.CourseTranscriptEarnedAdditionalCredits.MapCollectionTo(target.CourseTranscriptEarnedAdditionalCredits, mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsIncluded); } if (mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsSupported != false) { - source.CourseTranscriptPartialCourseTranscriptAwards.MapCollectionTo(target.CourseTranscriptPartialCourseTranscriptAwards, target, mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsIncluded); + source.CourseTranscriptPartialCourseTranscriptAwards.MapCollectionTo(target.CourseTranscriptPartialCourseTranscriptAwards, mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsIncluded); } // Map extensions @@ -13753,6 +13802,7 @@ public static bool SynchronizeTo(this ICredential source, ICredential target) { child.Credential = target; }, + itemCreatable: mappingContract?.IsCredentialAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsCredentialAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -13765,6 +13815,7 @@ public static bool SynchronizeTo(this ICredential source, ICredential target) { child.Credential = target; }, + itemCreatable: mappingContract?.IsCredentialEndorsementsItemCreatable ?? true, includeItem: item => mappingContract?.IsCredentialEndorsementIncluded?.Invoke(item) ?? true); } @@ -13777,6 +13828,7 @@ public static bool SynchronizeTo(this ICredential source, ICredential target) { child.Credential = target; }, + itemCreatable: mappingContract?.IsCredentialGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCredentialGradeLevelIncluded?.Invoke(item) ?? true); } @@ -13837,17 +13889,17 @@ public static void MapTo(this ICredential source, ICredential target, Action mappingContract?.IsDescriptorMappingModelEntityIncluded?.Invoke(item) ?? true); } @@ -15232,7 +15285,7 @@ public static void MapTo(this IDescriptorMapping source, IDescriptorMapping targ if (mappingContract?.IsDescriptorMappingModelEntitiesSupported != false) { - source.DescriptorMappingModelEntities.MapCollectionTo(target.DescriptorMappingModelEntities, target, mappingContract?.IsDescriptorMappingModelEntityIncluded); + source.DescriptorMappingModelEntities.MapCollectionTo(target.DescriptorMappingModelEntities, mappingContract?.IsDescriptorMappingModelEntitiesItemCreatable ?? true, target, mappingContract?.IsDescriptorMappingModelEntityIncluded); } // Map extensions @@ -16342,6 +16395,7 @@ public static bool SynchronizeTo(this IDisciplineAction source, IDisciplineActio { child.DisciplineAction = target; }, + itemCreatable: mappingContract?.IsDisciplineActionDisciplinesItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineActionDisciplineIncluded?.Invoke(item) ?? true); } @@ -16354,6 +16408,7 @@ public static bool SynchronizeTo(this IDisciplineAction source, IDisciplineActio { child.DisciplineAction = target; }, + itemCreatable: mappingContract?.IsDisciplineActionStaffsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineActionStaffIncluded?.Invoke(item) ?? true); } @@ -16366,6 +16421,7 @@ public static bool SynchronizeTo(this IDisciplineAction source, IDisciplineActio { child.DisciplineAction = target; }, + itemCreatable: mappingContract?.IsDisciplineActionStudentDisciplineIncidentAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineActionStudentDisciplineIncidentAssociationIncluded?.Invoke(item) ?? true); } @@ -16378,6 +16434,7 @@ public static bool SynchronizeTo(this IDisciplineAction source, IDisciplineActio { child.DisciplineAction = target; }, + itemCreatable: mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded?.Invoke(item) ?? true); } @@ -16448,22 +16505,22 @@ public static void MapTo(this IDisciplineAction source, IDisciplineAction target if (mappingContract?.IsDisciplineActionDisciplinesSupported != false) { - source.DisciplineActionDisciplines.MapCollectionTo(target.DisciplineActionDisciplines, target, mappingContract?.IsDisciplineActionDisciplineIncluded); + source.DisciplineActionDisciplines.MapCollectionTo(target.DisciplineActionDisciplines, mappingContract?.IsDisciplineActionDisciplinesItemCreatable ?? true, target, mappingContract?.IsDisciplineActionDisciplineIncluded); } if (mappingContract?.IsDisciplineActionStaffsSupported != false) { - source.DisciplineActionStaffs.MapCollectionTo(target.DisciplineActionStaffs, target, mappingContract?.IsDisciplineActionStaffIncluded); + source.DisciplineActionStaffs.MapCollectionTo(target.DisciplineActionStaffs, mappingContract?.IsDisciplineActionStaffsItemCreatable ?? true, target, mappingContract?.IsDisciplineActionStaffIncluded); } if (mappingContract?.IsDisciplineActionStudentDisciplineIncidentAssociationsSupported != false) { - source.DisciplineActionStudentDisciplineIncidentAssociations.MapCollectionTo(target.DisciplineActionStudentDisciplineIncidentAssociations, target, mappingContract?.IsDisciplineActionStudentDisciplineIncidentAssociationIncluded); + source.DisciplineActionStudentDisciplineIncidentAssociations.MapCollectionTo(target.DisciplineActionStudentDisciplineIncidentAssociations, mappingContract?.IsDisciplineActionStudentDisciplineIncidentAssociationsItemCreatable ?? true, target, mappingContract?.IsDisciplineActionStudentDisciplineIncidentAssociationIncluded); } if (mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsSupported != false) { - source.DisciplineActionStudentDisciplineIncidentBehaviorAssociations.MapCollectionTo(target.DisciplineActionStudentDisciplineIncidentBehaviorAssociations, target, mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded); + source.DisciplineActionStudentDisciplineIncidentBehaviorAssociations.MapCollectionTo(target.DisciplineActionStudentDisciplineIncidentBehaviorAssociations, mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable ?? true, target, mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded); } // Map extensions @@ -17212,6 +17269,7 @@ public static bool SynchronizeTo(this IDisciplineIncident source, IDisciplineInc { child.DisciplineIncident = target; }, + itemCreatable: mappingContract?.IsDisciplineIncidentBehaviorsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineIncidentBehaviorIncluded?.Invoke(item) ?? true); } @@ -17224,6 +17282,7 @@ public static bool SynchronizeTo(this IDisciplineIncident source, IDisciplineInc { child.DisciplineIncident = target; }, + itemCreatable: mappingContract?.IsDisciplineIncidentExternalParticipantsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineIncidentExternalParticipantIncluded?.Invoke(item) ?? true); } @@ -17236,6 +17295,7 @@ public static bool SynchronizeTo(this IDisciplineIncident source, IDisciplineInc { child.DisciplineIncident = target; }, + itemCreatable: mappingContract?.IsDisciplineIncidentWeaponsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineIncidentWeaponIncluded?.Invoke(item) ?? true); } @@ -17310,17 +17370,17 @@ public static void MapTo(this IDisciplineIncident source, IDisciplineIncident ta if (mappingContract?.IsDisciplineIncidentBehaviorsSupported != false) { - source.DisciplineIncidentBehaviors.MapCollectionTo(target.DisciplineIncidentBehaviors, target, mappingContract?.IsDisciplineIncidentBehaviorIncluded); + source.DisciplineIncidentBehaviors.MapCollectionTo(target.DisciplineIncidentBehaviors, mappingContract?.IsDisciplineIncidentBehaviorsItemCreatable ?? true, target, mappingContract?.IsDisciplineIncidentBehaviorIncluded); } if (mappingContract?.IsDisciplineIncidentExternalParticipantsSupported != false) { - source.DisciplineIncidentExternalParticipants.MapCollectionTo(target.DisciplineIncidentExternalParticipants, target, mappingContract?.IsDisciplineIncidentExternalParticipantIncluded); + source.DisciplineIncidentExternalParticipants.MapCollectionTo(target.DisciplineIncidentExternalParticipants, mappingContract?.IsDisciplineIncidentExternalParticipantsItemCreatable ?? true, target, mappingContract?.IsDisciplineIncidentExternalParticipantIncluded); } if (mappingContract?.IsDisciplineIncidentWeaponsSupported != false) { - source.DisciplineIncidentWeapons.MapCollectionTo(target.DisciplineIncidentWeapons, target, mappingContract?.IsDisciplineIncidentWeaponIncluded); + source.DisciplineIncidentWeapons.MapCollectionTo(target.DisciplineIncidentWeapons, mappingContract?.IsDisciplineIncidentWeaponsItemCreatable ?? true, target, mappingContract?.IsDisciplineIncidentWeaponIncluded); } // Map extensions @@ -18028,6 +18088,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentAppropriateGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentAppropriateGradeLevelIncluded?.Invoke(item) ?? true); } @@ -18040,6 +18101,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentAppropriateSexesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentAppropriateSexIncluded?.Invoke(item) ?? true); } @@ -18052,6 +18114,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentAuthorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentAuthorIncluded?.Invoke(item) ?? true); } @@ -18064,6 +18127,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentDerivativeSourceEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentDerivativeSourceEducationContentIncluded?.Invoke(item) ?? true); } @@ -18076,6 +18140,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded?.Invoke(item) ?? true); } @@ -18088,6 +18153,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentDerivativeSourceURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentDerivativeSourceURIIncluded?.Invoke(item) ?? true); } @@ -18100,6 +18166,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentLanguageIncluded?.Invoke(item) ?? true); } @@ -18190,37 +18257,37 @@ public static void MapTo(this IEducationContent source, IEducationContent target if (mappingContract?.IsEducationContentAppropriateGradeLevelsSupported != false) { - source.EducationContentAppropriateGradeLevels.MapCollectionTo(target.EducationContentAppropriateGradeLevels, target, mappingContract?.IsEducationContentAppropriateGradeLevelIncluded); + source.EducationContentAppropriateGradeLevels.MapCollectionTo(target.EducationContentAppropriateGradeLevels, mappingContract?.IsEducationContentAppropriateGradeLevelsItemCreatable ?? true, target, mappingContract?.IsEducationContentAppropriateGradeLevelIncluded); } if (mappingContract?.IsEducationContentAppropriateSexesSupported != false) { - source.EducationContentAppropriateSexes.MapCollectionTo(target.EducationContentAppropriateSexes, target, mappingContract?.IsEducationContentAppropriateSexIncluded); + source.EducationContentAppropriateSexes.MapCollectionTo(target.EducationContentAppropriateSexes, mappingContract?.IsEducationContentAppropriateSexesItemCreatable ?? true, target, mappingContract?.IsEducationContentAppropriateSexIncluded); } if (mappingContract?.IsEducationContentAuthorsSupported != false) { - source.EducationContentAuthors.MapCollectionTo(target.EducationContentAuthors, target, mappingContract?.IsEducationContentAuthorIncluded); + source.EducationContentAuthors.MapCollectionTo(target.EducationContentAuthors, mappingContract?.IsEducationContentAuthorsItemCreatable ?? true, target, mappingContract?.IsEducationContentAuthorIncluded); } if (mappingContract?.IsEducationContentDerivativeSourceEducationContentsSupported != false) { - source.EducationContentDerivativeSourceEducationContents.MapCollectionTo(target.EducationContentDerivativeSourceEducationContents, target, mappingContract?.IsEducationContentDerivativeSourceEducationContentIncluded); + source.EducationContentDerivativeSourceEducationContents.MapCollectionTo(target.EducationContentDerivativeSourceEducationContents, mappingContract?.IsEducationContentDerivativeSourceEducationContentsItemCreatable ?? true, target, mappingContract?.IsEducationContentDerivativeSourceEducationContentIncluded); } if (mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIsSupported != false) { - source.EducationContentDerivativeSourceLearningResourceMetadataURIs.MapCollectionTo(target.EducationContentDerivativeSourceLearningResourceMetadataURIs, target, mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded); + source.EducationContentDerivativeSourceLearningResourceMetadataURIs.MapCollectionTo(target.EducationContentDerivativeSourceLearningResourceMetadataURIs, mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable ?? true, target, mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded); } if (mappingContract?.IsEducationContentDerivativeSourceURIsSupported != false) { - source.EducationContentDerivativeSourceURIs.MapCollectionTo(target.EducationContentDerivativeSourceURIs, target, mappingContract?.IsEducationContentDerivativeSourceURIIncluded); + source.EducationContentDerivativeSourceURIs.MapCollectionTo(target.EducationContentDerivativeSourceURIs, mappingContract?.IsEducationContentDerivativeSourceURIsItemCreatable ?? true, target, mappingContract?.IsEducationContentDerivativeSourceURIIncluded); } if (mappingContract?.IsEducationContentLanguagesSupported != false) { - source.EducationContentLanguages.MapCollectionTo(target.EducationContentLanguages, target, mappingContract?.IsEducationContentLanguageIncluded); + source.EducationContentLanguages.MapCollectionTo(target.EducationContentLanguages, mappingContract?.IsEducationContentLanguagesItemCreatable ?? true, target, mappingContract?.IsEducationContentLanguageIncluded); } // Map extensions @@ -18840,6 +18907,7 @@ public static bool SynchronizeTo(this IEducationOrganizationAddress source, IEdu { child.EducationOrganizationAddress = target; }, + itemCreatable: mappingContract?.IsEducationOrganizationAddressPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -18903,7 +18971,7 @@ public static void MapTo(this IEducationOrganizationAddress source, IEducationOr if (mappingContract?.IsEducationOrganizationAddressPeriodsSupported != false) { - source.EducationOrganizationAddressPeriods.MapCollectionTo(target.EducationOrganizationAddressPeriods, target, mappingContract?.IsEducationOrganizationAddressPeriodIncluded); + source.EducationOrganizationAddressPeriods.MapCollectionTo(target.EducationOrganizationAddressPeriods, mappingContract?.IsEducationOrganizationAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressPeriodIncluded); } // Map extensions @@ -19216,6 +19284,7 @@ public static bool SynchronizeTo(this IEducationOrganizationIndicator source, IE { child.EducationOrganizationIndicator = target; }, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorPeriodIncluded?.Invoke(item) ?? true); } @@ -19260,7 +19329,7 @@ public static void MapTo(this IEducationOrganizationIndicator source, IEducation if (mappingContract?.IsEducationOrganizationIndicatorPeriodsSupported != false) { - source.EducationOrganizationIndicatorPeriods.MapCollectionTo(target.EducationOrganizationIndicatorPeriods, target, mappingContract?.IsEducationOrganizationIndicatorPeriodIncluded); + source.EducationOrganizationIndicatorPeriods.MapCollectionTo(target.EducationOrganizationIndicatorPeriods, mappingContract?.IsEducationOrganizationIndicatorPeriodsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorPeriodIncluded); } // Map extensions @@ -20260,6 +20329,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -20269,6 +20339,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -20278,6 +20349,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -20287,6 +20359,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -20296,6 +20369,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -20305,6 +20379,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -20359,32 +20434,32 @@ public static void MapTo(this IEducationOrganizationNetwork source, IEducationOr if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -20854,6 +20929,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -20863,6 +20939,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -20872,6 +20949,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -20881,6 +20959,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -20890,6 +20969,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -20899,6 +20979,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -20959,32 +21040,32 @@ public static void MapTo(this IEducationServiceCenter source, IEducationServiceC if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -22245,6 +22326,7 @@ public static bool SynchronizeTo(this IFunctionDimension source, IFunctionDimens { child.FunctionDimension = target; }, + itemCreatable: mappingContract?.IsFunctionDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsFunctionDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -22284,7 +22366,7 @@ public static void MapTo(this IFunctionDimension source, IFunctionDimension targ if (mappingContract?.IsFunctionDimensionReportingTagsSupported != false) { - source.FunctionDimensionReportingTags.MapCollectionTo(target.FunctionDimensionReportingTags, target, mappingContract?.IsFunctionDimensionReportingTagIncluded); + source.FunctionDimensionReportingTags.MapCollectionTo(target.FunctionDimensionReportingTags, mappingContract?.IsFunctionDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsFunctionDimensionReportingTagIncluded); } // Map extensions @@ -22432,6 +22514,7 @@ public static bool SynchronizeTo(this IFundDimension source, IFundDimension targ { child.FundDimension = target; }, + itemCreatable: mappingContract?.IsFundDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsFundDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -22471,7 +22554,7 @@ public static void MapTo(this IFundDimension source, IFundDimension target, Acti if (mappingContract?.IsFundDimensionReportingTagsSupported != false) { - source.FundDimensionReportingTags.MapCollectionTo(target.FundDimensionReportingTags, target, mappingContract?.IsFundDimensionReportingTagIncluded); + source.FundDimensionReportingTags.MapCollectionTo(target.FundDimensionReportingTags, mappingContract?.IsFundDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsFundDimensionReportingTagIncluded); } // Map extensions @@ -22665,6 +22748,7 @@ public static bool SynchronizeTo(this IGeneralStudentProgramAssociation source, { child.GeneralStudentProgramAssociation = target; }, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -22825,7 +22909,7 @@ public static void MapTo(this IGeneralStudentProgramAssociation source, IGeneral if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } @@ -23201,6 +23285,7 @@ public static bool SynchronizeTo(this IGrade source, IGrade target) { child.Grade = target; }, + itemCreatable: mappingContract?.IsGradeLearningStandardGradesItemCreatable ?? true, includeItem: item => mappingContract?.IsGradeLearningStandardGradeIncluded?.Invoke(item) ?? true); } @@ -23273,7 +23358,7 @@ public static void MapTo(this IGrade source, IGrade target, Action mappingContract?.IsGradebookEntryLearningStandardIncluded?.Invoke(item) ?? true); } @@ -23676,7 +23762,7 @@ public static void MapTo(this IGradebookEntry source, IGradebookEntry target, Ac if (mappingContract?.IsGradebookEntryLearningStandardsSupported != false) { - source.GradebookEntryLearningStandards.MapCollectionTo(target.GradebookEntryLearningStandards, target, mappingContract?.IsGradebookEntryLearningStandardIncluded); + source.GradebookEntryLearningStandards.MapCollectionTo(target.GradebookEntryLearningStandards, mappingContract?.IsGradebookEntryLearningStandardsItemCreatable ?? true, target, mappingContract?.IsGradebookEntryLearningStandardIncluded); } // Map extensions @@ -24740,6 +24826,7 @@ public static bool SynchronizeTo(this IGraduationPlan source, IGraduationPlan ta { child.GraduationPlan = target; }, + itemCreatable: mappingContract?.IsGraduationPlanCreditsByCoursesItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanCreditsByCourseIncluded?.Invoke(item) ?? true); } @@ -24752,6 +24839,7 @@ public static bool SynchronizeTo(this IGraduationPlan source, IGraduationPlan ta { child.GraduationPlan = target; }, + itemCreatable: mappingContract?.IsGraduationPlanCreditsByCreditCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanCreditsByCreditCategoryIncluded?.Invoke(item) ?? true); } @@ -24764,6 +24852,7 @@ public static bool SynchronizeTo(this IGraduationPlan source, IGraduationPlan ta { child.GraduationPlan = target; }, + itemCreatable: mappingContract?.IsGraduationPlanCreditsBySubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanCreditsBySubjectIncluded?.Invoke(item) ?? true); } @@ -24776,6 +24865,7 @@ public static bool SynchronizeTo(this IGraduationPlan source, IGraduationPlan ta { child.GraduationPlan = target; }, + itemCreatable: mappingContract?.IsGraduationPlanRequiredAssessmentsItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanRequiredAssessmentIncluded?.Invoke(item) ?? true); } @@ -24833,22 +24923,22 @@ public static void MapTo(this IGraduationPlan source, IGraduationPlan target, Ac if (mappingContract?.IsGraduationPlanCreditsByCoursesSupported != false) { - source.GraduationPlanCreditsByCourses.MapCollectionTo(target.GraduationPlanCreditsByCourses, target, mappingContract?.IsGraduationPlanCreditsByCourseIncluded); + source.GraduationPlanCreditsByCourses.MapCollectionTo(target.GraduationPlanCreditsByCourses, mappingContract?.IsGraduationPlanCreditsByCoursesItemCreatable ?? true, target, mappingContract?.IsGraduationPlanCreditsByCourseIncluded); } if (mappingContract?.IsGraduationPlanCreditsByCreditCategoriesSupported != false) { - source.GraduationPlanCreditsByCreditCategories.MapCollectionTo(target.GraduationPlanCreditsByCreditCategories, target, mappingContract?.IsGraduationPlanCreditsByCreditCategoryIncluded); + source.GraduationPlanCreditsByCreditCategories.MapCollectionTo(target.GraduationPlanCreditsByCreditCategories, mappingContract?.IsGraduationPlanCreditsByCreditCategoriesItemCreatable ?? true, target, mappingContract?.IsGraduationPlanCreditsByCreditCategoryIncluded); } if (mappingContract?.IsGraduationPlanCreditsBySubjectsSupported != false) { - source.GraduationPlanCreditsBySubjects.MapCollectionTo(target.GraduationPlanCreditsBySubjects, target, mappingContract?.IsGraduationPlanCreditsBySubjectIncluded); + source.GraduationPlanCreditsBySubjects.MapCollectionTo(target.GraduationPlanCreditsBySubjects, mappingContract?.IsGraduationPlanCreditsBySubjectsItemCreatable ?? true, target, mappingContract?.IsGraduationPlanCreditsBySubjectIncluded); } if (mappingContract?.IsGraduationPlanRequiredAssessmentsSupported != false) { - source.GraduationPlanRequiredAssessments.MapCollectionTo(target.GraduationPlanRequiredAssessments, target, mappingContract?.IsGraduationPlanRequiredAssessmentIncluded); + source.GraduationPlanRequiredAssessments.MapCollectionTo(target.GraduationPlanRequiredAssessments, mappingContract?.IsGraduationPlanRequiredAssessmentsItemCreatable ?? true, target, mappingContract?.IsGraduationPlanRequiredAssessmentIncluded); } // Map extensions @@ -24931,6 +25021,7 @@ public static bool SynchronizeTo(this IGraduationPlanCreditsByCourse source, IGr { child.GraduationPlanCreditsByCourse = target; }, + itemCreatable: mappingContract?.IsGraduationPlanCreditsByCourseCoursesItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanCreditsByCourseCourseIncluded?.Invoke(item) ?? true); } @@ -24975,7 +25066,7 @@ public static void MapTo(this IGraduationPlanCreditsByCourse source, IGraduation if (mappingContract?.IsGraduationPlanCreditsByCourseCoursesSupported != false) { - source.GraduationPlanCreditsByCourseCourses.MapCollectionTo(target.GraduationPlanCreditsByCourseCourses, target, mappingContract?.IsGraduationPlanCreditsByCourseCourseIncluded); + source.GraduationPlanCreditsByCourseCourses.MapCollectionTo(target.GraduationPlanCreditsByCourseCourses, mappingContract?.IsGraduationPlanCreditsByCourseCoursesItemCreatable ?? true, target, mappingContract?.IsGraduationPlanCreditsByCourseCourseIncluded); } // Map extensions @@ -25336,6 +25427,7 @@ public static bool SynchronizeTo(this IGraduationPlanRequiredAssessment source, { child.GraduationPlanRequiredAssessment = target; }, + itemCreatable: mappingContract?.IsGraduationPlanRequiredAssessmentScoresItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanRequiredAssessmentScoreIncluded?.Invoke(item) ?? true); } @@ -25400,7 +25492,7 @@ public static void MapTo(this IGraduationPlanRequiredAssessment source, IGraduat if (mappingContract?.IsGraduationPlanRequiredAssessmentScoresSupported != false) { - source.GraduationPlanRequiredAssessmentScores.MapCollectionTo(target.GraduationPlanRequiredAssessmentScores, target, mappingContract?.IsGraduationPlanRequiredAssessmentScoreIncluded); + source.GraduationPlanRequiredAssessmentScores.MapCollectionTo(target.GraduationPlanRequiredAssessmentScores, mappingContract?.IsGraduationPlanRequiredAssessmentScoresItemCreatable ?? true, target, mappingContract?.IsGraduationPlanRequiredAssessmentScoreIncluded); } // Map extensions @@ -27877,6 +27969,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionAppropriateGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionAppropriateGradeLevelIncluded?.Invoke(item) ?? true); } @@ -27889,6 +27982,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionAppropriateSexesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionAppropriateSexIncluded?.Invoke(item) ?? true); } @@ -27901,6 +27995,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionDiagnosesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionDiagnosisIncluded?.Invoke(item) ?? true); } @@ -27913,6 +28008,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionEducationContentIncluded?.Invoke(item) ?? true); } @@ -27925,6 +28021,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionInterventionPrescriptionsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionInterventionPrescriptionIncluded?.Invoke(item) ?? true); } @@ -27937,6 +28034,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionLearningResourceMetadataURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionLearningResourceMetadataURIIncluded?.Invoke(item) ?? true); } @@ -27949,6 +28047,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionMeetingTimesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionMeetingTimeIncluded?.Invoke(item) ?? true); } @@ -27961,6 +28060,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionPopulationServedsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPopulationServedIncluded?.Invoke(item) ?? true); } @@ -27973,6 +28073,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionStaffsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStaffIncluded?.Invoke(item) ?? true); } @@ -27985,6 +28086,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionURIIncluded?.Invoke(item) ?? true); } @@ -28049,52 +28151,52 @@ public static void MapTo(this IIntervention source, IIntervention target, Action if (mappingContract?.IsInterventionAppropriateGradeLevelsSupported != false) { - source.InterventionAppropriateGradeLevels.MapCollectionTo(target.InterventionAppropriateGradeLevels, target, mappingContract?.IsInterventionAppropriateGradeLevelIncluded); + source.InterventionAppropriateGradeLevels.MapCollectionTo(target.InterventionAppropriateGradeLevels, mappingContract?.IsInterventionAppropriateGradeLevelsItemCreatable ?? true, target, mappingContract?.IsInterventionAppropriateGradeLevelIncluded); } if (mappingContract?.IsInterventionAppropriateSexesSupported != false) { - source.InterventionAppropriateSexes.MapCollectionTo(target.InterventionAppropriateSexes, target, mappingContract?.IsInterventionAppropriateSexIncluded); + source.InterventionAppropriateSexes.MapCollectionTo(target.InterventionAppropriateSexes, mappingContract?.IsInterventionAppropriateSexesItemCreatable ?? true, target, mappingContract?.IsInterventionAppropriateSexIncluded); } if (mappingContract?.IsInterventionDiagnosesSupported != false) { - source.InterventionDiagnoses.MapCollectionTo(target.InterventionDiagnoses, target, mappingContract?.IsInterventionDiagnosisIncluded); + source.InterventionDiagnoses.MapCollectionTo(target.InterventionDiagnoses, mappingContract?.IsInterventionDiagnosesItemCreatable ?? true, target, mappingContract?.IsInterventionDiagnosisIncluded); } if (mappingContract?.IsInterventionEducationContentsSupported != false) { - source.InterventionEducationContents.MapCollectionTo(target.InterventionEducationContents, target, mappingContract?.IsInterventionEducationContentIncluded); + source.InterventionEducationContents.MapCollectionTo(target.InterventionEducationContents, mappingContract?.IsInterventionEducationContentsItemCreatable ?? true, target, mappingContract?.IsInterventionEducationContentIncluded); } if (mappingContract?.IsInterventionInterventionPrescriptionsSupported != false) { - source.InterventionInterventionPrescriptions.MapCollectionTo(target.InterventionInterventionPrescriptions, target, mappingContract?.IsInterventionInterventionPrescriptionIncluded); + source.InterventionInterventionPrescriptions.MapCollectionTo(target.InterventionInterventionPrescriptions, mappingContract?.IsInterventionInterventionPrescriptionsItemCreatable ?? true, target, mappingContract?.IsInterventionInterventionPrescriptionIncluded); } if (mappingContract?.IsInterventionLearningResourceMetadataURIsSupported != false) { - source.InterventionLearningResourceMetadataURIs.MapCollectionTo(target.InterventionLearningResourceMetadataURIs, target, mappingContract?.IsInterventionLearningResourceMetadataURIIncluded); + source.InterventionLearningResourceMetadataURIs.MapCollectionTo(target.InterventionLearningResourceMetadataURIs, mappingContract?.IsInterventionLearningResourceMetadataURIsItemCreatable ?? true, target, mappingContract?.IsInterventionLearningResourceMetadataURIIncluded); } if (mappingContract?.IsInterventionMeetingTimesSupported != false) { - source.InterventionMeetingTimes.MapCollectionTo(target.InterventionMeetingTimes, target, mappingContract?.IsInterventionMeetingTimeIncluded); + source.InterventionMeetingTimes.MapCollectionTo(target.InterventionMeetingTimes, mappingContract?.IsInterventionMeetingTimesItemCreatable ?? true, target, mappingContract?.IsInterventionMeetingTimeIncluded); } if (mappingContract?.IsInterventionPopulationServedsSupported != false) { - source.InterventionPopulationServeds.MapCollectionTo(target.InterventionPopulationServeds, target, mappingContract?.IsInterventionPopulationServedIncluded); + source.InterventionPopulationServeds.MapCollectionTo(target.InterventionPopulationServeds, mappingContract?.IsInterventionPopulationServedsItemCreatable ?? true, target, mappingContract?.IsInterventionPopulationServedIncluded); } if (mappingContract?.IsInterventionStaffsSupported != false) { - source.InterventionStaffs.MapCollectionTo(target.InterventionStaffs, target, mappingContract?.IsInterventionStaffIncluded); + source.InterventionStaffs.MapCollectionTo(target.InterventionStaffs, mappingContract?.IsInterventionStaffsItemCreatable ?? true, target, mappingContract?.IsInterventionStaffIncluded); } if (mappingContract?.IsInterventionURIsSupported != false) { - source.InterventionURIs.MapCollectionTo(target.InterventionURIs, target, mappingContract?.IsInterventionURIIncluded); + source.InterventionURIs.MapCollectionTo(target.InterventionURIs, mappingContract?.IsInterventionURIsItemCreatable ?? true, target, mappingContract?.IsInterventionURIIncluded); } // Map extensions @@ -29227,6 +29329,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelIncluded?.Invoke(item) ?? true); } @@ -29239,6 +29342,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionAppropriateSexesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionAppropriateSexIncluded?.Invoke(item) ?? true); } @@ -29251,6 +29355,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionDiagnosesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionDiagnosisIncluded?.Invoke(item) ?? true); } @@ -29263,6 +29368,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionEducationContentIncluded?.Invoke(item) ?? true); } @@ -29275,6 +29381,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIIncluded?.Invoke(item) ?? true); } @@ -29287,6 +29394,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionPopulationServedsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionPopulationServedIncluded?.Invoke(item) ?? true); } @@ -29299,6 +29407,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionURIIncluded?.Invoke(item) ?? true); } @@ -29357,37 +29466,37 @@ public static void MapTo(this IInterventionPrescription source, IInterventionPre if (mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelsSupported != false) { - source.InterventionPrescriptionAppropriateGradeLevels.MapCollectionTo(target.InterventionPrescriptionAppropriateGradeLevels, target, mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelIncluded); + source.InterventionPrescriptionAppropriateGradeLevels.MapCollectionTo(target.InterventionPrescriptionAppropriateGradeLevels, mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelIncluded); } if (mappingContract?.IsInterventionPrescriptionAppropriateSexesSupported != false) { - source.InterventionPrescriptionAppropriateSexes.MapCollectionTo(target.InterventionPrescriptionAppropriateSexes, target, mappingContract?.IsInterventionPrescriptionAppropriateSexIncluded); + source.InterventionPrescriptionAppropriateSexes.MapCollectionTo(target.InterventionPrescriptionAppropriateSexes, mappingContract?.IsInterventionPrescriptionAppropriateSexesItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionAppropriateSexIncluded); } if (mappingContract?.IsInterventionPrescriptionDiagnosesSupported != false) { - source.InterventionPrescriptionDiagnoses.MapCollectionTo(target.InterventionPrescriptionDiagnoses, target, mappingContract?.IsInterventionPrescriptionDiagnosisIncluded); + source.InterventionPrescriptionDiagnoses.MapCollectionTo(target.InterventionPrescriptionDiagnoses, mappingContract?.IsInterventionPrescriptionDiagnosesItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionDiagnosisIncluded); } if (mappingContract?.IsInterventionPrescriptionEducationContentsSupported != false) { - source.InterventionPrescriptionEducationContents.MapCollectionTo(target.InterventionPrescriptionEducationContents, target, mappingContract?.IsInterventionPrescriptionEducationContentIncluded); + source.InterventionPrescriptionEducationContents.MapCollectionTo(target.InterventionPrescriptionEducationContents, mappingContract?.IsInterventionPrescriptionEducationContentsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionEducationContentIncluded); } if (mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIsSupported != false) { - source.InterventionPrescriptionLearningResourceMetadataURIs.MapCollectionTo(target.InterventionPrescriptionLearningResourceMetadataURIs, target, mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIIncluded); + source.InterventionPrescriptionLearningResourceMetadataURIs.MapCollectionTo(target.InterventionPrescriptionLearningResourceMetadataURIs, mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIIncluded); } if (mappingContract?.IsInterventionPrescriptionPopulationServedsSupported != false) { - source.InterventionPrescriptionPopulationServeds.MapCollectionTo(target.InterventionPrescriptionPopulationServeds, target, mappingContract?.IsInterventionPrescriptionPopulationServedIncluded); + source.InterventionPrescriptionPopulationServeds.MapCollectionTo(target.InterventionPrescriptionPopulationServeds, mappingContract?.IsInterventionPrescriptionPopulationServedsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionPopulationServedIncluded); } if (mappingContract?.IsInterventionPrescriptionURIsSupported != false) { - source.InterventionPrescriptionURIs.MapCollectionTo(target.InterventionPrescriptionURIs, target, mappingContract?.IsInterventionPrescriptionURIIncluded); + source.InterventionPrescriptionURIs.MapCollectionTo(target.InterventionPrescriptionURIs, mappingContract?.IsInterventionPrescriptionURIsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionURIIncluded); } // Map extensions @@ -29990,6 +30099,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyAppropriateGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyAppropriateGradeLevelIncluded?.Invoke(item) ?? true); } @@ -30002,6 +30112,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyAppropriateSexesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyAppropriateSexIncluded?.Invoke(item) ?? true); } @@ -30014,6 +30125,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyEducationContentIncluded?.Invoke(item) ?? true); } @@ -30026,6 +30138,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyInterventionEffectivenessesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyInterventionEffectivenessIncluded?.Invoke(item) ?? true); } @@ -30038,6 +30151,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyLearningResourceMetadataURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyLearningResourceMetadataURIIncluded?.Invoke(item) ?? true); } @@ -30050,6 +30164,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyPopulationServedsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyPopulationServedIncluded?.Invoke(item) ?? true); } @@ -30062,6 +30177,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyStateAbbreviationsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyStateAbbreviationIncluded?.Invoke(item) ?? true); } @@ -30074,6 +30190,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyURIIncluded?.Invoke(item) ?? true); } @@ -30134,42 +30251,42 @@ public static void MapTo(this IInterventionStudy source, IInterventionStudy targ if (mappingContract?.IsInterventionStudyAppropriateGradeLevelsSupported != false) { - source.InterventionStudyAppropriateGradeLevels.MapCollectionTo(target.InterventionStudyAppropriateGradeLevels, target, mappingContract?.IsInterventionStudyAppropriateGradeLevelIncluded); + source.InterventionStudyAppropriateGradeLevels.MapCollectionTo(target.InterventionStudyAppropriateGradeLevels, mappingContract?.IsInterventionStudyAppropriateGradeLevelsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyAppropriateGradeLevelIncluded); } if (mappingContract?.IsInterventionStudyAppropriateSexesSupported != false) { - source.InterventionStudyAppropriateSexes.MapCollectionTo(target.InterventionStudyAppropriateSexes, target, mappingContract?.IsInterventionStudyAppropriateSexIncluded); + source.InterventionStudyAppropriateSexes.MapCollectionTo(target.InterventionStudyAppropriateSexes, mappingContract?.IsInterventionStudyAppropriateSexesItemCreatable ?? true, target, mappingContract?.IsInterventionStudyAppropriateSexIncluded); } if (mappingContract?.IsInterventionStudyEducationContentsSupported != false) { - source.InterventionStudyEducationContents.MapCollectionTo(target.InterventionStudyEducationContents, target, mappingContract?.IsInterventionStudyEducationContentIncluded); + source.InterventionStudyEducationContents.MapCollectionTo(target.InterventionStudyEducationContents, mappingContract?.IsInterventionStudyEducationContentsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyEducationContentIncluded); } if (mappingContract?.IsInterventionStudyInterventionEffectivenessesSupported != false) { - source.InterventionStudyInterventionEffectivenesses.MapCollectionTo(target.InterventionStudyInterventionEffectivenesses, target, mappingContract?.IsInterventionStudyInterventionEffectivenessIncluded); + source.InterventionStudyInterventionEffectivenesses.MapCollectionTo(target.InterventionStudyInterventionEffectivenesses, mappingContract?.IsInterventionStudyInterventionEffectivenessesItemCreatable ?? true, target, mappingContract?.IsInterventionStudyInterventionEffectivenessIncluded); } if (mappingContract?.IsInterventionStudyLearningResourceMetadataURIsSupported != false) { - source.InterventionStudyLearningResourceMetadataURIs.MapCollectionTo(target.InterventionStudyLearningResourceMetadataURIs, target, mappingContract?.IsInterventionStudyLearningResourceMetadataURIIncluded); + source.InterventionStudyLearningResourceMetadataURIs.MapCollectionTo(target.InterventionStudyLearningResourceMetadataURIs, mappingContract?.IsInterventionStudyLearningResourceMetadataURIsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyLearningResourceMetadataURIIncluded); } if (mappingContract?.IsInterventionStudyPopulationServedsSupported != false) { - source.InterventionStudyPopulationServeds.MapCollectionTo(target.InterventionStudyPopulationServeds, target, mappingContract?.IsInterventionStudyPopulationServedIncluded); + source.InterventionStudyPopulationServeds.MapCollectionTo(target.InterventionStudyPopulationServeds, mappingContract?.IsInterventionStudyPopulationServedsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyPopulationServedIncluded); } if (mappingContract?.IsInterventionStudyStateAbbreviationsSupported != false) { - source.InterventionStudyStateAbbreviations.MapCollectionTo(target.InterventionStudyStateAbbreviations, target, mappingContract?.IsInterventionStudyStateAbbreviationIncluded); + source.InterventionStudyStateAbbreviations.MapCollectionTo(target.InterventionStudyStateAbbreviations, mappingContract?.IsInterventionStudyStateAbbreviationsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyStateAbbreviationIncluded); } if (mappingContract?.IsInterventionStudyURIsSupported != false) { - source.InterventionStudyURIs.MapCollectionTo(target.InterventionStudyURIs, target, mappingContract?.IsInterventionStudyURIIncluded); + source.InterventionStudyURIs.MapCollectionTo(target.InterventionStudyURIs, mappingContract?.IsInterventionStudyURIsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyURIIncluded); } // Map extensions @@ -31355,6 +31472,7 @@ public static bool SynchronizeTo(this ILearningObjective source, ILearningObject { child.LearningObjective = target; }, + itemCreatable: mappingContract?.IsLearningObjectiveAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningObjectiveAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -31367,6 +31485,7 @@ public static bool SynchronizeTo(this ILearningObjective source, ILearningObject { child.LearningObjective = target; }, + itemCreatable: mappingContract?.IsLearningObjectiveGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningObjectiveGradeLevelIncluded?.Invoke(item) ?? true); } @@ -31379,6 +31498,7 @@ public static bool SynchronizeTo(this ILearningObjective source, ILearningObject { child.LearningObjective = target; }, + itemCreatable: mappingContract?.IsLearningObjectiveLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningObjectiveLearningStandardIncluded?.Invoke(item) ?? true); } @@ -31464,17 +31584,17 @@ public static void MapTo(this ILearningObjective source, ILearningObjective targ if (mappingContract?.IsLearningObjectiveAcademicSubjectsSupported != false) { - source.LearningObjectiveAcademicSubjects.MapCollectionTo(target.LearningObjectiveAcademicSubjects, target, mappingContract?.IsLearningObjectiveAcademicSubjectIncluded); + source.LearningObjectiveAcademicSubjects.MapCollectionTo(target.LearningObjectiveAcademicSubjects, mappingContract?.IsLearningObjectiveAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsLearningObjectiveAcademicSubjectIncluded); } if (mappingContract?.IsLearningObjectiveGradeLevelsSupported != false) { - source.LearningObjectiveGradeLevels.MapCollectionTo(target.LearningObjectiveGradeLevels, target, mappingContract?.IsLearningObjectiveGradeLevelIncluded); + source.LearningObjectiveGradeLevels.MapCollectionTo(target.LearningObjectiveGradeLevels, mappingContract?.IsLearningObjectiveGradeLevelsItemCreatable ?? true, target, mappingContract?.IsLearningObjectiveGradeLevelIncluded); } if (mappingContract?.IsLearningObjectiveLearningStandardsSupported != false) { - source.LearningObjectiveLearningStandards.MapCollectionTo(target.LearningObjectiveLearningStandards, target, mappingContract?.IsLearningObjectiveLearningStandardIncluded); + source.LearningObjectiveLearningStandards.MapCollectionTo(target.LearningObjectiveLearningStandards, mappingContract?.IsLearningObjectiveLearningStandardsItemCreatable ?? true, target, mappingContract?.IsLearningObjectiveLearningStandardIncluded); } // Map extensions @@ -31662,6 +31782,7 @@ public static bool SynchronizeTo(this ILearningObjectiveContentStandard source, { child.LearningObjectiveContentStandard = target; }, + itemCreatable: mappingContract?.IsLearningObjectiveContentStandardAuthorsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningObjectiveContentStandardAuthorIncluded?.Invoke(item) ?? true); } @@ -31727,7 +31848,7 @@ public static void MapTo(this ILearningObjectiveContentStandard source, ILearnin if (mappingContract?.IsLearningObjectiveContentStandardAuthorsSupported != false) { - source.LearningObjectiveContentStandardAuthors.MapCollectionTo(target.LearningObjectiveContentStandardAuthors, target, mappingContract?.IsLearningObjectiveContentStandardAuthorIncluded); + source.LearningObjectiveContentStandardAuthors.MapCollectionTo(target.LearningObjectiveContentStandardAuthors, mappingContract?.IsLearningObjectiveContentStandardAuthorsItemCreatable ?? true, target, mappingContract?.IsLearningObjectiveContentStandardAuthorIncluded); } // Map extensions @@ -32105,6 +32226,7 @@ public static bool SynchronizeTo(this ILearningStandard source, ILearningStandar { child.LearningStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -32117,6 +32239,7 @@ public static bool SynchronizeTo(this ILearningStandard source, ILearningStandar { child.LearningStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardGradeLevelIncluded?.Invoke(item) ?? true); } @@ -32129,6 +32252,7 @@ public static bool SynchronizeTo(this ILearningStandard source, ILearningStandar { child.LearningStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -32141,6 +32265,7 @@ public static bool SynchronizeTo(this ILearningStandard source, ILearningStandar { child.LearningStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardPrerequisiteLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardPrerequisiteLearningStandardIncluded?.Invoke(item) ?? true); } @@ -32234,22 +32359,22 @@ public static void MapTo(this ILearningStandard source, ILearningStandard target if (mappingContract?.IsLearningStandardAcademicSubjectsSupported != false) { - source.LearningStandardAcademicSubjects.MapCollectionTo(target.LearningStandardAcademicSubjects, target, mappingContract?.IsLearningStandardAcademicSubjectIncluded); + source.LearningStandardAcademicSubjects.MapCollectionTo(target.LearningStandardAcademicSubjects, mappingContract?.IsLearningStandardAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsLearningStandardAcademicSubjectIncluded); } if (mappingContract?.IsLearningStandardGradeLevelsSupported != false) { - source.LearningStandardGradeLevels.MapCollectionTo(target.LearningStandardGradeLevels, target, mappingContract?.IsLearningStandardGradeLevelIncluded); + source.LearningStandardGradeLevels.MapCollectionTo(target.LearningStandardGradeLevels, mappingContract?.IsLearningStandardGradeLevelsItemCreatable ?? true, target, mappingContract?.IsLearningStandardGradeLevelIncluded); } if (mappingContract?.IsLearningStandardIdentificationCodesSupported != false) { - source.LearningStandardIdentificationCodes.MapCollectionTo(target.LearningStandardIdentificationCodes, target, mappingContract?.IsLearningStandardIdentificationCodeIncluded); + source.LearningStandardIdentificationCodes.MapCollectionTo(target.LearningStandardIdentificationCodes, mappingContract?.IsLearningStandardIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsLearningStandardIdentificationCodeIncluded); } if (mappingContract?.IsLearningStandardPrerequisiteLearningStandardsSupported != false) { - source.LearningStandardPrerequisiteLearningStandards.MapCollectionTo(target.LearningStandardPrerequisiteLearningStandards, target, mappingContract?.IsLearningStandardPrerequisiteLearningStandardIncluded); + source.LearningStandardPrerequisiteLearningStandards.MapCollectionTo(target.LearningStandardPrerequisiteLearningStandards, mappingContract?.IsLearningStandardPrerequisiteLearningStandardsItemCreatable ?? true, target, mappingContract?.IsLearningStandardPrerequisiteLearningStandardIncluded); } // Map extensions @@ -32437,6 +32562,7 @@ public static bool SynchronizeTo(this ILearningStandardContentStandard source, I { child.LearningStandardContentStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardContentStandardAuthorsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardContentStandardAuthorIncluded?.Invoke(item) ?? true); } @@ -32502,7 +32628,7 @@ public static void MapTo(this ILearningStandardContentStandard source, ILearning if (mappingContract?.IsLearningStandardContentStandardAuthorsSupported != false) { - source.LearningStandardContentStandardAuthors.MapCollectionTo(target.LearningStandardContentStandardAuthors, target, mappingContract?.IsLearningStandardContentStandardAuthorIncluded); + source.LearningStandardContentStandardAuthors.MapCollectionTo(target.LearningStandardContentStandardAuthors, mappingContract?.IsLearningStandardContentStandardAuthorsItemCreatable ?? true, target, mappingContract?.IsLearningStandardContentStandardAuthorIncluded); } // Map extensions @@ -34078,6 +34204,7 @@ public static bool SynchronizeTo(this ILocalAccount source, ILocalAccount target { child.LocalAccount = target; }, + itemCreatable: mappingContract?.IsLocalAccountReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsLocalAccountReportingTagIncluded?.Invoke(item) ?? true); } @@ -34133,7 +34260,7 @@ public static void MapTo(this ILocalAccount source, ILocalAccount target, Action if (mappingContract?.IsLocalAccountReportingTagsSupported != false) { - source.LocalAccountReportingTags.MapCollectionTo(target.LocalAccountReportingTags, target, mappingContract?.IsLocalAccountReportingTagIncluded); + source.LocalAccountReportingTags.MapCollectionTo(target.LocalAccountReportingTags, mappingContract?.IsLocalAccountReportingTagsItemCreatable ?? true, target, mappingContract?.IsLocalAccountReportingTagIncluded); } // Map extensions @@ -34863,6 +34990,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -34872,6 +35000,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -34881,6 +35010,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -34890,6 +35020,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -34899,6 +35030,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -34908,6 +35040,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -34922,6 +35055,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat { child.LocalEducationAgency = target; }, + itemCreatable: mappingContract?.IsLocalEducationAgencyAccountabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsLocalEducationAgencyAccountabilityIncluded?.Invoke(item) ?? true); } @@ -34934,6 +35068,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat { child.LocalEducationAgency = target; }, + itemCreatable: mappingContract?.IsLocalEducationAgencyFederalFundsItemCreatable ?? true, includeItem: item => mappingContract?.IsLocalEducationAgencyFederalFundsIncluded?.Invoke(item) ?? true); } @@ -35006,44 +35141,44 @@ public static void MapTo(this ILocalEducationAgency source, ILocalEducationAgenc if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists if (mappingContract?.IsLocalEducationAgencyAccountabilitiesSupported != false) { - source.LocalEducationAgencyAccountabilities.MapCollectionTo(target.LocalEducationAgencyAccountabilities, target, mappingContract?.IsLocalEducationAgencyAccountabilityIncluded); + source.LocalEducationAgencyAccountabilities.MapCollectionTo(target.LocalEducationAgencyAccountabilities, mappingContract?.IsLocalEducationAgencyAccountabilitiesItemCreatable ?? true, target, mappingContract?.IsLocalEducationAgencyAccountabilityIncluded); } if (mappingContract?.IsLocalEducationAgencyFederalFundsSupported != false) { - source.LocalEducationAgencyFederalFunds.MapCollectionTo(target.LocalEducationAgencyFederalFunds, target, mappingContract?.IsLocalEducationAgencyFederalFundsIncluded); + source.LocalEducationAgencyFederalFunds.MapCollectionTo(target.LocalEducationAgencyFederalFunds, mappingContract?.IsLocalEducationAgencyFederalFundsItemCreatable ?? true, target, mappingContract?.IsLocalEducationAgencyFederalFundsIncluded); } // Map extensions @@ -37269,6 +37404,7 @@ public static bool SynchronizeTo(this IObjectDimension source, IObjectDimension { child.ObjectDimension = target; }, + itemCreatable: mappingContract?.IsObjectDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -37308,7 +37444,7 @@ public static void MapTo(this IObjectDimension source, IObjectDimension target, if (mappingContract?.IsObjectDimensionReportingTagsSupported != false) { - source.ObjectDimensionReportingTags.MapCollectionTo(target.ObjectDimensionReportingTags, target, mappingContract?.IsObjectDimensionReportingTagIncluded); + source.ObjectDimensionReportingTags.MapCollectionTo(target.ObjectDimensionReportingTags, mappingContract?.IsObjectDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsObjectDimensionReportingTagIncluded); } // Map extensions @@ -37492,6 +37628,7 @@ public static bool SynchronizeTo(this IObjectiveAssessment source, IObjectiveAss { child.ObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsObjectiveAssessmentAssessmentItemsItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectiveAssessmentAssessmentItemIncluded?.Invoke(item) ?? true); } @@ -37504,6 +37641,7 @@ public static bool SynchronizeTo(this IObjectiveAssessment source, IObjectiveAss { child.ObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsObjectiveAssessmentLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectiveAssessmentLearningStandardIncluded?.Invoke(item) ?? true); } @@ -37516,6 +37654,7 @@ public static bool SynchronizeTo(this IObjectiveAssessment source, IObjectiveAss { child.ObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsObjectiveAssessmentPerformanceLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectiveAssessmentPerformanceLevelIncluded?.Invoke(item) ?? true); } @@ -37528,6 +37667,7 @@ public static bool SynchronizeTo(this IObjectiveAssessment source, IObjectiveAss { child.ObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsObjectiveAssessmentScoresItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectiveAssessmentScoreIncluded?.Invoke(item) ?? true); } @@ -37592,22 +37732,22 @@ public static void MapTo(this IObjectiveAssessment source, IObjectiveAssessment if (mappingContract?.IsObjectiveAssessmentAssessmentItemsSupported != false) { - source.ObjectiveAssessmentAssessmentItems.MapCollectionTo(target.ObjectiveAssessmentAssessmentItems, target, mappingContract?.IsObjectiveAssessmentAssessmentItemIncluded); + source.ObjectiveAssessmentAssessmentItems.MapCollectionTo(target.ObjectiveAssessmentAssessmentItems, mappingContract?.IsObjectiveAssessmentAssessmentItemsItemCreatable ?? true, target, mappingContract?.IsObjectiveAssessmentAssessmentItemIncluded); } if (mappingContract?.IsObjectiveAssessmentLearningStandardsSupported != false) { - source.ObjectiveAssessmentLearningStandards.MapCollectionTo(target.ObjectiveAssessmentLearningStandards, target, mappingContract?.IsObjectiveAssessmentLearningStandardIncluded); + source.ObjectiveAssessmentLearningStandards.MapCollectionTo(target.ObjectiveAssessmentLearningStandards, mappingContract?.IsObjectiveAssessmentLearningStandardsItemCreatable ?? true, target, mappingContract?.IsObjectiveAssessmentLearningStandardIncluded); } if (mappingContract?.IsObjectiveAssessmentPerformanceLevelsSupported != false) { - source.ObjectiveAssessmentPerformanceLevels.MapCollectionTo(target.ObjectiveAssessmentPerformanceLevels, target, mappingContract?.IsObjectiveAssessmentPerformanceLevelIncluded); + source.ObjectiveAssessmentPerformanceLevels.MapCollectionTo(target.ObjectiveAssessmentPerformanceLevels, mappingContract?.IsObjectiveAssessmentPerformanceLevelsItemCreatable ?? true, target, mappingContract?.IsObjectiveAssessmentPerformanceLevelIncluded); } if (mappingContract?.IsObjectiveAssessmentScoresSupported != false) { - source.ObjectiveAssessmentScores.MapCollectionTo(target.ObjectiveAssessmentScores, target, mappingContract?.IsObjectiveAssessmentScoreIncluded); + source.ObjectiveAssessmentScores.MapCollectionTo(target.ObjectiveAssessmentScores, mappingContract?.IsObjectiveAssessmentScoresItemCreatable ?? true, target, mappingContract?.IsObjectiveAssessmentScoreIncluded); } // Map extensions @@ -38244,6 +38384,7 @@ public static bool SynchronizeTo(this IOpenStaffPosition source, IOpenStaffPosit { child.OpenStaffPosition = target; }, + itemCreatable: mappingContract?.IsOpenStaffPositionAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsOpenStaffPositionAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -38256,6 +38397,7 @@ public static bool SynchronizeTo(this IOpenStaffPosition source, IOpenStaffPosit { child.OpenStaffPosition = target; }, + itemCreatable: mappingContract?.IsOpenStaffPositionInstructionalGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsOpenStaffPositionInstructionalGradeLevelIncluded?.Invoke(item) ?? true); } @@ -38320,12 +38462,12 @@ public static void MapTo(this IOpenStaffPosition source, IOpenStaffPosition targ if (mappingContract?.IsOpenStaffPositionAcademicSubjectsSupported != false) { - source.OpenStaffPositionAcademicSubjects.MapCollectionTo(target.OpenStaffPositionAcademicSubjects, target, mappingContract?.IsOpenStaffPositionAcademicSubjectIncluded); + source.OpenStaffPositionAcademicSubjects.MapCollectionTo(target.OpenStaffPositionAcademicSubjects, mappingContract?.IsOpenStaffPositionAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsOpenStaffPositionAcademicSubjectIncluded); } if (mappingContract?.IsOpenStaffPositionInstructionalGradeLevelsSupported != false) { - source.OpenStaffPositionInstructionalGradeLevels.MapCollectionTo(target.OpenStaffPositionInstructionalGradeLevels, target, mappingContract?.IsOpenStaffPositionInstructionalGradeLevelIncluded); + source.OpenStaffPositionInstructionalGradeLevels.MapCollectionTo(target.OpenStaffPositionInstructionalGradeLevels, mappingContract?.IsOpenStaffPositionInstructionalGradeLevelsItemCreatable ?? true, target, mappingContract?.IsOpenStaffPositionInstructionalGradeLevelIncluded); } // Map extensions @@ -38695,6 +38837,7 @@ public static bool SynchronizeTo(this IOperationalUnitDimension source, IOperati { child.OperationalUnitDimension = target; }, + itemCreatable: mappingContract?.IsOperationalUnitDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsOperationalUnitDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -38734,7 +38877,7 @@ public static void MapTo(this IOperationalUnitDimension source, IOperationalUnit if (mappingContract?.IsOperationalUnitDimensionReportingTagsSupported != false) { - source.OperationalUnitDimensionReportingTags.MapCollectionTo(target.OperationalUnitDimensionReportingTags, target, mappingContract?.IsOperationalUnitDimensionReportingTagIncluded); + source.OperationalUnitDimensionReportingTags.MapCollectionTo(target.OperationalUnitDimensionReportingTags, mappingContract?.IsOperationalUnitDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsOperationalUnitDimensionReportingTagIncluded); } // Map extensions @@ -38914,6 +39057,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -38923,6 +39067,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -38932,6 +39077,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -38941,6 +39087,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -38950,6 +39097,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -38959,6 +39107,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -39023,32 +39172,32 @@ public static void MapTo(this IOrganizationDepartment source, IOrganizationDepar if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -39354,6 +39503,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsParentAddressIncluded?.Invoke(item) ?? true); } @@ -39366,6 +39516,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentElectronicMailsItemCreatable ?? true, includeItem: item => mappingContract?.IsParentElectronicMailIncluded?.Invoke(item) ?? true); } @@ -39378,6 +39529,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsParentInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -39390,6 +39542,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsParentLanguageIncluded?.Invoke(item) ?? true); } @@ -39402,6 +39555,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentOtherNamesItemCreatable ?? true, includeItem: item => mappingContract?.IsParentOtherNameIncluded?.Invoke(item) ?? true); } @@ -39414,6 +39568,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentPersonalIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsParentPersonalIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -39426,6 +39581,7 @@ public static bool SynchronizeTo(this IParent source, IParent target) { child.Parent = target; }, + itemCreatable: mappingContract?.IsParentTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsParentTelephoneIncluded?.Invoke(item) ?? true); } @@ -39504,37 +39660,37 @@ public static void MapTo(this IParent source, IParent target, Action mappingContract?.IsParentAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -39715,7 +39872,7 @@ public static void MapTo(this IParentAddress source, IParentAddress target, Acti if (mappingContract?.IsParentAddressPeriodsSupported != false) { - source.ParentAddressPeriods.MapCollectionTo(target.ParentAddressPeriods, target, mappingContract?.IsParentAddressPeriodIncluded); + source.ParentAddressPeriods.MapCollectionTo(target.ParentAddressPeriods, mappingContract?.IsParentAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsParentAddressPeriodIncluded); } // Map extensions @@ -40101,6 +40258,7 @@ public static bool SynchronizeTo(this IParentLanguage source, IParentLanguage ta { child.ParentLanguage = target; }, + itemCreatable: mappingContract?.IsParentLanguageUsesItemCreatable ?? true, includeItem: item => mappingContract?.IsParentLanguageUseIncluded?.Invoke(item) ?? true); } @@ -40133,7 +40291,7 @@ public static void MapTo(this IParentLanguage source, IParentLanguage target, Ac if (mappingContract?.IsParentLanguageUsesSupported != false) { - source.ParentLanguageUses.MapCollectionTo(target.ParentLanguageUses, target, mappingContract?.IsParentLanguageUseIncluded); + source.ParentLanguageUses.MapCollectionTo(target.ParentLanguageUses, mappingContract?.IsParentLanguageUsesItemCreatable ?? true, target, mappingContract?.IsParentLanguageUseIncluded); } // Map extensions @@ -42221,6 +42379,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -42230,6 +42389,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -42239,6 +42399,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -42248,6 +42409,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -42257,6 +42419,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -42266,6 +42429,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -42280,6 +42444,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec { child.PostSecondaryInstitution = target; }, + itemCreatable: mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable ?? true, includeItem: item => mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionIncluded?.Invoke(item) ?? true); } @@ -42335,39 +42500,39 @@ public static void MapTo(this IPostSecondaryInstitution source, IPostSecondaryIn if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists if (mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionsSupported != false) { - source.PostSecondaryInstitutionMediumOfInstructions.MapCollectionTo(target.PostSecondaryInstitutionMediumOfInstructions, target, mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionIncluded); + source.PostSecondaryInstitutionMediumOfInstructions.MapCollectionTo(target.PostSecondaryInstitutionMediumOfInstructions, mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable ?? true, target, mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionIncluded); } // Map extensions @@ -43276,6 +43441,7 @@ public static bool SynchronizeTo(this IProgram source, IProgram target) { child.Program = target; }, + itemCreatable: mappingContract?.IsProgramCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramCharacteristicIncluded?.Invoke(item) ?? true); } @@ -43288,6 +43454,7 @@ public static bool SynchronizeTo(this IProgram source, IProgram target) { child.Program = target; }, + itemCreatable: mappingContract?.IsProgramLearningObjectivesItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramLearningObjectiveIncluded?.Invoke(item) ?? true); } @@ -43300,6 +43467,7 @@ public static bool SynchronizeTo(this IProgram source, IProgram target) { child.Program = target; }, + itemCreatable: mappingContract?.IsProgramLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramLearningStandardIncluded?.Invoke(item) ?? true); } @@ -43312,6 +43480,7 @@ public static bool SynchronizeTo(this IProgram source, IProgram target) { child.Program = target; }, + itemCreatable: mappingContract?.IsProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramServiceIncluded?.Invoke(item) ?? true); } @@ -43324,6 +43493,7 @@ public static bool SynchronizeTo(this IProgram source, IProgram target) { child.Program = target; }, + itemCreatable: mappingContract?.IsProgramSponsorsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramSponsorIncluded?.Invoke(item) ?? true); } @@ -43371,27 +43541,27 @@ public static void MapTo(this IProgram source, IProgram target, Action mappingContract?.IsProgramDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -44177,7 +44348,7 @@ public static void MapTo(this IProgramDimension source, IProgramDimension target if (mappingContract?.IsProgramDimensionReportingTagsSupported != false) { - source.ProgramDimensionReportingTags.MapCollectionTo(target.ProgramDimensionReportingTags, target, mappingContract?.IsProgramDimensionReportingTagIncluded); + source.ProgramDimensionReportingTags.MapCollectionTo(target.ProgramDimensionReportingTags, mappingContract?.IsProgramDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsProgramDimensionReportingTagIncluded); } // Map extensions @@ -44933,6 +45104,7 @@ public static bool SynchronizeTo(this IProjectDimension source, IProjectDimensio { child.ProjectDimension = target; }, + itemCreatable: mappingContract?.IsProjectDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsProjectDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -44972,7 +45144,7 @@ public static void MapTo(this IProjectDimension source, IProjectDimension target if (mappingContract?.IsProjectDimensionReportingTagsSupported != false) { - source.ProjectDimensionReportingTags.MapCollectionTo(target.ProjectDimensionReportingTags, target, mappingContract?.IsProjectDimensionReportingTagIncluded); + source.ProjectDimensionReportingTags.MapCollectionTo(target.ProjectDimensionReportingTags, mappingContract?.IsProjectDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsProjectDimensionReportingTagIncluded); } // Map extensions @@ -46822,6 +46994,7 @@ public static bool SynchronizeTo(this IReportCard source, IReportCard target) { child.ReportCard = target; }, + itemCreatable: mappingContract?.IsReportCardGradesItemCreatable ?? true, includeItem: item => mappingContract?.IsReportCardGradeIncluded?.Invoke(item) ?? true); } @@ -46834,6 +47007,7 @@ public static bool SynchronizeTo(this IReportCard source, IReportCard target) { child.ReportCard = target; }, + itemCreatable: mappingContract?.IsReportCardGradePointAveragesItemCreatable ?? true, includeItem: item => mappingContract?.IsReportCardGradePointAverageIncluded?.Invoke(item) ?? true); } @@ -46846,6 +47020,7 @@ public static bool SynchronizeTo(this IReportCard source, IReportCard target) { child.ReportCard = target; }, + itemCreatable: mappingContract?.IsReportCardStudentCompetencyObjectivesItemCreatable ?? true, includeItem: item => mappingContract?.IsReportCardStudentCompetencyObjectiveIncluded?.Invoke(item) ?? true); } @@ -46858,6 +47033,7 @@ public static bool SynchronizeTo(this IReportCard source, IReportCard target) { child.ReportCard = target; }, + itemCreatable: mappingContract?.IsReportCardStudentLearningObjectivesItemCreatable ?? true, includeItem: item => mappingContract?.IsReportCardStudentLearningObjectiveIncluded?.Invoke(item) ?? true); } @@ -46924,22 +47100,22 @@ public static void MapTo(this IReportCard source, IReportCard target, Action mappingContract?.IsRestraintEventProgramIncluded?.Invoke(item) ?? true); } @@ -48137,6 +48314,7 @@ public static bool SynchronizeTo(this IRestraintEvent source, IRestraintEvent ta { child.RestraintEvent = target; }, + itemCreatable: mappingContract?.IsRestraintEventReasonsItemCreatable ?? true, includeItem: item => mappingContract?.IsRestraintEventReasonIncluded?.Invoke(item) ?? true); } @@ -48188,12 +48366,12 @@ public static void MapTo(this IRestraintEvent source, IRestraintEvent target, Ac if (mappingContract?.IsRestraintEventProgramsSupported != false) { - source.RestraintEventPrograms.MapCollectionTo(target.RestraintEventPrograms, target, mappingContract?.IsRestraintEventProgramIncluded); + source.RestraintEventPrograms.MapCollectionTo(target.RestraintEventPrograms, mappingContract?.IsRestraintEventProgramsItemCreatable ?? true, target, mappingContract?.IsRestraintEventProgramIncluded); } if (mappingContract?.IsRestraintEventReasonsSupported != false) { - source.RestraintEventReasons.MapCollectionTo(target.RestraintEventReasons, target, mappingContract?.IsRestraintEventReasonIncluded); + source.RestraintEventReasons.MapCollectionTo(target.RestraintEventReasons, mappingContract?.IsRestraintEventReasonsItemCreatable ?? true, target, mappingContract?.IsRestraintEventReasonIncluded); } // Map extensions @@ -48957,6 +49135,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -48966,6 +49145,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -48975,6 +49155,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -48984,6 +49165,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -48993,6 +49175,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -49002,6 +49185,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -49016,6 +49200,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) { child.School = target; }, + itemCreatable: mappingContract?.IsSchoolCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsSchoolCategoryIncluded?.Invoke(item) ?? true); } @@ -49028,6 +49213,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) { child.School = target; }, + itemCreatable: mappingContract?.IsSchoolGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsSchoolGradeLevelIncluded?.Invoke(item) ?? true); } @@ -49111,44 +49297,44 @@ public static void MapTo(this ISchool source, ISchool target, Action mappingContract?.IsSectionCharacteristicIncluded?.Invoke(item) ?? true); } @@ -50204,6 +50391,7 @@ public static bool SynchronizeTo(this ISection source, ISection target) { child.Section = target; }, + itemCreatable: mappingContract?.IsSectionClassPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsSectionClassPeriodIncluded?.Invoke(item) ?? true); } @@ -50216,6 +50404,7 @@ public static bool SynchronizeTo(this ISection source, ISection target) { child.Section = target; }, + itemCreatable: mappingContract?.IsSectionCourseLevelCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsSectionCourseLevelCharacteristicIncluded?.Invoke(item) ?? true); } @@ -50228,6 +50417,7 @@ public static bool SynchronizeTo(this ISection source, ISection target) { child.Section = target; }, + itemCreatable: mappingContract?.IsSectionOfferedGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsSectionOfferedGradeLevelIncluded?.Invoke(item) ?? true); } @@ -50240,6 +50430,7 @@ public static bool SynchronizeTo(this ISection source, ISection target) { child.Section = target; }, + itemCreatable: mappingContract?.IsSectionProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsSectionProgramIncluded?.Invoke(item) ?? true); } @@ -50325,27 +50516,27 @@ public static void MapTo(this ISection source, ISection target, Action mappingContract?.IsSessionAcademicWeekIncluded?.Invoke(item) ?? true); } @@ -51586,6 +51778,7 @@ public static bool SynchronizeTo(this ISession source, ISession target) { child.Session = target; }, + itemCreatable: mappingContract?.IsSessionGradingPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsSessionGradingPeriodIncluded?.Invoke(item) ?? true); } @@ -51642,12 +51835,12 @@ public static void MapTo(this ISession source, ISession target, Action mappingContract?.IsSourceDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -52071,7 +52265,7 @@ public static void MapTo(this ISourceDimension source, ISourceDimension target, if (mappingContract?.IsSourceDimensionReportingTagsSupported != false) { - source.SourceDimensionReportingTags.MapCollectionTo(target.SourceDimensionReportingTags, target, mappingContract?.IsSourceDimensionReportingTagIncluded); + source.SourceDimensionReportingTags.MapCollectionTo(target.SourceDimensionReportingTags, mappingContract?.IsSourceDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsSourceDimensionReportingTagIncluded); } // Map extensions @@ -52798,6 +52992,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffAddressIncluded?.Invoke(item) ?? true); } @@ -52810,6 +53005,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffAncestryEthnicOriginsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffAncestryEthnicOriginIncluded?.Invoke(item) ?? true); } @@ -52822,6 +53018,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffCredentialsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffCredentialIncluded?.Invoke(item) ?? true); } @@ -52834,6 +53031,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffElectronicMailsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffElectronicMailIncluded?.Invoke(item) ?? true); } @@ -52846,6 +53044,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -52858,6 +53057,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -52870,6 +53070,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -52882,6 +53083,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffLanguageIncluded?.Invoke(item) ?? true); } @@ -52894,6 +53096,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffOtherNamesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffOtherNameIncluded?.Invoke(item) ?? true); } @@ -52906,6 +53109,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffPersonalIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffPersonalIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -52918,6 +53122,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffRacesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffRaceIncluded?.Invoke(item) ?? true); } @@ -52930,6 +53135,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffRecognitionsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffRecognitionIncluded?.Invoke(item) ?? true); } @@ -52942,6 +53148,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffTelephoneIncluded?.Invoke(item) ?? true); } @@ -52954,6 +53161,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffTribalAffiliationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffTribalAffiliationIncluded?.Invoke(item) ?? true); } @@ -52966,6 +53174,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffVisasItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffVisaIncluded?.Invoke(item) ?? true); } @@ -53065,77 +53274,77 @@ public static void MapTo(this IStaff source, IStaff target, Action mappingContract?.IsStaffAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -53316,7 +53526,7 @@ public static void MapTo(this IStaffAddress source, IStaffAddress target, Action if (mappingContract?.IsStaffAddressPeriodsSupported != false) { - source.StaffAddressPeriods.MapCollectionTo(target.StaffAddressPeriods, target, mappingContract?.IsStaffAddressPeriodIncluded); + source.StaffAddressPeriods.MapCollectionTo(target.StaffAddressPeriods, mappingContract?.IsStaffAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsStaffAddressPeriodIncluded); } // Map extensions @@ -54061,6 +54271,7 @@ public static bool SynchronizeTo(this IStaffLanguage source, IStaffLanguage targ { child.StaffLanguage = target; }, + itemCreatable: mappingContract?.IsStaffLanguageUsesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffLanguageUseIncluded?.Invoke(item) ?? true); } @@ -54093,7 +54304,7 @@ public static void MapTo(this IStaffLanguage source, IStaffLanguage target, Acti if (mappingContract?.IsStaffLanguageUsesSupported != false) { - source.StaffLanguageUses.MapCollectionTo(target.StaffLanguageUses, target, mappingContract?.IsStaffLanguageUseIncluded); + source.StaffLanguageUses.MapCollectionTo(target.StaffLanguageUses, mappingContract?.IsStaffLanguageUsesItemCreatable ?? true, target, mappingContract?.IsStaffLanguageUseIncluded); } // Map extensions @@ -55369,6 +55580,7 @@ public static bool SynchronizeTo(this IStaffDisciplineIncidentAssociation source { child.StaffDisciplineIncidentAssociation = target; }, + itemCreatable: mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded?.Invoke(item) ?? true); } @@ -55415,7 +55627,7 @@ public static void MapTo(this IStaffDisciplineIncidentAssociation source, IStaff if (mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported != false) { - source.StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes, target, mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded); + source.StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes, mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, target, mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded); } // Map extensions @@ -55794,6 +56006,7 @@ public static bool SynchronizeTo(this IStaffEducationOrganizationContactAssociat { child.StaffEducationOrganizationContactAssociation = target; }, + itemCreatable: mappingContract?.IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffEducationOrganizationContactAssociationTelephoneIncluded?.Invoke(item) ?? true); } @@ -55870,7 +56083,7 @@ public static void MapTo(this IStaffEducationOrganizationContactAssociation sour if (mappingContract?.IsStaffEducationOrganizationContactAssociationTelephonesSupported != false) { - source.StaffEducationOrganizationContactAssociationTelephones.MapCollectionTo(target.StaffEducationOrganizationContactAssociationTelephones, target, mappingContract?.IsStaffEducationOrganizationContactAssociationTelephoneIncluded); + source.StaffEducationOrganizationContactAssociationTelephones.MapCollectionTo(target.StaffEducationOrganizationContactAssociationTelephones, mappingContract?.IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable ?? true, target, mappingContract?.IsStaffEducationOrganizationContactAssociationTelephoneIncluded); } // Map extensions @@ -56023,6 +56236,7 @@ public static bool SynchronizeTo(this IStaffEducationOrganizationContactAssociat { child.StaffEducationOrganizationContactAssociationAddress = target; }, + itemCreatable: mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -56096,7 +56310,7 @@ public static void MapTo(this IStaffEducationOrganizationContactAssociationAddre if (mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodsSupported != false) { - source.StaffEducationOrganizationContactAssociationAddressPeriods.MapCollectionTo(target.StaffEducationOrganizationContactAssociationAddressPeriods, target, mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded); + source.StaffEducationOrganizationContactAssociationAddressPeriods.MapCollectionTo(target.StaffEducationOrganizationContactAssociationAddressPeriods, mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded); } // Map extensions @@ -57110,6 +57324,7 @@ public static bool SynchronizeTo(this IStaffSchoolAssociation source, IStaffScho { child.StaffSchoolAssociation = target; }, + itemCreatable: mappingContract?.IsStaffSchoolAssociationAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffSchoolAssociationAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -57122,6 +57337,7 @@ public static bool SynchronizeTo(this IStaffSchoolAssociation source, IStaffScho { child.StaffSchoolAssociation = target; }, + itemCreatable: mappingContract?.IsStaffSchoolAssociationGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffSchoolAssociationGradeLevelIncluded?.Invoke(item) ?? true); } @@ -57176,12 +57392,12 @@ public static void MapTo(this IStaffSchoolAssociation source, IStaffSchoolAssoci if (mappingContract?.IsStaffSchoolAssociationAcademicSubjectsSupported != false) { - source.StaffSchoolAssociationAcademicSubjects.MapCollectionTo(target.StaffSchoolAssociationAcademicSubjects, target, mappingContract?.IsStaffSchoolAssociationAcademicSubjectIncluded); + source.StaffSchoolAssociationAcademicSubjects.MapCollectionTo(target.StaffSchoolAssociationAcademicSubjects, mappingContract?.IsStaffSchoolAssociationAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsStaffSchoolAssociationAcademicSubjectIncluded); } if (mappingContract?.IsStaffSchoolAssociationGradeLevelsSupported != false) { - source.StaffSchoolAssociationGradeLevels.MapCollectionTo(target.StaffSchoolAssociationGradeLevels, target, mappingContract?.IsStaffSchoolAssociationGradeLevelIncluded); + source.StaffSchoolAssociationGradeLevels.MapCollectionTo(target.StaffSchoolAssociationGradeLevels, mappingContract?.IsStaffSchoolAssociationGradeLevelsItemCreatable ?? true, target, mappingContract?.IsStaffSchoolAssociationGradeLevelIncluded); } // Map extensions @@ -57736,6 +57952,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -57745,6 +57962,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -57754,6 +57972,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -57763,6 +57982,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -57772,6 +57992,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -57781,6 +58002,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -57795,6 +58017,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat { child.StateEducationAgency = target; }, + itemCreatable: mappingContract?.IsStateEducationAgencyAccountabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsStateEducationAgencyAccountabilityIncluded?.Invoke(item) ?? true); } @@ -57807,6 +58030,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat { child.StateEducationAgency = target; }, + itemCreatable: mappingContract?.IsStateEducationAgencyFederalFundsItemCreatable ?? true, includeItem: item => mappingContract?.IsStateEducationAgencyFederalFundsIncluded?.Invoke(item) ?? true); } @@ -57856,44 +58080,44 @@ public static void MapTo(this IStateEducationAgency source, IStateEducationAgenc if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists if (mappingContract?.IsStateEducationAgencyAccountabilitiesSupported != false) { - source.StateEducationAgencyAccountabilities.MapCollectionTo(target.StateEducationAgencyAccountabilities, target, mappingContract?.IsStateEducationAgencyAccountabilityIncluded); + source.StateEducationAgencyAccountabilities.MapCollectionTo(target.StateEducationAgencyAccountabilities, mappingContract?.IsStateEducationAgencyAccountabilitiesItemCreatable ?? true, target, mappingContract?.IsStateEducationAgencyAccountabilityIncluded); } if (mappingContract?.IsStateEducationAgencyFederalFundsSupported != false) { - source.StateEducationAgencyFederalFunds.MapCollectionTo(target.StateEducationAgencyFederalFunds, target, mappingContract?.IsStateEducationAgencyFederalFundsIncluded); + source.StateEducationAgencyFederalFunds.MapCollectionTo(target.StateEducationAgencyFederalFunds, mappingContract?.IsStateEducationAgencyFederalFundsItemCreatable ?? true, target, mappingContract?.IsStateEducationAgencyFederalFundsIncluded); } // Map extensions @@ -58253,6 +58477,7 @@ public static bool SynchronizeTo(this IStudent source, IStudent target) { child.Student = target; }, + itemCreatable: mappingContract?.IsStudentIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -58265,6 +58490,7 @@ public static bool SynchronizeTo(this IStudent source, IStudent target) { child.Student = target; }, + itemCreatable: mappingContract?.IsStudentOtherNamesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentOtherNameIncluded?.Invoke(item) ?? true); } @@ -58277,6 +58503,7 @@ public static bool SynchronizeTo(this IStudent source, IStudent target) { child.Student = target; }, + itemCreatable: mappingContract?.IsStudentPersonalIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentPersonalIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -58289,6 +58516,7 @@ public static bool SynchronizeTo(this IStudent source, IStudent target) { child.Student = target; }, + itemCreatable: mappingContract?.IsStudentVisasItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentVisaIncluded?.Invoke(item) ?? true); } @@ -58385,22 +58613,22 @@ public static void MapTo(this IStudent source, IStudent target, Action mappingContract?.IsStudentAcademicRecordAcademicHonorIncluded?.Invoke(item) ?? true); } @@ -59069,6 +59298,7 @@ public static bool SynchronizeTo(this IStudentAcademicRecord source, IStudentAca { child.StudentAcademicRecord = target; }, + itemCreatable: mappingContract?.IsStudentAcademicRecordDiplomasItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAcademicRecordDiplomaIncluded?.Invoke(item) ?? true); } @@ -59081,6 +59311,7 @@ public static bool SynchronizeTo(this IStudentAcademicRecord source, IStudentAca { child.StudentAcademicRecord = target; }, + itemCreatable: mappingContract?.IsStudentAcademicRecordGradePointAveragesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAcademicRecordGradePointAverageIncluded?.Invoke(item) ?? true); } @@ -59093,6 +59324,7 @@ public static bool SynchronizeTo(this IStudentAcademicRecord source, IStudentAca { child.StudentAcademicRecord = target; }, + itemCreatable: mappingContract?.IsStudentAcademicRecordRecognitionsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAcademicRecordRecognitionIncluded?.Invoke(item) ?? true); } @@ -59105,6 +59337,7 @@ public static bool SynchronizeTo(this IStudentAcademicRecord source, IStudentAca { child.StudentAcademicRecord = target; }, + itemCreatable: mappingContract?.IsStudentAcademicRecordReportCardsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAcademicRecordReportCardIncluded?.Invoke(item) ?? true); } @@ -59231,27 +59464,27 @@ public static void MapTo(this IStudentAcademicRecord source, IStudentAcademicRec if (mappingContract?.IsStudentAcademicRecordAcademicHonorsSupported != false) { - source.StudentAcademicRecordAcademicHonors.MapCollectionTo(target.StudentAcademicRecordAcademicHonors, target, mappingContract?.IsStudentAcademicRecordAcademicHonorIncluded); + source.StudentAcademicRecordAcademicHonors.MapCollectionTo(target.StudentAcademicRecordAcademicHonors, mappingContract?.IsStudentAcademicRecordAcademicHonorsItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordAcademicHonorIncluded); } if (mappingContract?.IsStudentAcademicRecordDiplomasSupported != false) { - source.StudentAcademicRecordDiplomas.MapCollectionTo(target.StudentAcademicRecordDiplomas, target, mappingContract?.IsStudentAcademicRecordDiplomaIncluded); + source.StudentAcademicRecordDiplomas.MapCollectionTo(target.StudentAcademicRecordDiplomas, mappingContract?.IsStudentAcademicRecordDiplomasItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordDiplomaIncluded); } if (mappingContract?.IsStudentAcademicRecordGradePointAveragesSupported != false) { - source.StudentAcademicRecordGradePointAverages.MapCollectionTo(target.StudentAcademicRecordGradePointAverages, target, mappingContract?.IsStudentAcademicRecordGradePointAverageIncluded); + source.StudentAcademicRecordGradePointAverages.MapCollectionTo(target.StudentAcademicRecordGradePointAverages, mappingContract?.IsStudentAcademicRecordGradePointAveragesItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordGradePointAverageIncluded); } if (mappingContract?.IsStudentAcademicRecordRecognitionsSupported != false) { - source.StudentAcademicRecordRecognitions.MapCollectionTo(target.StudentAcademicRecordRecognitions, target, mappingContract?.IsStudentAcademicRecordRecognitionIncluded); + source.StudentAcademicRecordRecognitions.MapCollectionTo(target.StudentAcademicRecordRecognitions, mappingContract?.IsStudentAcademicRecordRecognitionsItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordRecognitionIncluded); } if (mappingContract?.IsStudentAcademicRecordReportCardsSupported != false) { - source.StudentAcademicRecordReportCards.MapCollectionTo(target.StudentAcademicRecordReportCards, target, mappingContract?.IsStudentAcademicRecordReportCardIncluded); + source.StudentAcademicRecordReportCards.MapCollectionTo(target.StudentAcademicRecordReportCards, mappingContract?.IsStudentAcademicRecordReportCardsItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordReportCardIncluded); } // Map extensions @@ -60318,6 +60551,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentAccommodationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentAccommodationIncluded?.Invoke(item) ?? true); } @@ -60330,6 +60564,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentItemsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentItemIncluded?.Invoke(item) ?? true); } @@ -60342,6 +60577,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentPerformanceLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentPerformanceLevelIncluded?.Invoke(item) ?? true); } @@ -60354,6 +60590,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentScoreResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentScoreResultIncluded?.Invoke(item) ?? true); } @@ -60366,6 +60603,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentIncluded?.Invoke(item) ?? true); } @@ -60484,27 +60722,27 @@ public static void MapTo(this IStudentAssessment source, IStudentAssessment targ if (mappingContract?.IsStudentAssessmentAccommodationsSupported != false) { - source.StudentAssessmentAccommodations.MapCollectionTo(target.StudentAssessmentAccommodations, target, mappingContract?.IsStudentAssessmentAccommodationIncluded); + source.StudentAssessmentAccommodations.MapCollectionTo(target.StudentAssessmentAccommodations, mappingContract?.IsStudentAssessmentAccommodationsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentAccommodationIncluded); } if (mappingContract?.IsStudentAssessmentItemsSupported != false) { - source.StudentAssessmentItems.MapCollectionTo(target.StudentAssessmentItems, target, mappingContract?.IsStudentAssessmentItemIncluded); + source.StudentAssessmentItems.MapCollectionTo(target.StudentAssessmentItems, mappingContract?.IsStudentAssessmentItemsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentItemIncluded); } if (mappingContract?.IsStudentAssessmentPerformanceLevelsSupported != false) { - source.StudentAssessmentPerformanceLevels.MapCollectionTo(target.StudentAssessmentPerformanceLevels, target, mappingContract?.IsStudentAssessmentPerformanceLevelIncluded); + source.StudentAssessmentPerformanceLevels.MapCollectionTo(target.StudentAssessmentPerformanceLevels, mappingContract?.IsStudentAssessmentPerformanceLevelsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentPerformanceLevelIncluded); } if (mappingContract?.IsStudentAssessmentScoreResultsSupported != false) { - source.StudentAssessmentScoreResults.MapCollectionTo(target.StudentAssessmentScoreResults, target, mappingContract?.IsStudentAssessmentScoreResultIncluded); + source.StudentAssessmentScoreResults.MapCollectionTo(target.StudentAssessmentScoreResults, mappingContract?.IsStudentAssessmentScoreResultsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentScoreResultIncluded); } if (mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentsSupported != false) { - source.StudentAssessmentStudentObjectiveAssessments.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessments, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentIncluded); + source.StudentAssessmentStudentObjectiveAssessments.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessments, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentIncluded); } // Map extensions @@ -61067,6 +61305,7 @@ public static bool SynchronizeTo(this IStudentAssessmentStudentObjectiveAssessme { child.StudentAssessmentStudentObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded?.Invoke(item) ?? true); } @@ -61079,6 +61318,7 @@ public static bool SynchronizeTo(this IStudentAssessmentStudentObjectiveAssessme { child.StudentAssessmentStudentObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded?.Invoke(item) ?? true); } @@ -61127,12 +61367,12 @@ public static void MapTo(this IStudentAssessmentStudentObjectiveAssessment sourc if (mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported != false) { - source.StudentAssessmentStudentObjectiveAssessmentPerformanceLevels.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessmentPerformanceLevels, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded); + source.StudentAssessmentStudentObjectiveAssessmentPerformanceLevels.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessmentPerformanceLevels, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded); } if (mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported != false) { - source.StudentAssessmentStudentObjectiveAssessmentScoreResults.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessmentScoreResults, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded); + source.StudentAssessmentStudentObjectiveAssessmentScoreResults.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessmentScoreResults, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded); } // Map extensions @@ -61653,6 +61893,7 @@ public static bool SynchronizeTo(this IStudentCohortAssociation source, IStudent { child.StudentCohortAssociation = target; }, + itemCreatable: mappingContract?.IsStudentCohortAssociationSectionsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCohortAssociationSectionIncluded?.Invoke(item) ?? true); } @@ -61703,7 +61944,7 @@ public static void MapTo(this IStudentCohortAssociation source, IStudentCohortAs if (mappingContract?.IsStudentCohortAssociationSectionsSupported != false) { - source.StudentCohortAssociationSections.MapCollectionTo(target.StudentCohortAssociationSections, target, mappingContract?.IsStudentCohortAssociationSectionIncluded); + source.StudentCohortAssociationSections.MapCollectionTo(target.StudentCohortAssociationSections, mappingContract?.IsStudentCohortAssociationSectionsItemCreatable ?? true, target, mappingContract?.IsStudentCohortAssociationSectionIncluded); } // Map extensions @@ -61875,6 +62116,7 @@ public static bool SynchronizeTo(this IStudentCompetencyObjective source, IStude { child.StudentCompetencyObjective = target; }, + itemCreatable: mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded?.Invoke(item) ?? true); } @@ -61887,6 +62129,7 @@ public static bool SynchronizeTo(this IStudentCompetencyObjective source, IStude { child.StudentCompetencyObjective = target; }, + itemCreatable: mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationIncluded?.Invoke(item) ?? true); } @@ -61946,12 +62189,12 @@ public static void MapTo(this IStudentCompetencyObjective source, IStudentCompet if (mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported != false) { - source.StudentCompetencyObjectiveGeneralStudentProgramAssociations.MapCollectionTo(target.StudentCompetencyObjectiveGeneralStudentProgramAssociations, target, mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded); + source.StudentCompetencyObjectiveGeneralStudentProgramAssociations.MapCollectionTo(target.StudentCompetencyObjectiveGeneralStudentProgramAssociations, mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable ?? true, target, mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded); } if (mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationsSupported != false) { - source.StudentCompetencyObjectiveStudentSectionAssociations.MapCollectionTo(target.StudentCompetencyObjectiveStudentSectionAssociations, target, mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationIncluded); + source.StudentCompetencyObjectiveStudentSectionAssociations.MapCollectionTo(target.StudentCompetencyObjectiveStudentSectionAssociations, mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable ?? true, target, mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationIncluded); } // Map extensions @@ -62259,6 +62502,7 @@ public static bool SynchronizeTo(this IStudentCTEProgramAssociation source, IStu source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -62273,6 +62517,7 @@ public static bool SynchronizeTo(this IStudentCTEProgramAssociation source, IStu { child.StudentCTEProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentCTEProgramAssociationCTEProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCTEProgramAssociationCTEProgramIncluded?.Invoke(item) ?? true); } @@ -62285,6 +62530,7 @@ public static bool SynchronizeTo(this IStudentCTEProgramAssociation source, IStu { child.StudentCTEProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCTEProgramAssociationCTEProgramServiceIncluded?.Invoke(item) ?? true); } @@ -62297,6 +62543,7 @@ public static bool SynchronizeTo(this IStudentCTEProgramAssociation source, IStu { child.StudentCTEProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentCTEProgramAssociationServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCTEProgramAssociationServiceIncluded?.Invoke(item) ?? true); } @@ -62392,24 +62639,24 @@ public static void MapDerivedTo(this IStudentCTEProgramAssociation source, IStud if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentCTEProgramAssociationCTEProgramsSupported != false) { - source.StudentCTEProgramAssociationCTEPrograms.MapCollectionTo(target.StudentCTEProgramAssociationCTEPrograms, target, mappingContract?.IsStudentCTEProgramAssociationCTEProgramIncluded); + source.StudentCTEProgramAssociationCTEPrograms.MapCollectionTo(target.StudentCTEProgramAssociationCTEPrograms, mappingContract?.IsStudentCTEProgramAssociationCTEProgramsItemCreatable ?? true, target, mappingContract?.IsStudentCTEProgramAssociationCTEProgramIncluded); } if (mappingContract?.IsStudentCTEProgramAssociationCTEProgramServicesSupported != false) { - source.StudentCTEProgramAssociationCTEProgramServices.MapCollectionTo(target.StudentCTEProgramAssociationCTEProgramServices, target, mappingContract?.IsStudentCTEProgramAssociationCTEProgramServiceIncluded); + source.StudentCTEProgramAssociationCTEProgramServices.MapCollectionTo(target.StudentCTEProgramAssociationCTEProgramServices, mappingContract?.IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentCTEProgramAssociationCTEProgramServiceIncluded); } if (mappingContract?.IsStudentCTEProgramAssociationServicesSupported != false) { - source.StudentCTEProgramAssociationServices.MapCollectionTo(target.StudentCTEProgramAssociationServices, target, mappingContract?.IsStudentCTEProgramAssociationServiceIncluded); + source.StudentCTEProgramAssociationServices.MapCollectionTo(target.StudentCTEProgramAssociationServices, mappingContract?.IsStudentCTEProgramAssociationServicesItemCreatable ?? true, target, mappingContract?.IsStudentCTEProgramAssociationServiceIncluded); } // Map extensions @@ -62798,6 +63045,7 @@ public static bool SynchronizeTo(this IStudentDisciplineIncidentAssociation sour { child.StudentDisciplineIncidentAssociation = target; }, + itemCreatable: mappingContract?.IsStudentDisciplineIncidentAssociationBehaviorsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentDisciplineIncidentAssociationBehaviorIncluded?.Invoke(item) ?? true); } @@ -62847,7 +63095,7 @@ public static void MapTo(this IStudentDisciplineIncidentAssociation source, IStu if (mappingContract?.IsStudentDisciplineIncidentAssociationBehaviorsSupported != false) { - source.StudentDisciplineIncidentAssociationBehaviors.MapCollectionTo(target.StudentDisciplineIncidentAssociationBehaviors, target, mappingContract?.IsStudentDisciplineIncidentAssociationBehaviorIncluded); + source.StudentDisciplineIncidentAssociationBehaviors.MapCollectionTo(target.StudentDisciplineIncidentAssociationBehaviors, mappingContract?.IsStudentDisciplineIncidentAssociationBehaviorsItemCreatable ?? true, target, mappingContract?.IsStudentDisciplineIncidentAssociationBehaviorIncluded); } // Map extensions @@ -63007,6 +63255,7 @@ public static bool SynchronizeTo(this IStudentDisciplineIncidentBehaviorAssociat { child.StudentDisciplineIncidentBehaviorAssociation = target; }, + itemCreatable: mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded?.Invoke(item) ?? true); } @@ -63057,7 +63306,7 @@ public static void MapTo(this IStudentDisciplineIncidentBehaviorAssociation sour if (mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported != false) { - source.StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes, target, mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded); + source.StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes, mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, target, mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded); } // Map extensions @@ -63199,6 +63448,7 @@ public static bool SynchronizeTo(this IStudentDisciplineIncidentNonOffenderAssoc { child.StudentDisciplineIncidentNonOffenderAssociation = target; }, + itemCreatable: mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded?.Invoke(item) ?? true); } @@ -63245,7 +63495,7 @@ public static void MapTo(this IStudentDisciplineIncidentNonOffenderAssociation s if (mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported != false) { - source.StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes, target, mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded); + source.StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes, mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, target, mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded); } // Map extensions @@ -63475,6 +63725,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAddressIncluded?.Invoke(item) ?? true); } @@ -63487,6 +63738,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded?.Invoke(item) ?? true); } @@ -63499,6 +63751,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationCohortYearsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationCohortYearIncluded?.Invoke(item) ?? true); } @@ -63511,6 +63764,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationDisabilityIncluded?.Invoke(item) ?? true); } @@ -63523,6 +63777,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailIncluded?.Invoke(item) ?? true); } @@ -63535,6 +63790,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -63547,6 +63803,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationLanguageIncluded?.Invoke(item) ?? true); } @@ -63559,6 +63816,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationIncluded?.Invoke(item) ?? true); } @@ -63571,6 +63829,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationRacesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationRaceIncluded?.Invoke(item) ?? true); } @@ -63583,6 +63842,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded?.Invoke(item) ?? true); } @@ -63595,6 +63855,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -63607,6 +63868,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorIncluded?.Invoke(item) ?? true); } @@ -63619,6 +63881,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationTelephoneIncluded?.Invoke(item) ?? true); } @@ -63631,6 +63894,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationIncluded?.Invoke(item) ?? true); } @@ -63715,72 +63979,72 @@ public static void MapTo(this IStudentEducationOrganizationAssociation source, I if (mappingContract?.IsStudentEducationOrganizationAssociationAddressesSupported != false) { - source.StudentEducationOrganizationAssociationAddresses.MapCollectionTo(target.StudentEducationOrganizationAssociationAddresses, target, mappingContract?.IsStudentEducationOrganizationAssociationAddressIncluded); + source.StudentEducationOrganizationAssociationAddresses.MapCollectionTo(target.StudentEducationOrganizationAssociationAddresses, mappingContract?.IsStudentEducationOrganizationAssociationAddressesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationAddressIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginsSupported != false) { - source.StudentEducationOrganizationAssociationAncestryEthnicOrigins.MapCollectionTo(target.StudentEducationOrganizationAssociationAncestryEthnicOrigins, target, mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded); + source.StudentEducationOrganizationAssociationAncestryEthnicOrigins.MapCollectionTo(target.StudentEducationOrganizationAssociationAncestryEthnicOrigins, mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationCohortYearsSupported != false) { - source.StudentEducationOrganizationAssociationCohortYears.MapCollectionTo(target.StudentEducationOrganizationAssociationCohortYears, target, mappingContract?.IsStudentEducationOrganizationAssociationCohortYearIncluded); + source.StudentEducationOrganizationAssociationCohortYears.MapCollectionTo(target.StudentEducationOrganizationAssociationCohortYears, mappingContract?.IsStudentEducationOrganizationAssociationCohortYearsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationCohortYearIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationDisabilitiesSupported != false) { - source.StudentEducationOrganizationAssociationDisabilities.MapCollectionTo(target.StudentEducationOrganizationAssociationDisabilities, target, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityIncluded); + source.StudentEducationOrganizationAssociationDisabilities.MapCollectionTo(target.StudentEducationOrganizationAssociationDisabilities, mappingContract?.IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailsSupported != false) { - source.StudentEducationOrganizationAssociationElectronicMails.MapCollectionTo(target.StudentEducationOrganizationAssociationElectronicMails, target, mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailIncluded); + source.StudentEducationOrganizationAssociationElectronicMails.MapCollectionTo(target.StudentEducationOrganizationAssociationElectronicMails, mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressesSupported != false) { - source.StudentEducationOrganizationAssociationInternationalAddresses.MapCollectionTo(target.StudentEducationOrganizationAssociationInternationalAddresses, target, mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressIncluded); + source.StudentEducationOrganizationAssociationInternationalAddresses.MapCollectionTo(target.StudentEducationOrganizationAssociationInternationalAddresses, mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationLanguagesSupported != false) { - source.StudentEducationOrganizationAssociationLanguages.MapCollectionTo(target.StudentEducationOrganizationAssociationLanguages, target, mappingContract?.IsStudentEducationOrganizationAssociationLanguageIncluded); + source.StudentEducationOrganizationAssociationLanguages.MapCollectionTo(target.StudentEducationOrganizationAssociationLanguages, mappingContract?.IsStudentEducationOrganizationAssociationLanguagesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationLanguageIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationsSupported != false) { - source.StudentEducationOrganizationAssociationProgramParticipations.MapCollectionTo(target.StudentEducationOrganizationAssociationProgramParticipations, target, mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationIncluded); + source.StudentEducationOrganizationAssociationProgramParticipations.MapCollectionTo(target.StudentEducationOrganizationAssociationProgramParticipations, mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationRacesSupported != false) { - source.StudentEducationOrganizationAssociationRaces.MapCollectionTo(target.StudentEducationOrganizationAssociationRaces, target, mappingContract?.IsStudentEducationOrganizationAssociationRaceIncluded); + source.StudentEducationOrganizationAssociationRaces.MapCollectionTo(target.StudentEducationOrganizationAssociationRaces, mappingContract?.IsStudentEducationOrganizationAssociationRacesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationRaceIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicsSupported != false) { - source.StudentEducationOrganizationAssociationStudentCharacteristics.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristics, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded); + source.StudentEducationOrganizationAssociationStudentCharacteristics.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristics, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodesSupported != false) { - source.StudentEducationOrganizationAssociationStudentIdentificationCodes.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIdentificationCodes, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded); + source.StudentEducationOrganizationAssociationStudentIdentificationCodes.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIdentificationCodes, mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorsSupported != false) { - source.StudentEducationOrganizationAssociationStudentIndicators.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIndicators, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorIncluded); + source.StudentEducationOrganizationAssociationStudentIndicators.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIndicators, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationTelephonesSupported != false) { - source.StudentEducationOrganizationAssociationTelephones.MapCollectionTo(target.StudentEducationOrganizationAssociationTelephones, target, mappingContract?.IsStudentEducationOrganizationAssociationTelephoneIncluded); + source.StudentEducationOrganizationAssociationTelephones.MapCollectionTo(target.StudentEducationOrganizationAssociationTelephones, mappingContract?.IsStudentEducationOrganizationAssociationTelephonesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationTelephoneIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationsSupported != false) { - source.StudentEducationOrganizationAssociationTribalAffiliations.MapCollectionTo(target.StudentEducationOrganizationAssociationTribalAffiliations, target, mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationIncluded); + source.StudentEducationOrganizationAssociationTribalAffiliations.MapCollectionTo(target.StudentEducationOrganizationAssociationTribalAffiliations, mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationIncluded); } // Map extensions @@ -63898,6 +64162,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationAd { child.StudentEducationOrganizationAssociationAddress = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -63961,7 +64226,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationAddress so if (mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodsSupported != false) { - source.StudentEducationOrganizationAssociationAddressPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressPeriods, target, mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodIncluded); + source.StudentEducationOrganizationAssociationAddressPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressPeriods, mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodIncluded); } // Map extensions @@ -64274,6 +64539,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationDi { child.StudentEducationOrganizationAssociationDisability = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded?.Invoke(item) ?? true); } @@ -64315,7 +64581,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationDisability if (mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationsSupported != false) { - source.StudentEducationOrganizationAssociationDisabilityDesignations.MapCollectionTo(target.StudentEducationOrganizationAssociationDisabilityDesignations, target, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded); + source.StudentEducationOrganizationAssociationDisabilityDesignations.MapCollectionTo(target.StudentEducationOrganizationAssociationDisabilityDesignations, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded); } // Map extensions @@ -64691,6 +64957,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationLa { child.StudentEducationOrganizationAssociationLanguage = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationLanguageUseIncluded?.Invoke(item) ?? true); } @@ -64723,7 +64990,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationLanguage s if (mappingContract?.IsStudentEducationOrganizationAssociationLanguageUsesSupported != false) { - source.StudentEducationOrganizationAssociationLanguageUses.MapCollectionTo(target.StudentEducationOrganizationAssociationLanguageUses, target, mappingContract?.IsStudentEducationOrganizationAssociationLanguageUseIncluded); + source.StudentEducationOrganizationAssociationLanguageUses.MapCollectionTo(target.StudentEducationOrganizationAssociationLanguageUses, mappingContract?.IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationLanguageUseIncluded); } // Map extensions @@ -64869,6 +65136,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationPr { child.StudentEducationOrganizationAssociationProgramParticipation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicIncluded?.Invoke(item) ?? true); } @@ -64910,7 +65178,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationProgramPar if (mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsSupported != false) { - source.StudentEducationOrganizationAssociationProgramParticipationProgramCharacteristics.MapCollectionTo(target.StudentEducationOrganizationAssociationProgramParticipationProgramCharacteristics, target, mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicIncluded); + source.StudentEducationOrganizationAssociationProgramParticipationProgramCharacteristics.MapCollectionTo(target.StudentEducationOrganizationAssociationProgramParticipationProgramCharacteristics, mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicIncluded); } // Map extensions @@ -65112,6 +65380,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationSt { child.StudentEducationOrganizationAssociationStudentCharacteristic = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded?.Invoke(item) ?? true); } @@ -65147,7 +65416,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationStudentCha if (mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported != false) { - source.StudentEducationOrganizationAssociationStudentCharacteristicPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristicPeriods, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded); + source.StudentEducationOrganizationAssociationStudentCharacteristicPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristicPeriods, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded); } // Map extensions @@ -65384,6 +65653,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationSt { child.StudentEducationOrganizationAssociationStudentIndicator = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded?.Invoke(item) ?? true); } @@ -65425,7 +65695,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationStudentInd if (mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported != false) { - source.StudentEducationOrganizationAssociationStudentIndicatorPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIndicatorPeriods, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded); + source.StudentEducationOrganizationAssociationStudentIndicatorPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIndicatorPeriods, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded); } // Map extensions @@ -66123,6 +66393,7 @@ public static bool SynchronizeTo(this IStudentHomelessProgramAssociation source, source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -66137,6 +66408,7 @@ public static bool SynchronizeTo(this IStudentHomelessProgramAssociation source, { child.StudentHomelessProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded?.Invoke(item) ?? true); } @@ -66232,14 +66504,14 @@ public static void MapDerivedTo(this IStudentHomelessProgramAssociation source, if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServicesSupported != false) { - source.StudentHomelessProgramAssociationHomelessProgramServices.MapCollectionTo(target.StudentHomelessProgramAssociationHomelessProgramServices, target, mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded); + source.StudentHomelessProgramAssociationHomelessProgramServices.MapCollectionTo(target.StudentHomelessProgramAssociationHomelessProgramServices, mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded); } // Map extensions @@ -66591,6 +66863,7 @@ public static bool SynchronizeTo(this IStudentInterventionAssociation source, IS { child.StudentInterventionAssociation = target; }, + itemCreatable: mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessIncluded?.Invoke(item) ?? true); } @@ -66651,7 +66924,7 @@ public static void MapTo(this IStudentInterventionAssociation source, IStudentIn if (mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessesSupported != false) { - source.StudentInterventionAssociationInterventionEffectivenesses.MapCollectionTo(target.StudentInterventionAssociationInterventionEffectivenesses, target, mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessIncluded); + source.StudentInterventionAssociationInterventionEffectivenesses.MapCollectionTo(target.StudentInterventionAssociationInterventionEffectivenesses, mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable ?? true, target, mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessIncluded); } // Map extensions @@ -67026,6 +67299,7 @@ public static bool SynchronizeTo(this IStudentLanguageInstructionProgramAssociat source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -67040,6 +67314,7 @@ public static bool SynchronizeTo(this IStudentLanguageInstructionProgramAssociat { child.StudentLanguageInstructionProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded?.Invoke(item) ?? true); } @@ -67052,6 +67327,7 @@ public static bool SynchronizeTo(this IStudentLanguageInstructionProgramAssociat { child.StudentLanguageInstructionProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded?.Invoke(item) ?? true); } @@ -67144,19 +67420,19 @@ public static void MapDerivedTo(this IStudentLanguageInstructionProgramAssociati if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported != false) { - source.StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments.MapCollectionTo(target.StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments, target, mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded); + source.StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments.MapCollectionTo(target.StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments, mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable ?? true, target, mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded); } if (mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported != false) { - source.StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices.MapCollectionTo(target.StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices, target, mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded); + source.StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices.MapCollectionTo(target.StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices, mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded); } // Map extensions @@ -67462,6 +67738,7 @@ public static bool SynchronizeTo(this IStudentLearningObjective source, IStudent { child.StudentLearningObjective = target; }, + itemCreatable: mappingContract?.IsStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentLearningObjectiveGeneralStudentProgramAssociationIncluded?.Invoke(item) ?? true); } @@ -67474,6 +67751,7 @@ public static bool SynchronizeTo(this IStudentLearningObjective source, IStudent { child.StudentLearningObjective = target; }, + itemCreatable: mappingContract?.IsStudentLearningObjectiveStudentSectionAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentLearningObjectiveStudentSectionAssociationIncluded?.Invoke(item) ?? true); } @@ -67532,12 +67810,12 @@ public static void MapTo(this IStudentLearningObjective source, IStudentLearning if (mappingContract?.IsStudentLearningObjectiveGeneralStudentProgramAssociationsSupported != false) { - source.StudentLearningObjectiveGeneralStudentProgramAssociations.MapCollectionTo(target.StudentLearningObjectiveGeneralStudentProgramAssociations, target, mappingContract?.IsStudentLearningObjectiveGeneralStudentProgramAssociationIncluded); + source.StudentLearningObjectiveGeneralStudentProgramAssociations.MapCollectionTo(target.StudentLearningObjectiveGeneralStudentProgramAssociations, mappingContract?.IsStudentLearningObjectiveGeneralStudentProgramAssociationsItemCreatable ?? true, target, mappingContract?.IsStudentLearningObjectiveGeneralStudentProgramAssociationIncluded); } if (mappingContract?.IsStudentLearningObjectiveStudentSectionAssociationsSupported != false) { - source.StudentLearningObjectiveStudentSectionAssociations.MapCollectionTo(target.StudentLearningObjectiveStudentSectionAssociations, target, mappingContract?.IsStudentLearningObjectiveStudentSectionAssociationIncluded); + source.StudentLearningObjectiveStudentSectionAssociations.MapCollectionTo(target.StudentLearningObjectiveStudentSectionAssociations, mappingContract?.IsStudentLearningObjectiveStudentSectionAssociationsItemCreatable ?? true, target, mappingContract?.IsStudentLearningObjectiveStudentSectionAssociationIncluded); } // Map extensions @@ -67887,6 +68165,7 @@ public static bool SynchronizeTo(this IStudentMigrantEducationProgramAssociation source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -67901,6 +68180,7 @@ public static bool SynchronizeTo(this IStudentMigrantEducationProgramAssociation { child.StudentMigrantEducationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded?.Invoke(item) ?? true); } @@ -68014,14 +68294,14 @@ public static void MapDerivedTo(this IStudentMigrantEducationProgramAssociation if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesSupported != false) { - source.StudentMigrantEducationProgramAssociationMigrantEducationProgramServices.MapCollectionTo(target.StudentMigrantEducationProgramAssociationMigrantEducationProgramServices, target, mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded); + source.StudentMigrantEducationProgramAssociationMigrantEducationProgramServices.MapCollectionTo(target.StudentMigrantEducationProgramAssociationMigrantEducationProgramServices, mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded); } // Map extensions @@ -68266,6 +68546,7 @@ public static bool SynchronizeTo(this IStudentNeglectedOrDelinquentProgramAssoci source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -68280,6 +68561,7 @@ public static bool SynchronizeTo(this IStudentNeglectedOrDelinquentProgramAssoci { child.StudentNeglectedOrDelinquentProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded?.Invoke(item) ?? true); } @@ -68375,14 +68657,14 @@ public static void MapDerivedTo(this IStudentNeglectedOrDelinquentProgramAssocia if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported != false) { - source.StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices.MapCollectionTo(target.StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices, target, mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded); + source.StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices.MapCollectionTo(target.StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices, mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded); } // Map extensions @@ -68925,6 +69207,7 @@ public static bool SynchronizeTo(this IStudentProgramAssociation source, IStuden source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -68939,6 +69222,7 @@ public static bool SynchronizeTo(this IStudentProgramAssociation source, IStuden { child.StudentProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentProgramAssociationServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentProgramAssociationServiceIncluded?.Invoke(item) ?? true); } @@ -69025,14 +69309,14 @@ public static void MapDerivedTo(this IStudentProgramAssociation source, IStudent if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentProgramAssociationServicesSupported != false) { - source.StudentProgramAssociationServices.MapCollectionTo(target.StudentProgramAssociationServices, target, mappingContract?.IsStudentProgramAssociationServiceIncluded); + source.StudentProgramAssociationServices.MapCollectionTo(target.StudentProgramAssociationServices, mappingContract?.IsStudentProgramAssociationServicesItemCreatable ?? true, target, mappingContract?.IsStudentProgramAssociationServiceIncluded); } // Map extensions @@ -69503,6 +69787,7 @@ public static bool SynchronizeTo(this IStudentSchoolAssociation source, IStudent { child.StudentSchoolAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlanIncluded?.Invoke(item) ?? true); } @@ -69515,6 +69800,7 @@ public static bool SynchronizeTo(this IStudentSchoolAssociation source, IStudent { child.StudentSchoolAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSchoolAssociationEducationPlansItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSchoolAssociationEducationPlanIncluded?.Invoke(item) ?? true); } @@ -69620,12 +69906,12 @@ public static void MapTo(this IStudentSchoolAssociation source, IStudentSchoolAs if (mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlansSupported != false) { - source.StudentSchoolAssociationAlternativeGraduationPlans.MapCollectionTo(target.StudentSchoolAssociationAlternativeGraduationPlans, target, mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlanIncluded); + source.StudentSchoolAssociationAlternativeGraduationPlans.MapCollectionTo(target.StudentSchoolAssociationAlternativeGraduationPlans, mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable ?? true, target, mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlanIncluded); } if (mappingContract?.IsStudentSchoolAssociationEducationPlansSupported != false) { - source.StudentSchoolAssociationEducationPlans.MapCollectionTo(target.StudentSchoolAssociationEducationPlans, target, mappingContract?.IsStudentSchoolAssociationEducationPlanIncluded); + source.StudentSchoolAssociationEducationPlans.MapCollectionTo(target.StudentSchoolAssociationEducationPlans, mappingContract?.IsStudentSchoolAssociationEducationPlansItemCreatable ?? true, target, mappingContract?.IsStudentSchoolAssociationEducationPlanIncluded); } // Map extensions @@ -70073,6 +70359,7 @@ public static bool SynchronizeTo(this IStudentSchoolFoodServiceProgramAssociatio source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -70087,6 +70374,7 @@ public static bool SynchronizeTo(this IStudentSchoolFoodServiceProgramAssociatio { child.StudentSchoolFoodServiceProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded?.Invoke(item) ?? true); } @@ -70176,14 +70464,14 @@ public static void MapDerivedTo(this IStudentSchoolFoodServiceProgramAssociation if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported != false) { - source.StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices.MapCollectionTo(target.StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices, target, mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded); + source.StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices.MapCollectionTo(target.StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices, mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded); } // Map extensions @@ -70601,6 +70889,7 @@ public static bool SynchronizeTo(this IStudentSectionAttendanceEvent source, ISt { child.StudentSectionAttendanceEvent = target; }, + itemCreatable: mappingContract?.IsStudentSectionAttendanceEventClassPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSectionAttendanceEventClassPeriodIncluded?.Invoke(item) ?? true); } @@ -70670,7 +70959,7 @@ public static void MapTo(this IStudentSectionAttendanceEvent source, IStudentSec if (mappingContract?.IsStudentSectionAttendanceEventClassPeriodsSupported != false) { - source.StudentSectionAttendanceEventClassPeriods.MapCollectionTo(target.StudentSectionAttendanceEventClassPeriods, target, mappingContract?.IsStudentSectionAttendanceEventClassPeriodIncluded); + source.StudentSectionAttendanceEventClassPeriods.MapCollectionTo(target.StudentSectionAttendanceEventClassPeriods, mappingContract?.IsStudentSectionAttendanceEventClassPeriodsItemCreatable ?? true, target, mappingContract?.IsStudentSectionAttendanceEventClassPeriodIncluded); } // Map extensions @@ -70941,6 +71230,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -70955,6 +71245,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityIncluded?.Invoke(item) ?? true); } @@ -70967,6 +71258,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProviderIncluded?.Invoke(item) ?? true); } @@ -70979,6 +71271,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded?.Invoke(item) ?? true); } @@ -71095,24 +71388,24 @@ public static void MapDerivedTo(this IStudentSpecialEducationProgramAssociation if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilitiesSupported != false) { - source.StudentSpecialEducationProgramAssociationDisabilities.MapCollectionTo(target.StudentSpecialEducationProgramAssociationDisabilities, target, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityIncluded); + source.StudentSpecialEducationProgramAssociationDisabilities.MapCollectionTo(target.StudentSpecialEducationProgramAssociationDisabilities, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityIncluded); } if (mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProvidersSupported != false) { - source.StudentSpecialEducationProgramAssociationServiceProviders.MapCollectionTo(target.StudentSpecialEducationProgramAssociationServiceProviders, target, mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProviderIncluded); + source.StudentSpecialEducationProgramAssociationServiceProviders.MapCollectionTo(target.StudentSpecialEducationProgramAssociationServiceProviders, mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProviderIncluded); } if (mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported != false) { - source.StudentSpecialEducationProgramAssociationSpecialEducationProgramServices.MapCollectionTo(target.StudentSpecialEducationProgramAssociationSpecialEducationProgramServices, target, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded); + source.StudentSpecialEducationProgramAssociationSpecialEducationProgramServices.MapCollectionTo(target.StudentSpecialEducationProgramAssociationSpecialEducationProgramServices, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded); } // Map extensions @@ -71188,6 +71481,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociationDisability = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded?.Invoke(item) ?? true); } @@ -71229,7 +71523,7 @@ public static void MapTo(this IStudentSpecialEducationProgramAssociationDisabili if (mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported != false) { - source.StudentSpecialEducationProgramAssociationDisabilityDesignations.MapCollectionTo(target.StudentSpecialEducationProgramAssociationDisabilityDesignations, target, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded); + source.StudentSpecialEducationProgramAssociationDisabilityDesignations.MapCollectionTo(target.StudentSpecialEducationProgramAssociationDisabilityDesignations, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded); } // Map extensions @@ -71462,6 +71756,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociationSpecialEducationProgramService = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded?.Invoke(item) ?? true); } @@ -71503,7 +71798,7 @@ public static void MapTo(this IStudentSpecialEducationProgramAssociationSpecialE if (mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported != false) { - source.StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders.MapCollectionTo(target.StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders, target, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded); + source.StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders.MapCollectionTo(target.StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded); } // Map extensions @@ -71721,6 +72016,7 @@ public static bool SynchronizeTo(this IStudentTitleIPartAProgramAssociation sour source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -71735,6 +72031,7 @@ public static bool SynchronizeTo(this IStudentTitleIPartAProgramAssociation sour { child.StudentTitleIPartAProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentTitleIPartAProgramAssociationServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentTitleIPartAProgramAssociationServiceIncluded?.Invoke(item) ?? true); } @@ -71747,6 +72044,7 @@ public static bool SynchronizeTo(this IStudentTitleIPartAProgramAssociation sour { child.StudentTitleIPartAProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded?.Invoke(item) ?? true); } @@ -71836,19 +72134,19 @@ public static void MapDerivedTo(this IStudentTitleIPartAProgramAssociation sourc if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentTitleIPartAProgramAssociationServicesSupported != false) { - source.StudentTitleIPartAProgramAssociationServices.MapCollectionTo(target.StudentTitleIPartAProgramAssociationServices, target, mappingContract?.IsStudentTitleIPartAProgramAssociationServiceIncluded); + source.StudentTitleIPartAProgramAssociationServices.MapCollectionTo(target.StudentTitleIPartAProgramAssociationServices, mappingContract?.IsStudentTitleIPartAProgramAssociationServicesItemCreatable ?? true, target, mappingContract?.IsStudentTitleIPartAProgramAssociationServiceIncluded); } if (mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported != false) { - source.StudentTitleIPartAProgramAssociationTitleIPartAProgramServices.MapCollectionTo(target.StudentTitleIPartAProgramAssociationTitleIPartAProgramServices, target, mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded); + source.StudentTitleIPartAProgramAssociationTitleIPartAProgramServices.MapCollectionTo(target.StudentTitleIPartAProgramAssociationTitleIPartAProgramServices, mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded); } // Map extensions @@ -72975,6 +73273,7 @@ public static bool SynchronizeTo(this ISurveyQuestion source, ISurveyQuestion ta { child.SurveyQuestion = target; }, + itemCreatable: mappingContract?.IsSurveyQuestionMatricesItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyQuestionMatrixIncluded?.Invoke(item) ?? true); } @@ -72987,6 +73286,7 @@ public static bool SynchronizeTo(this ISurveyQuestion source, ISurveyQuestion ta { child.SurveyQuestion = target; }, + itemCreatable: mappingContract?.IsSurveyQuestionResponseChoicesItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyQuestionResponseChoiceIncluded?.Invoke(item) ?? true); } @@ -73042,12 +73342,12 @@ public static void MapTo(this ISurveyQuestion source, ISurveyQuestion target, Ac if (mappingContract?.IsSurveyQuestionMatricesSupported != false) { - source.SurveyQuestionMatrices.MapCollectionTo(target.SurveyQuestionMatrices, target, mappingContract?.IsSurveyQuestionMatrixIncluded); + source.SurveyQuestionMatrices.MapCollectionTo(target.SurveyQuestionMatrices, mappingContract?.IsSurveyQuestionMatricesItemCreatable ?? true, target, mappingContract?.IsSurveyQuestionMatrixIncluded); } if (mappingContract?.IsSurveyQuestionResponseChoicesSupported != false) { - source.SurveyQuestionResponseChoices.MapCollectionTo(target.SurveyQuestionResponseChoices, target, mappingContract?.IsSurveyQuestionResponseChoiceIncluded); + source.SurveyQuestionResponseChoices.MapCollectionTo(target.SurveyQuestionResponseChoices, mappingContract?.IsSurveyQuestionResponseChoicesItemCreatable ?? true, target, mappingContract?.IsSurveyQuestionResponseChoiceIncluded); } // Map extensions @@ -73314,6 +73614,7 @@ public static bool SynchronizeTo(this ISurveyQuestionResponse source, ISurveyQue { child.SurveyQuestionResponse = target; }, + itemCreatable: mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded?.Invoke(item) ?? true); } @@ -73326,6 +73627,7 @@ public static bool SynchronizeTo(this ISurveyQuestionResponse source, ISurveyQue { child.SurveyQuestionResponse = target; }, + itemCreatable: mappingContract?.IsSurveyQuestionResponseValuesItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyQuestionResponseValueIncluded?.Invoke(item) ?? true); } @@ -73379,12 +73681,12 @@ public static void MapTo(this ISurveyQuestionResponse source, ISurveyQuestionRes if (mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported != false) { - source.SurveyQuestionResponseSurveyQuestionMatrixElementResponses.MapCollectionTo(target.SurveyQuestionResponseSurveyQuestionMatrixElementResponses, target, mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded); + source.SurveyQuestionResponseSurveyQuestionMatrixElementResponses.MapCollectionTo(target.SurveyQuestionResponseSurveyQuestionMatrixElementResponses, mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable ?? true, target, mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded); } if (mappingContract?.IsSurveyQuestionResponseValuesSupported != false) { - source.SurveyQuestionResponseValues.MapCollectionTo(target.SurveyQuestionResponseValues, target, mappingContract?.IsSurveyQuestionResponseValueIncluded); + source.SurveyQuestionResponseValues.MapCollectionTo(target.SurveyQuestionResponseValues, mappingContract?.IsSurveyQuestionResponseValuesItemCreatable ?? true, target, mappingContract?.IsSurveyQuestionResponseValueIncluded); } // Map extensions @@ -73722,6 +74024,7 @@ public static bool SynchronizeTo(this ISurveyResponse source, ISurveyResponse ta { child.SurveyResponse = target; }, + itemCreatable: mappingContract?.IsSurveyResponseSurveyLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyResponseSurveyLevelIncluded?.Invoke(item) ?? true); } @@ -73796,7 +74099,7 @@ public static void MapTo(this ISurveyResponse source, ISurveyResponse target, Ac if (mappingContract?.IsSurveyResponseSurveyLevelsSupported != false) { - source.SurveyResponseSurveyLevels.MapCollectionTo(target.SurveyResponseSurveyLevels, target, mappingContract?.IsSurveyResponseSurveyLevelIncluded); + source.SurveyResponseSurveyLevels.MapCollectionTo(target.SurveyResponseSurveyLevels, mappingContract?.IsSurveyResponseSurveyLevelsItemCreatable ?? true, target, mappingContract?.IsSurveyResponseSurveyLevelIncluded); } // Map extensions 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 c3a81353e4..7b2e05f6f3 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 @@ -46,21 +46,27 @@ public ContactMappingContract( bool isContactAddressesSupported, bool isContactNameReferenceSupported, bool isContactStudentSchoolAssociationsSupported, + bool isContactAddressesItemCreatable, Func isContactAddressIncluded, + bool isContactStudentSchoolAssociationsItemCreatable, Func isContactStudentSchoolAssociationIncluded ) { IsContactAddressesSupported = isContactAddressesSupported; IsContactNameReferenceSupported = isContactNameReferenceSupported; IsContactStudentSchoolAssociationsSupported = isContactStudentSchoolAssociationsSupported; + IsContactAddressesItemCreatable = isContactAddressesItemCreatable; IsContactAddressIncluded = isContactAddressIncluded; + IsContactStudentSchoolAssociationsItemCreatable = isContactStudentSchoolAssociationsItemCreatable; IsContactStudentSchoolAssociationIncluded = isContactStudentSchoolAssociationIncluded; } public bool IsContactAddressesSupported { get; } public bool IsContactNameReferenceSupported { get; } public bool IsContactStudentSchoolAssociationsSupported { get; } + public bool IsContactAddressesItemCreatable { get; } public Func IsContactAddressIncluded { get; } + public bool IsContactStudentSchoolAssociationsItemCreatable { get; } public Func IsContactStudentSchoolAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -83,6 +89,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ContactAddresses": + return IsContactAddressesItemCreatable; + case "ContactStudentSchoolAssociations": + return IsContactStudentSchoolAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -128,6 +147,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -188,6 +216,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -236,6 +273,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -300,6 +346,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -347,6 +402,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -391,6 +455,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -427,21 +500,27 @@ public StaffMappingContract( bool isStaffAddressesSupported, bool isStaffNameReferenceSupported, bool isStaffStudentSchoolAssociationsSupported, + bool isStaffAddressesItemCreatable, Func isStaffAddressIncluded, + bool isStaffStudentSchoolAssociationsItemCreatable, Func isStaffStudentSchoolAssociationIncluded ) { IsStaffAddressesSupported = isStaffAddressesSupported; IsStaffNameReferenceSupported = isStaffNameReferenceSupported; IsStaffStudentSchoolAssociationsSupported = isStaffStudentSchoolAssociationsSupported; + IsStaffAddressesItemCreatable = isStaffAddressesItemCreatable; IsStaffAddressIncluded = isStaffAddressIncluded; + IsStaffStudentSchoolAssociationsItemCreatable = isStaffStudentSchoolAssociationsItemCreatable; IsStaffStudentSchoolAssociationIncluded = isStaffStudentSchoolAssociationIncluded; } public bool IsStaffAddressesSupported { get; } public bool IsStaffNameReferenceSupported { get; } public bool IsStaffStudentSchoolAssociationsSupported { get; } + public bool IsStaffAddressesItemCreatable { get; } public Func IsStaffAddressIncluded { get; } + public bool IsStaffStudentSchoolAssociationsItemCreatable { get; } public Func IsStaffStudentSchoolAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -464,6 +543,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffAddresses": + return IsStaffAddressesItemCreatable; + case "StaffStudentSchoolAssociations": + return IsStaffStudentSchoolAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -509,6 +601,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -569,6 +670,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -644,6 +754,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -689,6 +808,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -755,5 +883,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index 411a8dcc5a..9df6aaec98 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -55,6 +55,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsContactAddressIncluded?.Invoke(item) ?? true); } @@ -67,6 +68,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactStudentSchoolAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsContactStudentSchoolAssociationIncluded?.Invoke(item) ?? true); } @@ -108,12 +110,12 @@ public static void MapTo(this IContact source, IContact target, Action mappingContract?.IsStaffAddressIncluded?.Invoke(item) ?? true); } @@ -733,6 +736,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffStudentSchoolAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffStudentSchoolAssociationIncluded?.Invoke(item) ?? true); } @@ -774,12 +778,12 @@ public static void MapTo(this IStaff source, IStaff target, Action @@ -129,6 +138,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -199,10 +217,15 @@ public BusRouteMappingContract( bool isStaffUniqueIdSupported, bool isStartDateSupported, bool isWeeklyMileageSupported, + bool isBusRouteBusYearsItemCreatable, Func isBusRouteBusYearIncluded, + bool isBusRouteProgramsItemCreatable, Func isBusRouteProgramIncluded, + bool isBusRouteServiceAreaPostalCodesItemCreatable, Func isBusRouteServiceAreaPostalCodeIncluded, + bool isBusRouteStartTimesItemCreatable, Func isBusRouteStartTimeIncluded, + bool isBusRouteTelephonesItemCreatable, Func isBusRouteTelephoneIncluded ) { @@ -226,10 +249,15 @@ Func isBusRouteTelephoneIncluded IsStaffUniqueIdSupported = isStaffUniqueIdSupported; IsStartDateSupported = isStartDateSupported; IsWeeklyMileageSupported = isWeeklyMileageSupported; + IsBusRouteBusYearsItemCreatable = isBusRouteBusYearsItemCreatable; IsBusRouteBusYearIncluded = isBusRouteBusYearIncluded; + IsBusRouteProgramsItemCreatable = isBusRouteProgramsItemCreatable; IsBusRouteProgramIncluded = isBusRouteProgramIncluded; + IsBusRouteServiceAreaPostalCodesItemCreatable = isBusRouteServiceAreaPostalCodesItemCreatable; IsBusRouteServiceAreaPostalCodeIncluded = isBusRouteServiceAreaPostalCodeIncluded; + IsBusRouteStartTimesItemCreatable = isBusRouteStartTimesItemCreatable; IsBusRouteStartTimeIncluded = isBusRouteStartTimeIncluded; + IsBusRouteTelephonesItemCreatable = isBusRouteTelephonesItemCreatable; IsBusRouteTelephoneIncluded = isBusRouteTelephoneIncluded; } @@ -253,10 +281,15 @@ Func isBusRouteTelephoneIncluded public bool IsStaffUniqueIdSupported { get; } public bool IsStartDateSupported { get; } public bool IsWeeklyMileageSupported { get; } + public bool IsBusRouteBusYearsItemCreatable { get; } public Func IsBusRouteBusYearIncluded { get; } + public bool IsBusRouteProgramsItemCreatable { get; } public Func IsBusRouteProgramIncluded { get; } + public bool IsBusRouteServiceAreaPostalCodesItemCreatable { get; } public Func IsBusRouteServiceAreaPostalCodeIncluded { get; } + public bool IsBusRouteStartTimesItemCreatable { get; } public Func IsBusRouteStartTimeIncluded { get; } + public bool IsBusRouteTelephonesItemCreatable { get; } public Func IsBusRouteTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -313,6 +346,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "BusRouteBusYears": + return IsBusRouteBusYearsItemCreatable; + case "BusRoutePrograms": + return IsBusRouteProgramsItemCreatable; + case "BusRouteServiceAreaPostalCodes": + return IsBusRouteServiceAreaPostalCodesItemCreatable; + case "BusRouteStartTimes": + return IsBusRouteStartTimesItemCreatable; + case "BusRouteTelephones": + return IsBusRouteTelephonesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -358,6 +410,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -418,6 +479,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -463,6 +533,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -508,6 +587,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -575,6 +663,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -609,7 +706,9 @@ public ContactAddressExtensionMappingContract( bool isContactAddressSchoolDistrictsSupported, bool isContactAddressTermsSupported, bool isOnBusRouteSupported, + bool isContactAddressSchoolDistrictsItemCreatable, Func isContactAddressSchoolDistrictIncluded, + bool isContactAddressTermsItemCreatable, Func isContactAddressTermIncluded ) { @@ -617,7 +716,9 @@ Func isContactAddressTermIncluded IsContactAddressSchoolDistrictsSupported = isContactAddressSchoolDistrictsSupported; IsContactAddressTermsSupported = isContactAddressTermsSupported; IsOnBusRouteSupported = isOnBusRouteSupported; + IsContactAddressSchoolDistrictsItemCreatable = isContactAddressSchoolDistrictsItemCreatable; IsContactAddressSchoolDistrictIncluded = isContactAddressSchoolDistrictIncluded; + IsContactAddressTermsItemCreatable = isContactAddressTermsItemCreatable; IsContactAddressTermIncluded = isContactAddressTermIncluded; } @@ -625,7 +726,9 @@ Func isContactAddressTermIncluded public bool IsContactAddressSchoolDistrictsSupported { get; } public bool IsContactAddressTermsSupported { get; } public bool IsOnBusRouteSupported { get; } + public bool IsContactAddressSchoolDistrictsItemCreatable { get; } public Func IsContactAddressSchoolDistrictIncluded { get; } + public bool IsContactAddressTermsItemCreatable { get; } public Func IsContactAddressTermIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -646,6 +749,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ContactAddressSchoolDistricts": + return IsContactAddressSchoolDistrictsItemCreatable; + case "ContactAddressTerms": + return IsContactAddressTermsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -691,6 +807,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -736,6 +861,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -781,6 +915,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -826,6 +969,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -891,6 +1043,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -943,6 +1104,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1007,10 +1177,15 @@ public ContactExtensionMappingContract( bool isLuckyNumberSupported, bool isPreferredWakeUpTimeSupported, bool isRainCertaintySupported, + bool isContactAuthorsItemCreatable, Func isContactAuthorIncluded, + bool isContactCeilingHeightsItemCreatable, Func isContactCeilingHeightIncluded, + bool isContactEducationContentsItemCreatable, Func isContactEducationContentIncluded, + bool isContactFavoriteBookTitlesItemCreatable, Func isContactFavoriteBookTitleIncluded, + bool isContactStudentProgramAssociationsItemCreatable, Func isContactStudentProgramAssociationIncluded ) { @@ -1032,10 +1207,15 @@ Func isContactStudentProgramAssociation IsLuckyNumberSupported = isLuckyNumberSupported; IsPreferredWakeUpTimeSupported = isPreferredWakeUpTimeSupported; IsRainCertaintySupported = isRainCertaintySupported; + IsContactAuthorsItemCreatable = isContactAuthorsItemCreatable; IsContactAuthorIncluded = isContactAuthorIncluded; + IsContactCeilingHeightsItemCreatable = isContactCeilingHeightsItemCreatable; IsContactCeilingHeightIncluded = isContactCeilingHeightIncluded; + IsContactEducationContentsItemCreatable = isContactEducationContentsItemCreatable; IsContactEducationContentIncluded = isContactEducationContentIncluded; + IsContactFavoriteBookTitlesItemCreatable = isContactFavoriteBookTitlesItemCreatable; IsContactFavoriteBookTitleIncluded = isContactFavoriteBookTitleIncluded; + IsContactStudentProgramAssociationsItemCreatable = isContactStudentProgramAssociationsItemCreatable; IsContactStudentProgramAssociationIncluded = isContactStudentProgramAssociationIncluded; } @@ -1057,10 +1237,15 @@ Func isContactStudentProgramAssociation public bool IsLuckyNumberSupported { get; } public bool IsPreferredWakeUpTimeSupported { get; } public bool IsRainCertaintySupported { get; } + public bool IsContactAuthorsItemCreatable { get; } public Func IsContactAuthorIncluded { get; } + public bool IsContactCeilingHeightsItemCreatable { get; } public Func IsContactCeilingHeightIncluded { get; } + public bool IsContactEducationContentsItemCreatable { get; } public Func IsContactEducationContentIncluded { get; } + public bool IsContactFavoriteBookTitlesItemCreatable { get; } public Func IsContactFavoriteBookTitleIncluded { get; } + public bool IsContactStudentProgramAssociationsItemCreatable { get; } public Func IsContactStudentProgramAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1109,6 +1294,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ContactAuthors": + return IsContactAuthorsItemCreatable; + case "ContactCeilingHeights": + return IsContactCeilingHeightsItemCreatable; + case "ContactEducationContents": + return IsContactEducationContentsItemCreatable; + case "ContactFavoriteBookTitles": + return IsContactFavoriteBookTitlesItemCreatable; + case "ContactStudentProgramAssociations": + return IsContactStudentProgramAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1154,6 +1358,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1225,6 +1438,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1284,6 +1506,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1358,6 +1589,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1432,6 +1672,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1497,6 +1746,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1549,6 +1807,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1582,18 +1849,21 @@ public SchoolExtensionMappingContract( bool isIsExemplarySupported, bool isSchoolCTEProgramSupported, bool isSchoolDirectlyOwnedBusesSupported, + bool isSchoolDirectlyOwnedBusesItemCreatable, Func isSchoolDirectlyOwnedBusIncluded ) { IsIsExemplarySupported = isIsExemplarySupported; IsSchoolCTEProgramSupported = isSchoolCTEProgramSupported; IsSchoolDirectlyOwnedBusesSupported = isSchoolDirectlyOwnedBusesSupported; + IsSchoolDirectlyOwnedBusesItemCreatable = isSchoolDirectlyOwnedBusesItemCreatable; IsSchoolDirectlyOwnedBusIncluded = isSchoolDirectlyOwnedBusIncluded; } public bool IsIsExemplarySupported { get; } public bool IsSchoolCTEProgramSupported { get; } public bool IsSchoolDirectlyOwnedBusesSupported { get; } + public bool IsSchoolDirectlyOwnedBusesItemCreatable { get; } public Func IsSchoolDirectlyOwnedBusIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1612,6 +1882,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SchoolDirectlyOwnedBuses": + return IsSchoolDirectlyOwnedBusesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1645,18 +1926,21 @@ public StaffExtensionMappingContract( bool isFirstPetOwnedDateSupported, bool isStaffPetPreferenceSupported, bool isStaffPetsSupported, + bool isStaffPetsItemCreatable, Func isStaffPetIncluded ) { IsFirstPetOwnedDateSupported = isFirstPetOwnedDateSupported; IsStaffPetPreferenceSupported = isStaffPetPreferenceSupported; IsStaffPetsSupported = isStaffPetsSupported; + IsStaffPetsItemCreatable = isStaffPetsItemCreatable; IsStaffPetIncluded = isStaffPetIncluded; } public bool IsFirstPetOwnedDateSupported { get; } public bool IsStaffPetPreferenceSupported { get; } public bool IsStaffPetsSupported { get; } + public bool IsStaffPetsItemCreatable { get; } public Func IsStaffPetIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1675,6 +1959,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffPets": + return IsStaffPetsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1726,6 +2021,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1779,6 +2083,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1834,6 +2147,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1896,10 +2218,15 @@ public StudentArtProgramAssociationMappingContract( bool isStudentArtProgramAssociationServicesSupported, bool isStudentArtProgramAssociationStylesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentArtProgramAssociationArtMediaItemCreatable, Func isStudentArtProgramAssociationArtMediumIncluded, + bool isStudentArtProgramAssociationPortfolioYearsItemCreatable, Func isStudentArtProgramAssociationPortfolioYearsIncluded, + bool isStudentArtProgramAssociationServicesItemCreatable, Func isStudentArtProgramAssociationServiceIncluded, + bool isStudentArtProgramAssociationStylesItemCreatable, Func isStudentArtProgramAssociationStyleIncluded ) { @@ -1925,10 +2252,15 @@ Func isStudentArtProgramAssociationSty IsStudentArtProgramAssociationServicesSupported = isStudentArtProgramAssociationServicesSupported; IsStudentArtProgramAssociationStylesSupported = isStudentArtProgramAssociationStylesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentArtProgramAssociationArtMediaItemCreatable = isStudentArtProgramAssociationArtMediaItemCreatable; IsStudentArtProgramAssociationArtMediumIncluded = isStudentArtProgramAssociationArtMediumIncluded; + IsStudentArtProgramAssociationPortfolioYearsItemCreatable = isStudentArtProgramAssociationPortfolioYearsItemCreatable; IsStudentArtProgramAssociationPortfolioYearsIncluded = isStudentArtProgramAssociationPortfolioYearsIncluded; + IsStudentArtProgramAssociationServicesItemCreatable = isStudentArtProgramAssociationServicesItemCreatable; IsStudentArtProgramAssociationServiceIncluded = isStudentArtProgramAssociationServiceIncluded; + IsStudentArtProgramAssociationStylesItemCreatable = isStudentArtProgramAssociationStylesItemCreatable; IsStudentArtProgramAssociationStyleIncluded = isStudentArtProgramAssociationStyleIncluded; } @@ -1954,10 +2286,15 @@ 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; } + public bool IsStudentArtProgramAssociationPortfolioYearsItemCreatable { get; } public Func IsStudentArtProgramAssociationPortfolioYearsIncluded { get; } + public bool IsStudentArtProgramAssociationServicesItemCreatable { get; } public Func IsStudentArtProgramAssociationServiceIncluded { get; } + public bool IsStudentArtProgramAssociationStylesItemCreatable { get; } public Func IsStudentArtProgramAssociationStyleIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2026,6 +2363,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentArtProgramAssociationArtMedia": + return IsStudentArtProgramAssociationArtMediaItemCreatable; + case "StudentArtProgramAssociationPortfolioYears": + return IsStudentArtProgramAssociationPortfolioYearsItemCreatable; + case "StudentArtProgramAssociationServices": + return IsStudentArtProgramAssociationServicesItemCreatable; + case "StudentArtProgramAssociationStyles": + return IsStudentArtProgramAssociationStylesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2071,11 +2427,20 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - } - - /// - /// Defines available properties and methods for the abstraction of the StudentArtProgramAssociationPortfolioYears model. - /// + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + } + + /// + /// Defines available properties and methods for the abstraction of the StudentArtProgramAssociationPortfolioYears model. + /// public interface IStudentArtProgramAssociationPortfolioYears : ISynchronizable, IMappable, IGetByExample { // Primary Key properties @@ -2116,6 +2481,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2179,6 +2553,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2224,6 +2607,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2269,6 +2661,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2337,10 +2738,15 @@ public StudentContactAssociationExtensionMappingContract( bool isStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsSupported, bool isStudentContactAssociationTelephoneSupported, bool isStudentReadSupported, + bool isStudentContactAssociationDisciplinesItemCreatable, Func isStudentContactAssociationDisciplineIncluded, + bool isStudentContactAssociationFavoriteBookTitlesItemCreatable, Func isStudentContactAssociationFavoriteBookTitleIncluded, + bool isStudentContactAssociationHoursPerWeeksItemCreatable, Func isStudentContactAssociationHoursPerWeekIncluded, + bool isStudentContactAssociationPagesReadsItemCreatable, Func isStudentContactAssociationPagesReadIncluded, + bool isStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable, Func isStudentContactAssociationStaffEducationOrganizationEmploymentAssociationIncluded ) { @@ -2364,10 +2770,15 @@ Func IsStudentContactAssociationDisciplineIncluded { get; } + public bool IsStudentContactAssociationFavoriteBookTitlesItemCreatable { get; } public Func IsStudentContactAssociationFavoriteBookTitleIncluded { get; } + public bool IsStudentContactAssociationHoursPerWeeksItemCreatable { get; } public Func IsStudentContactAssociationHoursPerWeekIncluded { get; } + public bool IsStudentContactAssociationPagesReadsItemCreatable { get; } public Func IsStudentContactAssociationPagesReadIncluded { get; } + public bool IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable { get; } public Func IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2447,6 +2863,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentContactAssociationDisciplines": + return IsStudentContactAssociationDisciplinesItemCreatable; + case "StudentContactAssociationFavoriteBookTitles": + return IsStudentContactAssociationFavoriteBookTitlesItemCreatable; + case "StudentContactAssociationHoursPerWeeks": + return IsStudentContactAssociationHoursPerWeeksItemCreatable; + case "StudentContactAssociationPagesReads": + return IsStudentContactAssociationPagesReadsItemCreatable; + case "StudentContactAssociationStaffEducationOrganizationEmploymentAssociations": + return IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2492,6 +2927,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2537,6 +2981,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2582,6 +3035,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2646,6 +3108,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2717,6 +3188,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2770,6 +3250,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2804,7 +3293,9 @@ public StudentEducationOrganizationAssociationAddressExtensionMappingContract( bool isOnBusRouteSupported, bool isStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported, bool isStudentEducationOrganizationAssociationAddressTermsSupported, + bool isStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable, Func isStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded, + bool isStudentEducationOrganizationAssociationAddressTermsItemCreatable, Func isStudentEducationOrganizationAssociationAddressTermIncluded ) { @@ -2812,7 +3303,9 @@ Func isStudentEducati IsOnBusRouteSupported = isOnBusRouteSupported; IsStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported = isStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported; IsStudentEducationOrganizationAssociationAddressTermsSupported = isStudentEducationOrganizationAssociationAddressTermsSupported; + IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable = isStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable; IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded = isStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded; + IsStudentEducationOrganizationAssociationAddressTermsItemCreatable = isStudentEducationOrganizationAssociationAddressTermsItemCreatable; IsStudentEducationOrganizationAssociationAddressTermIncluded = isStudentEducationOrganizationAssociationAddressTermIncluded; } @@ -2820,7 +3313,9 @@ Func isStudentEducati public bool IsOnBusRouteSupported { get; } public bool IsStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported { get; } public bool IsStudentEducationOrganizationAssociationAddressTermsSupported { get; } + public bool IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded { get; } + public bool IsStudentEducationOrganizationAssociationAddressTermsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAddressTermIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2841,6 +3336,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationAddressSchoolDistricts": + return IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable; + case "StudentEducationOrganizationAssociationAddressTerms": + return IsStudentEducationOrganizationAssociationAddressTermsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2886,6 +3394,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2931,6 +3448,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2991,6 +3517,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3019,14 +3554,17 @@ public class StudentEducationOrganizationAssociationStudentCharacteristicExtensi { public StudentEducationOrganizationAssociationStudentCharacteristicExtensionMappingContract( bool isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported, + bool isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable, Func isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded ) { IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported = isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported; + IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable = isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable; IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded = isStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded; } public bool IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported { get; } + public bool IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3041,6 +3579,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds": + return IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3098,6 +3647,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3133,8 +3691,11 @@ public StudentExtensionMappingContract( bool isStudentFavoriteBooksSupported, bool isStudentPetPreferenceSupported, bool isStudentPetsSupported, + bool isStudentAquaticPetsItemCreatable, Func isStudentAquaticPetIncluded, + bool isStudentFavoriteBooksItemCreatable, Func isStudentFavoriteBookIncluded, + bool isStudentPetsItemCreatable, Func isStudentPetIncluded ) { @@ -3142,8 +3703,11 @@ Func isStudentPetIncluded IsStudentFavoriteBooksSupported = isStudentFavoriteBooksSupported; IsStudentPetPreferenceSupported = isStudentPetPreferenceSupported; IsStudentPetsSupported = isStudentPetsSupported; + IsStudentAquaticPetsItemCreatable = isStudentAquaticPetsItemCreatable; IsStudentAquaticPetIncluded = isStudentAquaticPetIncluded; + IsStudentFavoriteBooksItemCreatable = isStudentFavoriteBooksItemCreatable; IsStudentFavoriteBookIncluded = isStudentFavoriteBookIncluded; + IsStudentPetsItemCreatable = isStudentPetsItemCreatable; IsStudentPetIncluded = isStudentPetIncluded; } @@ -3151,8 +3715,11 @@ Func isStudentPetIncluded public bool IsStudentFavoriteBooksSupported { get; } public bool IsStudentPetPreferenceSupported { get; } public bool IsStudentPetsSupported { get; } + public bool IsStudentAquaticPetsItemCreatable { get; } public Func IsStudentAquaticPetIncluded { get; } + public bool IsStudentFavoriteBooksItemCreatable { get; } public Func IsStudentFavoriteBookIncluded { get; } + public bool IsStudentPetsItemCreatable { get; } public Func IsStudentPetIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3173,6 +3740,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentAquaticPets": + return IsStudentAquaticPetsItemCreatable; + case "StudentFavoriteBooks": + return IsStudentFavoriteBooksItemCreatable; + case "StudentPets": + return IsStudentPetsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3205,16 +3787,19 @@ public class StudentFavoriteBookMappingContract : IMappingContract public StudentFavoriteBookMappingContract( bool isBookTitleSupported, bool isStudentFavoriteBookArtMediaSupported, + bool isStudentFavoriteBookArtMediaItemCreatable, Func isStudentFavoriteBookArtMediumIncluded ) { IsBookTitleSupported = isBookTitleSupported; IsStudentFavoriteBookArtMediaSupported = isStudentFavoriteBookArtMediaSupported; + IsStudentFavoriteBookArtMediaItemCreatable = isStudentFavoriteBookArtMediaItemCreatable; IsStudentFavoriteBookArtMediumIncluded = isStudentFavoriteBookArtMediumIncluded; } public bool IsBookTitleSupported { get; } public bool IsStudentFavoriteBookArtMediaSupported { get; } + public bool IsStudentFavoriteBookArtMediaItemCreatable { get; } public Func IsStudentFavoriteBookArtMediumIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3233,6 +3818,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentFavoriteBookArtMedia": + return IsStudentFavoriteBookArtMediaItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3284,6 +3880,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3361,12 +3966,19 @@ public StudentGraduationPlanAssociationMappingContract( bool isStudentGraduationPlanAssociationYearsAttendedsSupported, bool isStudentReferenceSupported, bool isTargetGPASupported, + bool isStudentGraduationPlanAssociationAcademicSubjectsItemCreatable, Func isStudentGraduationPlanAssociationAcademicSubjectIncluded, + bool isStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable, Func isStudentGraduationPlanAssociationCareerPathwayCodeIncluded, + bool isStudentGraduationPlanAssociationDescriptionsItemCreatable, Func isStudentGraduationPlanAssociationDescriptionIncluded, + bool isStudentGraduationPlanAssociationDesignatedBiesItemCreatable, Func isStudentGraduationPlanAssociationDesignatedByIncluded, + bool isStudentGraduationPlanAssociationIndustryCredentialsItemCreatable, Func isStudentGraduationPlanAssociationIndustryCredentialIncluded, + bool isStudentGraduationPlanAssociationStudentContactAssociationsItemCreatable, Func isStudentGraduationPlanAssociationStudentContactAssociationIncluded, + bool isStudentGraduationPlanAssociationYearsAttendedsItemCreatable, Func isStudentGraduationPlanAssociationYearsAttendedIncluded ) { @@ -3390,12 +4002,19 @@ Func isStudentGraduationPl IsStudentGraduationPlanAssociationYearsAttendedsSupported = isStudentGraduationPlanAssociationYearsAttendedsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsTargetGPASupported = isTargetGPASupported; + IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable = isStudentGraduationPlanAssociationAcademicSubjectsItemCreatable; IsStudentGraduationPlanAssociationAcademicSubjectIncluded = isStudentGraduationPlanAssociationAcademicSubjectIncluded; + IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable = isStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable; IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded = isStudentGraduationPlanAssociationCareerPathwayCodeIncluded; + IsStudentGraduationPlanAssociationDescriptionsItemCreatable = isStudentGraduationPlanAssociationDescriptionsItemCreatable; IsStudentGraduationPlanAssociationDescriptionIncluded = isStudentGraduationPlanAssociationDescriptionIncluded; + IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable = isStudentGraduationPlanAssociationDesignatedBiesItemCreatable; IsStudentGraduationPlanAssociationDesignatedByIncluded = isStudentGraduationPlanAssociationDesignatedByIncluded; + IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable = isStudentGraduationPlanAssociationIndustryCredentialsItemCreatable; IsStudentGraduationPlanAssociationIndustryCredentialIncluded = isStudentGraduationPlanAssociationIndustryCredentialIncluded; + IsStudentGraduationPlanAssociationStudentContactAssociationsItemCreatable = isStudentGraduationPlanAssociationStudentContactAssociationsItemCreatable; IsStudentGraduationPlanAssociationStudentContactAssociationIncluded = isStudentGraduationPlanAssociationStudentContactAssociationIncluded; + IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable = isStudentGraduationPlanAssociationYearsAttendedsItemCreatable; IsStudentGraduationPlanAssociationYearsAttendedIncluded = isStudentGraduationPlanAssociationYearsAttendedIncluded; } @@ -3419,12 +4038,19 @@ Func isStudentGraduationPl public bool IsStudentGraduationPlanAssociationYearsAttendedsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsTargetGPASupported { get; } + public bool IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationAcademicSubjectIncluded { get; } + public bool IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable { get; } public Func IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded { get; } + public bool IsStudentGraduationPlanAssociationDescriptionsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationDescriptionIncluded { get; } + public bool IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable { get; } public Func IsStudentGraduationPlanAssociationDesignatedByIncluded { get; } + public bool IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationIndustryCredentialIncluded { get; } + public bool IsStudentGraduationPlanAssociationStudentContactAssociationsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationStudentContactAssociationIncluded { get; } + public bool IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationYearsAttendedIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3485,6 +4111,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentGraduationPlanAssociationAcademicSubjects": + return IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable; + case "StudentGraduationPlanAssociationCareerPathwayCodes": + return IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable; + case "StudentGraduationPlanAssociationDescriptions": + return IsStudentGraduationPlanAssociationDescriptionsItemCreatable; + case "StudentGraduationPlanAssociationDesignatedBies": + return IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable; + case "StudentGraduationPlanAssociationIndustryCredentials": + return IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable; + case "StudentGraduationPlanAssociationStudentContactAssociations": + return IsStudentGraduationPlanAssociationStudentContactAssociationsItemCreatable; + case "StudentGraduationPlanAssociationYearsAttendeds": + return IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3530,6 +4179,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3575,6 +4233,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3640,6 +4307,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3685,6 +4361,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3730,6 +4415,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3775,6 +4469,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3827,6 +4530,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3872,6 +4584,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3923,6 +4644,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3976,6 +4706,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4023,6 +4762,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4051,14 +4799,17 @@ public class StudentSectionAssociationExtensionMappingContract : IMappingContrac { public StudentSectionAssociationExtensionMappingContract( bool isStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported, + bool isStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable, Func isStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded ) { IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported = isStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported; + IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable = isStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable; IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded = isStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded; } public bool IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported { get; } + public bool IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable { get; } public Func IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4073,6 +4824,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSectionAssociationRelatedGeneralStudentProgramAssociations": + return IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4141,5 +4903,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index 295e97e0af..4bb4c11e0d 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -389,6 +389,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteBusYearsItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteBusYearIncluded?.Invoke(item) ?? true); } @@ -401,6 +402,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteProgramIncluded?.Invoke(item) ?? true); } @@ -413,6 +415,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteServiceAreaPostalCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteServiceAreaPostalCodeIncluded?.Invoke(item) ?? true); } @@ -425,6 +428,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteStartTimesItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteStartTimeIncluded?.Invoke(item) ?? true); } @@ -437,6 +441,7 @@ public static bool SynchronizeTo(this IBusRoute source, IBusRoute target) { child.BusRoute = target; }, + itemCreatable: mappingContract?.IsBusRouteTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsBusRouteTelephoneIncluded?.Invoke(item) ?? true); } @@ -520,27 +525,27 @@ public static void MapTo(this IBusRoute source, IBusRoute target, Action mappingContract?.IsContactAddressSchoolDistrictIncluded?.Invoke(item) ?? true); } @@ -1000,6 +1006,7 @@ public static bool SynchronizeTo(this IContactAddressExtension source, IContactA // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.ContactAddress); }, + itemCreatable: mappingContract?.IsContactAddressTermsItemCreatable ?? true, includeItem: item => mappingContract?.IsContactAddressTermIncluded?.Invoke(item) ?? true); } @@ -1035,12 +1042,12 @@ public static void MapTo(this IContactAddressExtension source, IContactAddressEx if (mappingContract?.IsContactAddressSchoolDistrictsSupported != false) { - source.ContactAddressSchoolDistricts.MapCollectionTo(target.ContactAddressSchoolDistricts, target.ContactAddress, mappingContract?.IsContactAddressSchoolDistrictIncluded); + source.ContactAddressSchoolDistricts.MapCollectionTo(target.ContactAddressSchoolDistricts, mappingContract?.IsContactAddressSchoolDistrictsItemCreatable ?? true, target.ContactAddress, mappingContract?.IsContactAddressSchoolDistrictIncluded); } if (mappingContract?.IsContactAddressTermsSupported != false) { - source.ContactAddressTerms.MapCollectionTo(target.ContactAddressTerms, target.ContactAddress, mappingContract?.IsContactAddressTermIncluded); + source.ContactAddressTerms.MapCollectionTo(target.ContactAddressTerms, mappingContract?.IsContactAddressTermsItemCreatable ?? true, target.ContactAddress, mappingContract?.IsContactAddressTermIncluded); } @@ -1666,6 +1673,7 @@ public static bool SynchronizeTo(this IContactExtension source, IContactExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Contact); }, + itemCreatable: mappingContract?.IsContactAuthorsItemCreatable ?? true, includeItem: item => mappingContract?.IsContactAuthorIncluded?.Invoke(item) ?? true); } @@ -1681,6 +1689,7 @@ public static bool SynchronizeTo(this IContactExtension source, IContactExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Contact); }, + itemCreatable: mappingContract?.IsContactCeilingHeightsItemCreatable ?? true, includeItem: item => mappingContract?.IsContactCeilingHeightIncluded?.Invoke(item) ?? true); } @@ -1696,6 +1705,7 @@ public static bool SynchronizeTo(this IContactExtension source, IContactExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Contact); }, + itemCreatable: mappingContract?.IsContactEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsContactEducationContentIncluded?.Invoke(item) ?? true); } @@ -1711,6 +1721,7 @@ public static bool SynchronizeTo(this IContactExtension source, IContactExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Contact); }, + itemCreatable: mappingContract?.IsContactFavoriteBookTitlesItemCreatable ?? true, includeItem: item => mappingContract?.IsContactFavoriteBookTitleIncluded?.Invoke(item) ?? true); } @@ -1726,6 +1737,7 @@ public static bool SynchronizeTo(this IContactExtension source, IContactExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Contact); }, + itemCreatable: mappingContract?.IsContactStudentProgramAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsContactStudentProgramAssociationIncluded?.Invoke(item) ?? true); } @@ -1835,27 +1847,27 @@ public static void MapTo(this IContactExtension source, IContactExtension target if (mappingContract?.IsContactAuthorsSupported != false) { - source.ContactAuthors.MapCollectionTo(target.ContactAuthors, target.Contact, mappingContract?.IsContactAuthorIncluded); + source.ContactAuthors.MapCollectionTo(target.ContactAuthors, mappingContract?.IsContactAuthorsItemCreatable ?? true, target.Contact, mappingContract?.IsContactAuthorIncluded); } if (mappingContract?.IsContactCeilingHeightsSupported != false) { - source.ContactCeilingHeights.MapCollectionTo(target.ContactCeilingHeights, target.Contact, mappingContract?.IsContactCeilingHeightIncluded); + source.ContactCeilingHeights.MapCollectionTo(target.ContactCeilingHeights, mappingContract?.IsContactCeilingHeightsItemCreatable ?? true, target.Contact, mappingContract?.IsContactCeilingHeightIncluded); } if (mappingContract?.IsContactEducationContentsSupported != false) { - source.ContactEducationContents.MapCollectionTo(target.ContactEducationContents, target.Contact, mappingContract?.IsContactEducationContentIncluded); + source.ContactEducationContents.MapCollectionTo(target.ContactEducationContents, mappingContract?.IsContactEducationContentsItemCreatable ?? true, target.Contact, mappingContract?.IsContactEducationContentIncluded); } if (mappingContract?.IsContactFavoriteBookTitlesSupported != false) { - source.ContactFavoriteBookTitles.MapCollectionTo(target.ContactFavoriteBookTitles, target.Contact, mappingContract?.IsContactFavoriteBookTitleIncluded); + source.ContactFavoriteBookTitles.MapCollectionTo(target.ContactFavoriteBookTitles, mappingContract?.IsContactFavoriteBookTitlesItemCreatable ?? true, target.Contact, mappingContract?.IsContactFavoriteBookTitleIncluded); } if (mappingContract?.IsContactStudentProgramAssociationsSupported != false) { - source.ContactStudentProgramAssociations.MapCollectionTo(target.ContactStudentProgramAssociations, target.Contact, mappingContract?.IsContactStudentProgramAssociationIncluded); + source.ContactStudentProgramAssociations.MapCollectionTo(target.ContactStudentProgramAssociations, mappingContract?.IsContactStudentProgramAssociationsItemCreatable ?? true, target.Contact, mappingContract?.IsContactStudentProgramAssociationIncluded); } @@ -2671,6 +2683,7 @@ public static bool SynchronizeTo(this ISchoolExtension source, ISchoolExtension // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.School); }, + itemCreatable: mappingContract?.IsSchoolDirectlyOwnedBusesItemCreatable ?? true, includeItem: item => mappingContract?.IsSchoolDirectlyOwnedBusIncluded?.Invoke(item) ?? true); } @@ -2727,7 +2740,7 @@ public static void MapTo(this ISchoolExtension source, ISchoolExtension target, if (mappingContract?.IsSchoolDirectlyOwnedBusesSupported != false) { - source.SchoolDirectlyOwnedBuses.MapCollectionTo(target.SchoolDirectlyOwnedBuses, target.School, mappingContract?.IsSchoolDirectlyOwnedBusIncluded); + source.SchoolDirectlyOwnedBuses.MapCollectionTo(target.SchoolDirectlyOwnedBuses, mappingContract?.IsSchoolDirectlyOwnedBusesItemCreatable ?? true, target.School, mappingContract?.IsSchoolDirectlyOwnedBusIncluded); } @@ -2823,6 +2836,7 @@ public static bool SynchronizeTo(this IStaffExtension source, IStaffExtension ta // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Staff); }, + itemCreatable: mappingContract?.IsStaffPetsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffPetIncluded?.Invoke(item) ?? true); } @@ -2879,7 +2893,7 @@ public static void MapTo(this IStaffExtension source, IStaffExtension target, Ac if (mappingContract?.IsStaffPetsSupported != false) { - source.StaffPets.MapCollectionTo(target.StaffPets, target.Staff, mappingContract?.IsStaffPetIncluded); + source.StaffPets.MapCollectionTo(target.StaffPets, mappingContract?.IsStaffPetsItemCreatable ?? true, target.Staff, mappingContract?.IsStaffPetIncluded); } @@ -3206,6 +3220,7 @@ public static bool SynchronizeTo(this IStudentExtension source, IStudentExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Student); }, + itemCreatable: mappingContract?.IsStudentAquaticPetsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAquaticPetIncluded?.Invoke(item) ?? true); } @@ -3221,6 +3236,7 @@ public static bool SynchronizeTo(this IStudentExtension source, IStudentExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Student); }, + itemCreatable: mappingContract?.IsStudentFavoriteBooksItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentFavoriteBookIncluded?.Invoke(item) ?? true); } @@ -3236,6 +3252,7 @@ public static bool SynchronizeTo(this IStudentExtension source, IStudentExtensio // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Student); }, + itemCreatable: mappingContract?.IsStudentPetsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentPetIncluded?.Invoke(item) ?? true); } @@ -3289,17 +3306,17 @@ public static void MapTo(this IStudentExtension source, IStudentExtension target if (mappingContract?.IsStudentAquaticPetsSupported != false) { - source.StudentAquaticPets.MapCollectionTo(target.StudentAquaticPets, target.Student, mappingContract?.IsStudentAquaticPetIncluded); + source.StudentAquaticPets.MapCollectionTo(target.StudentAquaticPets, mappingContract?.IsStudentAquaticPetsItemCreatable ?? true, target.Student, mappingContract?.IsStudentAquaticPetIncluded); } if (mappingContract?.IsStudentFavoriteBooksSupported != false) { - source.StudentFavoriteBooks.MapCollectionTo(target.StudentFavoriteBooks, target.Student, mappingContract?.IsStudentFavoriteBookIncluded); + source.StudentFavoriteBooks.MapCollectionTo(target.StudentFavoriteBooks, mappingContract?.IsStudentFavoriteBooksItemCreatable ?? true, target.Student, mappingContract?.IsStudentFavoriteBookIncluded); } if (mappingContract?.IsStudentPetsSupported != false) { - source.StudentPets.MapCollectionTo(target.StudentPets, target.Student, mappingContract?.IsStudentPetIncluded); + source.StudentPets.MapCollectionTo(target.StudentPets, mappingContract?.IsStudentPetsItemCreatable ?? true, target.Student, mappingContract?.IsStudentPetIncluded); } @@ -3359,6 +3376,7 @@ public static bool SynchronizeTo(this IStudentFavoriteBook source, IStudentFavor { child.StudentFavoriteBook = target; }, + itemCreatable: mappingContract?.IsStudentFavoriteBookArtMediaItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentFavoriteBookArtMediumIncluded?.Invoke(item) ?? true); } @@ -3392,7 +3410,7 @@ public static void MapTo(this IStudentFavoriteBook source, IStudentFavoriteBook if (mappingContract?.IsStudentFavoriteBookArtMediaSupported != false) { - source.StudentFavoriteBookArtMedia.MapCollectionTo(target.StudentFavoriteBookArtMedia, target, mappingContract?.IsStudentFavoriteBookArtMediumIncluded); + source.StudentFavoriteBookArtMedia.MapCollectionTo(target.StudentFavoriteBookArtMedia, mappingContract?.IsStudentFavoriteBookArtMediaItemCreatable ?? true, target, mappingContract?.IsStudentFavoriteBookArtMediumIncluded); } @@ -3800,6 +3818,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -3814,6 +3833,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu { child.StudentArtProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentArtProgramAssociationArtMediaItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentArtProgramAssociationArtMediumIncluded?.Invoke(item) ?? true); } @@ -3826,6 +3846,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu { child.StudentArtProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentArtProgramAssociationPortfolioYearsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentArtProgramAssociationPortfolioYearsIncluded?.Invoke(item) ?? true); } @@ -3838,6 +3859,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu { child.StudentArtProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentArtProgramAssociationServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentArtProgramAssociationServiceIncluded?.Invoke(item) ?? true); } @@ -3850,6 +3872,7 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu { child.StudentArtProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentArtProgramAssociationStylesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentArtProgramAssociationStyleIncluded?.Invoke(item) ?? true); } @@ -3943,29 +3966,29 @@ public static void MapDerivedTo(this IStudentArtProgramAssociation source, IStud if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentArtProgramAssociationArtMediaSupported != false) { - source.StudentArtProgramAssociationArtMedia.MapCollectionTo(target.StudentArtProgramAssociationArtMedia, target, mappingContract?.IsStudentArtProgramAssociationArtMediumIncluded); + source.StudentArtProgramAssociationArtMedia.MapCollectionTo(target.StudentArtProgramAssociationArtMedia, mappingContract?.IsStudentArtProgramAssociationArtMediaItemCreatable ?? true, target, mappingContract?.IsStudentArtProgramAssociationArtMediumIncluded); } if (mappingContract?.IsStudentArtProgramAssociationPortfolioYearsSupported != false) { - source.StudentArtProgramAssociationPortfolioYears.MapCollectionTo(target.StudentArtProgramAssociationPortfolioYears, target, mappingContract?.IsStudentArtProgramAssociationPortfolioYearsIncluded); + source.StudentArtProgramAssociationPortfolioYears.MapCollectionTo(target.StudentArtProgramAssociationPortfolioYears, mappingContract?.IsStudentArtProgramAssociationPortfolioYearsItemCreatable ?? true, target, mappingContract?.IsStudentArtProgramAssociationPortfolioYearsIncluded); } if (mappingContract?.IsStudentArtProgramAssociationServicesSupported != false) { - source.StudentArtProgramAssociationServices.MapCollectionTo(target.StudentArtProgramAssociationServices, target, mappingContract?.IsStudentArtProgramAssociationServiceIncluded); + source.StudentArtProgramAssociationServices.MapCollectionTo(target.StudentArtProgramAssociationServices, mappingContract?.IsStudentArtProgramAssociationServicesItemCreatable ?? true, target, mappingContract?.IsStudentArtProgramAssociationServiceIncluded); } if (mappingContract?.IsStudentArtProgramAssociationStylesSupported != false) { - source.StudentArtProgramAssociationStyles.MapCollectionTo(target.StudentArtProgramAssociationStyles, target, mappingContract?.IsStudentArtProgramAssociationStyleIncluded); + source.StudentArtProgramAssociationStyles.MapCollectionTo(target.StudentArtProgramAssociationStyles, mappingContract?.IsStudentArtProgramAssociationStylesItemCreatable ?? true, target, mappingContract?.IsStudentArtProgramAssociationStyleIncluded); } @@ -4505,6 +4528,7 @@ public static bool SynchronizeTo(this IStudentContactAssociationExtension source // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentContactAssociation); }, + itemCreatable: mappingContract?.IsStudentContactAssociationDisciplinesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentContactAssociationDisciplineIncluded?.Invoke(item) ?? true); } @@ -4520,6 +4544,7 @@ public static bool SynchronizeTo(this IStudentContactAssociationExtension source // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentContactAssociation); }, + itemCreatable: mappingContract?.IsStudentContactAssociationFavoriteBookTitlesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentContactAssociationFavoriteBookTitleIncluded?.Invoke(item) ?? true); } @@ -4535,6 +4560,7 @@ public static bool SynchronizeTo(this IStudentContactAssociationExtension source // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentContactAssociation); }, + itemCreatable: mappingContract?.IsStudentContactAssociationHoursPerWeeksItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentContactAssociationHoursPerWeekIncluded?.Invoke(item) ?? true); } @@ -4550,6 +4576,7 @@ public static bool SynchronizeTo(this IStudentContactAssociationExtension source // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentContactAssociation); }, + itemCreatable: mappingContract?.IsStudentContactAssociationPagesReadsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentContactAssociationPagesReadIncluded?.Invoke(item) ?? true); } @@ -4565,6 +4592,7 @@ public static bool SynchronizeTo(this IStudentContactAssociationExtension source // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentContactAssociation); }, + itemCreatable: mappingContract?.IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationIncluded?.Invoke(item) ?? true); } @@ -4664,27 +4692,27 @@ public static void MapTo(this IStudentContactAssociationExtension source, IStude if (mappingContract?.IsStudentContactAssociationDisciplinesSupported != false) { - source.StudentContactAssociationDisciplines.MapCollectionTo(target.StudentContactAssociationDisciplines, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationDisciplineIncluded); + source.StudentContactAssociationDisciplines.MapCollectionTo(target.StudentContactAssociationDisciplines, mappingContract?.IsStudentContactAssociationDisciplinesItemCreatable ?? true, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationDisciplineIncluded); } if (mappingContract?.IsStudentContactAssociationFavoriteBookTitlesSupported != false) { - source.StudentContactAssociationFavoriteBookTitles.MapCollectionTo(target.StudentContactAssociationFavoriteBookTitles, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationFavoriteBookTitleIncluded); + source.StudentContactAssociationFavoriteBookTitles.MapCollectionTo(target.StudentContactAssociationFavoriteBookTitles, mappingContract?.IsStudentContactAssociationFavoriteBookTitlesItemCreatable ?? true, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationFavoriteBookTitleIncluded); } if (mappingContract?.IsStudentContactAssociationHoursPerWeeksSupported != false) { - source.StudentContactAssociationHoursPerWeeks.MapCollectionTo(target.StudentContactAssociationHoursPerWeeks, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationHoursPerWeekIncluded); + source.StudentContactAssociationHoursPerWeeks.MapCollectionTo(target.StudentContactAssociationHoursPerWeeks, mappingContract?.IsStudentContactAssociationHoursPerWeeksItemCreatable ?? true, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationHoursPerWeekIncluded); } if (mappingContract?.IsStudentContactAssociationPagesReadsSupported != false) { - source.StudentContactAssociationPagesReads.MapCollectionTo(target.StudentContactAssociationPagesReads, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationPagesReadIncluded); + source.StudentContactAssociationPagesReads.MapCollectionTo(target.StudentContactAssociationPagesReads, mappingContract?.IsStudentContactAssociationPagesReadsItemCreatable ?? true, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationPagesReadIncluded); } if (mappingContract?.IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsSupported != false) { - source.StudentContactAssociationStaffEducationOrganizationEmploymentAssociations.MapCollectionTo(target.StudentContactAssociationStaffEducationOrganizationEmploymentAssociations, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationIncluded); + source.StudentContactAssociationStaffEducationOrganizationEmploymentAssociations.MapCollectionTo(target.StudentContactAssociationStaffEducationOrganizationEmploymentAssociations, mappingContract?.IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable ?? true, target.StudentContactAssociation, mappingContract?.IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationIncluded); } @@ -5238,6 +5266,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationAd // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentEducationOrganizationAssociationAddress); }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded?.Invoke(item) ?? true); } @@ -5253,6 +5282,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationAd // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentEducationOrganizationAssociationAddress); }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAddressTermsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAddressTermIncluded?.Invoke(item) ?? true); } @@ -5288,12 +5318,12 @@ public static void MapTo(this IStudentEducationOrganizationAssociationAddressExt if (mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictsSupported != false) { - source.StudentEducationOrganizationAssociationAddressSchoolDistricts.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressSchoolDistricts, target.StudentEducationOrganizationAssociationAddress, mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded); + source.StudentEducationOrganizationAssociationAddressSchoolDistricts.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressSchoolDistricts, mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictsItemCreatable ?? true, target.StudentEducationOrganizationAssociationAddress, mappingContract?.IsStudentEducationOrganizationAssociationAddressSchoolDistrictIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationAddressTermsSupported != false) { - source.StudentEducationOrganizationAssociationAddressTerms.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressTerms, target.StudentEducationOrganizationAssociationAddress, mappingContract?.IsStudentEducationOrganizationAssociationAddressTermIncluded); + source.StudentEducationOrganizationAssociationAddressTerms.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressTerms, mappingContract?.IsStudentEducationOrganizationAssociationAddressTermsItemCreatable ?? true, target.StudentEducationOrganizationAssociationAddress, mappingContract?.IsStudentEducationOrganizationAssociationAddressTermIncluded); } @@ -5573,6 +5603,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationSt // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentEducationOrganizationAssociationStudentCharacteristic); }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded?.Invoke(item) ?? true); } @@ -5602,7 +5633,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationStudentCha if (mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsSupported != false) { - source.StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds, target.StudentEducationOrganizationAssociationStudentCharacteristic, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded); + source.StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable ?? true, target.StudentEducationOrganizationAssociationStudentCharacteristic, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedIncluded); } @@ -5848,6 +5879,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -5860,6 +5892,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded?.Invoke(item) ?? true); } @@ -5872,6 +5905,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationDescriptionsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationDescriptionIncluded?.Invoke(item) ?? true); } @@ -5884,6 +5918,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationDesignatedByIncluded?.Invoke(item) ?? true); } @@ -5896,6 +5931,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialIncluded?.Invoke(item) ?? true); } @@ -5908,6 +5944,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationStudentContactAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationStudentContactAssociationIncluded?.Invoke(item) ?? true); } @@ -5920,6 +5957,7 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, { child.StudentGraduationPlanAssociation = target; }, + itemCreatable: mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedIncluded?.Invoke(item) ?? true); } @@ -6018,37 +6056,37 @@ public static void MapTo(this IStudentGraduationPlanAssociation source, IStudent if (mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectsSupported != false) { - source.StudentGraduationPlanAssociationAcademicSubjects.MapCollectionTo(target.StudentGraduationPlanAssociationAcademicSubjects, target, mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectIncluded); + source.StudentGraduationPlanAssociationAcademicSubjects.MapCollectionTo(target.StudentGraduationPlanAssociationAcademicSubjects, mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationAcademicSubjectIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodesSupported != false) { - source.StudentGraduationPlanAssociationCareerPathwayCodes.MapCollectionTo(target.StudentGraduationPlanAssociationCareerPathwayCodes, target, mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded); + source.StudentGraduationPlanAssociationCareerPathwayCodes.MapCollectionTo(target.StudentGraduationPlanAssociationCareerPathwayCodes, mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationCareerPathwayCodeIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationDescriptionsSupported != false) { - source.StudentGraduationPlanAssociationDescriptions.MapCollectionTo(target.StudentGraduationPlanAssociationDescriptions, target, mappingContract?.IsStudentGraduationPlanAssociationDescriptionIncluded); + source.StudentGraduationPlanAssociationDescriptions.MapCollectionTo(target.StudentGraduationPlanAssociationDescriptions, mappingContract?.IsStudentGraduationPlanAssociationDescriptionsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationDescriptionIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationDesignatedBiesSupported != false) { - source.StudentGraduationPlanAssociationDesignatedBies.MapCollectionTo(target.StudentGraduationPlanAssociationDesignatedBies, target, mappingContract?.IsStudentGraduationPlanAssociationDesignatedByIncluded); + source.StudentGraduationPlanAssociationDesignatedBies.MapCollectionTo(target.StudentGraduationPlanAssociationDesignatedBies, mappingContract?.IsStudentGraduationPlanAssociationDesignatedBiesItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationDesignatedByIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialsSupported != false) { - source.StudentGraduationPlanAssociationIndustryCredentials.MapCollectionTo(target.StudentGraduationPlanAssociationIndustryCredentials, target, mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialIncluded); + source.StudentGraduationPlanAssociationIndustryCredentials.MapCollectionTo(target.StudentGraduationPlanAssociationIndustryCredentials, mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationIndustryCredentialIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationStudentContactAssociationsSupported != false) { - source.StudentGraduationPlanAssociationStudentContactAssociations.MapCollectionTo(target.StudentGraduationPlanAssociationStudentContactAssociations, target, mappingContract?.IsStudentGraduationPlanAssociationStudentContactAssociationIncluded); + source.StudentGraduationPlanAssociationStudentContactAssociations.MapCollectionTo(target.StudentGraduationPlanAssociationStudentContactAssociations, mappingContract?.IsStudentGraduationPlanAssociationStudentContactAssociationsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationStudentContactAssociationIncluded); } if (mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedsSupported != false) { - source.StudentGraduationPlanAssociationYearsAttendeds.MapCollectionTo(target.StudentGraduationPlanAssociationYearsAttendeds, target, mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedIncluded); + source.StudentGraduationPlanAssociationYearsAttendeds.MapCollectionTo(target.StudentGraduationPlanAssociationYearsAttendeds, mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable ?? true, target, mappingContract?.IsStudentGraduationPlanAssociationYearsAttendedIncluded); } @@ -6763,6 +6801,7 @@ public static bool SynchronizeTo(this IStudentSectionAssociationExtension source // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.StudentSectionAssociation); }, + itemCreatable: mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded?.Invoke(item) ?? true); } @@ -6792,7 +6831,7 @@ public static void MapTo(this IStudentSectionAssociationExtension source, IStude if (mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsSupported != false) { - source.StudentSectionAssociationRelatedGeneralStudentProgramAssociations.MapCollectionTo(target.StudentSectionAssociationRelatedGeneralStudentProgramAssociations, target.StudentSectionAssociation, mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded); + source.StudentSectionAssociationRelatedGeneralStudentProgramAssociations.MapCollectionTo(target.StudentSectionAssociationRelatedGeneralStudentProgramAssociations, mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable ?? true, target.StudentSectionAssociation, mappingContract?.IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationIncluded); } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.SampleStudentTranscript.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.SampleStudentTranscript.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index f39ac277f1..2a9b84fb89 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.SampleStudentTranscript.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.SampleStudentTranscript.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -85,6 +85,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -159,6 +168,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -221,6 +239,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -295,6 +322,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -342,6 +378,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -402,6 +447,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -476,5 +530,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.SampleStudentTransportation.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.SampleStudentTransportation.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 2d58f093d3..b360d3390e 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.SampleStudentTransportation.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.SampleStudentTransportation.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -85,5 +85,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } 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 3858c7f7a7..4807fbe5ca 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 @@ -85,6 +85,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -159,6 +168,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -257,13 +275,21 @@ public CandidateMappingContract( bool isPreferredLastSurnameSupported, bool isSexDescriptorSupported, bool isSourceSystemDescriptorSupported, + bool isCandidateAddressesItemCreatable, Func isCandidateAddressIncluded, + bool isCandidateDisabilitiesItemCreatable, Func isCandidateDisabilityIncluded, + bool isCandidateElectronicMailsItemCreatable, Func isCandidateElectronicMailIncluded, + bool isCandidateLanguagesItemCreatable, Func isCandidateLanguageIncluded, + bool isCandidateOtherNamesItemCreatable, Func isCandidateOtherNameIncluded, + bool isCandidatePersonalIdentificationDocumentsItemCreatable, Func isCandidatePersonalIdentificationDocumentIncluded, + bool isCandidateRacesItemCreatable, Func isCandidateRaceIncluded, + bool isCandidateTelephonesItemCreatable, Func isCandidateTelephoneIncluded ) { @@ -302,13 +328,21 @@ Func isCandidateTelephoneIncluded IsPreferredLastSurnameSupported = isPreferredLastSurnameSupported; IsSexDescriptorSupported = isSexDescriptorSupported; IsSourceSystemDescriptorSupported = isSourceSystemDescriptorSupported; + IsCandidateAddressesItemCreatable = isCandidateAddressesItemCreatable; IsCandidateAddressIncluded = isCandidateAddressIncluded; + IsCandidateDisabilitiesItemCreatable = isCandidateDisabilitiesItemCreatable; IsCandidateDisabilityIncluded = isCandidateDisabilityIncluded; + IsCandidateElectronicMailsItemCreatable = isCandidateElectronicMailsItemCreatable; IsCandidateElectronicMailIncluded = isCandidateElectronicMailIncluded; + IsCandidateLanguagesItemCreatable = isCandidateLanguagesItemCreatable; IsCandidateLanguageIncluded = isCandidateLanguageIncluded; + IsCandidateOtherNamesItemCreatable = isCandidateOtherNamesItemCreatable; IsCandidateOtherNameIncluded = isCandidateOtherNameIncluded; + IsCandidatePersonalIdentificationDocumentsItemCreatable = isCandidatePersonalIdentificationDocumentsItemCreatable; IsCandidatePersonalIdentificationDocumentIncluded = isCandidatePersonalIdentificationDocumentIncluded; + IsCandidateRacesItemCreatable = isCandidateRacesItemCreatable; IsCandidateRaceIncluded = isCandidateRaceIncluded; + IsCandidateTelephonesItemCreatable = isCandidateTelephonesItemCreatable; IsCandidateTelephoneIncluded = isCandidateTelephoneIncluded; } @@ -347,13 +381,21 @@ Func isCandidateTelephoneIncluded public bool IsPreferredLastSurnameSupported { get; } public bool IsSexDescriptorSupported { get; } public bool IsSourceSystemDescriptorSupported { get; } + public bool IsCandidateAddressesItemCreatable { get; } public Func IsCandidateAddressIncluded { get; } + public bool IsCandidateDisabilitiesItemCreatable { get; } public Func IsCandidateDisabilityIncluded { get; } + public bool IsCandidateElectronicMailsItemCreatable { get; } public Func IsCandidateElectronicMailIncluded { get; } + public bool IsCandidateLanguagesItemCreatable { get; } public Func IsCandidateLanguageIncluded { get; } + public bool IsCandidateOtherNamesItemCreatable { get; } public Func IsCandidateOtherNameIncluded { get; } + public bool IsCandidatePersonalIdentificationDocumentsItemCreatable { get; } public Func IsCandidatePersonalIdentificationDocumentIncluded { get; } + public bool IsCandidateRacesItemCreatable { get; } public Func IsCandidateRaceIncluded { get; } + public bool IsCandidateTelephonesItemCreatable { get; } public Func IsCandidateTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -438,6 +480,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateAddresses": + return IsCandidateAddressesItemCreatable; + case "CandidateDisabilities": + return IsCandidateDisabilitiesItemCreatable; + case "CandidateElectronicMails": + return IsCandidateElectronicMailsItemCreatable; + case "CandidateLanguages": + return IsCandidateLanguagesItemCreatable; + case "CandidateOtherNames": + return IsCandidateOtherNamesItemCreatable; + case "CandidatePersonalIdentificationDocuments": + return IsCandidatePersonalIdentificationDocumentsItemCreatable; + case "CandidateRaces": + return IsCandidateRacesItemCreatable; + case "CandidateTelephones": + return IsCandidateTelephonesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -494,6 +561,7 @@ public CandidateAddressMappingContract( bool isLocaleDescriptorSupported, bool isLongitudeSupported, bool isNameOfCountySupported, + bool isCandidateAddressPeriodsItemCreatable, Func isCandidateAddressPeriodIncluded ) { @@ -507,6 +575,7 @@ Func isCandidateAddressPeriodIncluded IsLocaleDescriptorSupported = isLocaleDescriptorSupported; IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; + IsCandidateAddressPeriodsItemCreatable = isCandidateAddressPeriodsItemCreatable; IsCandidateAddressPeriodIncluded = isCandidateAddressPeriodIncluded; } @@ -520,6 +589,7 @@ Func isCandidateAddressPeriodIncluded public bool IsLocaleDescriptorSupported { get; } public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } + public bool IsCandidateAddressPeriodsItemCreatable { get; } public Func IsCandidateAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -562,6 +632,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateAddressPeriods": + return IsCandidateAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -613,6 +694,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -649,6 +739,7 @@ public CandidateDisabilityMappingContract( bool isDisabilityDeterminationSourceTypeDescriptorSupported, bool isDisabilityDiagnosisSupported, bool isOrderOfDisabilitySupported, + bool isCandidateDisabilityDesignationsItemCreatable, Func isCandidateDisabilityDesignationIncluded ) { @@ -656,6 +747,7 @@ Func isCandidateDisabilityDesignationIncl IsDisabilityDeterminationSourceTypeDescriptorSupported = isDisabilityDeterminationSourceTypeDescriptorSupported; IsDisabilityDiagnosisSupported = isDisabilityDiagnosisSupported; IsOrderOfDisabilitySupported = isOrderOfDisabilitySupported; + IsCandidateDisabilityDesignationsItemCreatable = isCandidateDisabilityDesignationsItemCreatable; IsCandidateDisabilityDesignationIncluded = isCandidateDisabilityDesignationIncluded; } @@ -663,6 +755,7 @@ Func isCandidateDisabilityDesignationIncl public bool IsDisabilityDeterminationSourceTypeDescriptorSupported { get; } public bool IsDisabilityDiagnosisSupported { get; } public bool IsOrderOfDisabilitySupported { get; } + public bool IsCandidateDisabilityDesignationsItemCreatable { get; } public Func IsCandidateDisabilityDesignationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -685,6 +778,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateDisabilityDesignations": + return IsCandidateDisabilityDesignationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -730,6 +834,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -781,7 +894,9 @@ public CandidateEducatorPreparationProgramAssociationMappingContract( bool isEndDateSupported, bool isEPPProgramPathwayDescriptorSupported, bool isReasonExitedDescriptorSupported, + bool isCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable, Func isCandidateEducatorPreparationProgramAssociationCohortYearIncluded, + bool isCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable, Func isCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded ) { @@ -792,7 +907,9 @@ Func IsEndDateSupported = isEndDateSupported; IsEPPProgramPathwayDescriptorSupported = isEPPProgramPathwayDescriptorSupported; IsReasonExitedDescriptorSupported = isReasonExitedDescriptorSupported; + IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable = isCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable; IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded = isCandidateEducatorPreparationProgramAssociationCohortYearIncluded; + IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable = isCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable; IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded = isCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded; } @@ -803,7 +920,9 @@ Func public bool IsEndDateSupported { get; } public bool IsEPPProgramPathwayDescriptorSupported { get; } public bool IsReasonExitedDescriptorSupported { get; } + public bool IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable { get; } public Func IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded { get; } + public bool IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable { get; } public Func IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -840,6 +959,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateEducatorPreparationProgramAssociationCohortYears": + return IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable; + case "CandidateEducatorPreparationProgramAssociationDegreeSpecializations": + return IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -901,6 +1033,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -958,6 +1099,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1019,6 +1169,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1049,14 +1208,17 @@ public class CandidateLanguageMappingContract : IMappingContract { public CandidateLanguageMappingContract( bool isCandidateLanguageUsesSupported, + bool isCandidateLanguageUsesItemCreatable, Func isCandidateLanguageUseIncluded ) { IsCandidateLanguageUsesSupported = isCandidateLanguageUsesSupported; + IsCandidateLanguageUsesItemCreatable = isCandidateLanguageUsesItemCreatable; IsCandidateLanguageUseIncluded = isCandidateLanguageUseIncluded; } public bool IsCandidateLanguageUsesSupported { get; } + public bool IsCandidateLanguageUsesItemCreatable { get; } public Func IsCandidateLanguageUseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1073,6 +1235,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CandidateLanguageUses": + return IsCandidateLanguageUsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1118,6 +1291,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1193,6 +1375,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1272,6 +1463,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1317,6 +1517,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1384,6 +1593,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1458,6 +1676,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1532,6 +1759,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1579,6 +1815,7 @@ public CredentialExtensionMappingContract( bool isPersonIdSupported, bool isPersonReferenceSupported, bool isSourceSystemDescriptorSupported, + bool isCredentialStudentAcademicRecordsItemCreatable, Func isCredentialStudentAcademicRecordIncluded ) { @@ -1592,6 +1829,7 @@ Func isCredentialStudentAcademicRecordIn IsPersonIdSupported = isPersonIdSupported; IsPersonReferenceSupported = isPersonReferenceSupported; IsSourceSystemDescriptorSupported = isSourceSystemDescriptorSupported; + IsCredentialStudentAcademicRecordsItemCreatable = isCredentialStudentAcademicRecordsItemCreatable; IsCredentialStudentAcademicRecordIncluded = isCredentialStudentAcademicRecordIncluded; } @@ -1605,6 +1843,7 @@ Func isCredentialStudentAcademicRecordIn public bool IsPersonIdSupported { get; } public bool IsPersonReferenceSupported { get; } public bool IsSourceSystemDescriptorSupported { get; } + public bool IsCredentialStudentAcademicRecordsItemCreatable { get; } public Func IsCredentialStudentAcademicRecordIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1637,6 +1876,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CredentialStudentAcademicRecords": + return IsCredentialStudentAcademicRecordsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1711,6 +1961,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1775,6 +2034,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1815,6 +2083,7 @@ public EducatorPreparationProgramMappingContract( bool isEducationOrganizationReferenceSupported, bool isEducatorPreparationProgramGradeLevelsSupported, bool isProgramIdSupported, + bool isEducatorPreparationProgramGradeLevelsItemCreatable, Func isEducatorPreparationProgramGradeLevelIncluded ) { @@ -1822,6 +2091,7 @@ Func isEducatorPreparationProgramGr IsEducationOrganizationReferenceSupported = isEducationOrganizationReferenceSupported; IsEducatorPreparationProgramGradeLevelsSupported = isEducatorPreparationProgramGradeLevelsSupported; IsProgramIdSupported = isProgramIdSupported; + IsEducatorPreparationProgramGradeLevelsItemCreatable = isEducatorPreparationProgramGradeLevelsItemCreatable; IsEducatorPreparationProgramGradeLevelIncluded = isEducatorPreparationProgramGradeLevelIncluded; } @@ -1829,6 +2099,7 @@ Func isEducatorPreparationProgramGr public bool IsEducationOrganizationReferenceSupported { get; } public bool IsEducatorPreparationProgramGradeLevelsSupported { get; } public bool IsProgramIdSupported { get; } + public bool IsEducatorPreparationProgramGradeLevelsItemCreatable { get; } public Func IsEducatorPreparationProgramGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1855,6 +2126,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducatorPreparationProgramGradeLevels": + return IsEducatorPreparationProgramGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1900,6 +2182,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1974,6 +2265,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2048,6 +2348,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2122,6 +2431,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2176,6 +2494,7 @@ public EvaluationMappingContract( bool isMaxRatingSupported, bool isMinRatingSupported, bool isPerformanceEvaluationReferenceSupported, + bool isEvaluationRatingLevelsItemCreatable, Func isEvaluationRatingLevelIncluded ) { @@ -2186,6 +2505,7 @@ Func isEvaluationRatingLevelIncluded IsMaxRatingSupported = isMaxRatingSupported; IsMinRatingSupported = isMinRatingSupported; IsPerformanceEvaluationReferenceSupported = isPerformanceEvaluationReferenceSupported; + IsEvaluationRatingLevelsItemCreatable = isEvaluationRatingLevelsItemCreatable; IsEvaluationRatingLevelIncluded = isEvaluationRatingLevelIncluded; } @@ -2196,6 +2516,7 @@ 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) @@ -2236,6 +2557,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationRatingLevels": + return IsEvaluationRatingLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2292,6 +2624,7 @@ public EvaluationElementMappingContract( bool isMaxRatingSupported, bool isMinRatingSupported, bool isSortOrderSupported, + bool isEvaluationElementRatingLevelsItemCreatable, Func isEvaluationElementRatingLevelIncluded ) { @@ -2301,6 +2634,7 @@ Func isEvaluationElementRatingLevelIncluded IsMaxRatingSupported = isMaxRatingSupported; IsMinRatingSupported = isMinRatingSupported; IsSortOrderSupported = isSortOrderSupported; + IsEvaluationElementRatingLevelsItemCreatable = isEvaluationElementRatingLevelsItemCreatable; IsEvaluationElementRatingLevelIncluded = isEvaluationElementRatingLevelIncluded; } @@ -2310,6 +2644,7 @@ Func isEvaluationElementRatingLevelIncluded public bool IsMaxRatingSupported { get; } public bool IsMinRatingSupported { get; } public bool IsSortOrderSupported { get; } + public bool IsEvaluationElementRatingLevelsItemCreatable { get; } public Func IsEvaluationElementRatingLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2352,6 +2687,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationElementRatingLevels": + return IsEvaluationElementRatingLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2419,6 +2765,7 @@ public EvaluationElementRatingMappingContract( bool isEvaluationElementReferenceSupported, bool isEvaluationObjectiveRatingReferenceSupported, bool isFeedbackSupported, + bool isEvaluationElementRatingResultsItemCreatable, Func isEvaluationElementRatingResultIncluded ) { @@ -2430,6 +2777,7 @@ Func isEvaluationElementRatingResultInclud IsEvaluationElementReferenceSupported = isEvaluationElementReferenceSupported; IsEvaluationObjectiveRatingReferenceSupported = isEvaluationObjectiveRatingReferenceSupported; IsFeedbackSupported = isFeedbackSupported; + IsEvaluationElementRatingResultsItemCreatable = isEvaluationElementRatingResultsItemCreatable; IsEvaluationElementRatingResultIncluded = isEvaluationElementRatingResultIncluded; } @@ -2441,6 +2789,7 @@ Func isEvaluationElementRatingResultInclud public bool IsEvaluationElementReferenceSupported { get; } public bool IsEvaluationObjectiveRatingReferenceSupported { get; } public bool IsFeedbackSupported { get; } + public bool IsEvaluationElementRatingResultsItemCreatable { get; } public Func IsEvaluationElementRatingResultIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2493,13 +2842,24 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - } - - /// - /// Defines available properties and methods for the abstraction of the EvaluationElementRatingLevel model. - /// - public interface IEvaluationElementRatingLevel : ISynchronizable, IMappable, IGetByExample - { + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationElementRatingResults": + return IsEvaluationElementRatingResultsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + } + + /// + /// Defines available properties and methods for the abstraction of the EvaluationElementRatingLevel model. + /// + public interface IEvaluationElementRatingLevel : ISynchronizable, IMappable, IGetByExample + { // Primary Key properties IEvaluationElement EvaluationElement { get; set; } @@ -2550,6 +2910,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2624,6 +2993,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2679,6 +3057,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2735,6 +3122,7 @@ public EvaluationObjectiveMappingContract( bool isMaxRatingSupported, bool isMinRatingSupported, bool isSortOrderSupported, + bool isEvaluationObjectiveRatingLevelsItemCreatable, Func isEvaluationObjectiveRatingLevelIncluded ) { @@ -2745,6 +3133,7 @@ Func isEvaluationObjectiveRatingLevelIncl IsMaxRatingSupported = isMaxRatingSupported; IsMinRatingSupported = isMinRatingSupported; IsSortOrderSupported = isSortOrderSupported; + IsEvaluationObjectiveRatingLevelsItemCreatable = isEvaluationObjectiveRatingLevelsItemCreatable; IsEvaluationObjectiveRatingLevelIncluded = isEvaluationObjectiveRatingLevelIncluded; } @@ -2755,6 +3144,7 @@ Func isEvaluationObjectiveRatingLevelIncl public bool IsMaxRatingSupported { get; } public bool IsMinRatingSupported { get; } public bool IsSortOrderSupported { get; } + public bool IsEvaluationObjectiveRatingLevelsItemCreatable { get; } public Func IsEvaluationObjectiveRatingLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2797,6 +3187,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationObjectiveRatingLevels": + return IsEvaluationObjectiveRatingLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2856,6 +3257,7 @@ public EvaluationObjectiveRatingMappingContract( bool isEvaluationObjectiveReferenceSupported, bool isEvaluationRatingReferenceSupported, bool isObjectiveRatingLevelDescriptorSupported, + bool isEvaluationObjectiveRatingResultsItemCreatable, Func isEvaluationObjectiveRatingResultIncluded ) { @@ -2864,6 +3266,7 @@ Func isEvaluationObjectiveRatingResultIn IsEvaluationObjectiveReferenceSupported = isEvaluationObjectiveReferenceSupported; IsEvaluationRatingReferenceSupported = isEvaluationRatingReferenceSupported; IsObjectiveRatingLevelDescriptorSupported = isObjectiveRatingLevelDescriptorSupported; + IsEvaluationObjectiveRatingResultsItemCreatable = isEvaluationObjectiveRatingResultsItemCreatable; IsEvaluationObjectiveRatingResultIncluded = isEvaluationObjectiveRatingResultIncluded; } @@ -2872,6 +3275,7 @@ Func isEvaluationObjectiveRatingResultIn public bool IsEvaluationObjectiveReferenceSupported { get; } public bool IsEvaluationRatingReferenceSupported { get; } public bool IsObjectiveRatingLevelDescriptorSupported { get; } + public bool IsEvaluationObjectiveRatingResultsItemCreatable { get; } public Func IsEvaluationObjectiveRatingResultIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -2916,6 +3320,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationObjectiveRatingResults": + return IsEvaluationObjectiveRatingResultsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2973,6 +3388,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3028,6 +3452,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3102,6 +3535,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3172,7 +3614,9 @@ public EvaluationRatingMappingContract( bool isSectionIdentifierSupported, bool isSectionReferenceSupported, bool isSessionNameSupported, + bool isEvaluationRatingResultsItemCreatable, Func isEvaluationRatingResultIncluded, + bool isEvaluationRatingReviewersItemCreatable, Func isEvaluationRatingReviewerIncluded ) { @@ -3187,7 +3631,9 @@ Func isEvaluationRatingReviewerIncluded IsSectionIdentifierSupported = isSectionIdentifierSupported; IsSectionReferenceSupported = isSectionReferenceSupported; IsSessionNameSupported = isSessionNameSupported; + IsEvaluationRatingResultsItemCreatable = isEvaluationRatingResultsItemCreatable; IsEvaluationRatingResultIncluded = isEvaluationRatingResultIncluded; + IsEvaluationRatingReviewersItemCreatable = isEvaluationRatingReviewersItemCreatable; IsEvaluationRatingReviewerIncluded = isEvaluationRatingReviewerIncluded; } @@ -3202,7 +3648,9 @@ Func isEvaluationRatingReviewerIncluded public bool IsSectionIdentifierSupported { get; } public bool IsSectionReferenceSupported { get; } public bool IsSessionNameSupported { get; } + public bool IsEvaluationRatingResultsItemCreatable { get; } public Func IsEvaluationRatingResultIncluded { get; } + public bool IsEvaluationRatingReviewersItemCreatable { get; } public Func IsEvaluationRatingReviewerIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3257,6 +3705,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EvaluationRatingResults": + return IsEvaluationRatingResultsItemCreatable; + case "EvaluationRatingReviewers": + return IsEvaluationRatingReviewersItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3314,6 +3775,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3388,6 +3858,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3443,6 +3922,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3518,6 +4006,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3571,6 +4068,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3645,6 +4151,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3719,6 +4234,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3802,6 +4326,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3876,6 +4409,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3950,6 +4492,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4000,7 +4551,9 @@ public PerformanceEvaluationMappingContract( bool isPerformanceEvaluationGradeLevelsSupported, bool isPerformanceEvaluationRatingLevelsSupported, bool isSchoolYearTypeReferenceSupported, + bool isPerformanceEvaluationGradeLevelsItemCreatable, Func isPerformanceEvaluationGradeLevelIncluded, + bool isPerformanceEvaluationRatingLevelsItemCreatable, Func isPerformanceEvaluationRatingLevelIncluded ) { @@ -4010,7 +4563,9 @@ Func isPerformanceEvaluationRatingLevel IsPerformanceEvaluationGradeLevelsSupported = isPerformanceEvaluationGradeLevelsSupported; IsPerformanceEvaluationRatingLevelsSupported = isPerformanceEvaluationRatingLevelsSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; + IsPerformanceEvaluationGradeLevelsItemCreatable = isPerformanceEvaluationGradeLevelsItemCreatable; IsPerformanceEvaluationGradeLevelIncluded = isPerformanceEvaluationGradeLevelIncluded; + IsPerformanceEvaluationRatingLevelsItemCreatable = isPerformanceEvaluationRatingLevelsItemCreatable; IsPerformanceEvaluationRatingLevelIncluded = isPerformanceEvaluationRatingLevelIncluded; } @@ -4020,7 +4575,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4057,6 +4614,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "PerformanceEvaluationGradeLevels": + return IsPerformanceEvaluationGradeLevelsItemCreatable; + case "PerformanceEvaluationRatingLevels": + return IsPerformanceEvaluationRatingLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4102,6 +4672,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4169,7 +4748,9 @@ public PerformanceEvaluationRatingMappingContract( bool isPerformanceEvaluationReferenceSupported, bool isPersonReferenceSupported, bool isScheduleDateSupported, + bool isPerformanceEvaluationRatingResultsItemCreatable, Func isPerformanceEvaluationRatingResultIncluded, + bool isPerformanceEvaluationRatingReviewersItemCreatable, Func isPerformanceEvaluationRatingReviewerIncluded ) { @@ -4185,7 +4766,9 @@ Func isPerformanceEvaluationRatingRe IsPerformanceEvaluationReferenceSupported = isPerformanceEvaluationReferenceSupported; IsPersonReferenceSupported = isPersonReferenceSupported; IsScheduleDateSupported = isScheduleDateSupported; + IsPerformanceEvaluationRatingResultsItemCreatable = isPerformanceEvaluationRatingResultsItemCreatable; IsPerformanceEvaluationRatingResultIncluded = isPerformanceEvaluationRatingResultIncluded; + IsPerformanceEvaluationRatingReviewersItemCreatable = isPerformanceEvaluationRatingReviewersItemCreatable; IsPerformanceEvaluationRatingReviewerIncluded = isPerformanceEvaluationRatingReviewerIncluded; } @@ -4201,7 +4784,9 @@ Func isPerformanceEvaluationRatingRe public bool IsPerformanceEvaluationReferenceSupported { get; } public bool IsPersonReferenceSupported { get; } public bool IsScheduleDateSupported { get; } + public bool IsPerformanceEvaluationRatingResultsItemCreatable { get; } public Func IsPerformanceEvaluationRatingResultIncluded { get; } + public bool IsPerformanceEvaluationRatingReviewersItemCreatable { get; } public Func IsPerformanceEvaluationRatingReviewerIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -4254,6 +4839,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "PerformanceEvaluationRatingResults": + return IsPerformanceEvaluationRatingResultsItemCreatable; + case "PerformanceEvaluationRatingReviewers": + return IsPerformanceEvaluationRatingReviewersItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4311,6 +4909,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4385,6 +4992,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4440,6 +5056,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4515,6 +5140,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4568,6 +5202,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4642,6 +5285,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4747,6 +5399,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4821,6 +5482,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4874,6 +5544,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4934,6 +5613,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5008,6 +5696,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5086,5 +5783,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index ae8e826315..debbcfa8b9 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -540,6 +540,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateAddressIncluded?.Invoke(item) ?? true); } @@ -552,6 +553,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateDisabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateDisabilityIncluded?.Invoke(item) ?? true); } @@ -564,6 +566,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateElectronicMailsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateElectronicMailIncluded?.Invoke(item) ?? true); } @@ -576,6 +579,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateLanguageIncluded?.Invoke(item) ?? true); } @@ -588,6 +592,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateOtherNamesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateOtherNameIncluded?.Invoke(item) ?? true); } @@ -600,6 +605,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidatePersonalIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidatePersonalIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -612,6 +618,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateRacesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateRaceIncluded?.Invoke(item) ?? true); } @@ -624,6 +631,7 @@ public static bool SynchronizeTo(this ICandidate source, ICandidate target) { child.Candidate = target; }, + itemCreatable: mappingContract?.IsCandidateTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateTelephoneIncluded?.Invoke(item) ?? true); } @@ -742,42 +750,42 @@ public static void MapTo(this ICandidate source, ICandidate target, Action mappingContract?.IsCandidateAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -954,7 +963,7 @@ public static void MapTo(this ICandidateAddress source, ICandidateAddress target if (mappingContract?.IsCandidateAddressPeriodsSupported != false) { - source.CandidateAddressPeriods.MapCollectionTo(target.CandidateAddressPeriods, target, mappingContract?.IsCandidateAddressPeriodIncluded); + source.CandidateAddressPeriods.MapCollectionTo(target.CandidateAddressPeriods, mappingContract?.IsCandidateAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsCandidateAddressPeriodIncluded); } @@ -1104,6 +1113,7 @@ public static bool SynchronizeTo(this ICandidateDisability source, ICandidateDis { child.CandidateDisability = target; }, + itemCreatable: mappingContract?.IsCandidateDisabilityDesignationsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateDisabilityDesignationIncluded?.Invoke(item) ?? true); } @@ -1143,7 +1153,7 @@ public static void MapTo(this ICandidateDisability source, ICandidateDisability if (mappingContract?.IsCandidateDisabilityDesignationsSupported != false) { - source.CandidateDisabilityDesignations.MapCollectionTo(target.CandidateDisabilityDesignations, target, mappingContract?.IsCandidateDisabilityDesignationIncluded); + source.CandidateDisabilityDesignations.MapCollectionTo(target.CandidateDisabilityDesignations, mappingContract?.IsCandidateDisabilityDesignationsItemCreatable ?? true, target, mappingContract?.IsCandidateDisabilityDesignationIncluded); } @@ -1349,6 +1359,7 @@ public static bool SynchronizeTo(this ICandidateLanguage source, ICandidateLangu { child.CandidateLanguage = target; }, + itemCreatable: mappingContract?.IsCandidateLanguageUsesItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateLanguageUseIncluded?.Invoke(item) ?? true); } @@ -1379,7 +1390,7 @@ public static void MapTo(this ICandidateLanguage source, ICandidateLanguage targ if (mappingContract?.IsCandidateLanguageUsesSupported != false) { - source.CandidateLanguageUses.MapCollectionTo(target.CandidateLanguageUses, target, mappingContract?.IsCandidateLanguageUseIncluded); + source.CandidateLanguageUses.MapCollectionTo(target.CandidateLanguageUses, mappingContract?.IsCandidateLanguageUsesItemCreatable ?? true, target, mappingContract?.IsCandidateLanguageUseIncluded); } @@ -1934,6 +1945,7 @@ public static bool SynchronizeTo(this ICandidateEducatorPreparationProgramAssoci { child.CandidateEducatorPreparationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded?.Invoke(item) ?? true); } @@ -1946,6 +1958,7 @@ public static bool SynchronizeTo(this ICandidateEducatorPreparationProgramAssoci { child.CandidateEducatorPreparationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable ?? true, includeItem: item => mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded?.Invoke(item) ?? true); } @@ -2001,12 +2014,12 @@ public static void MapTo(this ICandidateEducatorPreparationProgramAssociation so if (mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearsSupported != false) { - source.CandidateEducatorPreparationProgramAssociationCohortYears.MapCollectionTo(target.CandidateEducatorPreparationProgramAssociationCohortYears, target, mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded); + source.CandidateEducatorPreparationProgramAssociationCohortYears.MapCollectionTo(target.CandidateEducatorPreparationProgramAssociationCohortYears, mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearsItemCreatable ?? true, target, mappingContract?.IsCandidateEducatorPreparationProgramAssociationCohortYearIncluded); } if (mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsSupported != false) { - source.CandidateEducatorPreparationProgramAssociationDegreeSpecializations.MapCollectionTo(target.CandidateEducatorPreparationProgramAssociationDegreeSpecializations, target, mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded); + source.CandidateEducatorPreparationProgramAssociationDegreeSpecializations.MapCollectionTo(target.CandidateEducatorPreparationProgramAssociationDegreeSpecializations, mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable ?? true, target, mappingContract?.IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationIncluded); } @@ -2596,6 +2609,7 @@ public static bool SynchronizeTo(this ICredentialExtension source, ICredentialEx // Extension class "children" need to reference the Ed-Fi Standard entity as the parent (child as IChildEntity)?.SetParent(target.Credential); }, + itemCreatable: mappingContract?.IsCredentialStudentAcademicRecordsItemCreatable ?? true, includeItem: item => mappingContract?.IsCredentialStudentAcademicRecordIncluded?.Invoke(item) ?? true); } @@ -2656,7 +2670,7 @@ public static void MapTo(this ICredentialExtension source, ICredentialExtension if (mappingContract?.IsCredentialStudentAcademicRecordsSupported != false) { - source.CredentialStudentAcademicRecords.MapCollectionTo(target.CredentialStudentAcademicRecords, target.Credential, mappingContract?.IsCredentialStudentAcademicRecordIncluded); + source.CredentialStudentAcademicRecords.MapCollectionTo(target.CredentialStudentAcademicRecords, mappingContract?.IsCredentialStudentAcademicRecordsItemCreatable ?? true, target.Credential, mappingContract?.IsCredentialStudentAcademicRecordIncluded); } @@ -2968,6 +2982,7 @@ public static bool SynchronizeTo(this IEducatorPreparationProgram source, IEduca { child.EducatorPreparationProgram = target; }, + itemCreatable: mappingContract?.IsEducatorPreparationProgramGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducatorPreparationProgramGradeLevelIncluded?.Invoke(item) ?? true); } @@ -3016,7 +3031,7 @@ public static void MapTo(this IEducatorPreparationProgram source, IEducatorPrepa if (mappingContract?.IsEducatorPreparationProgramGradeLevelsSupported != false) { - source.EducatorPreparationProgramGradeLevels.MapCollectionTo(target.EducatorPreparationProgramGradeLevels, target, mappingContract?.IsEducatorPreparationProgramGradeLevelIncluded); + source.EducatorPreparationProgramGradeLevels.MapCollectionTo(target.EducatorPreparationProgramGradeLevels, mappingContract?.IsEducatorPreparationProgramGradeLevelsItemCreatable ?? true, target, mappingContract?.IsEducatorPreparationProgramGradeLevelIncluded); } @@ -3647,6 +3662,7 @@ public static bool SynchronizeTo(this IEvaluation source, IEvaluation target) { child.Evaluation = target; }, + itemCreatable: mappingContract?.IsEvaluationRatingLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationRatingLevelIncluded?.Invoke(item) ?? true); } @@ -3708,7 +3724,7 @@ public static void MapTo(this IEvaluation source, IEvaluation target, Action mappingContract?.IsEvaluationElementRatingLevelIncluded?.Invoke(item) ?? true); } @@ -3958,7 +3975,7 @@ public static void MapTo(this IEvaluationElement source, IEvaluationElement targ if (mappingContract?.IsEvaluationElementRatingLevelsSupported != false) { - source.EvaluationElementRatingLevels.MapCollectionTo(target.EvaluationElementRatingLevels, target, mappingContract?.IsEvaluationElementRatingLevelIncluded); + source.EvaluationElementRatingLevels.MapCollectionTo(target.EvaluationElementRatingLevels, mappingContract?.IsEvaluationElementRatingLevelsItemCreatable ?? true, target, mappingContract?.IsEvaluationElementRatingLevelIncluded); } @@ -4158,6 +4175,7 @@ public static bool SynchronizeTo(this IEvaluationElementRating source, IEvaluati { child.EvaluationElementRating = target; }, + itemCreatable: mappingContract?.IsEvaluationElementRatingResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationElementRatingResultIncluded?.Invoke(item) ?? true); } @@ -4226,7 +4244,7 @@ public static void MapTo(this IEvaluationElementRating source, IEvaluationElemen if (mappingContract?.IsEvaluationElementRatingResultsSupported != false) { - source.EvaluationElementRatingResults.MapCollectionTo(target.EvaluationElementRatingResults, target, mappingContract?.IsEvaluationElementRatingResultIncluded); + source.EvaluationElementRatingResults.MapCollectionTo(target.EvaluationElementRatingResults, mappingContract?.IsEvaluationElementRatingResultsItemCreatable ?? true, target, mappingContract?.IsEvaluationElementRatingResultIncluded); } @@ -4565,6 +4583,7 @@ public static bool SynchronizeTo(this IEvaluationObjective source, IEvaluationOb { child.EvaluationObjective = target; }, + itemCreatable: mappingContract?.IsEvaluationObjectiveRatingLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationObjectiveRatingLevelIncluded?.Invoke(item) ?? true); } @@ -4627,7 +4646,7 @@ public static void MapTo(this IEvaluationObjective source, IEvaluationObjective if (mappingContract?.IsEvaluationObjectiveRatingLevelsSupported != false) { - source.EvaluationObjectiveRatingLevels.MapCollectionTo(target.EvaluationObjectiveRatingLevels, target, mappingContract?.IsEvaluationObjectiveRatingLevelIncluded); + source.EvaluationObjectiveRatingLevels.MapCollectionTo(target.EvaluationObjectiveRatingLevels, mappingContract?.IsEvaluationObjectiveRatingLevelsItemCreatable ?? true, target, mappingContract?.IsEvaluationObjectiveRatingLevelIncluded); } @@ -4805,6 +4824,7 @@ public static bool SynchronizeTo(this IEvaluationObjectiveRating source, IEvalua { child.EvaluationObjectiveRating = target; }, + itemCreatable: mappingContract?.IsEvaluationObjectiveRatingResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationObjectiveRatingResultIncluded?.Invoke(item) ?? true); } @@ -4863,7 +4883,7 @@ public static void MapTo(this IEvaluationObjectiveRating source, IEvaluationObje if (mappingContract?.IsEvaluationObjectiveRatingResultsSupported != false) { - source.EvaluationObjectiveRatingResults.MapCollectionTo(target.EvaluationObjectiveRatingResults, target, mappingContract?.IsEvaluationObjectiveRatingResultIncluded); + source.EvaluationObjectiveRatingResults.MapCollectionTo(target.EvaluationObjectiveRatingResults, mappingContract?.IsEvaluationObjectiveRatingResultsItemCreatable ?? true, target, mappingContract?.IsEvaluationObjectiveRatingResultIncluded); } @@ -5211,6 +5231,7 @@ public static bool SynchronizeTo(this IEvaluationRating source, IEvaluationRatin { child.EvaluationRating = target; }, + itemCreatable: mappingContract?.IsEvaluationRatingResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationRatingResultIncluded?.Invoke(item) ?? true); } @@ -5223,6 +5244,7 @@ public static bool SynchronizeTo(this IEvaluationRating source, IEvaluationRatin { child.EvaluationRating = target; }, + itemCreatable: mappingContract?.IsEvaluationRatingReviewersItemCreatable ?? true, includeItem: item => mappingContract?.IsEvaluationRatingReviewerIncluded?.Invoke(item) ?? true); } @@ -5294,12 +5316,12 @@ public static void MapTo(this IEvaluationRating source, IEvaluationRating target if (mappingContract?.IsEvaluationRatingResultsSupported != false) { - source.EvaluationRatingResults.MapCollectionTo(target.EvaluationRatingResults, target, mappingContract?.IsEvaluationRatingResultIncluded); + source.EvaluationRatingResults.MapCollectionTo(target.EvaluationRatingResults, mappingContract?.IsEvaluationRatingResultsItemCreatable ?? true, target, mappingContract?.IsEvaluationRatingResultIncluded); } if (mappingContract?.IsEvaluationRatingReviewersSupported != false) { - source.EvaluationRatingReviewers.MapCollectionTo(target.EvaluationRatingReviewers, target, mappingContract?.IsEvaluationRatingReviewerIncluded); + source.EvaluationRatingReviewers.MapCollectionTo(target.EvaluationRatingReviewers, mappingContract?.IsEvaluationRatingReviewersItemCreatable ?? true, target, mappingContract?.IsEvaluationRatingReviewerIncluded); } @@ -6587,6 +6609,7 @@ public static bool SynchronizeTo(this IPerformanceEvaluation source, IPerformanc { child.PerformanceEvaluation = target; }, + itemCreatable: mappingContract?.IsPerformanceEvaluationGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsPerformanceEvaluationGradeLevelIncluded?.Invoke(item) ?? true); } @@ -6599,6 +6622,7 @@ public static bool SynchronizeTo(this IPerformanceEvaluation source, IPerformanc { child.PerformanceEvaluation = target; }, + itemCreatable: mappingContract?.IsPerformanceEvaluationRatingLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsPerformanceEvaluationRatingLevelIncluded?.Invoke(item) ?? true); } @@ -6651,12 +6675,12 @@ public static void MapTo(this IPerformanceEvaluation source, IPerformanceEvaluat if (mappingContract?.IsPerformanceEvaluationGradeLevelsSupported != false) { - source.PerformanceEvaluationGradeLevels.MapCollectionTo(target.PerformanceEvaluationGradeLevels, target, mappingContract?.IsPerformanceEvaluationGradeLevelIncluded); + source.PerformanceEvaluationGradeLevels.MapCollectionTo(target.PerformanceEvaluationGradeLevels, mappingContract?.IsPerformanceEvaluationGradeLevelsItemCreatable ?? true, target, mappingContract?.IsPerformanceEvaluationGradeLevelIncluded); } if (mappingContract?.IsPerformanceEvaluationRatingLevelsSupported != false) { - source.PerformanceEvaluationRatingLevels.MapCollectionTo(target.PerformanceEvaluationRatingLevels, target, mappingContract?.IsPerformanceEvaluationRatingLevelIncluded); + source.PerformanceEvaluationRatingLevels.MapCollectionTo(target.PerformanceEvaluationRatingLevels, mappingContract?.IsPerformanceEvaluationRatingLevelsItemCreatable ?? true, target, mappingContract?.IsPerformanceEvaluationRatingLevelIncluded); } @@ -6939,6 +6963,7 @@ public static bool SynchronizeTo(this IPerformanceEvaluationRating source, IPerf { child.PerformanceEvaluationRating = target; }, + itemCreatable: mappingContract?.IsPerformanceEvaluationRatingResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsPerformanceEvaluationRatingResultIncluded?.Invoke(item) ?? true); } @@ -6951,6 +6976,7 @@ public static bool SynchronizeTo(this IPerformanceEvaluationRating source, IPerf { child.PerformanceEvaluationRating = target; }, + itemCreatable: mappingContract?.IsPerformanceEvaluationRatingReviewersItemCreatable ?? true, includeItem: item => mappingContract?.IsPerformanceEvaluationRatingReviewerIncluded?.Invoke(item) ?? true); } @@ -7024,12 +7050,12 @@ public static void MapTo(this IPerformanceEvaluationRating source, IPerformanceE if (mappingContract?.IsPerformanceEvaluationRatingResultsSupported != false) { - source.PerformanceEvaluationRatingResults.MapCollectionTo(target.PerformanceEvaluationRatingResults, target, mappingContract?.IsPerformanceEvaluationRatingResultIncluded); + source.PerformanceEvaluationRatingResults.MapCollectionTo(target.PerformanceEvaluationRatingResults, mappingContract?.IsPerformanceEvaluationRatingResultsItemCreatable ?? true, target, mappingContract?.IsPerformanceEvaluationRatingResultIncluded); } if (mappingContract?.IsPerformanceEvaluationRatingReviewersSupported != false) { - source.PerformanceEvaluationRatingReviewers.MapCollectionTo(target.PerformanceEvaluationRatingReviewers, target, mappingContract?.IsPerformanceEvaluationRatingReviewerIncluded); + source.PerformanceEvaluationRatingReviewers.MapCollectionTo(target.PerformanceEvaluationRatingReviewers, mappingContract?.IsPerformanceEvaluationRatingReviewersItemCreatable ?? true, target, mappingContract?.IsPerformanceEvaluationRatingReviewerIncluded); } 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 94d3fb3c77..8cf72cc913 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 @@ -84,6 +84,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -158,6 +167,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -232,6 +250,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -306,6 +333,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -386,6 +422,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -477,6 +522,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -557,6 +611,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -631,6 +694,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -705,6 +777,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -779,6 +860,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -853,6 +943,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -927,6 +1026,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1001,6 +1109,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1076,15 +1193,25 @@ public AssessmentMappingContract( bool isMaxRawScoreSupported, bool isNomenclatureSupported, bool isRevisionDateSupported, + bool isAssessmentAcademicSubjectsItemCreatable, Func isAssessmentAcademicSubjectIncluded, + bool isAssessmentAssessedGradeLevelsItemCreatable, Func isAssessmentAssessedGradeLevelIncluded, + bool isAssessmentIdentificationCodesItemCreatable, Func isAssessmentIdentificationCodeIncluded, + bool isAssessmentLanguagesItemCreatable, Func isAssessmentLanguageIncluded, + bool isAssessmentPerformanceLevelsItemCreatable, Func isAssessmentPerformanceLevelIncluded, + bool isAssessmentPeriodsItemCreatable, Func isAssessmentPeriodIncluded, + bool isAssessmentPlatformTypesItemCreatable, Func isAssessmentPlatformTypeIncluded, + bool isAssessmentProgramsItemCreatable, Func isAssessmentProgramIncluded, + bool isAssessmentScoresItemCreatable, Func isAssessmentScoreIncluded, + bool isAssessmentSectionsItemCreatable, Func isAssessmentSectionIncluded, IReadOnlyList supportedExtensions ) @@ -1111,15 +1238,25 @@ IReadOnlyList supportedExtensions IsMaxRawScoreSupported = isMaxRawScoreSupported; IsNomenclatureSupported = isNomenclatureSupported; IsRevisionDateSupported = isRevisionDateSupported; + IsAssessmentAcademicSubjectsItemCreatable = isAssessmentAcademicSubjectsItemCreatable; IsAssessmentAcademicSubjectIncluded = isAssessmentAcademicSubjectIncluded; + IsAssessmentAssessedGradeLevelsItemCreatable = isAssessmentAssessedGradeLevelsItemCreatable; IsAssessmentAssessedGradeLevelIncluded = isAssessmentAssessedGradeLevelIncluded; + IsAssessmentIdentificationCodesItemCreatable = isAssessmentIdentificationCodesItemCreatable; IsAssessmentIdentificationCodeIncluded = isAssessmentIdentificationCodeIncluded; + IsAssessmentLanguagesItemCreatable = isAssessmentLanguagesItemCreatable; IsAssessmentLanguageIncluded = isAssessmentLanguageIncluded; + IsAssessmentPerformanceLevelsItemCreatable = isAssessmentPerformanceLevelsItemCreatable; IsAssessmentPerformanceLevelIncluded = isAssessmentPerformanceLevelIncluded; + IsAssessmentPeriodsItemCreatable = isAssessmentPeriodsItemCreatable; IsAssessmentPeriodIncluded = isAssessmentPeriodIncluded; + IsAssessmentPlatformTypesItemCreatable = isAssessmentPlatformTypesItemCreatable; IsAssessmentPlatformTypeIncluded = isAssessmentPlatformTypeIncluded; + IsAssessmentProgramsItemCreatable = isAssessmentProgramsItemCreatable; IsAssessmentProgramIncluded = isAssessmentProgramIncluded; + IsAssessmentScoresItemCreatable = isAssessmentScoresItemCreatable; IsAssessmentScoreIncluded = isAssessmentScoreIncluded; + IsAssessmentSectionsItemCreatable = isAssessmentSectionsItemCreatable; IsAssessmentSectionIncluded = isAssessmentSectionIncluded; SupportedExtensions = supportedExtensions; } @@ -1146,15 +1283,25 @@ IReadOnlyList supportedExtensions public bool IsMaxRawScoreSupported { get; } public bool IsNomenclatureSupported { get; } public bool IsRevisionDateSupported { get; } + public bool IsAssessmentAcademicSubjectsItemCreatable { get; } public Func IsAssessmentAcademicSubjectIncluded { get; } + public bool IsAssessmentAssessedGradeLevelsItemCreatable { get; } public Func IsAssessmentAssessedGradeLevelIncluded { get; } + public bool IsAssessmentIdentificationCodesItemCreatable { get; } public Func IsAssessmentIdentificationCodeIncluded { get; } + public bool IsAssessmentLanguagesItemCreatable { get; } public Func IsAssessmentLanguageIncluded { get; } + public bool IsAssessmentPerformanceLevelsItemCreatable { get; } public Func IsAssessmentPerformanceLevelIncluded { get; } + public bool IsAssessmentPeriodsItemCreatable { get; } public Func IsAssessmentPeriodIncluded { get; } + public bool IsAssessmentPlatformTypesItemCreatable { get; } public Func IsAssessmentPlatformTypeIncluded { get; } + public bool IsAssessmentProgramsItemCreatable { get; } public Func IsAssessmentProgramIncluded { get; } + public bool IsAssessmentScoresItemCreatable { get; } public Func IsAssessmentScoreIncluded { get; } + public bool IsAssessmentSectionsItemCreatable { get; } public Func IsAssessmentSectionIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1215,6 +1362,35 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "AssessmentAcademicSubjects": + return IsAssessmentAcademicSubjectsItemCreatable; + case "AssessmentAssessedGradeLevels": + return IsAssessmentAssessedGradeLevelsItemCreatable; + case "AssessmentIdentificationCodes": + return IsAssessmentIdentificationCodesItemCreatable; + case "AssessmentLanguages": + return IsAssessmentLanguagesItemCreatable; + case "AssessmentPerformanceLevels": + return IsAssessmentPerformanceLevelsItemCreatable; + case "AssessmentPeriods": + return IsAssessmentPeriodsItemCreatable; + case "AssessmentPlatformTypes": + return IsAssessmentPlatformTypesItemCreatable; + case "AssessmentPrograms": + return IsAssessmentProgramsItemCreatable; + case "AssessmentScores": + return IsAssessmentScoresItemCreatable; + case "AssessmentSections": + return IsAssessmentSectionsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1268,6 +1444,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1321,6 +1506,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1401,6 +1595,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1450,6 +1653,7 @@ public AssessmentContentStandardMappingContract( bool isTitleSupported, bool isURISupported, bool isVersionSupported, + bool isAssessmentContentStandardAuthorsItemCreatable, Func isAssessmentContentStandardAuthorIncluded, IReadOnlyList supportedExtensions ) @@ -1465,6 +1669,7 @@ IReadOnlyList supportedExtensions IsTitleSupported = isTitleSupported; IsURISupported = isURISupported; IsVersionSupported = isVersionSupported; + IsAssessmentContentStandardAuthorsItemCreatable = isAssessmentContentStandardAuthorsItemCreatable; IsAssessmentContentStandardAuthorIncluded = isAssessmentContentStandardAuthorIncluded; SupportedExtensions = supportedExtensions; } @@ -1480,6 +1685,7 @@ IReadOnlyList supportedExtensions public bool IsTitleSupported { get; } public bool IsURISupported { get; } public bool IsVersionSupported { get; } + public bool IsAssessmentContentStandardAuthorsItemCreatable { get; } public Func IsAssessmentContentStandardAuthorIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1514,6 +1720,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "AssessmentContentStandardAuthors": + return IsAssessmentContentStandardAuthorsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1567,6 +1784,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1632,6 +1858,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1712,6 +1947,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1762,7 +2006,9 @@ public AssessmentItemMappingContract( bool isItemTextSupported, bool isMaxRawScoreSupported, bool isNomenclatureSupported, + bool isAssessmentItemLearningStandardsItemCreatable, Func isAssessmentItemLearningStandardIncluded, + bool isAssessmentItemPossibleResponsesItemCreatable, Func isAssessmentItemPossibleResponseIncluded, IReadOnlyList supportedExtensions ) @@ -1776,7 +2022,9 @@ IReadOnlyList supportedExtensions IsItemTextSupported = isItemTextSupported; IsMaxRawScoreSupported = isMaxRawScoreSupported; IsNomenclatureSupported = isNomenclatureSupported; + IsAssessmentItemLearningStandardsItemCreatable = isAssessmentItemLearningStandardsItemCreatable; IsAssessmentItemLearningStandardIncluded = isAssessmentItemLearningStandardIncluded; + IsAssessmentItemPossibleResponsesItemCreatable = isAssessmentItemPossibleResponsesItemCreatable; IsAssessmentItemPossibleResponseIncluded = isAssessmentItemPossibleResponseIncluded; SupportedExtensions = supportedExtensions; } @@ -1790,7 +2038,9 @@ IReadOnlyList supportedExtensions public bool IsItemTextSupported { get; } public bool IsMaxRawScoreSupported { get; } public bool IsNomenclatureSupported { get; } + public bool IsAssessmentItemLearningStandardsItemCreatable { get; } public Func IsAssessmentItemLearningStandardIncluded { get; } + public bool IsAssessmentItemPossibleResponsesItemCreatable { get; } public Func IsAssessmentItemPossibleResponseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -1827,6 +2077,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "AssessmentItemLearningStandards": + return IsAssessmentItemLearningStandardsItemCreatable; + case "AssessmentItemPossibleResponses": + return IsAssessmentItemPossibleResponsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -1907,6 +2170,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -1961,6 +2233,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2026,6 +2307,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2106,6 +2396,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2153,6 +2452,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2234,6 +2542,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2299,6 +2616,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2379,6 +2705,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2426,6 +2761,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2494,6 +2838,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2574,6 +2927,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -2639,6 +3001,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2692,6 +3063,7 @@ public AssessmentScoreRangeLearningStandardMappingContract( bool isMaximumScoreSupported, bool isMinimumScoreSupported, bool isObjectiveAssessmentReferenceSupported, + bool isAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable, Func isAssessmentScoreRangeLearningStandardLearningStandardIncluded, IReadOnlyList supportedExtensions ) @@ -2703,6 +3075,7 @@ IReadOnlyList supportedExtensions IsMaximumScoreSupported = isMaximumScoreSupported; IsMinimumScoreSupported = isMinimumScoreSupported; IsObjectiveAssessmentReferenceSupported = isObjectiveAssessmentReferenceSupported; + IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable = isAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable; IsAssessmentScoreRangeLearningStandardLearningStandardIncluded = isAssessmentScoreRangeLearningStandardLearningStandardIncluded; SupportedExtensions = supportedExtensions; } @@ -2714,6 +3087,7 @@ 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) @@ -2746,6 +3120,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "AssessmentScoreRangeLearningStandardLearningStandards": + return IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2806,6 +3191,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2882,6 +3276,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -2962,6 +3365,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3036,6 +3448,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3110,6 +3531,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3143,18 +3573,21 @@ public class BalanceSheetDimensionMappingContract : IMappingContract, IExtension public BalanceSheetDimensionMappingContract( bool isBalanceSheetDimensionReportingTagsSupported, bool isCodeNameSupported, + bool isBalanceSheetDimensionReportingTagsItemCreatable, Func isBalanceSheetDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsBalanceSheetDimensionReportingTagsSupported = isBalanceSheetDimensionReportingTagsSupported; IsCodeNameSupported = isCodeNameSupported; + IsBalanceSheetDimensionReportingTagsItemCreatable = isBalanceSheetDimensionReportingTagsItemCreatable; IsBalanceSheetDimensionReportingTagIncluded = isBalanceSheetDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsBalanceSheetDimensionReportingTagsSupported { get; } public bool IsCodeNameSupported { get; } + public bool IsBalanceSheetDimensionReportingTagsItemCreatable { get; } public Func IsBalanceSheetDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3175,6 +3608,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "BalanceSheetDimensionReportingTags": + return IsBalanceSheetDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3228,6 +3672,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3308,6 +3761,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3382,6 +3844,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -3427,8 +3898,11 @@ public BellScheduleMappingContract( bool isSchoolReferenceSupported, bool isStartTimeSupported, bool isTotalInstructionalTimeSupported, + bool isBellScheduleClassPeriodsItemCreatable, Func isBellScheduleClassPeriodIncluded, + bool isBellScheduleDatesItemCreatable, Func isBellScheduleDateIncluded, + bool isBellScheduleGradeLevelsItemCreatable, Func isBellScheduleGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -3441,8 +3915,11 @@ IReadOnlyList supportedExtensions IsSchoolReferenceSupported = isSchoolReferenceSupported; IsStartTimeSupported = isStartTimeSupported; IsTotalInstructionalTimeSupported = isTotalInstructionalTimeSupported; + IsBellScheduleClassPeriodsItemCreatable = isBellScheduleClassPeriodsItemCreatable; IsBellScheduleClassPeriodIncluded = isBellScheduleClassPeriodIncluded; + IsBellScheduleDatesItemCreatable = isBellScheduleDatesItemCreatable; IsBellScheduleDateIncluded = isBellScheduleDateIncluded; + IsBellScheduleGradeLevelsItemCreatable = isBellScheduleGradeLevelsItemCreatable; IsBellScheduleGradeLevelIncluded = isBellScheduleGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -3455,8 +3932,11 @@ IReadOnlyList supportedExtensions public bool IsSchoolReferenceSupported { get; } public bool IsStartTimeSupported { get; } public bool IsTotalInstructionalTimeSupported { get; } + public bool IsBellScheduleClassPeriodsItemCreatable { get; } public Func IsBellScheduleClassPeriodIncluded { get; } + public bool IsBellScheduleDatesItemCreatable { get; } public Func IsBellScheduleDateIncluded { get; } + public bool IsBellScheduleGradeLevelsItemCreatable { get; } public Func IsBellScheduleGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -3489,6 +3969,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "BellScheduleClassPeriods": + return IsBellScheduleClassPeriodsItemCreatable; + case "BellScheduleDates": + return IsBellScheduleDatesItemCreatable; + case "BellScheduleGradeLevels": + return IsBellScheduleGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3549,6 +4044,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3602,6 +4106,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3655,6 +4168,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3700,6 +4222,7 @@ public CalendarMappingContract( bool isCalendarTypeDescriptorSupported, bool isSchoolReferenceSupported, bool isSchoolYearTypeReferenceSupported, + bool isCalendarGradeLevelsItemCreatable, Func isCalendarGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -3708,6 +4231,7 @@ IReadOnlyList supportedExtensions IsCalendarTypeDescriptorSupported = isCalendarTypeDescriptorSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsSchoolYearTypeReferenceSupported = isSchoolYearTypeReferenceSupported; + IsCalendarGradeLevelsItemCreatable = isCalendarGradeLevelsItemCreatable; IsCalendarGradeLevelIncluded = isCalendarGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -3716,6 +4240,7 @@ 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) @@ -3742,6 +4267,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CalendarGradeLevels": + return IsCalendarGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3786,18 +4322,21 @@ 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) @@ -3822,6 +4361,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CalendarDateCalendarEvents": + return IsCalendarDateCalendarEventsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3875,6 +4425,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -3955,6 +4514,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4002,6 +4570,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4082,6 +4659,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4156,6 +4742,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4230,6 +4825,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4304,6 +4908,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4384,6 +4997,7 @@ public ChartOfAccountMappingContract( bool isProjectDimensionReferenceSupported, bool isSourceCodeSupported, bool isSourceDimensionReferenceSupported, + bool isChartOfAccountReportingTagsItemCreatable, Func isChartOfAccountReportingTagIncluded, IReadOnlyList supportedExtensions ) @@ -4408,6 +5022,7 @@ IReadOnlyList supportedExtensions IsProjectDimensionReferenceSupported = isProjectDimensionReferenceSupported; IsSourceCodeSupported = isSourceCodeSupported; IsSourceDimensionReferenceSupported = isSourceDimensionReferenceSupported; + IsChartOfAccountReportingTagsItemCreatable = isChartOfAccountReportingTagsItemCreatable; IsChartOfAccountReportingTagIncluded = isChartOfAccountReportingTagIncluded; SupportedExtensions = supportedExtensions; } @@ -4432,6 +5047,7 @@ 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) @@ -4490,6 +5106,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ChartOfAccountReportingTags": + return IsChartOfAccountReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4549,6 +5176,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4629,6 +5265,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4664,6 +5309,7 @@ public ClassPeriodMappingContract( bool isClassPeriodMeetingTimesSupported, bool isOfficialAttendancePeriodSupported, bool isSchoolReferenceSupported, + bool isClassPeriodMeetingTimesItemCreatable, Func isClassPeriodMeetingTimeIncluded, IReadOnlyList supportedExtensions ) @@ -4671,6 +5317,7 @@ IReadOnlyList supportedExtensions IsClassPeriodMeetingTimesSupported = isClassPeriodMeetingTimesSupported; IsOfficialAttendancePeriodSupported = isOfficialAttendancePeriodSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; + IsClassPeriodMeetingTimesItemCreatable = isClassPeriodMeetingTimesItemCreatable; IsClassPeriodMeetingTimeIncluded = isClassPeriodMeetingTimeIncluded; SupportedExtensions = supportedExtensions; } @@ -4678,6 +5325,7 @@ 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) @@ -4700,6 +5348,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ClassPeriodMeetingTimes": + return IsClassPeriodMeetingTimesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4757,6 +5416,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4837,6 +5505,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -4879,6 +5556,7 @@ public CohortMappingContract( bool isCohortScopeDescriptorSupported, bool isCohortTypeDescriptorSupported, bool isEducationOrganizationReferenceSupported, + bool isCohortProgramsItemCreatable, Func isCohortProgramIncluded, IReadOnlyList supportedExtensions ) @@ -4889,6 +5567,7 @@ IReadOnlyList supportedExtensions IsCohortScopeDescriptorSupported = isCohortScopeDescriptorSupported; IsCohortTypeDescriptorSupported = isCohortTypeDescriptorSupported; IsEducationOrganizationReferenceSupported = isEducationOrganizationReferenceSupported; + IsCohortProgramsItemCreatable = isCohortProgramsItemCreatable; IsCohortProgramIncluded = isCohortProgramIncluded; SupportedExtensions = supportedExtensions; } @@ -4899,6 +5578,7 @@ 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) @@ -4927,6 +5607,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CohortPrograms": + return IsCohortProgramsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -4995,6 +5686,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5075,6 +5775,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5149,6 +5858,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5223,6 +5941,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5260,11 +5987,17 @@ public CommunityOrganizationMappingContract( bool isOperationalStatusDescriptorSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -5279,11 +6012,17 @@ IReadOnlyList supportedExtensions IsOperationalStatusDescriptorSupported = isOperationalStatusDescriptorSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -5298,11 +6037,17 @@ IReadOnlyList supportedExtensions public bool IsOperationalStatusDescriptorSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -5337,6 +6082,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5394,11 +6160,17 @@ public CommunityProviderMappingContract( bool isSchoolIndicatorSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -5420,11 +6192,17 @@ IReadOnlyList supportedExtensions IsSchoolIndicatorSupported = isSchoolIndicatorSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -5446,11 +6224,17 @@ IReadOnlyList supportedExtensions public bool IsSchoolIndicatorSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -5499,6 +6283,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5613,6 +6418,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5693,6 +6507,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -5772,6 +6595,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -5851,12 +6683,19 @@ public ContactMappingContract( bool isPreferredLastSurnameSupported, bool isSexDescriptorSupported, bool isSourceSystemDescriptorSupported, + bool isContactAddressesItemCreatable, Func isContactAddressIncluded, + bool isContactElectronicMailsItemCreatable, Func isContactElectronicMailIncluded, + bool isContactInternationalAddressesItemCreatable, Func isContactInternationalAddressIncluded, + bool isContactLanguagesItemCreatable, Func isContactLanguageIncluded, + bool isContactOtherNamesItemCreatable, Func isContactOtherNameIncluded, + bool isContactPersonalIdentificationDocumentsItemCreatable, Func isContactPersonalIdentificationDocumentIncluded, + bool isContactTelephonesItemCreatable, Func isContactTelephoneIncluded, IReadOnlyList supportedExtensions ) @@ -5884,12 +6723,19 @@ IReadOnlyList supportedExtensions IsPreferredLastSurnameSupported = isPreferredLastSurnameSupported; IsSexDescriptorSupported = isSexDescriptorSupported; IsSourceSystemDescriptorSupported = isSourceSystemDescriptorSupported; + IsContactAddressesItemCreatable = isContactAddressesItemCreatable; IsContactAddressIncluded = isContactAddressIncluded; + IsContactElectronicMailsItemCreatable = isContactElectronicMailsItemCreatable; IsContactElectronicMailIncluded = isContactElectronicMailIncluded; + IsContactInternationalAddressesItemCreatable = isContactInternationalAddressesItemCreatable; IsContactInternationalAddressIncluded = isContactInternationalAddressIncluded; + IsContactLanguagesItemCreatable = isContactLanguagesItemCreatable; IsContactLanguageIncluded = isContactLanguageIncluded; + IsContactOtherNamesItemCreatable = isContactOtherNamesItemCreatable; IsContactOtherNameIncluded = isContactOtherNameIncluded; + IsContactPersonalIdentificationDocumentsItemCreatable = isContactPersonalIdentificationDocumentsItemCreatable; IsContactPersonalIdentificationDocumentIncluded = isContactPersonalIdentificationDocumentIncluded; + IsContactTelephonesItemCreatable = isContactTelephonesItemCreatable; IsContactTelephoneIncluded = isContactTelephoneIncluded; SupportedExtensions = supportedExtensions; } @@ -5917,12 +6763,19 @@ IReadOnlyList supportedExtensions public bool IsPreferredLastSurnameSupported { get; } public bool IsSexDescriptorSupported { get; } public bool IsSourceSystemDescriptorSupported { get; } + public bool IsContactAddressesItemCreatable { get; } public Func IsContactAddressIncluded { get; } + public bool IsContactElectronicMailsItemCreatable { get; } public Func IsContactElectronicMailIncluded { get; } + public bool IsContactInternationalAddressesItemCreatable { get; } public Func IsContactInternationalAddressIncluded { get; } + public bool IsContactLanguagesItemCreatable { get; } public Func IsContactLanguageIncluded { get; } + public bool IsContactOtherNamesItemCreatable { get; } public Func IsContactOtherNameIncluded { get; } + public bool IsContactPersonalIdentificationDocumentsItemCreatable { get; } public Func IsContactPersonalIdentificationDocumentIncluded { get; } + public bool IsContactTelephonesItemCreatable { get; } public Func IsContactTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -5981,6 +6834,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ContactAddresses": + return IsContactAddressesItemCreatable; + case "ContactElectronicMails": + return IsContactElectronicMailsItemCreatable; + case "ContactInternationalAddresses": + return IsContactInternationalAddressesItemCreatable; + case "ContactLanguages": + return IsContactLanguagesItemCreatable; + case "ContactOtherNames": + return IsContactOtherNamesItemCreatable; + case "ContactPersonalIdentificationDocuments": + return IsContactPersonalIdentificationDocumentsItemCreatable; + case "ContactTelephones": + return IsContactTelephonesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6043,6 +6919,7 @@ public ContactAddressMappingContract( bool isLocaleDescriptorSupported, bool isLongitudeSupported, bool isNameOfCountySupported, + bool isContactAddressPeriodsItemCreatable, Func isContactAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -6057,6 +6934,7 @@ IReadOnlyList supportedExtensions IsLocaleDescriptorSupported = isLocaleDescriptorSupported; IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; + IsContactAddressPeriodsItemCreatable = isContactAddressPeriodsItemCreatable; IsContactAddressPeriodIncluded = isContactAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -6071,6 +6949,7 @@ IReadOnlyList supportedExtensions public bool IsLocaleDescriptorSupported { get; } public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } + public bool IsContactAddressPeriodsItemCreatable { get; } public Func IsContactAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -6113,6 +6992,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ContactAddressPeriods": + return IsContactAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6172,6 +7062,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6241,6 +7140,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6348,6 +7256,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6384,16 +7301,19 @@ public class ContactLanguageMappingContract : IMappingContract, IExtensionsMappi { public ContactLanguageMappingContract( bool isContactLanguageUsesSupported, + bool isContactLanguageUsesItemCreatable, Func isContactLanguageUseIncluded, IReadOnlyList supportedExtensions ) { IsContactLanguageUsesSupported = isContactLanguageUsesSupported; + IsContactLanguageUsesItemCreatable = isContactLanguageUsesItemCreatable; IsContactLanguageUseIncluded = isContactLanguageUseIncluded; SupportedExtensions = supportedExtensions; } public bool IsContactLanguageUsesSupported { get; } + public bool IsContactLanguageUsesItemCreatable { get; } public Func IsContactLanguageUseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -6410,6 +7330,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ContactLanguageUses": + return IsContactLanguageUsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6463,6 +7394,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6546,6 +7486,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6633,6 +7582,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6708,6 +7666,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -6788,6 +7755,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6862,6 +7838,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -6936,6 +7921,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7010,6 +8004,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7084,6 +8087,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7160,11 +8172,17 @@ public CourseMappingContract( bool isMinimumAvailableCreditTypeDescriptorSupported, bool isNumberOfPartsSupported, bool isTimeRequiredForCompletionSupported, + bool isCourseAcademicSubjectsItemCreatable, Func isCourseAcademicSubjectIncluded, + bool isCourseCompetencyLevelsItemCreatable, Func isCourseCompetencyLevelIncluded, + bool isCourseIdentificationCodesItemCreatable, Func isCourseIdentificationCodeIncluded, + bool isCourseLearningStandardsItemCreatable, Func isCourseLearningStandardIncluded, + bool isCourseLevelCharacteristicsItemCreatable, Func isCourseLevelCharacteristicIncluded, + bool isCourseOfferedGradeLevelsItemCreatable, Func isCourseOfferedGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -7192,11 +8210,17 @@ IReadOnlyList supportedExtensions IsMinimumAvailableCreditTypeDescriptorSupported = isMinimumAvailableCreditTypeDescriptorSupported; IsNumberOfPartsSupported = isNumberOfPartsSupported; IsTimeRequiredForCompletionSupported = isTimeRequiredForCompletionSupported; + IsCourseAcademicSubjectsItemCreatable = isCourseAcademicSubjectsItemCreatable; IsCourseAcademicSubjectIncluded = isCourseAcademicSubjectIncluded; + IsCourseCompetencyLevelsItemCreatable = isCourseCompetencyLevelsItemCreatable; IsCourseCompetencyLevelIncluded = isCourseCompetencyLevelIncluded; + IsCourseIdentificationCodesItemCreatable = isCourseIdentificationCodesItemCreatable; IsCourseIdentificationCodeIncluded = isCourseIdentificationCodeIncluded; + IsCourseLearningStandardsItemCreatable = isCourseLearningStandardsItemCreatable; IsCourseLearningStandardIncluded = isCourseLearningStandardIncluded; + IsCourseLevelCharacteristicsItemCreatable = isCourseLevelCharacteristicsItemCreatable; IsCourseLevelCharacteristicIncluded = isCourseLevelCharacteristicIncluded; + IsCourseOfferedGradeLevelsItemCreatable = isCourseOfferedGradeLevelsItemCreatable; IsCourseOfferedGradeLevelIncluded = isCourseOfferedGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -7224,11 +8248,17 @@ IReadOnlyList supportedExtensions public bool IsMinimumAvailableCreditTypeDescriptorSupported { get; } public bool IsNumberOfPartsSupported { get; } public bool IsTimeRequiredForCompletionSupported { get; } + public bool IsCourseAcademicSubjectsItemCreatable { get; } public Func IsCourseAcademicSubjectIncluded { get; } + public bool IsCourseCompetencyLevelsItemCreatable { get; } public Func IsCourseCompetencyLevelIncluded { get; } + public bool IsCourseIdentificationCodesItemCreatable { get; } public Func IsCourseIdentificationCodeIncluded { get; } + public bool IsCourseLearningStandardsItemCreatable { get; } public Func IsCourseLearningStandardIncluded { get; } + public bool IsCourseLevelCharacteristicsItemCreatable { get; } public Func IsCourseLevelCharacteristicIncluded { get; } + public bool IsCourseOfferedGradeLevelsItemCreatable { get; } public Func IsCourseOfferedGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -7291,6 +8321,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CourseAcademicSubjects": + return IsCourseAcademicSubjectsItemCreatable; + case "CourseCompetencyLevels": + return IsCourseCompetencyLevelsItemCreatable; + case "CourseIdentificationCodes": + return IsCourseIdentificationCodesItemCreatable; + case "CourseLearningStandards": + return IsCourseLearningStandardsItemCreatable; + case "CourseLevelCharacteristics": + return IsCourseLevelCharacteristicsItemCreatable; + case "CourseOfferedGradeLevels": + return IsCourseOfferedGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7344,6 +8395,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7424,6 +8484,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7471,6 +8540,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7551,6 +8629,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7625,6 +8712,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7690,6 +8786,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7770,6 +8875,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -7824,6 +8938,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7877,6 +9000,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -7957,6 +9089,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8004,6 +9145,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8065,8 +9215,11 @@ public CourseOfferingMappingContract( bool isLocalCourseTitleSupported, bool isSchoolReferenceSupported, bool isSessionReferenceSupported, + bool isCourseOfferingCourseLevelCharacteristicsItemCreatable, Func isCourseOfferingCourseLevelCharacteristicIncluded, + bool isCourseOfferingCurriculumUsedsItemCreatable, Func isCourseOfferingCurriculumUsedIncluded, + bool isCourseOfferingOfferedGradeLevelsItemCreatable, Func isCourseOfferingOfferedGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -8081,8 +9234,11 @@ IReadOnlyList supportedExtensions IsLocalCourseTitleSupported = isLocalCourseTitleSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsSessionReferenceSupported = isSessionReferenceSupported; + IsCourseOfferingCourseLevelCharacteristicsItemCreatable = isCourseOfferingCourseLevelCharacteristicsItemCreatable; IsCourseOfferingCourseLevelCharacteristicIncluded = isCourseOfferingCourseLevelCharacteristicIncluded; + IsCourseOfferingCurriculumUsedsItemCreatable = isCourseOfferingCurriculumUsedsItemCreatable; IsCourseOfferingCurriculumUsedIncluded = isCourseOfferingCurriculumUsedIncluded; + IsCourseOfferingOfferedGradeLevelsItemCreatable = isCourseOfferingOfferedGradeLevelsItemCreatable; IsCourseOfferingOfferedGradeLevelIncluded = isCourseOfferingOfferedGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -8097,8 +9253,11 @@ 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; } + public bool IsCourseOfferingOfferedGradeLevelsItemCreatable { get; } public Func IsCourseOfferingOfferedGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -8139,6 +9298,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CourseOfferingCourseLevelCharacteristics": + return IsCourseOfferingCourseLevelCharacteristicsItemCreatable; + case "CourseOfferingCurriculumUseds": + return IsCourseOfferingCurriculumUsedsItemCreatable; + case "CourseOfferingOfferedGradeLevels": + return IsCourseOfferingOfferedGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8192,6 +9366,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8245,6 +9428,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8298,6 +9490,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8378,6 +9579,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -8479,12 +9689,19 @@ public CourseTranscriptMappingContract( bool isResponsibleTeacherStaffUniqueIdSupported, bool isStudentAcademicRecordReferenceSupported, bool isWhenTakenGradeLevelDescriptorSupported, + bool isCourseTranscriptAcademicSubjectsItemCreatable, Func isCourseTranscriptAcademicSubjectIncluded, + bool isCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable, Func isCourseTranscriptAlternativeCourseIdentificationCodeIncluded, + bool isCourseTranscriptCourseProgramsItemCreatable, Func isCourseTranscriptCourseProgramIncluded, + bool isCourseTranscriptCreditCategoriesItemCreatable, Func isCourseTranscriptCreditCategoryIncluded, + bool isCourseTranscriptEarnedAdditionalCreditsItemCreatable, Func isCourseTranscriptEarnedAdditionalCreditsIncluded, + bool isCourseTranscriptPartialCourseTranscriptAwardsItemCreatable, Func isCourseTranscriptPartialCourseTranscriptAwardsIncluded, + bool isCourseTranscriptSectionsItemCreatable, Func isCourseTranscriptSectionIncluded, IReadOnlyList supportedExtensions ) @@ -8518,12 +9735,19 @@ IReadOnlyList supportedExtensions IsResponsibleTeacherStaffUniqueIdSupported = isResponsibleTeacherStaffUniqueIdSupported; IsStudentAcademicRecordReferenceSupported = isStudentAcademicRecordReferenceSupported; IsWhenTakenGradeLevelDescriptorSupported = isWhenTakenGradeLevelDescriptorSupported; + IsCourseTranscriptAcademicSubjectsItemCreatable = isCourseTranscriptAcademicSubjectsItemCreatable; IsCourseTranscriptAcademicSubjectIncluded = isCourseTranscriptAcademicSubjectIncluded; + IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable = isCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable; IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded = isCourseTranscriptAlternativeCourseIdentificationCodeIncluded; + IsCourseTranscriptCourseProgramsItemCreatable = isCourseTranscriptCourseProgramsItemCreatable; IsCourseTranscriptCourseProgramIncluded = isCourseTranscriptCourseProgramIncluded; + IsCourseTranscriptCreditCategoriesItemCreatable = isCourseTranscriptCreditCategoriesItemCreatable; IsCourseTranscriptCreditCategoryIncluded = isCourseTranscriptCreditCategoryIncluded; + IsCourseTranscriptEarnedAdditionalCreditsItemCreatable = isCourseTranscriptEarnedAdditionalCreditsItemCreatable; IsCourseTranscriptEarnedAdditionalCreditsIncluded = isCourseTranscriptEarnedAdditionalCreditsIncluded; + IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable = isCourseTranscriptPartialCourseTranscriptAwardsItemCreatable; IsCourseTranscriptPartialCourseTranscriptAwardsIncluded = isCourseTranscriptPartialCourseTranscriptAwardsIncluded; + IsCourseTranscriptSectionsItemCreatable = isCourseTranscriptSectionsItemCreatable; IsCourseTranscriptSectionIncluded = isCourseTranscriptSectionIncluded; SupportedExtensions = supportedExtensions; } @@ -8557,12 +9781,19 @@ IReadOnlyList supportedExtensions public bool IsResponsibleTeacherStaffUniqueIdSupported { get; } public bool IsStudentAcademicRecordReferenceSupported { get; } public bool IsWhenTakenGradeLevelDescriptorSupported { get; } + public bool IsCourseTranscriptAcademicSubjectsItemCreatable { get; } public Func IsCourseTranscriptAcademicSubjectIncluded { get; } + public bool IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable { get; } public Func IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded { get; } + public bool IsCourseTranscriptCourseProgramsItemCreatable { get; } public Func IsCourseTranscriptCourseProgramIncluded { get; } + public bool IsCourseTranscriptCreditCategoriesItemCreatable { get; } public Func IsCourseTranscriptCreditCategoryIncluded { get; } + public bool IsCourseTranscriptEarnedAdditionalCreditsItemCreatable { get; } public Func IsCourseTranscriptEarnedAdditionalCreditsIncluded { get; } + public bool IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable { get; } public Func IsCourseTranscriptPartialCourseTranscriptAwardsIncluded { get; } + public bool IsCourseTranscriptSectionsItemCreatable { get; } public Func IsCourseTranscriptSectionIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -8647,6 +9878,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CourseTranscriptAcademicSubjects": + return IsCourseTranscriptAcademicSubjectsItemCreatable; + case "CourseTranscriptAlternativeCourseIdentificationCodes": + return IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable; + case "CourseTranscriptCoursePrograms": + return IsCourseTranscriptCourseProgramsItemCreatable; + case "CourseTranscriptCreditCategories": + return IsCourseTranscriptCreditCategoriesItemCreatable; + case "CourseTranscriptEarnedAdditionalCredits": + return IsCourseTranscriptEarnedAdditionalCreditsItemCreatable; + case "CourseTranscriptPartialCourseTranscriptAwards": + return IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable; + case "CourseTranscriptSections": + return IsCourseTranscriptSectionsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8700,6 +9954,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8771,6 +10034,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8835,6 +10107,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8888,6 +10169,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -8947,6 +10237,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9024,6 +10323,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9096,6 +10404,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9153,8 +10470,11 @@ public CredentialMappingContract( bool isNamespaceSupported, bool isTeachingCredentialBasisDescriptorSupported, bool isTeachingCredentialDescriptorSupported, + bool isCredentialAcademicSubjectsItemCreatable, Func isCredentialAcademicSubjectIncluded, + bool isCredentialEndorsementsItemCreatable, Func isCredentialEndorsementIncluded, + bool isCredentialGradeLevelsItemCreatable, Func isCredentialGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -9170,8 +10490,11 @@ IReadOnlyList supportedExtensions IsNamespaceSupported = isNamespaceSupported; IsTeachingCredentialBasisDescriptorSupported = isTeachingCredentialBasisDescriptorSupported; IsTeachingCredentialDescriptorSupported = isTeachingCredentialDescriptorSupported; + IsCredentialAcademicSubjectsItemCreatable = isCredentialAcademicSubjectsItemCreatable; IsCredentialAcademicSubjectIncluded = isCredentialAcademicSubjectIncluded; + IsCredentialEndorsementsItemCreatable = isCredentialEndorsementsItemCreatable; IsCredentialEndorsementIncluded = isCredentialEndorsementIncluded; + IsCredentialGradeLevelsItemCreatable = isCredentialGradeLevelsItemCreatable; IsCredentialGradeLevelIncluded = isCredentialGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -9187,8 +10510,11 @@ IReadOnlyList supportedExtensions public bool IsNamespaceSupported { get; } public bool IsTeachingCredentialBasisDescriptorSupported { get; } public bool IsTeachingCredentialDescriptorSupported { get; } + public bool IsCredentialAcademicSubjectsItemCreatable { get; } public Func IsCredentialAcademicSubjectIncluded { get; } + public bool IsCredentialEndorsementsItemCreatable { get; } public Func IsCredentialEndorsementIncluded { get; } + public bool IsCredentialGradeLevelsItemCreatable { get; } public Func IsCredentialGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -9227,6 +10553,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "CredentialAcademicSubjects": + return IsCredentialAcademicSubjectsItemCreatable; + case "CredentialEndorsements": + return IsCredentialEndorsementsItemCreatable; + case "CredentialGradeLevels": + return IsCredentialGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9280,6 +10621,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9333,6 +10683,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9413,6 +10772,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9460,6 +10828,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -9540,6 +10917,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9614,6 +11000,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9688,6 +11083,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9762,6 +11166,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9836,6 +11249,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9910,6 +11332,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -9990,6 +11421,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10025,16 +11465,19 @@ public class DescriptorMappingMappingContract : IMappingContract, IExtensionsMap { public DescriptorMappingMappingContract( bool isDescriptorMappingModelEntitiesSupported, + bool isDescriptorMappingModelEntitiesItemCreatable, Func isDescriptorMappingModelEntityIncluded, IReadOnlyList supportedExtensions ) { IsDescriptorMappingModelEntitiesSupported = isDescriptorMappingModelEntitiesSupported; + IsDescriptorMappingModelEntitiesItemCreatable = isDescriptorMappingModelEntitiesItemCreatable; IsDescriptorMappingModelEntityIncluded = isDescriptorMappingModelEntityIncluded; SupportedExtensions = supportedExtensions; } public bool IsDescriptorMappingModelEntitiesSupported { get; } + public bool IsDescriptorMappingModelEntitiesItemCreatable { get; } public Func IsDescriptorMappingModelEntityIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -10057,6 +11500,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "DescriptorMappingModelEntities": + return IsDescriptorMappingModelEntitiesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10110,6 +11564,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10190,6 +11653,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10264,6 +11736,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10338,6 +11819,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10412,6 +11902,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10486,6 +11985,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10560,6 +12068,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10618,8 +12135,11 @@ public DisciplineActionMappingContract( bool isResponsibilitySchoolIdSupported, bool isResponsibilitySchoolReferenceSupported, bool isStudentReferenceSupported, + bool isDisciplineActionDisciplinesItemCreatable, Func isDisciplineActionDisciplineIncluded, + bool isDisciplineActionStaffsItemCreatable, Func isDisciplineActionStaffIncluded, + bool isDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable, Func isDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded, IReadOnlyList supportedExtensions ) @@ -10637,8 +12157,11 @@ IReadOnlyList supportedExtensions IsResponsibilitySchoolIdSupported = isResponsibilitySchoolIdSupported; IsResponsibilitySchoolReferenceSupported = isResponsibilitySchoolReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsDisciplineActionDisciplinesItemCreatable = isDisciplineActionDisciplinesItemCreatable; IsDisciplineActionDisciplineIncluded = isDisciplineActionDisciplineIncluded; + IsDisciplineActionStaffsItemCreatable = isDisciplineActionStaffsItemCreatable; IsDisciplineActionStaffIncluded = isDisciplineActionStaffIncluded; + IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable = isDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable; IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded = isDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded; SupportedExtensions = supportedExtensions; } @@ -10656,8 +12179,11 @@ 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; } + public bool IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable { get; } public Func IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -10702,6 +12228,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "DisciplineActionDisciplines": + return IsDisciplineActionDisciplinesItemCreatable; + case "DisciplineActionStaffs": + return IsDisciplineActionStaffsItemCreatable; + case "DisciplineActionStudentDisciplineIncidentBehaviorAssociations": + return IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10755,6 +12296,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10835,6 +12385,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -10889,6 +12448,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -10957,6 +12525,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11037,6 +12614,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -11092,8 +12678,11 @@ public DisciplineIncidentMappingContract( bool isReporterDescriptionDescriptorSupported, bool isReporterNameSupported, bool isSchoolReferenceSupported, + bool isDisciplineIncidentBehaviorsItemCreatable, Func isDisciplineIncidentBehaviorIncluded, + bool isDisciplineIncidentExternalParticipantsItemCreatable, Func isDisciplineIncidentExternalParticipantIncluded, + bool isDisciplineIncidentWeaponsItemCreatable, Func isDisciplineIncidentWeaponIncluded, IReadOnlyList supportedExtensions ) @@ -11111,8 +12700,11 @@ IReadOnlyList supportedExtensions IsReporterDescriptionDescriptorSupported = isReporterDescriptionDescriptorSupported; IsReporterNameSupported = isReporterNameSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; + IsDisciplineIncidentBehaviorsItemCreatable = isDisciplineIncidentBehaviorsItemCreatable; IsDisciplineIncidentBehaviorIncluded = isDisciplineIncidentBehaviorIncluded; + IsDisciplineIncidentExternalParticipantsItemCreatable = isDisciplineIncidentExternalParticipantsItemCreatable; IsDisciplineIncidentExternalParticipantIncluded = isDisciplineIncidentExternalParticipantIncluded; + IsDisciplineIncidentWeaponsItemCreatable = isDisciplineIncidentWeaponsItemCreatable; IsDisciplineIncidentWeaponIncluded = isDisciplineIncidentWeaponIncluded; SupportedExtensions = supportedExtensions; } @@ -11130,8 +12722,11 @@ 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; } + public bool IsDisciplineIncidentWeaponsItemCreatable { get; } public Func IsDisciplineIncidentWeaponIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -11174,6 +12769,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "DisciplineIncidentBehaviors": + return IsDisciplineIncidentBehaviorsItemCreatable; + case "DisciplineIncidentExternalParticipants": + return IsDisciplineIncidentExternalParticipantsItemCreatable; + case "DisciplineIncidentWeapons": + return IsDisciplineIncidentWeaponsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11233,6 +12843,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11294,6 +12913,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11374,6 +13002,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -11421,6 +13058,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11501,6 +13147,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -11577,12 +13232,19 @@ public EducationContentMappingContract( bool isTimeRequiredSupported, bool isUseRightsURLSupported, bool isVersionSupported, + bool isEducationContentAppropriateGradeLevelsItemCreatable, Func isEducationContentAppropriateGradeLevelIncluded, + bool isEducationContentAppropriateSexesItemCreatable, Func isEducationContentAppropriateSexIncluded, + bool isEducationContentAuthorsItemCreatable, Func isEducationContentAuthorIncluded, + bool isEducationContentDerivativeSourceEducationContentsItemCreatable, Func isEducationContentDerivativeSourceEducationContentIncluded, + bool isEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable, Func isEducationContentDerivativeSourceLearningResourceMetadataURIIncluded, + bool isEducationContentDerivativeSourceURIsItemCreatable, Func isEducationContentDerivativeSourceURIIncluded, + bool isEducationContentLanguagesItemCreatable, Func isEducationContentLanguageIncluded, IReadOnlyList supportedExtensions ) @@ -11611,12 +13273,19 @@ IReadOnlyList supportedExtensions IsTimeRequiredSupported = isTimeRequiredSupported; IsUseRightsURLSupported = isUseRightsURLSupported; IsVersionSupported = isVersionSupported; + IsEducationContentAppropriateGradeLevelsItemCreatable = isEducationContentAppropriateGradeLevelsItemCreatable; IsEducationContentAppropriateGradeLevelIncluded = isEducationContentAppropriateGradeLevelIncluded; + IsEducationContentAppropriateSexesItemCreatable = isEducationContentAppropriateSexesItemCreatable; IsEducationContentAppropriateSexIncluded = isEducationContentAppropriateSexIncluded; + IsEducationContentAuthorsItemCreatable = isEducationContentAuthorsItemCreatable; IsEducationContentAuthorIncluded = isEducationContentAuthorIncluded; + IsEducationContentDerivativeSourceEducationContentsItemCreatable = isEducationContentDerivativeSourceEducationContentsItemCreatable; IsEducationContentDerivativeSourceEducationContentIncluded = isEducationContentDerivativeSourceEducationContentIncluded; + IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable = isEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable; IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded = isEducationContentDerivativeSourceLearningResourceMetadataURIIncluded; + IsEducationContentDerivativeSourceURIsItemCreatable = isEducationContentDerivativeSourceURIsItemCreatable; IsEducationContentDerivativeSourceURIIncluded = isEducationContentDerivativeSourceURIIncluded; + IsEducationContentLanguagesItemCreatable = isEducationContentLanguagesItemCreatable; IsEducationContentLanguageIncluded = isEducationContentLanguageIncluded; SupportedExtensions = supportedExtensions; } @@ -11645,12 +13314,19 @@ IReadOnlyList supportedExtensions public bool IsTimeRequiredSupported { get; } public bool IsUseRightsURLSupported { get; } public bool IsVersionSupported { get; } + public bool IsEducationContentAppropriateGradeLevelsItemCreatable { get; } public Func IsEducationContentAppropriateGradeLevelIncluded { get; } + public bool IsEducationContentAppropriateSexesItemCreatable { get; } public Func IsEducationContentAppropriateSexIncluded { get; } + public bool IsEducationContentAuthorsItemCreatable { get; } public Func IsEducationContentAuthorIncluded { get; } + public bool IsEducationContentDerivativeSourceEducationContentsItemCreatable { get; } public Func IsEducationContentDerivativeSourceEducationContentIncluded { get; } + public bool IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable { get; } public Func IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded { get; } + public bool IsEducationContentDerivativeSourceURIsItemCreatable { get; } public Func IsEducationContentDerivativeSourceURIIncluded { get; } + public bool IsEducationContentLanguagesItemCreatable { get; } public Func IsEducationContentLanguageIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -11713,6 +13389,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationContentAppropriateGradeLevels": + return IsEducationContentAppropriateGradeLevelsItemCreatable; + case "EducationContentAppropriateSexes": + return IsEducationContentAppropriateSexesItemCreatable; + case "EducationContentAuthors": + return IsEducationContentAuthorsItemCreatable; + case "EducationContentDerivativeSourceEducationContents": + return IsEducationContentDerivativeSourceEducationContentsItemCreatable; + case "EducationContentDerivativeSourceLearningResourceMetadataURIs": + return IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable; + case "EducationContentDerivativeSourceURIs": + return IsEducationContentDerivativeSourceURIsItemCreatable; + case "EducationContentLanguages": + return IsEducationContentLanguagesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11766,6 +13465,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11819,6 +13527,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11872,6 +13589,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11932,6 +13658,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -11985,6 +13720,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12038,6 +13782,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12091,6 +13844,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12144,11 +13906,17 @@ public EducationOrganizationMappingContract( bool isOperationalStatusDescriptorSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded ) { @@ -12162,11 +13930,17 @@ Func isEducationOrganizationIn IsOperationalStatusDescriptorSupported = isOperationalStatusDescriptorSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; } @@ -12180,11 +13954,17 @@ Func isEducationOrganizationIn public bool IsOperationalStatusDescriptorSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -12219,6 +13999,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -12275,6 +14076,7 @@ public EducationOrganizationAddressMappingContract( bool isLocaleDescriptorSupported, bool isLongitudeSupported, bool isNameOfCountySupported, + bool isEducationOrganizationAddressPeriodsItemCreatable, Func isEducationOrganizationAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -12289,6 +14091,7 @@ IReadOnlyList supportedExtensions IsLocaleDescriptorSupported = isLocaleDescriptorSupported; IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; + IsEducationOrganizationAddressPeriodsItemCreatable = isEducationOrganizationAddressPeriodsItemCreatable; IsEducationOrganizationAddressPeriodIncluded = isEducationOrganizationAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -12303,6 +14106,7 @@ IReadOnlyList supportedExtensions public bool IsLocaleDescriptorSupported { get; } public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } + public bool IsEducationOrganizationAddressPeriodsItemCreatable { get; } public Func IsEducationOrganizationAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -12345,6 +14149,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddressPeriods": + return IsEducationOrganizationAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12404,6 +14219,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12484,6 +14308,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -12531,6 +14364,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12611,6 +14453,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -12664,6 +14515,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12744,6 +14604,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -12782,6 +14651,7 @@ public EducationOrganizationIndicatorMappingContract( bool isIndicatorGroupDescriptorSupported, bool isIndicatorLevelDescriptorSupported, bool isIndicatorValueSupported, + bool isEducationOrganizationIndicatorPeriodsItemCreatable, Func isEducationOrganizationIndicatorPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -12791,6 +14661,7 @@ IReadOnlyList supportedExtensions IsIndicatorGroupDescriptorSupported = isIndicatorGroupDescriptorSupported; IsIndicatorLevelDescriptorSupported = isIndicatorLevelDescriptorSupported; IsIndicatorValueSupported = isIndicatorValueSupported; + IsEducationOrganizationIndicatorPeriodsItemCreatable = isEducationOrganizationIndicatorPeriodsItemCreatable; IsEducationOrganizationIndicatorPeriodIncluded = isEducationOrganizationIndicatorPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -12800,6 +14671,7 @@ IReadOnlyList supportedExtensions public bool IsIndicatorGroupDescriptorSupported { get; } public bool IsIndicatorLevelDescriptorSupported { get; } public bool IsIndicatorValueSupported { get; } + public bool IsEducationOrganizationIndicatorPeriodsItemCreatable { get; } public Func IsEducationOrganizationIndicatorPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -12824,6 +14696,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationIndicatorPeriods": + return IsEducationOrganizationIndicatorPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12883,6 +14766,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -12942,6 +14834,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13049,6 +14950,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13135,6 +15045,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13180,11 +15099,17 @@ public EducationOrganizationNetworkMappingContract( bool isOperationalStatusDescriptorSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -13200,11 +15125,17 @@ IReadOnlyList supportedExtensions IsOperationalStatusDescriptorSupported = isOperationalStatusDescriptorSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -13220,11 +15151,17 @@ IReadOnlyList supportedExtensions public bool IsOperationalStatusDescriptorSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -13261,6 +15198,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13342,6 +15300,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13412,6 +15379,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13492,6 +15468,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13533,11 +15518,17 @@ public EducationServiceCenterMappingContract( bool isStateEducationAgencyIdSupported, bool isStateEducationAgencyReferenceSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -13554,11 +15545,17 @@ IReadOnlyList supportedExtensions IsStateEducationAgencyIdSupported = isStateEducationAgencyIdSupported; IsStateEducationAgencyReferenceSupported = isStateEducationAgencyReferenceSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -13575,11 +15572,17 @@ IReadOnlyList supportedExtensions public bool IsStateEducationAgencyIdSupported { get; } public bool IsStateEducationAgencyReferenceSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -13618,6 +15621,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -13698,6 +15722,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13772,6 +15805,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13846,6 +15888,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13920,6 +15971,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -13994,6 +16054,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14068,6 +16137,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14142,6 +16220,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14216,6 +16303,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14315,6 +16411,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14395,6 +16500,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14469,6 +16583,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14547,6 +16670,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14627,6 +16759,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -14660,18 +16801,21 @@ public class FunctionDimensionMappingContract : IMappingContract, IExtensionsMap public FunctionDimensionMappingContract( bool isCodeNameSupported, bool isFunctionDimensionReportingTagsSupported, + bool isFunctionDimensionReportingTagsItemCreatable, Func isFunctionDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsFunctionDimensionReportingTagsSupported = isFunctionDimensionReportingTagsSupported; + IsFunctionDimensionReportingTagsItemCreatable = isFunctionDimensionReportingTagsItemCreatable; IsFunctionDimensionReportingTagIncluded = isFunctionDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsFunctionDimensionReportingTagsSupported { get; } + public bool IsFunctionDimensionReportingTagsItemCreatable { get; } public Func IsFunctionDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -14692,6 +16836,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "FunctionDimensionReportingTags": + return IsFunctionDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14745,6 +16900,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14784,18 +16948,21 @@ public class FundDimensionMappingContract : IMappingContract, IExtensionsMapping public FundDimensionMappingContract( bool isCodeNameSupported, bool isFundDimensionReportingTagsSupported, + bool isFundDimensionReportingTagsItemCreatable, Func isFundDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsFundDimensionReportingTagsSupported = isFundDimensionReportingTagsSupported; + IsFundDimensionReportingTagsItemCreatable = isFundDimensionReportingTagsItemCreatable; IsFundDimensionReportingTagIncluded = isFundDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsFundDimensionReportingTagsSupported { get; } + public bool IsFundDimensionReportingTagsItemCreatable { get; } public Func IsFundDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -14816,6 +16983,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "FundDimensionReportingTags": + return IsFundDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14869,6 +17047,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -14929,6 +17116,7 @@ public GeneralStudentProgramAssociationMappingContract( bool isReasonExitedDescriptorSupported, bool isServedOutsideOfRegularSessionSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded ) { @@ -14939,6 +17127,7 @@ Func isGenera IsReasonExitedDescriptorSupported = isReasonExitedDescriptorSupported; IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; } @@ -14949,6 +17138,7 @@ 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) @@ -14987,6 +17177,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15050,6 +17251,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15125,6 +17335,7 @@ public GradeMappingContract( bool isNumericGradeEarnedSupported, bool isPerformanceBaseConversionDescriptorSupported, bool isStudentSectionAssociationReferenceSupported, + bool isGradeLearningStandardGradesItemCreatable, Func isGradeLearningStandardGradeIncluded, IReadOnlyList supportedExtensions ) @@ -15139,6 +17350,7 @@ IReadOnlyList supportedExtensions IsNumericGradeEarnedSupported = isNumericGradeEarnedSupported; IsPerformanceBaseConversionDescriptorSupported = isPerformanceBaseConversionDescriptorSupported; IsStudentSectionAssociationReferenceSupported = isStudentSectionAssociationReferenceSupported; + IsGradeLearningStandardGradesItemCreatable = isGradeLearningStandardGradesItemCreatable; IsGradeLearningStandardGradeIncluded = isGradeLearningStandardGradeIncluded; SupportedExtensions = supportedExtensions; } @@ -15153,6 +17365,7 @@ 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) @@ -15207,6 +17420,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GradeLearningStandardGrades": + return IsGradeLearningStandardGradesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15280,6 +17504,7 @@ public GradebookEntryMappingContract( bool isSessionNameSupported, bool isSourceSectionIdentifierSupported, bool isTitleSupported, + bool isGradebookEntryLearningStandardsItemCreatable, Func isGradebookEntryLearningStandardIncluded, IReadOnlyList supportedExtensions ) @@ -15302,6 +17527,7 @@ IReadOnlyList supportedExtensions IsSessionNameSupported = isSessionNameSupported; IsSourceSectionIdentifierSupported = isSourceSectionIdentifierSupported; IsTitleSupported = isTitleSupported; + IsGradebookEntryLearningStandardsItemCreatable = isGradebookEntryLearningStandardsItemCreatable; IsGradebookEntryLearningStandardIncluded = isGradebookEntryLearningStandardIncluded; SupportedExtensions = supportedExtensions; } @@ -15324,6 +17550,7 @@ IReadOnlyList supportedExtensions public bool IsSessionNameSupported { get; } public bool IsSourceSectionIdentifierSupported { get; } public bool IsTitleSupported { get; } + public bool IsGradebookEntryLearningStandardsItemCreatable { get; } public Func IsGradebookEntryLearningStandardIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -15376,6 +17603,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GradebookEntryLearningStandards": + return IsGradebookEntryLearningStandardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15436,6 +17674,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15516,6 +17763,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15594,6 +17850,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15674,6 +17939,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15748,6 +18022,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15822,6 +18105,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -15916,6 +18208,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -15996,6 +18297,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16048,9 +18358,13 @@ public GraduationPlanMappingContract( bool isTotalRequiredCreditConversionSupported, bool isTotalRequiredCreditsSupported, bool isTotalRequiredCreditTypeDescriptorSupported, + bool isGraduationPlanCreditsByCoursesItemCreatable, Func isGraduationPlanCreditsByCourseIncluded, + bool isGraduationPlanCreditsByCreditCategoriesItemCreatable, Func isGraduationPlanCreditsByCreditCategoryIncluded, + bool isGraduationPlanCreditsBySubjectsItemCreatable, Func isGraduationPlanCreditsBySubjectIncluded, + bool isGraduationPlanRequiredAssessmentsItemCreatable, Func isGraduationPlanRequiredAssessmentIncluded, IReadOnlyList supportedExtensions ) @@ -16065,9 +18379,13 @@ IReadOnlyList supportedExtensions IsTotalRequiredCreditConversionSupported = isTotalRequiredCreditConversionSupported; IsTotalRequiredCreditsSupported = isTotalRequiredCreditsSupported; IsTotalRequiredCreditTypeDescriptorSupported = isTotalRequiredCreditTypeDescriptorSupported; + IsGraduationPlanCreditsByCoursesItemCreatable = isGraduationPlanCreditsByCoursesItemCreatable; IsGraduationPlanCreditsByCourseIncluded = isGraduationPlanCreditsByCourseIncluded; + IsGraduationPlanCreditsByCreditCategoriesItemCreatable = isGraduationPlanCreditsByCreditCategoriesItemCreatable; IsGraduationPlanCreditsByCreditCategoryIncluded = isGraduationPlanCreditsByCreditCategoryIncluded; + IsGraduationPlanCreditsBySubjectsItemCreatable = isGraduationPlanCreditsBySubjectsItemCreatable; IsGraduationPlanCreditsBySubjectIncluded = isGraduationPlanCreditsBySubjectIncluded; + IsGraduationPlanRequiredAssessmentsItemCreatable = isGraduationPlanRequiredAssessmentsItemCreatable; IsGraduationPlanRequiredAssessmentIncluded = isGraduationPlanRequiredAssessmentIncluded; SupportedExtensions = supportedExtensions; } @@ -16082,9 +18400,13 @@ IReadOnlyList supportedExtensions public bool IsTotalRequiredCreditConversionSupported { get; } public bool IsTotalRequiredCreditsSupported { get; } public bool IsTotalRequiredCreditTypeDescriptorSupported { get; } + public bool IsGraduationPlanCreditsByCoursesItemCreatable { get; } public Func IsGraduationPlanCreditsByCourseIncluded { get; } + public bool IsGraduationPlanCreditsByCreditCategoriesItemCreatable { get; } public Func IsGraduationPlanCreditsByCreditCategoryIncluded { get; } + public bool IsGraduationPlanCreditsBySubjectsItemCreatable { get; } public Func IsGraduationPlanCreditsBySubjectIncluded { get; } + public bool IsGraduationPlanRequiredAssessmentsItemCreatable { get; } public Func IsGraduationPlanRequiredAssessmentIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -16123,6 +18445,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GraduationPlanCreditsByCourses": + return IsGraduationPlanCreditsByCoursesItemCreatable; + case "GraduationPlanCreditsByCreditCategories": + return IsGraduationPlanCreditsByCreditCategoriesItemCreatable; + case "GraduationPlanCreditsBySubjects": + return IsGraduationPlanCreditsBySubjectsItemCreatable; + case "GraduationPlanRequiredAssessments": + return IsGraduationPlanRequiredAssessmentsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16167,6 +18506,7 @@ public GraduationPlanCreditsByCourseMappingContract( bool isCreditTypeDescriptorSupported, bool isGraduationPlanCreditsByCourseCoursesSupported, bool isWhenTakenGradeLevelDescriptorSupported, + bool isGraduationPlanCreditsByCourseCoursesItemCreatable, Func isGraduationPlanCreditsByCourseCourseIncluded, IReadOnlyList supportedExtensions ) @@ -16176,6 +18516,7 @@ IReadOnlyList supportedExtensions IsCreditTypeDescriptorSupported = isCreditTypeDescriptorSupported; IsGraduationPlanCreditsByCourseCoursesSupported = isGraduationPlanCreditsByCourseCoursesSupported; IsWhenTakenGradeLevelDescriptorSupported = isWhenTakenGradeLevelDescriptorSupported; + IsGraduationPlanCreditsByCourseCoursesItemCreatable = isGraduationPlanCreditsByCourseCoursesItemCreatable; IsGraduationPlanCreditsByCourseCourseIncluded = isGraduationPlanCreditsByCourseCourseIncluded; SupportedExtensions = supportedExtensions; } @@ -16185,6 +18526,7 @@ IReadOnlyList supportedExtensions public bool IsCreditTypeDescriptorSupported { get; } public bool IsGraduationPlanCreditsByCourseCoursesSupported { get; } public bool IsWhenTakenGradeLevelDescriptorSupported { get; } + public bool IsGraduationPlanCreditsByCourseCoursesItemCreatable { get; } public Func IsGraduationPlanCreditsByCourseCourseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -16209,6 +18551,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GraduationPlanCreditsByCourseCourses": + return IsGraduationPlanCreditsByCourseCoursesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16273,6 +18626,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16344,6 +18706,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16415,6 +18786,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16459,6 +18839,7 @@ public GraduationPlanRequiredAssessmentMappingContract( bool isAssessmentReferenceSupported, bool isGraduationPlanRequiredAssessmentPerformanceLevelSupported, bool isGraduationPlanRequiredAssessmentScoresSupported, + bool isGraduationPlanRequiredAssessmentScoresItemCreatable, Func isGraduationPlanRequiredAssessmentScoreIncluded, IReadOnlyList supportedExtensions ) @@ -16466,6 +18847,7 @@ IReadOnlyList supportedExtensions IsAssessmentReferenceSupported = isAssessmentReferenceSupported; IsGraduationPlanRequiredAssessmentPerformanceLevelSupported = isGraduationPlanRequiredAssessmentPerformanceLevelSupported; IsGraduationPlanRequiredAssessmentScoresSupported = isGraduationPlanRequiredAssessmentScoresSupported; + IsGraduationPlanRequiredAssessmentScoresItemCreatable = isGraduationPlanRequiredAssessmentScoresItemCreatable; IsGraduationPlanRequiredAssessmentScoreIncluded = isGraduationPlanRequiredAssessmentScoreIncluded; SupportedExtensions = supportedExtensions; } @@ -16473,6 +18855,7 @@ IReadOnlyList supportedExtensions public bool IsAssessmentReferenceSupported { get; } public bool IsGraduationPlanRequiredAssessmentPerformanceLevelSupported { get; } public bool IsGraduationPlanRequiredAssessmentScoresSupported { get; } + public bool IsGraduationPlanRequiredAssessmentScoresItemCreatable { get; } public Func IsGraduationPlanRequiredAssessmentScoreIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -16495,6 +18878,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GraduationPlanRequiredAssessmentScores": + return IsGraduationPlanRequiredAssessmentScoresItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16580,6 +18974,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16651,6 +19054,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -16731,6 +19143,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16805,6 +19226,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16879,6 +19309,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -16953,6 +19392,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17027,6 +19475,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17101,6 +19558,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17175,6 +19641,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17249,6 +19724,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17323,6 +19807,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17397,6 +19890,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17471,6 +19973,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17545,6 +20056,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17619,6 +20139,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17693,6 +20222,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17767,6 +20305,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -17833,15 +20380,25 @@ public InterventionMappingContract( bool isMaxDosageSupported, bool isMinDosageSupported, bool isNamespaceSupported, + bool isInterventionAppropriateGradeLevelsItemCreatable, Func isInterventionAppropriateGradeLevelIncluded, + bool isInterventionAppropriateSexesItemCreatable, Func isInterventionAppropriateSexIncluded, + bool isInterventionDiagnosesItemCreatable, Func isInterventionDiagnosisIncluded, + bool isInterventionEducationContentsItemCreatable, Func isInterventionEducationContentIncluded, + bool isInterventionInterventionPrescriptionsItemCreatable, Func isInterventionInterventionPrescriptionIncluded, + bool isInterventionLearningResourceMetadataURIsItemCreatable, Func isInterventionLearningResourceMetadataURIIncluded, + bool isInterventionMeetingTimesItemCreatable, Func isInterventionMeetingTimeIncluded, + bool isInterventionPopulationServedsItemCreatable, Func isInterventionPopulationServedIncluded, + bool isInterventionStaffsItemCreatable, Func isInterventionStaffIncluded, + bool isInterventionURIsItemCreatable, Func isInterventionURIIncluded, IReadOnlyList supportedExtensions ) @@ -17864,15 +20421,25 @@ IReadOnlyList supportedExtensions IsMaxDosageSupported = isMaxDosageSupported; IsMinDosageSupported = isMinDosageSupported; IsNamespaceSupported = isNamespaceSupported; + IsInterventionAppropriateGradeLevelsItemCreatable = isInterventionAppropriateGradeLevelsItemCreatable; IsInterventionAppropriateGradeLevelIncluded = isInterventionAppropriateGradeLevelIncluded; + IsInterventionAppropriateSexesItemCreatable = isInterventionAppropriateSexesItemCreatable; IsInterventionAppropriateSexIncluded = isInterventionAppropriateSexIncluded; + IsInterventionDiagnosesItemCreatable = isInterventionDiagnosesItemCreatable; IsInterventionDiagnosisIncluded = isInterventionDiagnosisIncluded; + IsInterventionEducationContentsItemCreatable = isInterventionEducationContentsItemCreatable; IsInterventionEducationContentIncluded = isInterventionEducationContentIncluded; + IsInterventionInterventionPrescriptionsItemCreatable = isInterventionInterventionPrescriptionsItemCreatable; IsInterventionInterventionPrescriptionIncluded = isInterventionInterventionPrescriptionIncluded; + IsInterventionLearningResourceMetadataURIsItemCreatable = isInterventionLearningResourceMetadataURIsItemCreatable; IsInterventionLearningResourceMetadataURIIncluded = isInterventionLearningResourceMetadataURIIncluded; + IsInterventionMeetingTimesItemCreatable = isInterventionMeetingTimesItemCreatable; IsInterventionMeetingTimeIncluded = isInterventionMeetingTimeIncluded; + IsInterventionPopulationServedsItemCreatable = isInterventionPopulationServedsItemCreatable; IsInterventionPopulationServedIncluded = isInterventionPopulationServedIncluded; + IsInterventionStaffsItemCreatable = isInterventionStaffsItemCreatable; IsInterventionStaffIncluded = isInterventionStaffIncluded; + IsInterventionURIsItemCreatable = isInterventionURIsItemCreatable; IsInterventionURIIncluded = isInterventionURIIncluded; SupportedExtensions = supportedExtensions; } @@ -17895,15 +20462,25 @@ IReadOnlyList supportedExtensions public bool IsMaxDosageSupported { get; } public bool IsMinDosageSupported { get; } public bool IsNamespaceSupported { get; } + public bool IsInterventionAppropriateGradeLevelsItemCreatable { get; } public Func IsInterventionAppropriateGradeLevelIncluded { get; } + public bool IsInterventionAppropriateSexesItemCreatable { get; } public Func IsInterventionAppropriateSexIncluded { get; } + public bool IsInterventionDiagnosesItemCreatable { get; } public Func IsInterventionDiagnosisIncluded { get; } + public bool IsInterventionEducationContentsItemCreatable { get; } public Func IsInterventionEducationContentIncluded { get; } + public bool IsInterventionInterventionPrescriptionsItemCreatable { get; } public Func IsInterventionInterventionPrescriptionIncluded { get; } + public bool IsInterventionLearningResourceMetadataURIsItemCreatable { get; } public Func IsInterventionLearningResourceMetadataURIIncluded { get; } + public bool IsInterventionMeetingTimesItemCreatable { get; } public Func IsInterventionMeetingTimeIncluded { get; } + public bool IsInterventionPopulationServedsItemCreatable { get; } public Func IsInterventionPopulationServedIncluded { get; } + public bool IsInterventionStaffsItemCreatable { get; } public Func IsInterventionStaffIncluded { get; } + public bool IsInterventionURIsItemCreatable { get; } public Func IsInterventionURIIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -17956,6 +20533,35 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "InterventionAppropriateGradeLevels": + return IsInterventionAppropriateGradeLevelsItemCreatable; + case "InterventionAppropriateSexes": + return IsInterventionAppropriateSexesItemCreatable; + case "InterventionDiagnoses": + return IsInterventionDiagnosesItemCreatable; + case "InterventionEducationContents": + return IsInterventionEducationContentsItemCreatable; + case "InterventionInterventionPrescriptions": + return IsInterventionInterventionPrescriptionsItemCreatable; + case "InterventionLearningResourceMetadataURIs": + return IsInterventionLearningResourceMetadataURIsItemCreatable; + case "InterventionMeetingTimes": + return IsInterventionMeetingTimesItemCreatable; + case "InterventionPopulationServeds": + return IsInterventionPopulationServedsItemCreatable; + case "InterventionStaffs": + return IsInterventionStaffsItemCreatable; + case "InterventionURIs": + return IsInterventionURIsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18009,6 +20615,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18062,6 +20677,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18142,6 +20766,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -18189,6 +20822,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18249,6 +20891,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18329,6 +20980,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -18387,6 +21047,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18440,6 +21109,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18497,6 +21175,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18550,6 +21237,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18612,12 +21308,19 @@ public InterventionPrescriptionMappingContract( bool isMaxDosageSupported, bool isMinDosageSupported, bool isNamespaceSupported, + bool isInterventionPrescriptionAppropriateGradeLevelsItemCreatable, Func isInterventionPrescriptionAppropriateGradeLevelIncluded, + bool isInterventionPrescriptionAppropriateSexesItemCreatable, Func isInterventionPrescriptionAppropriateSexIncluded, + bool isInterventionPrescriptionDiagnosesItemCreatable, Func isInterventionPrescriptionDiagnosisIncluded, + bool isInterventionPrescriptionEducationContentsItemCreatable, Func isInterventionPrescriptionEducationContentIncluded, + bool isInterventionPrescriptionLearningResourceMetadataURIsItemCreatable, Func isInterventionPrescriptionLearningResourceMetadataURIIncluded, + bool isInterventionPrescriptionPopulationServedsItemCreatable, Func isInterventionPrescriptionPopulationServedIncluded, + bool isInterventionPrescriptionURIsItemCreatable, Func isInterventionPrescriptionURIIncluded, IReadOnlyList supportedExtensions ) @@ -18635,12 +21338,19 @@ IReadOnlyList supportedExtensions IsMaxDosageSupported = isMaxDosageSupported; IsMinDosageSupported = isMinDosageSupported; IsNamespaceSupported = isNamespaceSupported; + IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable = isInterventionPrescriptionAppropriateGradeLevelsItemCreatable; IsInterventionPrescriptionAppropriateGradeLevelIncluded = isInterventionPrescriptionAppropriateGradeLevelIncluded; + IsInterventionPrescriptionAppropriateSexesItemCreatable = isInterventionPrescriptionAppropriateSexesItemCreatable; IsInterventionPrescriptionAppropriateSexIncluded = isInterventionPrescriptionAppropriateSexIncluded; + IsInterventionPrescriptionDiagnosesItemCreatable = isInterventionPrescriptionDiagnosesItemCreatable; IsInterventionPrescriptionDiagnosisIncluded = isInterventionPrescriptionDiagnosisIncluded; + IsInterventionPrescriptionEducationContentsItemCreatable = isInterventionPrescriptionEducationContentsItemCreatable; IsInterventionPrescriptionEducationContentIncluded = isInterventionPrescriptionEducationContentIncluded; + IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable = isInterventionPrescriptionLearningResourceMetadataURIsItemCreatable; IsInterventionPrescriptionLearningResourceMetadataURIIncluded = isInterventionPrescriptionLearningResourceMetadataURIIncluded; + IsInterventionPrescriptionPopulationServedsItemCreatable = isInterventionPrescriptionPopulationServedsItemCreatable; IsInterventionPrescriptionPopulationServedIncluded = isInterventionPrescriptionPopulationServedIncluded; + IsInterventionPrescriptionURIsItemCreatable = isInterventionPrescriptionURIsItemCreatable; IsInterventionPrescriptionURIIncluded = isInterventionPrescriptionURIIncluded; SupportedExtensions = supportedExtensions; } @@ -18658,12 +21368,19 @@ IReadOnlyList supportedExtensions public bool IsMaxDosageSupported { get; } public bool IsMinDosageSupported { get; } public bool IsNamespaceSupported { get; } + public bool IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable { get; } public Func IsInterventionPrescriptionAppropriateGradeLevelIncluded { get; } + public bool IsInterventionPrescriptionAppropriateSexesItemCreatable { get; } public Func IsInterventionPrescriptionAppropriateSexIncluded { get; } + public bool IsInterventionPrescriptionDiagnosesItemCreatable { get; } public Func IsInterventionPrescriptionDiagnosisIncluded { get; } + public bool IsInterventionPrescriptionEducationContentsItemCreatable { get; } public Func IsInterventionPrescriptionEducationContentIncluded { get; } + public bool IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable { get; } public Func IsInterventionPrescriptionLearningResourceMetadataURIIncluded { get; } + public bool IsInterventionPrescriptionPopulationServedsItemCreatable { get; } public Func IsInterventionPrescriptionPopulationServedIncluded { get; } + public bool IsInterventionPrescriptionURIsItemCreatable { get; } public Func IsInterventionPrescriptionURIIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -18706,6 +21423,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "InterventionPrescriptionAppropriateGradeLevels": + return IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable; + case "InterventionPrescriptionAppropriateSexes": + return IsInterventionPrescriptionAppropriateSexesItemCreatable; + case "InterventionPrescriptionDiagnoses": + return IsInterventionPrescriptionDiagnosesItemCreatable; + case "InterventionPrescriptionEducationContents": + return IsInterventionPrescriptionEducationContentsItemCreatable; + case "InterventionPrescriptionLearningResourceMetadataURIs": + return IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable; + case "InterventionPrescriptionPopulationServeds": + return IsInterventionPrescriptionPopulationServedsItemCreatable; + case "InterventionPrescriptionURIs": + return IsInterventionPrescriptionURIsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18759,6 +21499,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18812,6 +21561,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18865,6 +21623,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18925,6 +21692,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -18978,6 +21754,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19031,6 +21816,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19084,6 +21878,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19144,6 +21947,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19211,13 +22023,21 @@ public InterventionStudyMappingContract( bool isInterventionStudyStateAbbreviationsSupported, bool isInterventionStudyURIsSupported, bool isParticipantsSupported, + bool isInterventionStudyAppropriateGradeLevelsItemCreatable, Func isInterventionStudyAppropriateGradeLevelIncluded, + bool isInterventionStudyAppropriateSexesItemCreatable, Func isInterventionStudyAppropriateSexIncluded, + bool isInterventionStudyEducationContentsItemCreatable, Func isInterventionStudyEducationContentIncluded, + bool isInterventionStudyInterventionEffectivenessesItemCreatable, Func isInterventionStudyInterventionEffectivenessIncluded, + bool isInterventionStudyLearningResourceMetadataURIsItemCreatable, Func isInterventionStudyLearningResourceMetadataURIIncluded, + bool isInterventionStudyPopulationServedsItemCreatable, Func isInterventionStudyPopulationServedIncluded, + bool isInterventionStudyStateAbbreviationsItemCreatable, Func isInterventionStudyStateAbbreviationIncluded, + bool isInterventionStudyURIsItemCreatable, Func isInterventionStudyURIIncluded, IReadOnlyList supportedExtensions ) @@ -19237,13 +22057,21 @@ IReadOnlyList supportedExtensions IsInterventionStudyStateAbbreviationsSupported = isInterventionStudyStateAbbreviationsSupported; IsInterventionStudyURIsSupported = isInterventionStudyURIsSupported; IsParticipantsSupported = isParticipantsSupported; + IsInterventionStudyAppropriateGradeLevelsItemCreatable = isInterventionStudyAppropriateGradeLevelsItemCreatable; IsInterventionStudyAppropriateGradeLevelIncluded = isInterventionStudyAppropriateGradeLevelIncluded; + IsInterventionStudyAppropriateSexesItemCreatable = isInterventionStudyAppropriateSexesItemCreatable; IsInterventionStudyAppropriateSexIncluded = isInterventionStudyAppropriateSexIncluded; + IsInterventionStudyEducationContentsItemCreatable = isInterventionStudyEducationContentsItemCreatable; IsInterventionStudyEducationContentIncluded = isInterventionStudyEducationContentIncluded; + IsInterventionStudyInterventionEffectivenessesItemCreatable = isInterventionStudyInterventionEffectivenessesItemCreatable; IsInterventionStudyInterventionEffectivenessIncluded = isInterventionStudyInterventionEffectivenessIncluded; + IsInterventionStudyLearningResourceMetadataURIsItemCreatable = isInterventionStudyLearningResourceMetadataURIsItemCreatable; IsInterventionStudyLearningResourceMetadataURIIncluded = isInterventionStudyLearningResourceMetadataURIIncluded; + IsInterventionStudyPopulationServedsItemCreatable = isInterventionStudyPopulationServedsItemCreatable; IsInterventionStudyPopulationServedIncluded = isInterventionStudyPopulationServedIncluded; + IsInterventionStudyStateAbbreviationsItemCreatable = isInterventionStudyStateAbbreviationsItemCreatable; IsInterventionStudyStateAbbreviationIncluded = isInterventionStudyStateAbbreviationIncluded; + IsInterventionStudyURIsItemCreatable = isInterventionStudyURIsItemCreatable; IsInterventionStudyURIIncluded = isInterventionStudyURIIncluded; SupportedExtensions = supportedExtensions; } @@ -19263,13 +22091,21 @@ IReadOnlyList supportedExtensions public bool IsInterventionStudyStateAbbreviationsSupported { get; } public bool IsInterventionStudyURIsSupported { get; } public bool IsParticipantsSupported { get; } + public bool IsInterventionStudyAppropriateGradeLevelsItemCreatable { get; } public Func IsInterventionStudyAppropriateGradeLevelIncluded { get; } + public bool IsInterventionStudyAppropriateSexesItemCreatable { get; } public Func IsInterventionStudyAppropriateSexIncluded { get; } + public bool IsInterventionStudyEducationContentsItemCreatable { get; } public Func IsInterventionStudyEducationContentIncluded { get; } + public bool IsInterventionStudyInterventionEffectivenessesItemCreatable { get; } public Func IsInterventionStudyInterventionEffectivenessIncluded { get; } + public bool IsInterventionStudyLearningResourceMetadataURIsItemCreatable { get; } public Func IsInterventionStudyLearningResourceMetadataURIIncluded { get; } + public bool IsInterventionStudyPopulationServedsItemCreatable { get; } public Func IsInterventionStudyPopulationServedIncluded { get; } + public bool IsInterventionStudyStateAbbreviationsItemCreatable { get; } public Func IsInterventionStudyStateAbbreviationIncluded { get; } + public bool IsInterventionStudyURIsItemCreatable { get; } public Func IsInterventionStudyURIIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -19316,6 +22152,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "InterventionStudyAppropriateGradeLevels": + return IsInterventionStudyAppropriateGradeLevelsItemCreatable; + case "InterventionStudyAppropriateSexes": + return IsInterventionStudyAppropriateSexesItemCreatable; + case "InterventionStudyEducationContents": + return IsInterventionStudyEducationContentsItemCreatable; + case "InterventionStudyInterventionEffectivenesses": + return IsInterventionStudyInterventionEffectivenessesItemCreatable; + case "InterventionStudyLearningResourceMetadataURIs": + return IsInterventionStudyLearningResourceMetadataURIsItemCreatable; + case "InterventionStudyPopulationServeds": + return IsInterventionStudyPopulationServedsItemCreatable; + case "InterventionStudyStateAbbreviations": + return IsInterventionStudyStateAbbreviationsItemCreatable; + case "InterventionStudyURIs": + return IsInterventionStudyURIsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19369,6 +22230,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19422,6 +22292,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19482,6 +22361,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19555,6 +22443,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19608,6 +22505,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19661,6 +22567,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19714,6 +22629,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19767,6 +22691,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19820,6 +22753,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -19900,6 +22842,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -19974,6 +22925,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20048,6 +23008,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20105,8 +23074,11 @@ public LearningStandardMappingContract( bool isParentLearningStandardReferenceSupported, bool isSuccessCriteriaSupported, bool isURISupported, + bool isLearningStandardAcademicSubjectsItemCreatable, Func isLearningStandardAcademicSubjectIncluded, + bool isLearningStandardGradeLevelsItemCreatable, Func isLearningStandardGradeLevelIncluded, + bool isLearningStandardIdentificationCodesItemCreatable, Func isLearningStandardIdentificationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -20125,8 +23097,11 @@ IReadOnlyList supportedExtensions IsParentLearningStandardReferenceSupported = isParentLearningStandardReferenceSupported; IsSuccessCriteriaSupported = isSuccessCriteriaSupported; IsURISupported = isURISupported; + IsLearningStandardAcademicSubjectsItemCreatable = isLearningStandardAcademicSubjectsItemCreatable; IsLearningStandardAcademicSubjectIncluded = isLearningStandardAcademicSubjectIncluded; + IsLearningStandardGradeLevelsItemCreatable = isLearningStandardGradeLevelsItemCreatable; IsLearningStandardGradeLevelIncluded = isLearningStandardGradeLevelIncluded; + IsLearningStandardIdentificationCodesItemCreatable = isLearningStandardIdentificationCodesItemCreatable; IsLearningStandardIdentificationCodeIncluded = isLearningStandardIdentificationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -20145,8 +23120,11 @@ IReadOnlyList supportedExtensions public bool IsParentLearningStandardReferenceSupported { get; } public bool IsSuccessCriteriaSupported { get; } public bool IsURISupported { get; } + public bool IsLearningStandardAcademicSubjectsItemCreatable { get; } public Func IsLearningStandardAcademicSubjectIncluded { get; } + public bool IsLearningStandardGradeLevelsItemCreatable { get; } public Func IsLearningStandardGradeLevelIncluded { get; } + public bool IsLearningStandardIdentificationCodesItemCreatable { get; } public Func IsLearningStandardIdentificationCodeIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -20189,6 +23167,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "LearningStandardAcademicSubjects": + return IsLearningStandardAcademicSubjectsItemCreatable; + case "LearningStandardGradeLevels": + return IsLearningStandardGradeLevelsItemCreatable; + case "LearningStandardIdentificationCodes": + return IsLearningStandardIdentificationCodesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20242,6 +23235,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20322,6 +23324,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20371,6 +23382,7 @@ public LearningStandardContentStandardMappingContract( bool isTitleSupported, bool isURISupported, bool isVersionSupported, + bool isLearningStandardContentStandardAuthorsItemCreatable, Func isLearningStandardContentStandardAuthorIncluded, IReadOnlyList supportedExtensions ) @@ -20386,6 +23398,7 @@ IReadOnlyList supportedExtensions IsTitleSupported = isTitleSupported; IsURISupported = isURISupported; IsVersionSupported = isVersionSupported; + IsLearningStandardContentStandardAuthorsItemCreatable = isLearningStandardContentStandardAuthorsItemCreatable; IsLearningStandardContentStandardAuthorIncluded = isLearningStandardContentStandardAuthorIncluded; SupportedExtensions = supportedExtensions; } @@ -20401,6 +23414,7 @@ IReadOnlyList supportedExtensions public bool IsTitleSupported { get; } public bool IsURISupported { get; } public bool IsVersionSupported { get; } + public bool IsLearningStandardContentStandardAuthorsItemCreatable { get; } public Func IsLearningStandardContentStandardAuthorIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -20435,6 +23449,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "LearningStandardContentStandardAuthors": + return IsLearningStandardContentStandardAuthorsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20488,6 +23513,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20580,6 +23614,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20660,6 +23703,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20707,6 +23759,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20764,6 +23825,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -20844,6 +23914,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20918,6 +23997,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -20992,6 +24080,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21066,6 +24163,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21140,6 +24246,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21185,6 +24300,7 @@ public LocalAccountMappingContract( bool isChartOfAccountReferenceSupported, bool isEducationOrganizationReferenceSupported, bool isLocalAccountReportingTagsSupported, + bool isLocalAccountReportingTagsItemCreatable, Func isLocalAccountReportingTagIncluded, IReadOnlyList supportedExtensions ) @@ -21195,6 +24311,7 @@ IReadOnlyList supportedExtensions IsChartOfAccountReferenceSupported = isChartOfAccountReferenceSupported; IsEducationOrganizationReferenceSupported = isEducationOrganizationReferenceSupported; IsLocalAccountReportingTagsSupported = isLocalAccountReportingTagsSupported; + IsLocalAccountReportingTagsItemCreatable = isLocalAccountReportingTagsItemCreatable; IsLocalAccountReportingTagIncluded = isLocalAccountReportingTagIncluded; SupportedExtensions = supportedExtensions; } @@ -21205,6 +24322,7 @@ IReadOnlyList supportedExtensions public bool IsChartOfAccountReferenceSupported { get; } public bool IsEducationOrganizationReferenceSupported { get; } public bool IsLocalAccountReportingTagsSupported { get; } + public bool IsLocalAccountReportingTagsItemCreatable { get; } public Func IsLocalAccountReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -21235,6 +24353,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "LocalAccountReportingTags": + return IsLocalAccountReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21294,6 +24423,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21377,6 +24515,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21460,6 +24607,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21554,6 +24710,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21634,6 +24799,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -21691,13 +24865,21 @@ public LocalEducationAgencyMappingContract( bool isStateEducationAgencyIdSupported, bool isStateEducationAgencyReferenceSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, + bool isLocalEducationAgencyAccountabilitiesItemCreatable, Func isLocalEducationAgencyAccountabilityIncluded, + bool isLocalEducationAgencyFederalFundsItemCreatable, Func isLocalEducationAgencyFederalFundsIncluded, IReadOnlyList supportedExtensions ) @@ -21722,13 +24904,21 @@ IReadOnlyList supportedExtensions IsStateEducationAgencyIdSupported = isStateEducationAgencyIdSupported; IsStateEducationAgencyReferenceSupported = isStateEducationAgencyReferenceSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; + IsLocalEducationAgencyAccountabilitiesItemCreatable = isLocalEducationAgencyAccountabilitiesItemCreatable; IsLocalEducationAgencyAccountabilityIncluded = isLocalEducationAgencyAccountabilityIncluded; + IsLocalEducationAgencyFederalFundsItemCreatable = isLocalEducationAgencyFederalFundsItemCreatable; IsLocalEducationAgencyFederalFundsIncluded = isLocalEducationAgencyFederalFundsIncluded; SupportedExtensions = supportedExtensions; } @@ -21753,13 +24943,21 @@ IReadOnlyList supportedExtensions public bool IsStateEducationAgencyIdSupported { get; } public bool IsStateEducationAgencyReferenceSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } + public bool IsLocalEducationAgencyAccountabilitiesItemCreatable { get; } public Func IsLocalEducationAgencyAccountabilityIncluded { get; } + public bool IsLocalEducationAgencyFederalFundsItemCreatable { get; } public Func IsLocalEducationAgencyFederalFundsIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -21814,6 +25012,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + case "LocalEducationAgencyAccountabilities": + return IsLocalEducationAgencyAccountabilitiesItemCreatable; + case "LocalEducationAgencyFederalFunds": + return IsLocalEducationAgencyFederalFundsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21885,6 +25108,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -21965,6 +25197,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22060,6 +25301,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22143,6 +25393,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22237,6 +25496,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22311,6 +25579,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -22391,6 +25668,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22465,6 +25751,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22539,6 +25834,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22613,6 +25917,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22687,6 +26000,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22761,6 +26083,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22835,6 +26166,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22909,6 +26249,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -22983,6 +26332,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -23016,18 +26374,21 @@ public class ObjectDimensionMappingContract : IMappingContract, IExtensionsMappi public ObjectDimensionMappingContract( bool isCodeNameSupported, bool isObjectDimensionReportingTagsSupported, + bool isObjectDimensionReportingTagsItemCreatable, Func isObjectDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsObjectDimensionReportingTagsSupported = isObjectDimensionReportingTagsSupported; + IsObjectDimensionReportingTagsItemCreatable = isObjectDimensionReportingTagsItemCreatable; IsObjectDimensionReportingTagIncluded = isObjectDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsObjectDimensionReportingTagsSupported { get; } + public bool IsObjectDimensionReportingTagsItemCreatable { get; } public Func IsObjectDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23048,6 +26409,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ObjectDimensionReportingTags": + return IsObjectDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23101,6 +26473,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23164,9 +26545,13 @@ public ObjectiveAssessmentMappingContract( bool isParentIdentificationCodeSupported, bool isParentObjectiveAssessmentReferenceSupported, bool isPercentOfAssessmentSupported, + bool isObjectiveAssessmentAssessmentItemsItemCreatable, Func isObjectiveAssessmentAssessmentItemIncluded, + bool isObjectiveAssessmentLearningStandardsItemCreatable, Func isObjectiveAssessmentLearningStandardIncluded, + bool isObjectiveAssessmentPerformanceLevelsItemCreatable, Func isObjectiveAssessmentPerformanceLevelIncluded, + bool isObjectiveAssessmentScoresItemCreatable, Func isObjectiveAssessmentScoreIncluded, IReadOnlyList supportedExtensions ) @@ -23183,9 +26568,13 @@ IReadOnlyList supportedExtensions IsParentIdentificationCodeSupported = isParentIdentificationCodeSupported; IsParentObjectiveAssessmentReferenceSupported = isParentObjectiveAssessmentReferenceSupported; IsPercentOfAssessmentSupported = isPercentOfAssessmentSupported; + IsObjectiveAssessmentAssessmentItemsItemCreatable = isObjectiveAssessmentAssessmentItemsItemCreatable; IsObjectiveAssessmentAssessmentItemIncluded = isObjectiveAssessmentAssessmentItemIncluded; + IsObjectiveAssessmentLearningStandardsItemCreatable = isObjectiveAssessmentLearningStandardsItemCreatable; IsObjectiveAssessmentLearningStandardIncluded = isObjectiveAssessmentLearningStandardIncluded; + IsObjectiveAssessmentPerformanceLevelsItemCreatable = isObjectiveAssessmentPerformanceLevelsItemCreatable; IsObjectiveAssessmentPerformanceLevelIncluded = isObjectiveAssessmentPerformanceLevelIncluded; + IsObjectiveAssessmentScoresItemCreatable = isObjectiveAssessmentScoresItemCreatable; IsObjectiveAssessmentScoreIncluded = isObjectiveAssessmentScoreIncluded; SupportedExtensions = supportedExtensions; } @@ -23202,9 +26591,13 @@ IReadOnlyList supportedExtensions public bool IsParentIdentificationCodeSupported { get; } public bool IsParentObjectiveAssessmentReferenceSupported { get; } public bool IsPercentOfAssessmentSupported { get; } + public bool IsObjectiveAssessmentAssessmentItemsItemCreatable { get; } public Func IsObjectiveAssessmentAssessmentItemIncluded { get; } + public bool IsObjectiveAssessmentLearningStandardsItemCreatable { get; } public Func IsObjectiveAssessmentLearningStandardIncluded { get; } + public bool IsObjectiveAssessmentPerformanceLevelsItemCreatable { get; } public Func IsObjectiveAssessmentPerformanceLevelIncluded { get; } + public bool IsObjectiveAssessmentScoresItemCreatable { get; } public Func IsObjectiveAssessmentScoreIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23247,6 +26640,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ObjectiveAssessmentAssessmentItems": + return IsObjectiveAssessmentAssessmentItemsItemCreatable; + case "ObjectiveAssessmentLearningStandards": + return IsObjectiveAssessmentLearningStandardsItemCreatable; + case "ObjectiveAssessmentPerformanceLevels": + return IsObjectiveAssessmentPerformanceLevelsItemCreatable; + case "ObjectiveAssessmentScores": + return IsObjectiveAssessmentScoresItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23307,6 +26717,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23367,6 +26786,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23448,6 +26876,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23519,6 +26956,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23575,7 +27021,9 @@ public OpenStaffPositionMappingContract( bool isPostingResultDescriptorSupported, bool isProgramAssignmentDescriptorSupported, bool isStaffClassificationDescriptorSupported, + bool isOpenStaffPositionAcademicSubjectsItemCreatable, Func isOpenStaffPositionAcademicSubjectIncluded, + bool isOpenStaffPositionInstructionalGradeLevelsItemCreatable, Func isOpenStaffPositionInstructionalGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -23590,7 +27038,9 @@ IReadOnlyList supportedExtensions IsPostingResultDescriptorSupported = isPostingResultDescriptorSupported; IsProgramAssignmentDescriptorSupported = isProgramAssignmentDescriptorSupported; IsStaffClassificationDescriptorSupported = isStaffClassificationDescriptorSupported; + IsOpenStaffPositionAcademicSubjectsItemCreatable = isOpenStaffPositionAcademicSubjectsItemCreatable; IsOpenStaffPositionAcademicSubjectIncluded = isOpenStaffPositionAcademicSubjectIncluded; + IsOpenStaffPositionInstructionalGradeLevelsItemCreatable = isOpenStaffPositionInstructionalGradeLevelsItemCreatable; IsOpenStaffPositionInstructionalGradeLevelIncluded = isOpenStaffPositionInstructionalGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -23605,7 +27055,9 @@ IReadOnlyList supportedExtensions public bool IsPostingResultDescriptorSupported { get; } public bool IsProgramAssignmentDescriptorSupported { get; } public bool IsStaffClassificationDescriptorSupported { get; } + public bool IsOpenStaffPositionAcademicSubjectsItemCreatable { get; } public Func IsOpenStaffPositionAcademicSubjectIncluded { get; } + public bool IsOpenStaffPositionInstructionalGradeLevelsItemCreatable { get; } public Func IsOpenStaffPositionInstructionalGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23642,6 +27094,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "OpenStaffPositionAcademicSubjects": + return IsOpenStaffPositionAcademicSubjectsItemCreatable; + case "OpenStaffPositionInstructionalGradeLevels": + return IsOpenStaffPositionInstructionalGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23695,6 +27160,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23748,6 +27222,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23828,6 +27311,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -23861,18 +27353,21 @@ public class OperationalUnitDimensionMappingContract : IMappingContract, IExtens public OperationalUnitDimensionMappingContract( bool isCodeNameSupported, bool isOperationalUnitDimensionReportingTagsSupported, + bool isOperationalUnitDimensionReportingTagsItemCreatable, Func isOperationalUnitDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsOperationalUnitDimensionReportingTagsSupported = isOperationalUnitDimensionReportingTagsSupported; + IsOperationalUnitDimensionReportingTagsItemCreatable = isOperationalUnitDimensionReportingTagsItemCreatable; IsOperationalUnitDimensionReportingTagIncluded = isOperationalUnitDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsOperationalUnitDimensionReportingTagsSupported { get; } + public bool IsOperationalUnitDimensionReportingTagsItemCreatable { get; } public Func IsOperationalUnitDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -23893,6 +27388,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "OperationalUnitDimensionReportingTags": + return IsOperationalUnitDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23946,6 +27452,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -23996,11 +27511,17 @@ public OrganizationDepartmentMappingContract( bool isParentEducationOrganizationReferenceSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, IReadOnlyList supportedExtensions ) @@ -24018,11 +27539,17 @@ IReadOnlyList supportedExtensions IsParentEducationOrganizationReferenceSupported = isParentEducationOrganizationReferenceSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; SupportedExtensions = supportedExtensions; } @@ -24040,11 +27567,17 @@ IReadOnlyList supportedExtensions public bool IsParentEducationOrganizationReferenceSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -24085,6 +27618,27 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24165,6 +27719,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24239,6 +27802,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24313,6 +27885,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24387,6 +27968,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24461,6 +28051,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24511,6 +28110,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24591,6 +28199,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24665,6 +28282,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24739,6 +28365,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24813,6 +28448,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -24886,6 +28530,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -24966,6 +28619,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25009,12 +28671,19 @@ public PostSecondaryInstitutionMappingContract( bool isPostSecondaryInstitutionMediumOfInstructionsSupported, bool isShortNameOfInstitutionSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, + bool isPostSecondaryInstitutionMediumOfInstructionsItemCreatable, Func isPostSecondaryInstitutionMediumOfInstructionIncluded, IReadOnlyList supportedExtensions ) @@ -25032,12 +28701,19 @@ IReadOnlyList supportedExtensions IsPostSecondaryInstitutionMediumOfInstructionsSupported = isPostSecondaryInstitutionMediumOfInstructionsSupported; IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; + IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable = isPostSecondaryInstitutionMediumOfInstructionsItemCreatable; IsPostSecondaryInstitutionMediumOfInstructionIncluded = isPostSecondaryInstitutionMediumOfInstructionIncluded; SupportedExtensions = supportedExtensions; } @@ -25055,12 +28731,19 @@ IReadOnlyList supportedExtensions public bool IsPostSecondaryInstitutionMediumOfInstructionsSupported { get; } public bool IsShortNameOfInstitutionSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } + public bool IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable { get; } public Func IsPostSecondaryInstitutionMediumOfInstructionIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -25101,6 +28784,29 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + case "PostSecondaryInstitutionMediumOfInstructions": + return IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25181,6 +28887,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25228,6 +28943,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25308,6 +29032,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25382,6 +29115,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25456,6 +29198,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25530,6 +29281,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25572,8 +29332,11 @@ public ProgramMappingContract( bool isProgramIdSupported, bool isProgramLearningStandardsSupported, bool isProgramSponsorsSupported, + bool isProgramCharacteristicsItemCreatable, Func isProgramCharacteristicIncluded, + bool isProgramLearningStandardsItemCreatable, Func isProgramLearningStandardIncluded, + bool isProgramSponsorsItemCreatable, Func isProgramSponsorIncluded, IReadOnlyList supportedExtensions ) @@ -25583,8 +29346,11 @@ IReadOnlyList supportedExtensions IsProgramIdSupported = isProgramIdSupported; IsProgramLearningStandardsSupported = isProgramLearningStandardsSupported; IsProgramSponsorsSupported = isProgramSponsorsSupported; + IsProgramCharacteristicsItemCreatable = isProgramCharacteristicsItemCreatable; IsProgramCharacteristicIncluded = isProgramCharacteristicIncluded; + IsProgramLearningStandardsItemCreatable = isProgramLearningStandardsItemCreatable; IsProgramLearningStandardIncluded = isProgramLearningStandardIncluded; + IsProgramSponsorsItemCreatable = isProgramSponsorsItemCreatable; IsProgramSponsorIncluded = isProgramSponsorIncluded; SupportedExtensions = supportedExtensions; } @@ -25594,8 +29360,11 @@ IReadOnlyList supportedExtensions public bool IsProgramIdSupported { get; } public bool IsProgramLearningStandardsSupported { get; } public bool IsProgramSponsorsSupported { get; } + public bool IsProgramCharacteristicsItemCreatable { get; } public Func IsProgramCharacteristicIncluded { get; } + public bool IsProgramLearningStandardsItemCreatable { get; } public Func IsProgramLearningStandardIncluded { get; } + public bool IsProgramSponsorsItemCreatable { get; } public Func IsProgramSponsorIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -25624,6 +29393,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProgramCharacteristics": + return IsProgramCharacteristicsItemCreatable; + case "ProgramLearningStandards": + return IsProgramLearningStandardsItemCreatable; + case "ProgramSponsors": + return IsProgramSponsorsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25704,6 +29488,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25751,6 +29544,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25831,6 +29633,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -25864,18 +29675,21 @@ public class ProgramDimensionMappingContract : IMappingContract, IExtensionsMapp public ProgramDimensionMappingContract( bool isCodeNameSupported, bool isProgramDimensionReportingTagsSupported, + bool isProgramDimensionReportingTagsItemCreatable, Func isProgramDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsProgramDimensionReportingTagsSupported = isProgramDimensionReportingTagsSupported; + IsProgramDimensionReportingTagsItemCreatable = isProgramDimensionReportingTagsItemCreatable; IsProgramDimensionReportingTagIncluded = isProgramDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsProgramDimensionReportingTagsSupported { get; } + public bool IsProgramDimensionReportingTagsItemCreatable { get; } public Func IsProgramDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -25896,6 +29710,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProgramDimensionReportingTags": + return IsProgramDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -25949,6 +29774,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26003,6 +29837,7 @@ public ProgramEvaluationMappingContract( bool isProgramEvaluationDescriptionSupported, bool isProgramEvaluationLevelsSupported, bool isProgramReferenceSupported, + bool isProgramEvaluationLevelsItemCreatable, Func isProgramEvaluationLevelIncluded, IReadOnlyList supportedExtensions ) @@ -26012,6 +29847,7 @@ IReadOnlyList supportedExtensions IsProgramEvaluationDescriptionSupported = isProgramEvaluationDescriptionSupported; IsProgramEvaluationLevelsSupported = isProgramEvaluationLevelsSupported; IsProgramReferenceSupported = isProgramReferenceSupported; + IsProgramEvaluationLevelsItemCreatable = isProgramEvaluationLevelsItemCreatable; IsProgramEvaluationLevelIncluded = isProgramEvaluationLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -26021,6 +29857,7 @@ 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) @@ -26055,6 +29892,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProgramEvaluationLevels": + return IsProgramEvaluationLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26118,6 +29966,7 @@ public ProgramEvaluationElementMappingContract( bool isProgramEvaluationObjectiveReferenceSupported, bool isProgramEvaluationObjectiveTitleSupported, bool isProgramEvaluationReferenceSupported, + bool isProgramEvaluationElementProgramEvaluationLevelsItemCreatable, Func isProgramEvaluationElementProgramEvaluationLevelIncluded, IReadOnlyList supportedExtensions ) @@ -26130,6 +29979,7 @@ IReadOnlyList supportedExtensions IsProgramEvaluationObjectiveReferenceSupported = isProgramEvaluationObjectiveReferenceSupported; IsProgramEvaluationObjectiveTitleSupported = isProgramEvaluationObjectiveTitleSupported; IsProgramEvaluationReferenceSupported = isProgramEvaluationReferenceSupported; + IsProgramEvaluationElementProgramEvaluationLevelsItemCreatable = isProgramEvaluationElementProgramEvaluationLevelsItemCreatable; IsProgramEvaluationElementProgramEvaluationLevelIncluded = isProgramEvaluationElementProgramEvaluationLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -26142,6 +29992,7 @@ 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) @@ -26184,6 +30035,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProgramEvaluationElementProgramEvaluationLevels": + return IsProgramEvaluationElementProgramEvaluationLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26249,6 +30111,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26314,6 +30185,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26372,6 +30252,7 @@ public ProgramEvaluationObjectiveMappingContract( bool isProgramEvaluationObjectiveDescriptionSupported, bool isProgramEvaluationObjectiveProgramEvaluationLevelsSupported, bool isProgramEvaluationReferenceSupported, + bool isProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable, Func isProgramEvaluationObjectiveProgramEvaluationLevelIncluded, IReadOnlyList supportedExtensions ) @@ -26382,6 +30263,7 @@ IReadOnlyList supportedExtensions IsProgramEvaluationObjectiveDescriptionSupported = isProgramEvaluationObjectiveDescriptionSupported; IsProgramEvaluationObjectiveProgramEvaluationLevelsSupported = isProgramEvaluationObjectiveProgramEvaluationLevelsSupported; IsProgramEvaluationReferenceSupported = isProgramEvaluationReferenceSupported; + IsProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable = isProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable; IsProgramEvaluationObjectiveProgramEvaluationLevelIncluded = isProgramEvaluationObjectiveProgramEvaluationLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -26392,6 +30274,7 @@ 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) @@ -26430,6 +30313,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProgramEvaluationObjectiveProgramEvaluationLevels": + return IsProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26495,6 +30389,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26575,6 +30478,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26649,6 +30561,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26703,6 +30624,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26756,6 +30686,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -26836,6 +30775,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26910,6 +30858,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -26984,6 +30941,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27058,6 +31024,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27091,18 +31066,21 @@ public class ProjectDimensionMappingContract : IMappingContract, IExtensionsMapp public ProjectDimensionMappingContract( bool isCodeNameSupported, bool isProjectDimensionReportingTagsSupported, + bool isProjectDimensionReportingTagsItemCreatable, Func isProjectDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsProjectDimensionReportingTagsSupported = isProjectDimensionReportingTagsSupported; + IsProjectDimensionReportingTagsItemCreatable = isProjectDimensionReportingTagsItemCreatable; IsProjectDimensionReportingTagIncluded = isProjectDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsProjectDimensionReportingTagsSupported { get; } + public bool IsProjectDimensionReportingTagsItemCreatable { get; } public Func IsProjectDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -27123,6 +31101,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ProjectDimensionReportingTags": + return IsProjectDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -27176,6 +31165,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -27256,6 +31254,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27330,6 +31337,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27404,6 +31420,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27478,6 +31503,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27552,6 +31586,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -27619,82 +31662,266 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "RaceDescriptorId": + case "RaceDescriptorId": + return true; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + } + + /// + /// Defines available properties and methods for the abstraction of the RatingLevelDescriptor model. + /// + public interface IRatingLevelDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int RatingLevelDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class RatingLevelDescriptorMappingContract : IMappingContract + { + public RatingLevelDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) + { + switch (memberName) + { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "RatingLevelDescriptorId": + return true; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + } + + /// + /// Defines available properties and methods for the abstraction of the ReasonExitedDescriptor model. + /// + public interface IReasonExitedDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int ReasonExitedDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class ReasonExitedDescriptorMappingContract : IMappingContract + { + public ReasonExitedDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) + { + switch (memberName) + { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "ReasonExitedDescriptorId": + return true; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + } + + /// + /// Defines available properties and methods for the abstraction of the ReasonNotTestedDescriptor model. + /// + public interface IReasonNotTestedDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int ReasonNotTestedDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class ReasonNotTestedDescriptorMappingContract : IMappingContract + { + public ReasonNotTestedDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) + { + switch (memberName) + { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "ReasonNotTestedDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - } - - /// - /// Defines available properties and methods for the abstraction of the RatingLevelDescriptor model. - /// - public interface IRatingLevelDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int RatingLevelDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class RatingLevelDescriptorMappingContract : IMappingContract - { - public RatingLevelDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "RatingLevelDescriptorId": - return true; default: throw new Exception($"Unknown member '{memberName}'."); } @@ -27703,13 +31930,13 @@ bool IMappingContract.IsMemberSupported(string memberName) } /// - /// Defines available properties and methods for the abstraction of the ReasonExitedDescriptor model. + /// Defines available properties and methods for the abstraction of the RecognitionTypeDescriptor model. /// - public interface IReasonExitedDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + public interface IRecognitionTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample { // Primary Key properties [AutoIncrement] - int ReasonExitedDescriptorId { get; set; } + int RecognitionTypeDescriptorId { get; set; } // Non-PK properties @@ -27724,9 +31951,9 @@ public interface IReasonExitedDescriptor : EdFi.IDescriptor, ISynchronizable, IM /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized /// between entities/resources during API request processing. /// - public class ReasonExitedDescriptorMappingContract : IMappingContract + public class RecognitionTypeDescriptorMappingContract : IMappingContract { - public ReasonExitedDescriptorMappingContract( + public RecognitionTypeDescriptorMappingContract( bool isCodeValueSupported, bool isDescriptionSupported, bool isEffectiveBeginDateSupported, @@ -27767,82 +31994,17 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "ReasonExitedDescriptorId": + case "RecognitionTypeDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - } - - /// - /// Defines available properties and methods for the abstraction of the ReasonNotTestedDescriptor model. - /// - public interface IReasonNotTestedDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int ReasonNotTestedDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class ReasonNotTestedDescriptorMappingContract : IMappingContract - { - public ReasonNotTestedDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "ReasonNotTestedDescriptorId": - return true; default: throw new Exception($"Unknown member '{memberName}'."); } @@ -27851,13 +32013,13 @@ bool IMappingContract.IsMemberSupported(string memberName) } /// - /// Defines available properties and methods for the abstraction of the RecognitionTypeDescriptor model. + /// Defines available properties and methods for the abstraction of the RelationDescriptor model. /// - public interface IRecognitionTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + public interface IRelationDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample { // Primary Key properties [AutoIncrement] - int RecognitionTypeDescriptorId { get; set; } + int RelationDescriptorId { get; set; } // Non-PK properties @@ -27872,9 +32034,9 @@ public interface IRecognitionTypeDescriptor : EdFi.IDescriptor, ISynchronizable, /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized /// between entities/resources during API request processing. /// - public class RecognitionTypeDescriptorMappingContract : IMappingContract + public class RelationDescriptorMappingContract : IMappingContract { - public RecognitionTypeDescriptorMappingContract( + public RelationDescriptorMappingContract( bool isCodeValueSupported, bool isDescriptionSupported, bool isEffectiveBeginDateSupported, @@ -27915,82 +32077,17 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "RecognitionTypeDescriptorId": + case "RelationDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - } - - /// - /// Defines available properties and methods for the abstraction of the RelationDescriptor model. - /// - public interface IRelationDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int RelationDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class RelationDescriptorMappingContract : IMappingContract - { - public RelationDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "RelationDescriptorId": - return true; default: throw new Exception($"Unknown member '{memberName}'."); } @@ -28070,6 +32167,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28128,8 +32234,11 @@ public ReportCardMappingContract( bool isReportCardGradesSupported, bool isReportCardStudentCompetencyObjectivesSupported, bool isStudentReferenceSupported, + bool isReportCardGradesItemCreatable, Func isReportCardGradeIncluded, + bool isReportCardGradePointAveragesItemCreatable, Func isReportCardGradePointAverageIncluded, + bool isReportCardStudentCompetencyObjectivesItemCreatable, Func isReportCardStudentCompetencyObjectiveIncluded, IReadOnlyList supportedExtensions ) @@ -28143,8 +32252,11 @@ IReadOnlyList supportedExtensions IsReportCardGradesSupported = isReportCardGradesSupported; IsReportCardStudentCompetencyObjectivesSupported = isReportCardStudentCompetencyObjectivesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsReportCardGradesItemCreatable = isReportCardGradesItemCreatable; IsReportCardGradeIncluded = isReportCardGradeIncluded; + IsReportCardGradePointAveragesItemCreatable = isReportCardGradePointAveragesItemCreatable; IsReportCardGradePointAverageIncluded = isReportCardGradePointAverageIncluded; + IsReportCardStudentCompetencyObjectivesItemCreatable = isReportCardStudentCompetencyObjectivesItemCreatable; IsReportCardStudentCompetencyObjectiveIncluded = isReportCardStudentCompetencyObjectiveIncluded; SupportedExtensions = supportedExtensions; } @@ -28158,8 +32270,11 @@ 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; } + public bool IsReportCardStudentCompetencyObjectivesItemCreatable { get; } public Func IsReportCardStudentCompetencyObjectiveIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -28202,6 +32317,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "ReportCardGrades": + return IsReportCardGradesItemCreatable; + case "ReportCardGradePointAverages": + return IsReportCardGradePointAveragesItemCreatable; + case "ReportCardStudentCompetencyObjectives": + return IsReportCardStudentCompetencyObjectivesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28286,6 +32416,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28357,6 +32496,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28425,6 +32573,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28505,6 +32662,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28579,6 +32745,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28653,6 +32828,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28727,6 +32911,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28801,6 +32994,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -28845,7 +33047,9 @@ public RestraintEventMappingContract( bool isRestraintEventReasonsSupported, bool isSchoolReferenceSupported, bool isStudentReferenceSupported, + bool isRestraintEventProgramsItemCreatable, Func isRestraintEventProgramIncluded, + bool isRestraintEventReasonsItemCreatable, Func isRestraintEventReasonIncluded, IReadOnlyList supportedExtensions ) @@ -28856,7 +33060,9 @@ IReadOnlyList supportedExtensions IsRestraintEventReasonsSupported = isRestraintEventReasonsSupported; IsSchoolReferenceSupported = isSchoolReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsRestraintEventProgramsItemCreatable = isRestraintEventProgramsItemCreatable; IsRestraintEventProgramIncluded = isRestraintEventProgramIncluded; + IsRestraintEventReasonsItemCreatable = isRestraintEventReasonsItemCreatable; IsRestraintEventReasonIncluded = isRestraintEventReasonIncluded; SupportedExtensions = supportedExtensions; } @@ -28867,7 +33073,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -28898,6 +33106,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "RestraintEventPrograms": + return IsRestraintEventProgramsItemCreatable; + case "RestraintEventReasons": + return IsRestraintEventReasonsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -28966,6 +33187,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29019,6 +33249,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29099,6 +33338,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29173,6 +33421,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29247,6 +33504,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29310,13 +33576,21 @@ public SchoolMappingContract( bool isShortNameOfInstitutionSupported, bool isTitleIPartASchoolDesignationDescriptorSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, + bool isSchoolCategoriesItemCreatable, Func isSchoolCategoryIncluded, + bool isSchoolGradeLevelsItemCreatable, Func isSchoolGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -29344,13 +33618,21 @@ IReadOnlyList supportedExtensions IsShortNameOfInstitutionSupported = isShortNameOfInstitutionSupported; IsTitleIPartASchoolDesignationDescriptorSupported = isTitleIPartASchoolDesignationDescriptorSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; + IsSchoolCategoriesItemCreatable = isSchoolCategoriesItemCreatable; IsSchoolCategoryIncluded = isSchoolCategoryIncluded; + IsSchoolGradeLevelsItemCreatable = isSchoolGradeLevelsItemCreatable; IsSchoolGradeLevelIncluded = isSchoolGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -29378,13 +33660,21 @@ IReadOnlyList supportedExtensions public bool IsShortNameOfInstitutionSupported { get; } public bool IsTitleIPartASchoolDesignationDescriptorSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } + public bool IsSchoolCategoriesItemCreatable { get; } public Func IsSchoolCategoryIncluded { get; } + public bool IsSchoolGradeLevelsItemCreatable { get; } public Func IsSchoolGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -29445,6 +33735,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + case "SchoolCategories": + return IsSchoolCategoriesItemCreatable; + case "SchoolGradeLevels": + return IsSchoolGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29498,6 +33813,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29578,6 +33902,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29652,6 +33985,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29726,6 +34068,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29800,6 +34151,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29847,6 +34207,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -29927,6 +34296,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -29985,6 +34363,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30070,10 +34457,15 @@ public SectionMappingContract( bool isSectionProgramsSupported, bool isSectionTypeDescriptorSupported, bool isSequenceOfCourseSupported, + bool isSectionCharacteristicsItemCreatable, Func isSectionCharacteristicIncluded, + bool isSectionClassPeriodsItemCreatable, Func isSectionClassPeriodIncluded, + bool isSectionCourseLevelCharacteristicsItemCreatable, Func isSectionCourseLevelCharacteristicIncluded, + bool isSectionOfferedGradeLevelsItemCreatable, Func isSectionOfferedGradeLevelIncluded, + bool isSectionProgramsItemCreatable, Func isSectionProgramIncluded, IReadOnlyList supportedExtensions ) @@ -30099,10 +34491,15 @@ IReadOnlyList supportedExtensions IsSectionProgramsSupported = isSectionProgramsSupported; IsSectionTypeDescriptorSupported = isSectionTypeDescriptorSupported; IsSequenceOfCourseSupported = isSequenceOfCourseSupported; + IsSectionCharacteristicsItemCreatable = isSectionCharacteristicsItemCreatable; IsSectionCharacteristicIncluded = isSectionCharacteristicIncluded; + IsSectionClassPeriodsItemCreatable = isSectionClassPeriodsItemCreatable; IsSectionClassPeriodIncluded = isSectionClassPeriodIncluded; + IsSectionCourseLevelCharacteristicsItemCreatable = isSectionCourseLevelCharacteristicsItemCreatable; IsSectionCourseLevelCharacteristicIncluded = isSectionCourseLevelCharacteristicIncluded; + IsSectionOfferedGradeLevelsItemCreatable = isSectionOfferedGradeLevelsItemCreatable; IsSectionOfferedGradeLevelIncluded = isSectionOfferedGradeLevelIncluded; + IsSectionProgramsItemCreatable = isSectionProgramsItemCreatable; IsSectionProgramIncluded = isSectionProgramIncluded; SupportedExtensions = supportedExtensions; } @@ -30128,10 +34525,15 @@ IReadOnlyList supportedExtensions public bool IsSectionProgramsSupported { get; } public bool IsSectionTypeDescriptorSupported { get; } public bool IsSequenceOfCourseSupported { get; } + public bool IsSectionCharacteristicsItemCreatable { get; } public Func IsSectionCharacteristicIncluded { get; } + public bool IsSectionClassPeriodsItemCreatable { get; } public Func IsSectionClassPeriodIncluded { get; } + public bool IsSectionCourseLevelCharacteristicsItemCreatable { get; } public Func IsSectionCourseLevelCharacteristicIncluded { get; } + public bool IsSectionOfferedGradeLevelsItemCreatable { get; } public Func IsSectionOfferedGradeLevelIncluded { get; } + public bool IsSectionProgramsItemCreatable { get; } public Func IsSectionProgramIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -30196,6 +34598,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SectionCharacteristics": + return IsSectionCharacteristicsItemCreatable; + case "SectionClassPeriods": + return IsSectionClassPeriodsItemCreatable; + case "SectionCourseLevelCharacteristics": + return IsSectionCourseLevelCharacteristicsItemCreatable; + case "SectionOfferedGradeLevels": + return IsSectionOfferedGradeLevelsItemCreatable; + case "SectionPrograms": + return IsSectionProgramsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30305,6 +34726,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30358,6 +34788,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30438,6 +34877,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30492,6 +34940,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30545,6 +35002,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30598,6 +35064,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30666,6 +35141,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -30746,6 +35230,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30820,6 +35313,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30894,6 +35396,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -30968,6 +35479,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31015,7 +35535,9 @@ public SessionMappingContract( bool isSessionGradingPeriodsSupported, bool isTermDescriptorSupported, bool isTotalInstructionalDaysSupported, + bool isSessionAcademicWeeksItemCreatable, Func isSessionAcademicWeekIncluded, + bool isSessionGradingPeriodsItemCreatable, Func isSessionGradingPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -31028,7 +35550,9 @@ IReadOnlyList supportedExtensions IsSessionGradingPeriodsSupported = isSessionGradingPeriodsSupported; IsTermDescriptorSupported = isTermDescriptorSupported; IsTotalInstructionalDaysSupported = isTotalInstructionalDaysSupported; + IsSessionAcademicWeeksItemCreatable = isSessionAcademicWeeksItemCreatable; IsSessionAcademicWeekIncluded = isSessionAcademicWeekIncluded; + IsSessionGradingPeriodsItemCreatable = isSessionGradingPeriodsItemCreatable; IsSessionGradingPeriodIncluded = isSessionGradingPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -31041,7 +35565,9 @@ IReadOnlyList supportedExtensions public bool IsSessionGradingPeriodsSupported { get; } public bool IsTermDescriptorSupported { get; } public bool IsTotalInstructionalDaysSupported { get; } + public bool IsSessionAcademicWeeksItemCreatable { get; } public Func IsSessionAcademicWeekIncluded { get; } + public bool IsSessionGradingPeriodsItemCreatable { get; } public Func IsSessionGradingPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -31076,6 +35602,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SessionAcademicWeeks": + return IsSessionAcademicWeeksItemCreatable; + case "SessionGradingPeriods": + return IsSessionGradingPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31136,6 +35675,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31200,6 +35748,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31280,6 +35837,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31313,18 +35879,21 @@ public class SourceDimensionMappingContract : IMappingContract, IExtensionsMappi public SourceDimensionMappingContract( bool isCodeNameSupported, bool isSourceDimensionReportingTagsSupported, + bool isSourceDimensionReportingTagsItemCreatable, Func isSourceDimensionReportingTagIncluded, IReadOnlyList supportedExtensions ) { IsCodeNameSupported = isCodeNameSupported; IsSourceDimensionReportingTagsSupported = isSourceDimensionReportingTagsSupported; + IsSourceDimensionReportingTagsItemCreatable = isSourceDimensionReportingTagsItemCreatable; IsSourceDimensionReportingTagIncluded = isSourceDimensionReportingTagIncluded; SupportedExtensions = supportedExtensions; } public bool IsCodeNameSupported { get; } public bool IsSourceDimensionReportingTagsSupported { get; } + public bool IsSourceDimensionReportingTagsItemCreatable { get; } public Func IsSourceDimensionReportingTagIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -31345,6 +35914,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SourceDimensionReportingTags": + return IsSourceDimensionReportingTagsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31398,6 +35978,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -31478,6 +36067,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31552,6 +36150,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31626,6 +36233,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31700,6 +36316,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -31801,20 +36426,35 @@ public StaffMappingContract( bool isStaffVisasSupported, bool isYearsOfPriorProfessionalExperienceSupported, bool isYearsOfPriorTeachingExperienceSupported, + bool isStaffAddressesItemCreatable, Func isStaffAddressIncluded, + bool isStaffAncestryEthnicOriginsItemCreatable, Func isStaffAncestryEthnicOriginIncluded, + bool isStaffCredentialsItemCreatable, Func isStaffCredentialIncluded, + bool isStaffElectronicMailsItemCreatable, Func isStaffElectronicMailIncluded, + bool isStaffIdentificationCodesItemCreatable, Func isStaffIdentificationCodeIncluded, + bool isStaffIdentificationDocumentsItemCreatable, Func isStaffIdentificationDocumentIncluded, + bool isStaffInternationalAddressesItemCreatable, Func isStaffInternationalAddressIncluded, + bool isStaffLanguagesItemCreatable, Func isStaffLanguageIncluded, + bool isStaffOtherNamesItemCreatable, Func isStaffOtherNameIncluded, + bool isStaffPersonalIdentificationDocumentsItemCreatable, Func isStaffPersonalIdentificationDocumentIncluded, + bool isStaffRacesItemCreatable, Func isStaffRaceIncluded, + bool isStaffRecognitionsItemCreatable, Func isStaffRecognitionIncluded, + bool isStaffTelephonesItemCreatable, Func isStaffTelephoneIncluded, + bool isStaffTribalAffiliationsItemCreatable, Func isStaffTribalAffiliationIncluded, + bool isStaffVisasItemCreatable, Func isStaffVisaIncluded, IReadOnlyList supportedExtensions ) @@ -31856,20 +36496,35 @@ IReadOnlyList supportedExtensions IsStaffVisasSupported = isStaffVisasSupported; IsYearsOfPriorProfessionalExperienceSupported = isYearsOfPriorProfessionalExperienceSupported; IsYearsOfPriorTeachingExperienceSupported = isYearsOfPriorTeachingExperienceSupported; + IsStaffAddressesItemCreatable = isStaffAddressesItemCreatable; IsStaffAddressIncluded = isStaffAddressIncluded; + IsStaffAncestryEthnicOriginsItemCreatable = isStaffAncestryEthnicOriginsItemCreatable; IsStaffAncestryEthnicOriginIncluded = isStaffAncestryEthnicOriginIncluded; + IsStaffCredentialsItemCreatable = isStaffCredentialsItemCreatable; IsStaffCredentialIncluded = isStaffCredentialIncluded; + IsStaffElectronicMailsItemCreatable = isStaffElectronicMailsItemCreatable; IsStaffElectronicMailIncluded = isStaffElectronicMailIncluded; + IsStaffIdentificationCodesItemCreatable = isStaffIdentificationCodesItemCreatable; IsStaffIdentificationCodeIncluded = isStaffIdentificationCodeIncluded; + IsStaffIdentificationDocumentsItemCreatable = isStaffIdentificationDocumentsItemCreatable; IsStaffIdentificationDocumentIncluded = isStaffIdentificationDocumentIncluded; + IsStaffInternationalAddressesItemCreatable = isStaffInternationalAddressesItemCreatable; IsStaffInternationalAddressIncluded = isStaffInternationalAddressIncluded; + IsStaffLanguagesItemCreatable = isStaffLanguagesItemCreatable; IsStaffLanguageIncluded = isStaffLanguageIncluded; + IsStaffOtherNamesItemCreatable = isStaffOtherNamesItemCreatable; IsStaffOtherNameIncluded = isStaffOtherNameIncluded; + IsStaffPersonalIdentificationDocumentsItemCreatable = isStaffPersonalIdentificationDocumentsItemCreatable; IsStaffPersonalIdentificationDocumentIncluded = isStaffPersonalIdentificationDocumentIncluded; + IsStaffRacesItemCreatable = isStaffRacesItemCreatable; IsStaffRaceIncluded = isStaffRaceIncluded; + IsStaffRecognitionsItemCreatable = isStaffRecognitionsItemCreatable; IsStaffRecognitionIncluded = isStaffRecognitionIncluded; + IsStaffTelephonesItemCreatable = isStaffTelephonesItemCreatable; IsStaffTelephoneIncluded = isStaffTelephoneIncluded; + IsStaffTribalAffiliationsItemCreatable = isStaffTribalAffiliationsItemCreatable; IsStaffTribalAffiliationIncluded = isStaffTribalAffiliationIncluded; + IsStaffVisasItemCreatable = isStaffVisasItemCreatable; IsStaffVisaIncluded = isStaffVisaIncluded; SupportedExtensions = supportedExtensions; } @@ -31911,20 +36566,35 @@ IReadOnlyList supportedExtensions public bool IsStaffVisasSupported { get; } public bool IsYearsOfPriorProfessionalExperienceSupported { get; } public bool IsYearsOfPriorTeachingExperienceSupported { get; } + public bool IsStaffAddressesItemCreatable { get; } public Func IsStaffAddressIncluded { get; } + public bool IsStaffAncestryEthnicOriginsItemCreatable { get; } public Func IsStaffAncestryEthnicOriginIncluded { get; } + public bool IsStaffCredentialsItemCreatable { get; } public Func IsStaffCredentialIncluded { get; } + public bool IsStaffElectronicMailsItemCreatable { get; } public Func IsStaffElectronicMailIncluded { get; } + public bool IsStaffIdentificationCodesItemCreatable { get; } public Func IsStaffIdentificationCodeIncluded { get; } + public bool IsStaffIdentificationDocumentsItemCreatable { get; } public Func IsStaffIdentificationDocumentIncluded { get; } + public bool IsStaffInternationalAddressesItemCreatable { get; } public Func IsStaffInternationalAddressIncluded { get; } + public bool IsStaffLanguagesItemCreatable { get; } public Func IsStaffLanguageIncluded { get; } + public bool IsStaffOtherNamesItemCreatable { get; } public Func IsStaffOtherNameIncluded { get; } + public bool IsStaffPersonalIdentificationDocumentsItemCreatable { get; } public Func IsStaffPersonalIdentificationDocumentIncluded { get; } + public bool IsStaffRacesItemCreatable { get; } public Func IsStaffRaceIncluded { get; } + public bool IsStaffRecognitionsItemCreatable { get; } public Func IsStaffRecognitionIncluded { get; } + public bool IsStaffTelephonesItemCreatable { get; } public Func IsStaffTelephoneIncluded { get; } + public bool IsStaffTribalAffiliationsItemCreatable { get; } public Func IsStaffTribalAffiliationIncluded { get; } + public bool IsStaffVisasItemCreatable { get; } public Func IsStaffVisaIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -32011,6 +36681,45 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffAddresses": + return IsStaffAddressesItemCreatable; + case "StaffAncestryEthnicOrigins": + return IsStaffAncestryEthnicOriginsItemCreatable; + case "StaffCredentials": + return IsStaffCredentialsItemCreatable; + case "StaffElectronicMails": + return IsStaffElectronicMailsItemCreatable; + case "StaffIdentificationCodes": + return IsStaffIdentificationCodesItemCreatable; + case "StaffIdentificationDocuments": + return IsStaffIdentificationDocumentsItemCreatable; + case "StaffInternationalAddresses": + return IsStaffInternationalAddressesItemCreatable; + case "StaffLanguages": + return IsStaffLanguagesItemCreatable; + case "StaffOtherNames": + return IsStaffOtherNamesItemCreatable; + case "StaffPersonalIdentificationDocuments": + return IsStaffPersonalIdentificationDocumentsItemCreatable; + case "StaffRaces": + return IsStaffRacesItemCreatable; + case "StaffRecognitions": + return IsStaffRecognitionsItemCreatable; + case "StaffTelephones": + return IsStaffTelephonesItemCreatable; + case "StaffTribalAffiliations": + return IsStaffTribalAffiliationsItemCreatable; + case "StaffVisas": + return IsStaffVisasItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32090,6 +36799,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32152,6 +36870,7 @@ public StaffAddressMappingContract( bool isLongitudeSupported, bool isNameOfCountySupported, bool isStaffAddressPeriodsSupported, + bool isStaffAddressPeriodsItemCreatable, Func isStaffAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -32166,6 +36885,7 @@ IReadOnlyList supportedExtensions IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; IsStaffAddressPeriodsSupported = isStaffAddressPeriodsSupported; + IsStaffAddressPeriodsItemCreatable = isStaffAddressPeriodsItemCreatable; IsStaffAddressPeriodIncluded = isStaffAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -32180,6 +36900,7 @@ IReadOnlyList supportedExtensions public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } public bool IsStaffAddressPeriodsSupported { get; } + public bool IsStaffAddressPeriodsItemCreatable { get; } public Func IsStaffAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -32222,6 +36943,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffAddressPeriods": + return IsStaffAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32281,6 +37013,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32334,6 +37075,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32414,6 +37164,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -32498,6 +37257,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32562,6 +37330,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32607,6 +37384,7 @@ public StaffDisciplineIncidentAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported, bool isStaffReferenceSupported, + bool isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -32614,6 +37392,7 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; + IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded = isStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -32621,6 +37400,7 @@ 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) @@ -32645,6 +37425,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes": + return IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32698,6 +37489,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32844,6 +37644,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -32896,6 +37705,7 @@ public StaffEducationOrganizationContactAssociationMappingContract( bool isStaffEducationOrganizationContactAssociationAddressSupported, bool isStaffEducationOrganizationContactAssociationTelephonesSupported, bool isStaffReferenceSupported, + bool isStaffEducationOrganizationContactAssociationTelephonesItemCreatable, Func isStaffEducationOrganizationContactAssociationTelephoneIncluded, IReadOnlyList supportedExtensions ) @@ -32906,6 +37716,7 @@ IReadOnlyList supportedExtensions IsStaffEducationOrganizationContactAssociationAddressSupported = isStaffEducationOrganizationContactAssociationAddressSupported; IsStaffEducationOrganizationContactAssociationTelephonesSupported = isStaffEducationOrganizationContactAssociationTelephonesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; + IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable = isStaffEducationOrganizationContactAssociationTelephonesItemCreatable; IsStaffEducationOrganizationContactAssociationTelephoneIncluded = isStaffEducationOrganizationContactAssociationTelephoneIncluded; SupportedExtensions = supportedExtensions; } @@ -32916,6 +37727,7 @@ IReadOnlyList supportedExtensions public bool IsStaffEducationOrganizationContactAssociationAddressSupported { get; } public bool IsStaffEducationOrganizationContactAssociationTelephonesSupported { get; } public bool IsStaffReferenceSupported { get; } + public bool IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable { get; } public Func IsStaffEducationOrganizationContactAssociationTelephoneIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -32946,6 +37758,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffEducationOrganizationContactAssociationTelephones": + return IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33008,6 +37831,7 @@ public StaffEducationOrganizationContactAssociationAddressMappingContract( bool isStaffEducationOrganizationContactAssociationAddressPeriodsSupported, bool isStateAbbreviationDescriptorSupported, bool isStreetNumberNameSupported, + bool isStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable, Func isStaffEducationOrganizationContactAssociationAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -33027,6 +37851,7 @@ IReadOnlyList supportedExtensions IsStaffEducationOrganizationContactAssociationAddressPeriodsSupported = isStaffEducationOrganizationContactAssociationAddressPeriodsSupported; IsStateAbbreviationDescriptorSupported = isStateAbbreviationDescriptorSupported; IsStreetNumberNameSupported = isStreetNumberNameSupported; + IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable = isStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable; IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded = isStaffEducationOrganizationContactAssociationAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -33046,6 +37871,7 @@ IReadOnlyList supportedExtensions public bool IsStaffEducationOrganizationContactAssociationAddressPeriodsSupported { get; } public bool IsStateAbbreviationDescriptorSupported { get; } public bool IsStreetNumberNameSupported { get; } + public bool IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable { get; } public Func IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -33088,6 +37914,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffEducationOrganizationContactAssociationAddressPeriods": + return IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33147,6 +37984,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33222,6 +38068,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33367,6 +38222,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33436,6 +38300,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33501,6 +38374,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33588,6 +38470,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33668,6 +38559,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -33769,6 +38669,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33805,16 +38714,19 @@ public class StaffLanguageMappingContract : IMappingContract, IExtensionsMapping { public StaffLanguageMappingContract( bool isStaffLanguageUsesSupported, + bool isStaffLanguageUsesItemCreatable, Func isStaffLanguageUseIncluded, IReadOnlyList supportedExtensions ) { IsStaffLanguageUsesSupported = isStaffLanguageUsesSupported; + IsStaffLanguageUsesItemCreatable = isStaffLanguageUsesItemCreatable; IsStaffLanguageUseIncluded = isStaffLanguageUseIncluded; SupportedExtensions = supportedExtensions; } public bool IsStaffLanguageUsesSupported { get; } + public bool IsStaffLanguageUsesItemCreatable { get; } public Func IsStaffLanguageUseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -33831,6 +38743,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffLanguageUses": + return IsStaffLanguageUsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33884,6 +38807,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -33969,6 +38901,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34049,6 +38990,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -34126,6 +39076,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34213,6 +39172,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34307,6 +39275,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34360,6 +39337,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34485,6 +39471,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34540,7 +39535,9 @@ public StaffSchoolAssociationMappingContract( bool isStaffReferenceSupported, bool isStaffSchoolAssociationAcademicSubjectsSupported, bool isStaffSchoolAssociationGradeLevelsSupported, + bool isStaffSchoolAssociationAcademicSubjectsItemCreatable, Func isStaffSchoolAssociationAcademicSubjectIncluded, + bool isStaffSchoolAssociationGradeLevelsItemCreatable, Func isStaffSchoolAssociationGradeLevelIncluded, IReadOnlyList supportedExtensions ) @@ -34553,7 +39550,9 @@ IReadOnlyList supportedExtensions IsStaffReferenceSupported = isStaffReferenceSupported; IsStaffSchoolAssociationAcademicSubjectsSupported = isStaffSchoolAssociationAcademicSubjectsSupported; IsStaffSchoolAssociationGradeLevelsSupported = isStaffSchoolAssociationGradeLevelsSupported; + IsStaffSchoolAssociationAcademicSubjectsItemCreatable = isStaffSchoolAssociationAcademicSubjectsItemCreatable; IsStaffSchoolAssociationAcademicSubjectIncluded = isStaffSchoolAssociationAcademicSubjectIncluded; + IsStaffSchoolAssociationGradeLevelsItemCreatable = isStaffSchoolAssociationGradeLevelsItemCreatable; IsStaffSchoolAssociationGradeLevelIncluded = isStaffSchoolAssociationGradeLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -34566,7 +39565,9 @@ IReadOnlyList supportedExtensions public bool IsStaffReferenceSupported { get; } public bool IsStaffSchoolAssociationAcademicSubjectsSupported { get; } public bool IsStaffSchoolAssociationGradeLevelsSupported { get; } + public bool IsStaffSchoolAssociationAcademicSubjectsItemCreatable { get; } public Func IsStaffSchoolAssociationAcademicSubjectIncluded { get; } + public bool IsStaffSchoolAssociationGradeLevelsItemCreatable { get; } public Func IsStaffSchoolAssociationGradeLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -34601,6 +39602,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StaffSchoolAssociationAcademicSubjects": + return IsStaffSchoolAssociationAcademicSubjectsItemCreatable; + case "StaffSchoolAssociationGradeLevels": + return IsStaffSchoolAssociationGradeLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34654,6 +39668,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34707,6 +39730,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34827,6 +39859,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34902,6 +39943,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -34955,6 +40005,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35008,6 +40067,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35088,6 +40156,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -35129,13 +40206,21 @@ public StateEducationAgencyMappingContract( bool isStateEducationAgencyAccountabilitiesSupported, bool isStateEducationAgencyFederalFundsSupported, bool isWebSiteSupported, + bool isEducationOrganizationAddressesItemCreatable, Func isEducationOrganizationAddressIncluded, + bool isEducationOrganizationCategoriesItemCreatable, Func isEducationOrganizationCategoryIncluded, + bool isEducationOrganizationIdentificationCodesItemCreatable, Func isEducationOrganizationIdentificationCodeIncluded, + bool isEducationOrganizationIndicatorsItemCreatable, Func isEducationOrganizationIndicatorIncluded, + bool isEducationOrganizationInstitutionTelephonesItemCreatable, Func isEducationOrganizationInstitutionTelephoneIncluded, + bool isEducationOrganizationInternationalAddressesItemCreatable, Func isEducationOrganizationInternationalAddressIncluded, + bool isStateEducationAgencyAccountabilitiesItemCreatable, Func isStateEducationAgencyAccountabilityIncluded, + bool isStateEducationAgencyFederalFundsItemCreatable, Func isStateEducationAgencyFederalFundsIncluded, IReadOnlyList supportedExtensions ) @@ -35152,13 +40237,21 @@ IReadOnlyList supportedExtensions IsStateEducationAgencyAccountabilitiesSupported = isStateEducationAgencyAccountabilitiesSupported; IsStateEducationAgencyFederalFundsSupported = isStateEducationAgencyFederalFundsSupported; IsWebSiteSupported = isWebSiteSupported; + IsEducationOrganizationAddressesItemCreatable = isEducationOrganizationAddressesItemCreatable; IsEducationOrganizationAddressIncluded = isEducationOrganizationAddressIncluded; + IsEducationOrganizationCategoriesItemCreatable = isEducationOrganizationCategoriesItemCreatable; IsEducationOrganizationCategoryIncluded = isEducationOrganizationCategoryIncluded; + IsEducationOrganizationIdentificationCodesItemCreatable = isEducationOrganizationIdentificationCodesItemCreatable; IsEducationOrganizationIdentificationCodeIncluded = isEducationOrganizationIdentificationCodeIncluded; + IsEducationOrganizationIndicatorsItemCreatable = isEducationOrganizationIndicatorsItemCreatable; IsEducationOrganizationIndicatorIncluded = isEducationOrganizationIndicatorIncluded; + IsEducationOrganizationInstitutionTelephonesItemCreatable = isEducationOrganizationInstitutionTelephonesItemCreatable; IsEducationOrganizationInstitutionTelephoneIncluded = isEducationOrganizationInstitutionTelephoneIncluded; + IsEducationOrganizationInternationalAddressesItemCreatable = isEducationOrganizationInternationalAddressesItemCreatable; IsEducationOrganizationInternationalAddressIncluded = isEducationOrganizationInternationalAddressIncluded; + IsStateEducationAgencyAccountabilitiesItemCreatable = isStateEducationAgencyAccountabilitiesItemCreatable; IsStateEducationAgencyAccountabilityIncluded = isStateEducationAgencyAccountabilityIncluded; + IsStateEducationAgencyFederalFundsItemCreatable = isStateEducationAgencyFederalFundsItemCreatable; IsStateEducationAgencyFederalFundsIncluded = isStateEducationAgencyFederalFundsIncluded; SupportedExtensions = supportedExtensions; } @@ -35175,13 +40268,21 @@ IReadOnlyList supportedExtensions public bool IsStateEducationAgencyAccountabilitiesSupported { get; } public bool IsStateEducationAgencyFederalFundsSupported { get; } public bool IsWebSiteSupported { get; } + public bool IsEducationOrganizationAddressesItemCreatable { get; } public Func IsEducationOrganizationAddressIncluded { get; } + public bool IsEducationOrganizationCategoriesItemCreatable { get; } public Func IsEducationOrganizationCategoryIncluded { get; } + public bool IsEducationOrganizationIdentificationCodesItemCreatable { get; } public Func IsEducationOrganizationIdentificationCodeIncluded { get; } + public bool IsEducationOrganizationIndicatorsItemCreatable { get; } public Func IsEducationOrganizationIndicatorIncluded { get; } + public bool IsEducationOrganizationInstitutionTelephonesItemCreatable { get; } public Func IsEducationOrganizationInstitutionTelephoneIncluded { get; } + public bool IsEducationOrganizationInternationalAddressesItemCreatable { get; } public Func IsEducationOrganizationInternationalAddressIncluded { get; } + public bool IsStateEducationAgencyAccountabilitiesItemCreatable { get; } public Func IsStateEducationAgencyAccountabilityIncluded { get; } + public bool IsStateEducationAgencyFederalFundsItemCreatable { get; } public Func IsStateEducationAgencyFederalFundsIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -35220,6 +40321,31 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "EducationOrganizationAddresses": + return IsEducationOrganizationAddressesItemCreatable; + case "EducationOrganizationCategories": + return IsEducationOrganizationCategoriesItemCreatable; + case "EducationOrganizationIdentificationCodes": + return IsEducationOrganizationIdentificationCodesItemCreatable; + case "EducationOrganizationIndicators": + return IsEducationOrganizationIndicatorsItemCreatable; + case "EducationOrganizationInstitutionTelephones": + return IsEducationOrganizationInstitutionTelephonesItemCreatable; + case "EducationOrganizationInternationalAddresses": + return IsEducationOrganizationInternationalAddressesItemCreatable; + case "StateEducationAgencyAccountabilities": + return IsStateEducationAgencyAccountabilitiesItemCreatable; + case "StateEducationAgencyFederalFunds": + return IsStateEducationAgencyFederalFundsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35285,6 +40411,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35344,6 +40479,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35427,9 +40571,13 @@ public StudentMappingContract( bool isStudentPersonalIdentificationDocumentsSupported, bool isStudentUniqueIdSupported, bool isStudentVisasSupported, + bool isStudentIdentificationDocumentsItemCreatable, Func isStudentIdentificationDocumentIncluded, + bool isStudentOtherNamesItemCreatable, Func isStudentOtherNameIncluded, + bool isStudentPersonalIdentificationDocumentsItemCreatable, Func isStudentPersonalIdentificationDocumentIncluded, + bool isStudentVisasItemCreatable, Func isStudentVisaIncluded, IReadOnlyList supportedExtensions ) @@ -35459,9 +40607,13 @@ IReadOnlyList supportedExtensions IsStudentPersonalIdentificationDocumentsSupported = isStudentPersonalIdentificationDocumentsSupported; IsStudentUniqueIdSupported = isStudentUniqueIdSupported; IsStudentVisasSupported = isStudentVisasSupported; + IsStudentIdentificationDocumentsItemCreatable = isStudentIdentificationDocumentsItemCreatable; IsStudentIdentificationDocumentIncluded = isStudentIdentificationDocumentIncluded; + IsStudentOtherNamesItemCreatable = isStudentOtherNamesItemCreatable; IsStudentOtherNameIncluded = isStudentOtherNameIncluded; + IsStudentPersonalIdentificationDocumentsItemCreatable = isStudentPersonalIdentificationDocumentsItemCreatable; IsStudentPersonalIdentificationDocumentIncluded = isStudentPersonalIdentificationDocumentIncluded; + IsStudentVisasItemCreatable = isStudentVisasItemCreatable; IsStudentVisaIncluded = isStudentVisaIncluded; SupportedExtensions = supportedExtensions; } @@ -35491,9 +40643,13 @@ IReadOnlyList supportedExtensions public bool IsStudentPersonalIdentificationDocumentsSupported { get; } public bool IsStudentUniqueIdSupported { get; } public bool IsStudentVisasSupported { get; } + public bool IsStudentIdentificationDocumentsItemCreatable { get; } public Func IsStudentIdentificationDocumentIncluded { get; } + public bool IsStudentOtherNamesItemCreatable { get; } public Func IsStudentOtherNameIncluded { get; } + public bool IsStudentPersonalIdentificationDocumentsItemCreatable { get; } public Func IsStudentPersonalIdentificationDocumentIncluded { get; } + public bool IsStudentVisasItemCreatable { get; } public Func IsStudentVisaIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -35556,6 +40712,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentIdentificationDocuments": + return IsStudentIdentificationDocumentsItemCreatable; + case "StudentOtherNames": + return IsStudentOtherNamesItemCreatable; + case "StudentPersonalIdentificationDocuments": + return IsStudentPersonalIdentificationDocumentsItemCreatable; + case "StudentVisas": + return IsStudentVisasItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35642,10 +40815,15 @@ public StudentAcademicRecordMappingContract( bool isStudentAcademicRecordRecognitionsSupported, bool isStudentAcademicRecordReportCardsSupported, bool isStudentReferenceSupported, + bool isStudentAcademicRecordAcademicHonorsItemCreatable, Func isStudentAcademicRecordAcademicHonorIncluded, + bool isStudentAcademicRecordDiplomasItemCreatable, Func isStudentAcademicRecordDiplomaIncluded, + bool isStudentAcademicRecordGradePointAveragesItemCreatable, Func isStudentAcademicRecordGradePointAverageIncluded, + bool isStudentAcademicRecordRecognitionsItemCreatable, Func isStudentAcademicRecordRecognitionIncluded, + bool isStudentAcademicRecordReportCardsItemCreatable, Func isStudentAcademicRecordReportCardIncluded, IReadOnlyList supportedExtensions ) @@ -35672,10 +40850,15 @@ IReadOnlyList supportedExtensions IsStudentAcademicRecordRecognitionsSupported = isStudentAcademicRecordRecognitionsSupported; IsStudentAcademicRecordReportCardsSupported = isStudentAcademicRecordReportCardsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentAcademicRecordAcademicHonorsItemCreatable = isStudentAcademicRecordAcademicHonorsItemCreatable; IsStudentAcademicRecordAcademicHonorIncluded = isStudentAcademicRecordAcademicHonorIncluded; + IsStudentAcademicRecordDiplomasItemCreatable = isStudentAcademicRecordDiplomasItemCreatable; IsStudentAcademicRecordDiplomaIncluded = isStudentAcademicRecordDiplomaIncluded; + IsStudentAcademicRecordGradePointAveragesItemCreatable = isStudentAcademicRecordGradePointAveragesItemCreatable; IsStudentAcademicRecordGradePointAverageIncluded = isStudentAcademicRecordGradePointAverageIncluded; + IsStudentAcademicRecordRecognitionsItemCreatable = isStudentAcademicRecordRecognitionsItemCreatable; IsStudentAcademicRecordRecognitionIncluded = isStudentAcademicRecordRecognitionIncluded; + IsStudentAcademicRecordReportCardsItemCreatable = isStudentAcademicRecordReportCardsItemCreatable; IsStudentAcademicRecordReportCardIncluded = isStudentAcademicRecordReportCardIncluded; SupportedExtensions = supportedExtensions; } @@ -35702,10 +40885,15 @@ IReadOnlyList supportedExtensions public bool IsStudentAcademicRecordRecognitionsSupported { get; } public bool IsStudentAcademicRecordReportCardsSupported { get; } public bool IsStudentReferenceSupported { get; } + public bool IsStudentAcademicRecordAcademicHonorsItemCreatable { get; } public Func IsStudentAcademicRecordAcademicHonorIncluded { get; } + public bool IsStudentAcademicRecordDiplomasItemCreatable { get; } public Func IsStudentAcademicRecordDiplomaIncluded { get; } + public bool IsStudentAcademicRecordGradePointAveragesItemCreatable { get; } public Func IsStudentAcademicRecordGradePointAverageIncluded { get; } + public bool IsStudentAcademicRecordRecognitionsItemCreatable { get; } public Func IsStudentAcademicRecordRecognitionIncluded { get; } + public bool IsStudentAcademicRecordReportCardsItemCreatable { get; } public Func IsStudentAcademicRecordReportCardIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -35770,6 +40958,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentAcademicRecordAcademicHonors": + return IsStudentAcademicRecordAcademicHonorsItemCreatable; + case "StudentAcademicRecordDiplomas": + return IsStudentAcademicRecordDiplomasItemCreatable; + case "StudentAcademicRecordGradePointAverages": + return IsStudentAcademicRecordGradePointAveragesItemCreatable; + case "StudentAcademicRecordRecognitions": + return IsStudentAcademicRecordRecognitionsItemCreatable; + case "StudentAcademicRecordReportCards": + return IsStudentAcademicRecordReportCardsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35893,6 +41100,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -35966,6 +41182,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36101,6 +41326,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36172,6 +41406,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36297,6 +41540,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36369,6 +41621,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36461,10 +41722,15 @@ public StudentAssessmentMappingContract( bool isStudentAssessmentStudentObjectiveAssessmentsSupported, bool isStudentReferenceSupported, bool isWhenAssessedGradeLevelDescriptorSupported, + bool isStudentAssessmentAccommodationsItemCreatable, Func isStudentAssessmentAccommodationIncluded, + bool isStudentAssessmentItemsItemCreatable, Func isStudentAssessmentItemIncluded, + bool isStudentAssessmentPerformanceLevelsItemCreatable, Func isStudentAssessmentPerformanceLevelIncluded, + bool isStudentAssessmentScoreResultsItemCreatable, Func isStudentAssessmentScoreResultIncluded, + bool isStudentAssessmentStudentObjectiveAssessmentsItemCreatable, Func isStudentAssessmentStudentObjectiveAssessmentIncluded, IReadOnlyList supportedExtensions ) @@ -36494,10 +41760,15 @@ IReadOnlyList supportedExtensions IsStudentAssessmentStudentObjectiveAssessmentsSupported = isStudentAssessmentStudentObjectiveAssessmentsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsWhenAssessedGradeLevelDescriptorSupported = isWhenAssessedGradeLevelDescriptorSupported; + IsStudentAssessmentAccommodationsItemCreatable = isStudentAssessmentAccommodationsItemCreatable; IsStudentAssessmentAccommodationIncluded = isStudentAssessmentAccommodationIncluded; + IsStudentAssessmentItemsItemCreatable = isStudentAssessmentItemsItemCreatable; IsStudentAssessmentItemIncluded = isStudentAssessmentItemIncluded; + IsStudentAssessmentPerformanceLevelsItemCreatable = isStudentAssessmentPerformanceLevelsItemCreatable; IsStudentAssessmentPerformanceLevelIncluded = isStudentAssessmentPerformanceLevelIncluded; + IsStudentAssessmentScoreResultsItemCreatable = isStudentAssessmentScoreResultsItemCreatable; IsStudentAssessmentScoreResultIncluded = isStudentAssessmentScoreResultIncluded; + IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable = isStudentAssessmentStudentObjectiveAssessmentsItemCreatable; IsStudentAssessmentStudentObjectiveAssessmentIncluded = isStudentAssessmentStudentObjectiveAssessmentIncluded; SupportedExtensions = supportedExtensions; } @@ -36527,10 +41798,15 @@ IReadOnlyList supportedExtensions public bool IsStudentAssessmentStudentObjectiveAssessmentsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsWhenAssessedGradeLevelDescriptorSupported { get; } + public bool IsStudentAssessmentAccommodationsItemCreatable { get; } public Func IsStudentAssessmentAccommodationIncluded { get; } + public bool IsStudentAssessmentItemsItemCreatable { get; } public Func IsStudentAssessmentItemIncluded { get; } + public bool IsStudentAssessmentPerformanceLevelsItemCreatable { get; } public Func IsStudentAssessmentPerformanceLevelIncluded { get; } + public bool IsStudentAssessmentScoreResultsItemCreatable { get; } public Func IsStudentAssessmentScoreResultIncluded { get; } + public bool IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable { get; } public Func IsStudentAssessmentStudentObjectiveAssessmentIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -36601,6 +41877,25 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentAssessmentAccommodations": + return IsStudentAssessmentAccommodationsItemCreatable; + case "StudentAssessmentItems": + return IsStudentAssessmentItemsItemCreatable; + case "StudentAssessmentPerformanceLevels": + return IsStudentAssessmentPerformanceLevelsItemCreatable; + case "StudentAssessmentScoreResults": + return IsStudentAssessmentScoreResultsItemCreatable; + case "StudentAssessmentStudentObjectiveAssessments": + return IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36654,6 +41949,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36752,6 +42056,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36854,6 +42167,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36917,6 +42239,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -36984,6 +42315,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37049,6 +42389,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37096,7 +42445,9 @@ public StudentAssessmentStudentObjectiveAssessmentMappingContract( bool isObjectiveAssessmentReferenceSupported, bool isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported, bool isStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported, + bool isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable, Func isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded, + bool isStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable, Func isStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded, IReadOnlyList supportedExtensions ) @@ -37107,7 +42458,9 @@ IReadOnlyList supportedExtensions IsObjectiveAssessmentReferenceSupported = isObjectiveAssessmentReferenceSupported; IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported = isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported; IsStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported = isStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported; + IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable = isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable; IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded = isStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded; + IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable = isStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable; IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded = isStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded; SupportedExtensions = supportedExtensions; } @@ -37118,7 +42471,9 @@ IReadOnlyList supportedExtensions public bool IsObjectiveAssessmentReferenceSupported { get; } public bool IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported { get; } public bool IsStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported { get; } + public bool IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable { get; } public Func IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded { get; } + public bool IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable { get; } public Func IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -37145,6 +42500,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentAssessmentStudentObjectiveAssessmentPerformanceLevels": + return IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable; + case "StudentAssessmentStudentObjectiveAssessmentScoreResults": + return IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37208,6 +42576,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37273,6 +42650,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37353,6 +42739,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -37396,6 +42791,7 @@ public StudentCohortAssociationMappingContract( bool isEndDateSupported, bool isStudentCohortAssociationSectionsSupported, bool isStudentReferenceSupported, + bool isStudentCohortAssociationSectionsItemCreatable, Func isStudentCohortAssociationSectionIncluded, IReadOnlyList supportedExtensions ) @@ -37404,6 +42800,7 @@ IReadOnlyList supportedExtensions IsEndDateSupported = isEndDateSupported; IsStudentCohortAssociationSectionsSupported = isStudentCohortAssociationSectionsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentCohortAssociationSectionsItemCreatable = isStudentCohortAssociationSectionsItemCreatable; IsStudentCohortAssociationSectionIncluded = isStudentCohortAssociationSectionIncluded; SupportedExtensions = supportedExtensions; } @@ -37412,6 +42809,7 @@ 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) @@ -37440,6 +42838,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentCohortAssociationSections": + return IsStudentCohortAssociationSectionsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37516,6 +42925,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37580,7 +42998,9 @@ public StudentCompetencyObjectiveMappingContract( bool isStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported, bool isStudentCompetencyObjectiveStudentSectionAssociationsSupported, bool isStudentReferenceSupported, + bool isStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable, Func isStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded, + bool isStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable, Func isStudentCompetencyObjectiveStudentSectionAssociationIncluded, IReadOnlyList supportedExtensions ) @@ -37592,7 +43012,9 @@ IReadOnlyList supportedExtensions IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported = isStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported; IsStudentCompetencyObjectiveStudentSectionAssociationsSupported = isStudentCompetencyObjectiveStudentSectionAssociationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable = isStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable; IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded = isStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded; + IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable = isStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable; IsStudentCompetencyObjectiveStudentSectionAssociationIncluded = isStudentCompetencyObjectiveStudentSectionAssociationIncluded; SupportedExtensions = supportedExtensions; } @@ -37604,7 +43026,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -37647,6 +43071,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentCompetencyObjectiveGeneralStudentProgramAssociations": + return IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable; + case "StudentCompetencyObjectiveStudentSectionAssociations": + return IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37723,6 +43160,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37803,6 +43249,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37915,6 +43370,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -37961,7 +43425,9 @@ public StudentCTEProgramAssociationMappingContract( bool isStudentCTEProgramAssociationCTEProgramServicesSupported, bool isStudentReferenceSupported, bool isTechnicalSkillsAssessmentDescriptorSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentCTEProgramAssociationCTEProgramServicesItemCreatable, Func isStudentCTEProgramAssociationCTEProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -37977,7 +43443,9 @@ IReadOnlyList supportedExtensions IsStudentCTEProgramAssociationCTEProgramServicesSupported = isStudentCTEProgramAssociationCTEProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsTechnicalSkillsAssessmentDescriptorSupported = isTechnicalSkillsAssessmentDescriptorSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable = isStudentCTEProgramAssociationCTEProgramServicesItemCreatable; IsStudentCTEProgramAssociationCTEProgramServiceIncluded = isStudentCTEProgramAssociationCTEProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -37993,7 +43461,9 @@ IReadOnlyList supportedExtensions public bool IsStudentCTEProgramAssociationCTEProgramServicesSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsTechnicalSkillsAssessmentDescriptorSupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable { get; } public Func IsStudentCTEProgramAssociationCTEProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -38040,6 +43510,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentCTEProgramAssociationCTEProgramServices": + return IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38117,6 +43600,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38166,6 +43658,7 @@ public StudentDisciplineIncidentBehaviorAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported, bool isStudentReferenceSupported, + bool isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -38174,6 +43667,7 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded = isStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -38182,6 +43676,7 @@ 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) @@ -38210,6 +43705,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes": + return IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38263,6 +43769,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38308,6 +43823,7 @@ public StudentDisciplineIncidentNonOffenderAssociationMappingContract( bool isDisciplineIncidentReferenceSupported, bool isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported, bool isStudentReferenceSupported, + bool isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable, Func isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded, IReadOnlyList supportedExtensions ) @@ -38315,6 +43831,7 @@ IReadOnlyList supportedExtensions IsDisciplineIncidentReferenceSupported = isDisciplineIncidentReferenceSupported; IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable; IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded = isStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded; SupportedExtensions = supportedExtensions; } @@ -38322,6 +43839,7 @@ 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) @@ -38346,6 +43864,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes": + return IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38399,6 +43928,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38494,18 +44032,31 @@ public StudentEducationOrganizationAssociationMappingContract( bool isStudentEducationOrganizationAssociationTribalAffiliationsSupported, bool isStudentReferenceSupported, bool isSupporterMilitaryConnectionDescriptorSupported, + bool isStudentEducationOrganizationAssociationAddressesItemCreatable, Func isStudentEducationOrganizationAssociationAddressIncluded, + bool isStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable, Func isStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded, + bool isStudentEducationOrganizationAssociationCohortYearsItemCreatable, Func isStudentEducationOrganizationAssociationCohortYearIncluded, + bool isStudentEducationOrganizationAssociationDisabilitiesItemCreatable, Func isStudentEducationOrganizationAssociationDisabilityIncluded, + bool isStudentEducationOrganizationAssociationElectronicMailsItemCreatable, Func isStudentEducationOrganizationAssociationElectronicMailIncluded, + bool isStudentEducationOrganizationAssociationInternationalAddressesItemCreatable, Func isStudentEducationOrganizationAssociationInternationalAddressIncluded, + bool isStudentEducationOrganizationAssociationLanguagesItemCreatable, Func isStudentEducationOrganizationAssociationLanguageIncluded, + bool isStudentEducationOrganizationAssociationRacesItemCreatable, Func isStudentEducationOrganizationAssociationRaceIncluded, + bool isStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable, Func isStudentEducationOrganizationAssociationStudentCharacteristicIncluded, + bool isStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable, Func isStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded, + bool isStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable, Func isStudentEducationOrganizationAssociationStudentIndicatorIncluded, + bool isStudentEducationOrganizationAssociationTelephonesItemCreatable, Func isStudentEducationOrganizationAssociationTelephoneIncluded, + bool isStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable, Func isStudentEducationOrganizationAssociationTribalAffiliationIncluded, IReadOnlyList supportedExtensions ) @@ -38539,18 +44090,31 @@ IReadOnlyList supportedExtensions IsStudentEducationOrganizationAssociationTribalAffiliationsSupported = isStudentEducationOrganizationAssociationTribalAffiliationsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsSupporterMilitaryConnectionDescriptorSupported = isSupporterMilitaryConnectionDescriptorSupported; + IsStudentEducationOrganizationAssociationAddressesItemCreatable = isStudentEducationOrganizationAssociationAddressesItemCreatable; IsStudentEducationOrganizationAssociationAddressIncluded = isStudentEducationOrganizationAssociationAddressIncluded; + IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable = isStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable; IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded = isStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded; + IsStudentEducationOrganizationAssociationCohortYearsItemCreatable = isStudentEducationOrganizationAssociationCohortYearsItemCreatable; IsStudentEducationOrganizationAssociationCohortYearIncluded = isStudentEducationOrganizationAssociationCohortYearIncluded; + IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable = isStudentEducationOrganizationAssociationDisabilitiesItemCreatable; IsStudentEducationOrganizationAssociationDisabilityIncluded = isStudentEducationOrganizationAssociationDisabilityIncluded; + IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable = isStudentEducationOrganizationAssociationElectronicMailsItemCreatable; IsStudentEducationOrganizationAssociationElectronicMailIncluded = isStudentEducationOrganizationAssociationElectronicMailIncluded; + IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable = isStudentEducationOrganizationAssociationInternationalAddressesItemCreatable; IsStudentEducationOrganizationAssociationInternationalAddressIncluded = isStudentEducationOrganizationAssociationInternationalAddressIncluded; + IsStudentEducationOrganizationAssociationLanguagesItemCreatable = isStudentEducationOrganizationAssociationLanguagesItemCreatable; IsStudentEducationOrganizationAssociationLanguageIncluded = isStudentEducationOrganizationAssociationLanguageIncluded; + IsStudentEducationOrganizationAssociationRacesItemCreatable = isStudentEducationOrganizationAssociationRacesItemCreatable; IsStudentEducationOrganizationAssociationRaceIncluded = isStudentEducationOrganizationAssociationRaceIncluded; + IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable = isStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable; IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded = isStudentEducationOrganizationAssociationStudentCharacteristicIncluded; + IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable = isStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable; IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded = isStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded; + IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable = isStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable; IsStudentEducationOrganizationAssociationStudentIndicatorIncluded = isStudentEducationOrganizationAssociationStudentIndicatorIncluded; + IsStudentEducationOrganizationAssociationTelephonesItemCreatable = isStudentEducationOrganizationAssociationTelephonesItemCreatable; IsStudentEducationOrganizationAssociationTelephoneIncluded = isStudentEducationOrganizationAssociationTelephoneIncluded; + IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable = isStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable; IsStudentEducationOrganizationAssociationTribalAffiliationIncluded = isStudentEducationOrganizationAssociationTribalAffiliationIncluded; SupportedExtensions = supportedExtensions; } @@ -38584,18 +44148,31 @@ IReadOnlyList supportedExtensions public bool IsStudentEducationOrganizationAssociationTribalAffiliationsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsSupporterMilitaryConnectionDescriptorSupported { get; } + public bool IsStudentEducationOrganizationAssociationAddressesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAddressIncluded { get; } + public bool IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded { get; } + public bool IsStudentEducationOrganizationAssociationCohortYearsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationCohortYearIncluded { get; } + public bool IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationDisabilityIncluded { get; } + public bool IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationElectronicMailIncluded { get; } + public bool IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationInternationalAddressIncluded { get; } + public bool IsStudentEducationOrganizationAssociationLanguagesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationLanguageIncluded { get; } + public bool IsStudentEducationOrganizationAssociationRacesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationRaceIncluded { get; } + public bool IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded { get; } + public bool IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded { get; } + public bool IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentIndicatorIncluded { get; } + public bool IsStudentEducationOrganizationAssociationTelephonesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationTelephoneIncluded { get; } + public bool IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationTribalAffiliationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -38670,6 +44247,41 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationAddresses": + return IsStudentEducationOrganizationAssociationAddressesItemCreatable; + case "StudentEducationOrganizationAssociationAncestryEthnicOrigins": + return IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable; + case "StudentEducationOrganizationAssociationCohortYears": + return IsStudentEducationOrganizationAssociationCohortYearsItemCreatable; + case "StudentEducationOrganizationAssociationDisabilities": + return IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable; + case "StudentEducationOrganizationAssociationElectronicMails": + return IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable; + case "StudentEducationOrganizationAssociationInternationalAddresses": + return IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable; + case "StudentEducationOrganizationAssociationLanguages": + return IsStudentEducationOrganizationAssociationLanguagesItemCreatable; + case "StudentEducationOrganizationAssociationRaces": + return IsStudentEducationOrganizationAssociationRacesItemCreatable; + case "StudentEducationOrganizationAssociationStudentCharacteristics": + return IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable; + case "StudentEducationOrganizationAssociationStudentIdentificationCodes": + return IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable; + case "StudentEducationOrganizationAssociationStudentIndicators": + return IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable; + case "StudentEducationOrganizationAssociationTelephones": + return IsStudentEducationOrganizationAssociationTelephonesItemCreatable; + case "StudentEducationOrganizationAssociationTribalAffiliations": + return IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38732,6 +44344,7 @@ public StudentEducationOrganizationAssociationAddressMappingContract( bool isLongitudeSupported, bool isNameOfCountySupported, bool isStudentEducationOrganizationAssociationAddressPeriodsSupported, + bool isStudentEducationOrganizationAssociationAddressPeriodsItemCreatable, Func isStudentEducationOrganizationAssociationAddressPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -38746,6 +44359,7 @@ IReadOnlyList supportedExtensions IsLongitudeSupported = isLongitudeSupported; IsNameOfCountySupported = isNameOfCountySupported; IsStudentEducationOrganizationAssociationAddressPeriodsSupported = isStudentEducationOrganizationAssociationAddressPeriodsSupported; + IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable = isStudentEducationOrganizationAssociationAddressPeriodsItemCreatable; IsStudentEducationOrganizationAssociationAddressPeriodIncluded = isStudentEducationOrganizationAssociationAddressPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -38760,6 +44374,7 @@ IReadOnlyList supportedExtensions public bool IsLongitudeSupported { get; } public bool IsNameOfCountySupported { get; } public bool IsStudentEducationOrganizationAssociationAddressPeriodsSupported { get; } + public bool IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationAddressPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -38802,6 +44417,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationAddressPeriods": + return IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38861,6 +44487,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38914,6 +44549,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -38983,6 +44627,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39025,6 +44678,7 @@ public StudentEducationOrganizationAssociationDisabilityMappingContract( bool isDisabilityDiagnosisSupported, bool isOrderOfDisabilitySupported, bool isStudentEducationOrganizationAssociationDisabilityDesignationsSupported, + bool isStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable, Func isStudentEducationOrganizationAssociationDisabilityDesignationIncluded, IReadOnlyList supportedExtensions ) @@ -39033,6 +44687,7 @@ IReadOnlyList supportedExtensions IsDisabilityDiagnosisSupported = isDisabilityDiagnosisSupported; IsOrderOfDisabilitySupported = isOrderOfDisabilitySupported; IsStudentEducationOrganizationAssociationDisabilityDesignationsSupported = isStudentEducationOrganizationAssociationDisabilityDesignationsSupported; + IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable = isStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable; IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded = isStudentEducationOrganizationAssociationDisabilityDesignationIncluded; SupportedExtensions = supportedExtensions; } @@ -39041,6 +44696,7 @@ IReadOnlyList supportedExtensions public bool IsDisabilityDiagnosisSupported { get; } public bool IsOrderOfDisabilitySupported { get; } public bool IsStudentEducationOrganizationAssociationDisabilityDesignationsSupported { get; } + public bool IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39063,6 +44719,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationDisabilityDesignations": + return IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39116,6 +44783,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39185,6 +44861,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39292,6 +44977,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39328,16 +45022,19 @@ public class StudentEducationOrganizationAssociationLanguageMappingContract : IM { public StudentEducationOrganizationAssociationLanguageMappingContract( bool isStudentEducationOrganizationAssociationLanguageUsesSupported, + bool isStudentEducationOrganizationAssociationLanguageUsesItemCreatable, Func isStudentEducationOrganizationAssociationLanguageUseIncluded, IReadOnlyList supportedExtensions ) { IsStudentEducationOrganizationAssociationLanguageUsesSupported = isStudentEducationOrganizationAssociationLanguageUsesSupported; + IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable = isStudentEducationOrganizationAssociationLanguageUsesItemCreatable; IsStudentEducationOrganizationAssociationLanguageUseIncluded = isStudentEducationOrganizationAssociationLanguageUseIncluded; SupportedExtensions = supportedExtensions; } public bool IsStudentEducationOrganizationAssociationLanguageUsesSupported { get; } + public bool IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationLanguageUseIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39354,6 +45051,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationLanguageUses": + return IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39407,6 +45115,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39460,6 +45177,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39498,18 +45224,21 @@ public class StudentEducationOrganizationAssociationStudentCharacteristicMapping public StudentEducationOrganizationAssociationStudentCharacteristicMappingContract( bool isDesignatedBySupported, bool isStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported, + bool isStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable, Func isStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded, IReadOnlyList supportedExtensions ) { IsDesignatedBySupported = isDesignatedBySupported; IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported = isStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported; + IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable = isStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable; IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded = isStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded; SupportedExtensions = supportedExtensions; } public bool IsDesignatedBySupported { get; } public bool IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported { get; } + public bool IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39528,6 +45257,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationStudentCharacteristicPeriods": + return IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39587,6 +45327,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39650,6 +45399,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39692,6 +45450,7 @@ public StudentEducationOrganizationAssociationStudentIndicatorMappingContract( bool isIndicatorSupported, bool isIndicatorGroupSupported, bool isStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported, + bool isStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable, Func isStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -39700,6 +45459,7 @@ IReadOnlyList supportedExtensions IsIndicatorSupported = isIndicatorSupported; IsIndicatorGroupSupported = isIndicatorGroupSupported; IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported = isStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported; + IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable = isStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable; IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded = isStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -39708,6 +45468,7 @@ IReadOnlyList supportedExtensions public bool IsIndicatorSupported { get; } public bool IsIndicatorGroupSupported { get; } public bool IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported { get; } + public bool IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable { get; } public Func IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -39730,6 +45491,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentEducationOrganizationAssociationStudentIndicatorPeriods": + return IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39789,6 +45561,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39864,6 +45645,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -39917,6 +45707,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40001,6 +45800,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40129,6 +45937,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40175,7 +45992,9 @@ public StudentHomelessProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentHomelessProgramAssociationHomelessProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable, Func isStudentHomelessProgramAssociationHomelessProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -40191,7 +46010,9 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentHomelessProgramAssociationHomelessProgramServicesSupported = isStudentHomelessProgramAssociationHomelessProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable = isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded = isStudentHomelessProgramAssociationHomelessProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -40207,7 +46028,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -40254,6 +46077,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentHomelessProgramAssociationHomelessProgramServices": + return IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40325,6 +46161,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40412,6 +46257,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40492,6 +46346,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -40542,6 +46405,7 @@ public StudentInterventionAssociationMappingContract( bool isInterventionReferenceSupported, bool isStudentInterventionAssociationInterventionEffectivenessesSupported, bool isStudentReferenceSupported, + bool isStudentInterventionAssociationInterventionEffectivenessesItemCreatable, Func isStudentInterventionAssociationInterventionEffectivenessIncluded, IReadOnlyList supportedExtensions ) @@ -40554,6 +46418,7 @@ IReadOnlyList supportedExtensions IsInterventionReferenceSupported = isInterventionReferenceSupported; IsStudentInterventionAssociationInterventionEffectivenessesSupported = isStudentInterventionAssociationInterventionEffectivenessesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable = isStudentInterventionAssociationInterventionEffectivenessesItemCreatable; IsStudentInterventionAssociationInterventionEffectivenessIncluded = isStudentInterventionAssociationInterventionEffectivenessIncluded; SupportedExtensions = supportedExtensions; } @@ -40566,6 +46431,7 @@ 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) @@ -40600,6 +46466,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentInterventionAssociationInterventionEffectivenesses": + return IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40673,6 +46550,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40779,6 +46665,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40825,8 +46720,11 @@ public StudentLanguageInstructionProgramAssociationMappingContract( bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported, bool isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable, Func isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded, + bool isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable, Func isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -40842,8 +46740,11 @@ IReadOnlyList supportedExtensions IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported; IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable; IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded; + IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable; IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -40859,8 +46760,11 @@ 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; } + public bool IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable { get; } public Func IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -40907,6 +46811,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments": + return IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable; + case "StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices": + return IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -40990,6 +46909,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41061,6 +46989,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41119,7 +47056,9 @@ public StudentMigrantEducationProgramAssociationMappingContract( bool isUSInitialEntrySupported, bool isUSInitialSchoolEntrySupported, bool isUSMostRecentEntrySupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable, Func isStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -41141,7 +47080,9 @@ IReadOnlyList supportedExtensions IsUSInitialEntrySupported = isUSInitialEntrySupported; IsUSInitialSchoolEntrySupported = isUSInitialSchoolEntrySupported; IsUSMostRecentEntrySupported = isUSMostRecentEntrySupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable = isStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable; IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded = isStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -41163,7 +47104,9 @@ IReadOnlyList supportedExtensions public bool IsUSInitialEntrySupported { get; } public bool IsUSInitialSchoolEntrySupported { get; } public bool IsUSMostRecentEntrySupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable { get; } public Func IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -41222,6 +47165,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentMigrantEducationProgramAssociationMigrantEducationProgramServices": + return IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41293,6 +47249,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41339,7 +47304,9 @@ public StudentNeglectedOrDelinquentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable, Func isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -41355,7 +47322,9 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -41371,7 +47340,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -41418,6 +47389,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices": + return IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41489,6 +47473,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41572,6 +47565,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41652,6 +47654,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -41733,6 +47744,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41773,7 +47793,9 @@ public StudentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentProgramAssociationServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentProgramAssociationServicesItemCreatable, Func isStudentProgramAssociationServiceIncluded, IReadOnlyList supportedExtensions ) @@ -41786,7 +47808,9 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentProgramAssociationServicesSupported = isStudentProgramAssociationServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentProgramAssociationServicesItemCreatable = isStudentProgramAssociationServicesItemCreatable; IsStudentProgramAssociationServiceIncluded = isStudentProgramAssociationServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -41799,7 +47823,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -41840,6 +47866,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentProgramAssociationServices": + return IsStudentProgramAssociationServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -41911,6 +47950,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42032,6 +48080,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42109,8 +48166,11 @@ public StudentProgramEvaluationMappingContract( bool isSummaryEvaluationCommentSupported, bool isSummaryEvaluationNumericRatingSupported, bool isSummaryEvaluationRatingLevelDescriptorSupported, + bool isStudentProgramEvaluationExternalEvaluatorsItemCreatable, Func isStudentProgramEvaluationExternalEvaluatorIncluded, + bool isStudentProgramEvaluationStudentEvaluationElementsItemCreatable, Func isStudentProgramEvaluationStudentEvaluationElementIncluded, + bool isStudentProgramEvaluationStudentEvaluationObjectivesItemCreatable, Func isStudentProgramEvaluationStudentEvaluationObjectiveIncluded, IReadOnlyList supportedExtensions ) @@ -42128,8 +48188,11 @@ IReadOnlyList supportedExtensions IsSummaryEvaluationCommentSupported = isSummaryEvaluationCommentSupported; IsSummaryEvaluationNumericRatingSupported = isSummaryEvaluationNumericRatingSupported; IsSummaryEvaluationRatingLevelDescriptorSupported = isSummaryEvaluationRatingLevelDescriptorSupported; + IsStudentProgramEvaluationExternalEvaluatorsItemCreatable = isStudentProgramEvaluationExternalEvaluatorsItemCreatable; IsStudentProgramEvaluationExternalEvaluatorIncluded = isStudentProgramEvaluationExternalEvaluatorIncluded; + IsStudentProgramEvaluationStudentEvaluationElementsItemCreatable = isStudentProgramEvaluationStudentEvaluationElementsItemCreatable; IsStudentProgramEvaluationStudentEvaluationElementIncluded = isStudentProgramEvaluationStudentEvaluationElementIncluded; + IsStudentProgramEvaluationStudentEvaluationObjectivesItemCreatable = isStudentProgramEvaluationStudentEvaluationObjectivesItemCreatable; IsStudentProgramEvaluationStudentEvaluationObjectiveIncluded = isStudentProgramEvaluationStudentEvaluationObjectiveIncluded; SupportedExtensions = supportedExtensions; } @@ -42147,8 +48210,11 @@ IReadOnlyList supportedExtensions public bool IsSummaryEvaluationCommentSupported { get; } public bool IsSummaryEvaluationNumericRatingSupported { get; } public bool IsSummaryEvaluationRatingLevelDescriptorSupported { get; } + public bool IsStudentProgramEvaluationExternalEvaluatorsItemCreatable { get; } public Func IsStudentProgramEvaluationExternalEvaluatorIncluded { get; } + public bool IsStudentProgramEvaluationStudentEvaluationElementsItemCreatable { get; } public Func IsStudentProgramEvaluationStudentEvaluationElementIncluded { get; } + public bool IsStudentProgramEvaluationStudentEvaluationObjectivesItemCreatable { get; } public Func IsStudentProgramEvaluationStudentEvaluationObjectiveIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -42203,6 +48269,21 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentProgramEvaluationExternalEvaluators": + return IsStudentProgramEvaluationExternalEvaluatorsItemCreatable; + case "StudentProgramEvaluationStudentEvaluationElements": + return IsStudentProgramEvaluationStudentEvaluationElementsItemCreatable; + case "StudentProgramEvaluationStudentEvaluationObjectives": + return IsStudentProgramEvaluationStudentEvaluationObjectivesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42256,6 +48337,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42328,6 +48418,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42400,6 +48499,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42504,7 +48612,9 @@ public StudentSchoolAssociationMappingContract( bool isStudentSchoolAssociationAlternativeGraduationPlansSupported, bool isStudentSchoolAssociationEducationPlansSupported, bool isTermCompletionIndicatorSupported, + bool isStudentSchoolAssociationAlternativeGraduationPlansItemCreatable, Func isStudentSchoolAssociationAlternativeGraduationPlanIncluded, + bool isStudentSchoolAssociationEducationPlansItemCreatable, Func isStudentSchoolAssociationEducationPlanIncluded, IReadOnlyList supportedExtensions ) @@ -42541,7 +48651,9 @@ IReadOnlyList supportedExtensions IsStudentSchoolAssociationAlternativeGraduationPlansSupported = isStudentSchoolAssociationAlternativeGraduationPlansSupported; IsStudentSchoolAssociationEducationPlansSupported = isStudentSchoolAssociationEducationPlansSupported; IsTermCompletionIndicatorSupported = isTermCompletionIndicatorSupported; + IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable = isStudentSchoolAssociationAlternativeGraduationPlansItemCreatable; IsStudentSchoolAssociationAlternativeGraduationPlanIncluded = isStudentSchoolAssociationAlternativeGraduationPlanIncluded; + IsStudentSchoolAssociationEducationPlansItemCreatable = isStudentSchoolAssociationEducationPlansItemCreatable; IsStudentSchoolAssociationEducationPlanIncluded = isStudentSchoolAssociationEducationPlanIncluded; SupportedExtensions = supportedExtensions; } @@ -42578,7 +48690,9 @@ IReadOnlyList supportedExtensions public bool IsStudentSchoolAssociationAlternativeGraduationPlansSupported { get; } public bool IsStudentSchoolAssociationEducationPlansSupported { get; } public bool IsTermCompletionIndicatorSupported { get; } + public bool IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable { get; } public Func IsStudentSchoolAssociationAlternativeGraduationPlanIncluded { get; } + public bool IsStudentSchoolAssociationEducationPlansItemCreatable { get; } public Func IsStudentSchoolAssociationEducationPlanIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -42661,6 +48775,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSchoolAssociationAlternativeGraduationPlans": + return IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable; + case "StudentSchoolAssociationEducationPlans": + return IsStudentSchoolAssociationEducationPlansItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42729,6 +48856,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42782,6 +48918,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42910,6 +49055,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -42952,7 +49106,9 @@ public StudentSchoolFoodServiceProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentReferenceSupported, bool isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable, Func isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -42966,7 +49122,9 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported = isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable = isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable; IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded = isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -42980,7 +49138,9 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable { get; } public Func IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43023,6 +49183,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices": + return IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43094,6 +49267,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43157,6 +49339,7 @@ public StudentSectionAssociationMappingContract( bool isStudentReferenceSupported, bool isStudentSectionAssociationProgramsSupported, bool isTeacherStudentDataLinkExclusionSupported, + bool isStudentSectionAssociationProgramsItemCreatable, Func isStudentSectionAssociationProgramIncluded, IReadOnlyList supportedExtensions ) @@ -43169,6 +49352,7 @@ IReadOnlyList supportedExtensions IsStudentReferenceSupported = isStudentReferenceSupported; IsStudentSectionAssociationProgramsSupported = isStudentSectionAssociationProgramsSupported; IsTeacherStudentDataLinkExclusionSupported = isTeacherStudentDataLinkExclusionSupported; + IsStudentSectionAssociationProgramsItemCreatable = isStudentSectionAssociationProgramsItemCreatable; IsStudentSectionAssociationProgramIncluded = isStudentSectionAssociationProgramIncluded; SupportedExtensions = supportedExtensions; } @@ -43181,6 +49365,7 @@ IReadOnlyList supportedExtensions public bool IsStudentReferenceSupported { get; } public bool IsStudentSectionAssociationProgramsSupported { get; } public bool IsTeacherStudentDataLinkExclusionSupported { get; } + public bool IsStudentSectionAssociationProgramsItemCreatable { get; } public Func IsStudentSectionAssociationProgramIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43223,6 +49408,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSectionAssociationPrograms": + return IsStudentSectionAssociationProgramsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43291,6 +49487,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43358,6 +49563,7 @@ public StudentSectionAttendanceEventMappingContract( bool isSectionReferenceSupported, bool isStudentReferenceSupported, bool isStudentSectionAttendanceEventClassPeriodsSupported, + bool isStudentSectionAttendanceEventClassPeriodsItemCreatable, Func isStudentSectionAttendanceEventClassPeriodIncluded, IReadOnlyList supportedExtensions ) @@ -43371,6 +49577,7 @@ IReadOnlyList supportedExtensions IsSectionReferenceSupported = isSectionReferenceSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsStudentSectionAttendanceEventClassPeriodsSupported = isStudentSectionAttendanceEventClassPeriodsSupported; + IsStudentSectionAttendanceEventClassPeriodsItemCreatable = isStudentSectionAttendanceEventClassPeriodsItemCreatable; IsStudentSectionAttendanceEventClassPeriodIncluded = isStudentSectionAttendanceEventClassPeriodIncluded; SupportedExtensions = supportedExtensions; } @@ -43384,6 +49591,7 @@ IReadOnlyList supportedExtensions public bool IsSectionReferenceSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsStudentSectionAttendanceEventClassPeriodsSupported { get; } + public bool IsStudentSectionAttendanceEventClassPeriodsItemCreatable { get; } public Func IsStudentSectionAttendanceEventClassPeriodIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43430,6 +49638,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSectionAttendanceEventClassPeriods": + return IsStudentSectionAttendanceEventClassPeriodsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43490,6 +49709,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43560,9 +49788,13 @@ public StudentSpecialEducationProgramAssociationMappingContract( bool isStudentSpecialEducationProgramAssociationDisabilitiesSupported, bool isStudentSpecialEducationProgramAssociationServiceProvidersSupported, bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable, Func isStudentSpecialEducationProgramAssociationDisabilityIncluded, + bool isStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable, Func isStudentSpecialEducationProgramAssociationServiceProviderIncluded, + bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable, Func isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -43590,9 +49822,13 @@ IReadOnlyList supportedExtensions IsStudentSpecialEducationProgramAssociationDisabilitiesSupported = isStudentSpecialEducationProgramAssociationDisabilitiesSupported; IsStudentSpecialEducationProgramAssociationServiceProvidersSupported = isStudentSpecialEducationProgramAssociationServiceProvidersSupported; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable = isStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable; IsStudentSpecialEducationProgramAssociationDisabilityIncluded = isStudentSpecialEducationProgramAssociationDisabilityIncluded; + IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable = isStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable; IsStudentSpecialEducationProgramAssociationServiceProviderIncluded = isStudentSpecialEducationProgramAssociationServiceProviderIncluded; + IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -43620,9 +49856,13 @@ IReadOnlyList supportedExtensions public bool IsStudentSpecialEducationProgramAssociationDisabilitiesSupported { get; } public bool IsStudentSpecialEducationProgramAssociationServiceProvidersSupported { get; } public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationDisabilityIncluded { get; } + public bool IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationServiceProviderIncluded { get; } + public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43693,6 +49933,23 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentSpecialEducationProgramAssociationDisabilities": + return IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable; + case "StudentSpecialEducationProgramAssociationServiceProviders": + return IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable; + case "StudentSpecialEducationProgramAssociationSpecialEducationProgramServices": + return IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43735,6 +49992,7 @@ public StudentSpecialEducationProgramAssociationDisabilityMappingContract( bool isDisabilityDiagnosisSupported, bool isOrderOfDisabilitySupported, bool isStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported, + bool isStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable, Func isStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded, IReadOnlyList supportedExtensions ) @@ -43743,6 +50001,7 @@ IReadOnlyList supportedExtensions IsDisabilityDiagnosisSupported = isDisabilityDiagnosisSupported; IsOrderOfDisabilitySupported = isOrderOfDisabilitySupported; IsStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported = isStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported; + IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable = isStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable; IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded = isStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded; SupportedExtensions = supportedExtensions; } @@ -43751,6 +50010,7 @@ IReadOnlyList supportedExtensions public bool IsDisabilityDiagnosisSupported { get; } public bool IsOrderOfDisabilitySupported { get; } public bool IsStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported { get; } + public bool IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43773,6 +50033,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSpecialEducationProgramAssociationDisabilityDesignations": + return IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43826,6 +50097,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43892,6 +50172,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -43934,6 +50223,7 @@ public StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceMa bool isServiceBeginDateSupported, bool isServiceEndDateSupported, bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported, + bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable, Func isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded, IReadOnlyList supportedExtensions ) @@ -43942,6 +50232,7 @@ IReadOnlyList supportedExtensions IsServiceBeginDateSupported = isServiceBeginDateSupported; IsServiceEndDateSupported = isServiceEndDateSupported; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported; + IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded; SupportedExtensions = supportedExtensions; } @@ -43950,6 +50241,7 @@ IReadOnlyList supportedExtensions public bool IsServiceBeginDateSupported { get; } public bool IsServiceEndDateSupported { get; } public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported { get; } + public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable { get; } public Func IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -43972,6 +50264,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders": + return IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44038,6 +50341,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44217,6 +50529,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44259,7 +50580,9 @@ public StudentTitleIPartAProgramAssociationMappingContract( bool isStudentReferenceSupported, bool isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported, bool isTitleIPartAParticipantDescriptorSupported, + bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, + bool isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable, Func isStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded, IReadOnlyList supportedExtensions ) @@ -44273,7 +50596,9 @@ IReadOnlyList supportedExtensions IsStudentReferenceSupported = isStudentReferenceSupported; IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported = isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported; IsTitleIPartAParticipantDescriptorSupported = isTitleIPartAParticipantDescriptorSupported; + IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; + IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable = isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable; IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded = isStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded; SupportedExtensions = supportedExtensions; } @@ -44287,7 +50612,9 @@ IReadOnlyList supportedExtensions public bool IsStudentReferenceSupported { get; } public bool IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported { get; } public bool IsTitleIPartAParticipantDescriptorSupported { get; } + public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } + public bool IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable { get; } public Func IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -44330,6 +50657,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "GeneralStudentProgramAssociationProgramParticipationStatuses": + return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; + case "StudentTitleIPartAProgramAssociationTitleIPartAProgramServices": + return IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44401,6 +50741,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44454,6 +50803,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44534,6 +50892,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -44608,6 +50975,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -44720,6 +51096,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44800,6 +51185,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -44872,6 +51266,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -44952,6 +51355,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -45028,6 +51440,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45081,7 +51502,9 @@ public SurveyQuestionMappingContract( bool isSurveyReferenceSupported, bool isSurveySectionReferenceSupported, bool isSurveySectionTitleSupported, + bool isSurveyQuestionMatricesItemCreatable, Func isSurveyQuestionMatrixIncluded, + bool isSurveyQuestionResponseChoicesItemCreatable, Func isSurveyQuestionResponseChoiceIncluded, IReadOnlyList supportedExtensions ) @@ -45093,7 +51516,9 @@ IReadOnlyList supportedExtensions IsSurveyReferenceSupported = isSurveyReferenceSupported; IsSurveySectionReferenceSupported = isSurveySectionReferenceSupported; IsSurveySectionTitleSupported = isSurveySectionTitleSupported; + IsSurveyQuestionMatricesItemCreatable = isSurveyQuestionMatricesItemCreatable; IsSurveyQuestionMatrixIncluded = isSurveyQuestionMatrixIncluded; + IsSurveyQuestionResponseChoicesItemCreatable = isSurveyQuestionResponseChoicesItemCreatable; IsSurveyQuestionResponseChoiceIncluded = isSurveyQuestionResponseChoiceIncluded; SupportedExtensions = supportedExtensions; } @@ -45105,7 +51530,9 @@ IReadOnlyList supportedExtensions public bool IsSurveyReferenceSupported { get; } public bool IsSurveySectionReferenceSupported { get; } public bool IsSurveySectionTitleSupported { get; } + public bool IsSurveyQuestionMatricesItemCreatable { get; } public Func IsSurveyQuestionMatrixIncluded { get; } + public bool IsSurveyQuestionResponseChoicesItemCreatable { get; } public Func IsSurveyQuestionResponseChoiceIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -45138,6 +51565,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SurveyQuestionMatrices": + return IsSurveyQuestionMatricesItemCreatable; + case "SurveyQuestionResponseChoices": + return IsSurveyQuestionResponseChoicesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45203,6 +51643,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45256,7 +51705,9 @@ public SurveyQuestionResponseMappingContract( bool isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported, bool isSurveyQuestionResponseValuesSupported, bool isSurveyResponseReferenceSupported, + bool isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable, Func isSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded, + bool isSurveyQuestionResponseValuesItemCreatable, Func isSurveyQuestionResponseValueIncluded, IReadOnlyList supportedExtensions ) @@ -45267,7 +51718,9 @@ IReadOnlyList supportedExtensions IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported = isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported; IsSurveyQuestionResponseValuesSupported = isSurveyQuestionResponseValuesSupported; IsSurveyResponseReferenceSupported = isSurveyResponseReferenceSupported; + IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable = isSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable; IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded = isSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded; + IsSurveyQuestionResponseValuesItemCreatable = isSurveyQuestionResponseValuesItemCreatable; IsSurveyQuestionResponseValueIncluded = isSurveyQuestionResponseValueIncluded; SupportedExtensions = supportedExtensions; } @@ -45278,7 +51731,9 @@ 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; } bool IMappingContract.IsMemberSupported(string memberName) @@ -45311,6 +51766,19 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SurveyQuestionResponseSurveyQuestionMatrixElementResponses": + return IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable; + case "SurveyQuestionResponseValues": + return IsSurveyQuestionResponseValuesItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45376,6 +51844,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45459,6 +51936,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45524,6 +52010,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45591,6 +52086,7 @@ public SurveyResponseMappingContract( bool isStudentUniqueIdSupported, bool isSurveyReferenceSupported, bool isSurveyResponseSurveyLevelsSupported, + bool isSurveyResponseSurveyLevelsItemCreatable, Func isSurveyResponseSurveyLevelIncluded, IReadOnlyList supportedExtensions ) @@ -45608,6 +52104,7 @@ IReadOnlyList supportedExtensions IsStudentUniqueIdSupported = isStudentUniqueIdSupported; IsSurveyReferenceSupported = isSurveyReferenceSupported; IsSurveyResponseSurveyLevelsSupported = isSurveyResponseSurveyLevelsSupported; + IsSurveyResponseSurveyLevelsItemCreatable = isSurveyResponseSurveyLevelsItemCreatable; IsSurveyResponseSurveyLevelIncluded = isSurveyResponseSurveyLevelIncluded; SupportedExtensions = supportedExtensions; } @@ -45625,6 +52122,7 @@ IReadOnlyList supportedExtensions public bool IsStudentUniqueIdSupported { get; } public bool IsSurveyReferenceSupported { get; } public bool IsSurveyResponseSurveyLevelsSupported { get; } + public bool IsSurveyResponseSurveyLevelsItemCreatable { get; } public Func IsSurveyResponseSurveyLevelIncluded { get; } bool IMappingContract.IsMemberSupported(string memberName) @@ -45669,6 +52167,17 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + case "SurveyResponseSurveyLevels": + return IsSurveyResponseSurveyLevelsItemCreatable; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45747,6 +52256,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45825,6 +52343,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45878,6 +52405,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -45945,6 +52481,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -46035,6 +52580,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -46119,6 +52673,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -46201,6 +52764,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -46283,6 +52855,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + public IReadOnlyList SupportedExtensions { get; } public bool IsExtensionSupported(string name) @@ -46363,6 +52944,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46437,6 +53027,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46511,6 +53110,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46585,6 +53193,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46659,6 +53276,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46733,6 +53359,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46807,6 +53442,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46881,6 +53525,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -46955,6 +53608,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -47029,6 +53691,15 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } /// @@ -47103,5 +53774,14 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) + { + switch (memberName) + { + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Mappers_EntityMapper.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Mappers_EntityMapper.generated.approved.cs index 9328a22235..5ce360db41 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Mappers_EntityMapper.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Mappers_EntityMapper.generated.approved.cs @@ -2091,6 +2091,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -2103,6 +2104,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentAssessedGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentAssessedGradeLevelIncluded?.Invoke(item) ?? true); } @@ -2115,6 +2117,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -2127,6 +2130,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentLanguageIncluded?.Invoke(item) ?? true); } @@ -2139,6 +2143,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentPerformanceLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentPerformanceLevelIncluded?.Invoke(item) ?? true); } @@ -2151,6 +2156,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentPeriodIncluded?.Invoke(item) ?? true); } @@ -2163,6 +2169,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentPlatformTypesItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentPlatformTypeIncluded?.Invoke(item) ?? true); } @@ -2175,6 +2182,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentProgramIncluded?.Invoke(item) ?? true); } @@ -2187,6 +2195,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentScoresItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentScoreIncluded?.Invoke(item) ?? true); } @@ -2199,6 +2208,7 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) { child.Assessment = target; }, + itemCreatable: mappingContract?.IsAssessmentSectionsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentSectionIncluded?.Invoke(item) ?? true); } @@ -2296,52 +2306,52 @@ public static void MapTo(this IAssessment source, IAssessment target, Action mappingContract?.IsAssessmentContentStandardAuthorIncluded?.Invoke(item) ?? true); } @@ -2664,7 +2675,7 @@ public static void MapTo(this IAssessmentContentStandard source, IAssessmentCont if (mappingContract?.IsAssessmentContentStandardAuthorsSupported != false) { - source.AssessmentContentStandardAuthors.MapCollectionTo(target.AssessmentContentStandardAuthors, target, mappingContract?.IsAssessmentContentStandardAuthorIncluded); + source.AssessmentContentStandardAuthors.MapCollectionTo(target.AssessmentContentStandardAuthors, mappingContract?.IsAssessmentContentStandardAuthorsItemCreatable ?? true, target, mappingContract?.IsAssessmentContentStandardAuthorIncluded); } // Map extensions @@ -3843,6 +3854,7 @@ public static bool SynchronizeTo(this IAssessmentItem source, IAssessmentItem ta { child.AssessmentItem = target; }, + itemCreatable: mappingContract?.IsAssessmentItemLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentItemLearningStandardIncluded?.Invoke(item) ?? true); } @@ -3855,6 +3867,7 @@ public static bool SynchronizeTo(this IAssessmentItem source, IAssessmentItem ta { child.AssessmentItem = target; }, + itemCreatable: mappingContract?.IsAssessmentItemPossibleResponsesItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentItemPossibleResponseIncluded?.Invoke(item) ?? true); } @@ -3917,12 +3930,12 @@ public static void MapTo(this IAssessmentItem source, IAssessmentItem target, Ac if (mappingContract?.IsAssessmentItemLearningStandardsSupported != false) { - source.AssessmentItemLearningStandards.MapCollectionTo(target.AssessmentItemLearningStandards, target, mappingContract?.IsAssessmentItemLearningStandardIncluded); + source.AssessmentItemLearningStandards.MapCollectionTo(target.AssessmentItemLearningStandards, mappingContract?.IsAssessmentItemLearningStandardsItemCreatable ?? true, target, mappingContract?.IsAssessmentItemLearningStandardIncluded); } if (mappingContract?.IsAssessmentItemPossibleResponsesSupported != false) { - source.AssessmentItemPossibleResponses.MapCollectionTo(target.AssessmentItemPossibleResponses, target, mappingContract?.IsAssessmentItemPossibleResponseIncluded); + source.AssessmentItemPossibleResponses.MapCollectionTo(target.AssessmentItemPossibleResponses, mappingContract?.IsAssessmentItemPossibleResponsesItemCreatable ?? true, target, mappingContract?.IsAssessmentItemPossibleResponseIncluded); } // Map extensions @@ -4797,6 +4810,7 @@ public static bool SynchronizeTo(this IAssessmentScoreRangeLearningStandard sour { child.AssessmentScoreRangeLearningStandard = target; }, + itemCreatable: mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardIncluded?.Invoke(item) ?? true); } @@ -4855,7 +4869,7 @@ public static void MapTo(this IAssessmentScoreRangeLearningStandard source, IAss if (mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardsSupported != false) { - source.AssessmentScoreRangeLearningStandardLearningStandards.MapCollectionTo(target.AssessmentScoreRangeLearningStandardLearningStandards, target, mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardIncluded); + source.AssessmentScoreRangeLearningStandardLearningStandards.MapCollectionTo(target.AssessmentScoreRangeLearningStandardLearningStandards, mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable ?? true, target, mappingContract?.IsAssessmentScoreRangeLearningStandardLearningStandardIncluded); } // Map extensions @@ -5466,6 +5480,7 @@ public static bool SynchronizeTo(this IBalanceSheetDimension source, IBalanceShe { child.BalanceSheetDimension = target; }, + itemCreatable: mappingContract?.IsBalanceSheetDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsBalanceSheetDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -5505,7 +5520,7 @@ public static void MapTo(this IBalanceSheetDimension source, IBalanceSheetDimens if (mappingContract?.IsBalanceSheetDimensionReportingTagsSupported != false) { - source.BalanceSheetDimensionReportingTags.MapCollectionTo(target.BalanceSheetDimensionReportingTags, target, mappingContract?.IsBalanceSheetDimensionReportingTagIncluded); + source.BalanceSheetDimensionReportingTags.MapCollectionTo(target.BalanceSheetDimensionReportingTags, mappingContract?.IsBalanceSheetDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsBalanceSheetDimensionReportingTagIncluded); } // Map extensions @@ -5978,6 +5993,7 @@ public static bool SynchronizeTo(this IBellSchedule source, IBellSchedule target { child.BellSchedule = target; }, + itemCreatable: mappingContract?.IsBellScheduleClassPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsBellScheduleClassPeriodIncluded?.Invoke(item) ?? true); } @@ -5990,6 +6006,7 @@ public static bool SynchronizeTo(this IBellSchedule source, IBellSchedule target { child.BellSchedule = target; }, + itemCreatable: mappingContract?.IsBellScheduleDatesItemCreatable ?? true, includeItem: item => mappingContract?.IsBellScheduleDateIncluded?.Invoke(item) ?? true); } @@ -6002,6 +6019,7 @@ public static bool SynchronizeTo(this IBellSchedule source, IBellSchedule target { child.BellSchedule = target; }, + itemCreatable: mappingContract?.IsBellScheduleGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsBellScheduleGradeLevelIncluded?.Invoke(item) ?? true); } @@ -6056,17 +6074,17 @@ public static void MapTo(this IBellSchedule source, IBellSchedule target, Action if (mappingContract?.IsBellScheduleClassPeriodsSupported != false) { - source.BellScheduleClassPeriods.MapCollectionTo(target.BellScheduleClassPeriods, target, mappingContract?.IsBellScheduleClassPeriodIncluded); + source.BellScheduleClassPeriods.MapCollectionTo(target.BellScheduleClassPeriods, mappingContract?.IsBellScheduleClassPeriodsItemCreatable ?? true, target, mappingContract?.IsBellScheduleClassPeriodIncluded); } if (mappingContract?.IsBellScheduleDatesSupported != false) { - source.BellScheduleDates.MapCollectionTo(target.BellScheduleDates, target, mappingContract?.IsBellScheduleDateIncluded); + source.BellScheduleDates.MapCollectionTo(target.BellScheduleDates, mappingContract?.IsBellScheduleDatesItemCreatable ?? true, target, mappingContract?.IsBellScheduleDateIncluded); } if (mappingContract?.IsBellScheduleGradeLevelsSupported != false) { - source.BellScheduleGradeLevels.MapCollectionTo(target.BellScheduleGradeLevels, target, mappingContract?.IsBellScheduleGradeLevelIncluded); + source.BellScheduleGradeLevels.MapCollectionTo(target.BellScheduleGradeLevels, mappingContract?.IsBellScheduleGradeLevelsItemCreatable ?? true, target, mappingContract?.IsBellScheduleGradeLevelIncluded); } // Map extensions @@ -6362,6 +6380,7 @@ public static bool SynchronizeTo(this ICalendar source, ICalendar target) { child.Calendar = target; }, + itemCreatable: mappingContract?.IsCalendarGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCalendarGradeLevelIncluded?.Invoke(item) ?? true); } @@ -6409,7 +6428,7 @@ public static void MapTo(this ICalendar source, ICalendar target, Action mappingContract?.IsCalendarDateCalendarEventIncluded?.Invoke(item) ?? true); } @@ -6597,7 +6617,7 @@ public static void MapTo(this ICalendarDate source, ICalendarDate target, Action if (mappingContract?.IsCalendarDateCalendarEventsSupported != false) { - source.CalendarDateCalendarEvents.MapCollectionTo(target.CalendarDateCalendarEvents, target, mappingContract?.IsCalendarDateCalendarEventIncluded); + source.CalendarDateCalendarEvents.MapCollectionTo(target.CalendarDateCalendarEvents, mappingContract?.IsCalendarDateCalendarEventsItemCreatable ?? true, target, mappingContract?.IsCalendarDateCalendarEventIncluded); } // Map extensions @@ -7569,6 +7589,7 @@ public static bool SynchronizeTo(this IChartOfAccount source, IChartOfAccount ta { child.ChartOfAccount = target; }, + itemCreatable: mappingContract?.IsChartOfAccountReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsChartOfAccountReportingTagIncluded?.Invoke(item) ?? true); } @@ -7659,7 +7680,7 @@ public static void MapTo(this IChartOfAccount source, IChartOfAccount target, Ac if (mappingContract?.IsChartOfAccountReportingTagsSupported != false) { - source.ChartOfAccountReportingTags.MapCollectionTo(target.ChartOfAccountReportingTags, target, mappingContract?.IsChartOfAccountReportingTagIncluded); + source.ChartOfAccountReportingTags.MapCollectionTo(target.ChartOfAccountReportingTags, mappingContract?.IsChartOfAccountReportingTagsItemCreatable ?? true, target, mappingContract?.IsChartOfAccountReportingTagIncluded); } // Map extensions @@ -7989,6 +8010,7 @@ public static bool SynchronizeTo(this IClassPeriod source, IClassPeriod target) { child.ClassPeriod = target; }, + itemCreatable: mappingContract?.IsClassPeriodMeetingTimesItemCreatable ?? true, includeItem: item => mappingContract?.IsClassPeriodMeetingTimeIncluded?.Invoke(item) ?? true); } @@ -8034,7 +8056,7 @@ public static void MapTo(this IClassPeriod source, IClassPeriod target, Action mappingContract?.IsCohortProgramIncluded?.Invoke(item) ?? true); } @@ -8411,7 +8434,7 @@ public static void MapTo(this ICohort source, ICohort target, Action child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -9051,6 +9075,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -9060,6 +9085,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -9069,6 +9095,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -9078,6 +9105,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -9087,6 +9115,7 @@ public static bool SynchronizeTo(this ICommunityOrganization source, ICommunityO source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -9138,32 +9167,32 @@ public static void MapTo(this ICommunityOrganization source, ICommunityOrganizat if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -9303,6 +9332,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -9312,6 +9342,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -9321,6 +9352,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -9330,6 +9362,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -9339,6 +9372,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -9348,6 +9382,7 @@ public static bool SynchronizeTo(this ICommunityProvider source, ICommunityProvi source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -9423,32 +9458,32 @@ public static void MapTo(this ICommunityProvider source, ICommunityProvider targ if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -10082,6 +10117,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsContactAddressIncluded?.Invoke(item) ?? true); } @@ -10094,6 +10130,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactElectronicMailsItemCreatable ?? true, includeItem: item => mappingContract?.IsContactElectronicMailIncluded?.Invoke(item) ?? true); } @@ -10106,6 +10143,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsContactInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -10118,6 +10156,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsContactLanguageIncluded?.Invoke(item) ?? true); } @@ -10130,6 +10169,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactOtherNamesItemCreatable ?? true, includeItem: item => mappingContract?.IsContactOtherNameIncluded?.Invoke(item) ?? true); } @@ -10142,6 +10182,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactPersonalIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsContactPersonalIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -10154,6 +10195,7 @@ public static bool SynchronizeTo(this IContact source, IContact target) { child.Contact = target; }, + itemCreatable: mappingContract?.IsContactTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsContactTelephoneIncluded?.Invoke(item) ?? true); } @@ -10241,37 +10283,37 @@ public static void MapTo(this IContact source, IContact target, Action mappingContract?.IsContactAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -10452,7 +10495,7 @@ public static void MapTo(this IContactAddress source, IContactAddress target, Ac if (mappingContract?.IsContactAddressPeriodsSupported != false) { - source.ContactAddressPeriods.MapCollectionTo(target.ContactAddressPeriods, target, mappingContract?.IsContactAddressPeriodIncluded); + source.ContactAddressPeriods.MapCollectionTo(target.ContactAddressPeriods, mappingContract?.IsContactAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsContactAddressPeriodIncluded); } // Map extensions @@ -10838,6 +10881,7 @@ public static bool SynchronizeTo(this IContactLanguage source, IContactLanguage { child.ContactLanguage = target; }, + itemCreatable: mappingContract?.IsContactLanguageUsesItemCreatable ?? true, includeItem: item => mappingContract?.IsContactLanguageUseIncluded?.Invoke(item) ?? true); } @@ -10870,7 +10914,7 @@ public static void MapTo(this IContactLanguage source, IContactLanguage target, if (mappingContract?.IsContactLanguageUsesSupported != false) { - source.ContactLanguageUses.MapCollectionTo(target.ContactLanguageUses, target, mappingContract?.IsContactLanguageUseIncluded); + source.ContactLanguageUses.MapCollectionTo(target.ContactLanguageUses, mappingContract?.IsContactLanguageUsesItemCreatable ?? true, target, mappingContract?.IsContactLanguageUseIncluded); } // Map extensions @@ -12225,6 +12269,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -12237,6 +12282,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseCompetencyLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseCompetencyLevelIncluded?.Invoke(item) ?? true); } @@ -12249,6 +12295,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -12261,6 +12308,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseLearningStandardIncluded?.Invoke(item) ?? true); } @@ -12273,6 +12321,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseLevelCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseLevelCharacteristicIncluded?.Invoke(item) ?? true); } @@ -12285,6 +12334,7 @@ public static bool SynchronizeTo(this ICourse source, ICourse target) { child.Course = target; }, + itemCreatable: mappingContract?.IsCourseOfferedGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseOfferedGradeLevelIncluded?.Invoke(item) ?? true); } @@ -12376,32 +12426,32 @@ public static void MapTo(this ICourse source, ICourse target, Action mappingContract?.IsCourseOfferingCourseLevelCharacteristicIncluded?.Invoke(item) ?? true); } @@ -13731,6 +13782,7 @@ public static bool SynchronizeTo(this ICourseOffering source, ICourseOffering ta { child.CourseOffering = target; }, + itemCreatable: mappingContract?.IsCourseOfferingCurriculumUsedsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseOfferingCurriculumUsedIncluded?.Invoke(item) ?? true); } @@ -13743,6 +13795,7 @@ public static bool SynchronizeTo(this ICourseOffering source, ICourseOffering ta { child.CourseOffering = target; }, + itemCreatable: mappingContract?.IsCourseOfferingOfferedGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseOfferingOfferedGradeLevelIncluded?.Invoke(item) ?? true); } @@ -13803,17 +13856,17 @@ public static void MapTo(this ICourseOffering source, ICourseOffering target, Ac if (mappingContract?.IsCourseOfferingCourseLevelCharacteristicsSupported != false) { - source.CourseOfferingCourseLevelCharacteristics.MapCollectionTo(target.CourseOfferingCourseLevelCharacteristics, target, mappingContract?.IsCourseOfferingCourseLevelCharacteristicIncluded); + source.CourseOfferingCourseLevelCharacteristics.MapCollectionTo(target.CourseOfferingCourseLevelCharacteristics, mappingContract?.IsCourseOfferingCourseLevelCharacteristicsItemCreatable ?? true, target, mappingContract?.IsCourseOfferingCourseLevelCharacteristicIncluded); } if (mappingContract?.IsCourseOfferingCurriculumUsedsSupported != false) { - source.CourseOfferingCurriculumUseds.MapCollectionTo(target.CourseOfferingCurriculumUseds, target, mappingContract?.IsCourseOfferingCurriculumUsedIncluded); + source.CourseOfferingCurriculumUseds.MapCollectionTo(target.CourseOfferingCurriculumUseds, mappingContract?.IsCourseOfferingCurriculumUsedsItemCreatable ?? true, target, mappingContract?.IsCourseOfferingCurriculumUsedIncluded); } if (mappingContract?.IsCourseOfferingOfferedGradeLevelsSupported != false) { - source.CourseOfferingOfferedGradeLevels.MapCollectionTo(target.CourseOfferingOfferedGradeLevels, target, mappingContract?.IsCourseOfferingOfferedGradeLevelIncluded); + source.CourseOfferingOfferedGradeLevels.MapCollectionTo(target.CourseOfferingOfferedGradeLevels, mappingContract?.IsCourseOfferingOfferedGradeLevelsItemCreatable ?? true, target, mappingContract?.IsCourseOfferingOfferedGradeLevelIncluded); } // Map extensions @@ -14377,6 +14430,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -14389,6 +14443,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -14401,6 +14456,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptCourseProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptCourseProgramIncluded?.Invoke(item) ?? true); } @@ -14413,6 +14469,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptCreditCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptCreditCategoryIncluded?.Invoke(item) ?? true); } @@ -14425,6 +14482,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsIncluded?.Invoke(item) ?? true); } @@ -14437,6 +14495,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsIncluded?.Invoke(item) ?? true); } @@ -14449,6 +14508,7 @@ public static bool SynchronizeTo(this ICourseTranscript source, ICourseTranscrip { child.CourseTranscript = target; }, + itemCreatable: mappingContract?.IsCourseTranscriptSectionsItemCreatable ?? true, includeItem: item => mappingContract?.IsCourseTranscriptSectionIncluded?.Invoke(item) ?? true); } @@ -14557,37 +14617,37 @@ public static void MapTo(this ICourseTranscript source, ICourseTranscript target if (mappingContract?.IsCourseTranscriptAcademicSubjectsSupported != false) { - source.CourseTranscriptAcademicSubjects.MapCollectionTo(target.CourseTranscriptAcademicSubjects, target, mappingContract?.IsCourseTranscriptAcademicSubjectIncluded); + source.CourseTranscriptAcademicSubjects.MapCollectionTo(target.CourseTranscriptAcademicSubjects, mappingContract?.IsCourseTranscriptAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptAcademicSubjectIncluded); } if (mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodesSupported != false) { - source.CourseTranscriptAlternativeCourseIdentificationCodes.MapCollectionTo(target.CourseTranscriptAlternativeCourseIdentificationCodes, target, mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded); + source.CourseTranscriptAlternativeCourseIdentificationCodes.MapCollectionTo(target.CourseTranscriptAlternativeCourseIdentificationCodes, mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptAlternativeCourseIdentificationCodeIncluded); } if (mappingContract?.IsCourseTranscriptCourseProgramsSupported != false) { - source.CourseTranscriptCoursePrograms.MapCollectionTo(target.CourseTranscriptCoursePrograms, target, mappingContract?.IsCourseTranscriptCourseProgramIncluded); + source.CourseTranscriptCoursePrograms.MapCollectionTo(target.CourseTranscriptCoursePrograms, mappingContract?.IsCourseTranscriptCourseProgramsItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptCourseProgramIncluded); } if (mappingContract?.IsCourseTranscriptCreditCategoriesSupported != false) { - source.CourseTranscriptCreditCategories.MapCollectionTo(target.CourseTranscriptCreditCategories, target, mappingContract?.IsCourseTranscriptCreditCategoryIncluded); + source.CourseTranscriptCreditCategories.MapCollectionTo(target.CourseTranscriptCreditCategories, mappingContract?.IsCourseTranscriptCreditCategoriesItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptCreditCategoryIncluded); } if (mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsSupported != false) { - source.CourseTranscriptEarnedAdditionalCredits.MapCollectionTo(target.CourseTranscriptEarnedAdditionalCredits, target, mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsIncluded); + source.CourseTranscriptEarnedAdditionalCredits.MapCollectionTo(target.CourseTranscriptEarnedAdditionalCredits, mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptEarnedAdditionalCreditsIncluded); } if (mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsSupported != false) { - source.CourseTranscriptPartialCourseTranscriptAwards.MapCollectionTo(target.CourseTranscriptPartialCourseTranscriptAwards, target, mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsIncluded); + source.CourseTranscriptPartialCourseTranscriptAwards.MapCollectionTo(target.CourseTranscriptPartialCourseTranscriptAwards, mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptPartialCourseTranscriptAwardsIncluded); } if (mappingContract?.IsCourseTranscriptSectionsSupported != false) { - source.CourseTranscriptSections.MapCollectionTo(target.CourseTranscriptSections, target, mappingContract?.IsCourseTranscriptSectionIncluded); + source.CourseTranscriptSections.MapCollectionTo(target.CourseTranscriptSections, mappingContract?.IsCourseTranscriptSectionsItemCreatable ?? true, target, mappingContract?.IsCourseTranscriptSectionIncluded); } // Map extensions @@ -15302,6 +15362,7 @@ public static bool SynchronizeTo(this ICredential source, ICredential target) { child.Credential = target; }, + itemCreatable: mappingContract?.IsCredentialAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsCredentialAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -15314,6 +15375,7 @@ public static bool SynchronizeTo(this ICredential source, ICredential target) { child.Credential = target; }, + itemCreatable: mappingContract?.IsCredentialEndorsementsItemCreatable ?? true, includeItem: item => mappingContract?.IsCredentialEndorsementIncluded?.Invoke(item) ?? true); } @@ -15326,6 +15388,7 @@ public static bool SynchronizeTo(this ICredential source, ICredential target) { child.Credential = target; }, + itemCreatable: mappingContract?.IsCredentialGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsCredentialGradeLevelIncluded?.Invoke(item) ?? true); } @@ -15386,17 +15449,17 @@ public static void MapTo(this ICredential source, ICredential target, Action mappingContract?.IsDescriptorMappingModelEntityIncluded?.Invoke(item) ?? true); } @@ -16781,7 +16845,7 @@ public static void MapTo(this IDescriptorMapping source, IDescriptorMapping targ if (mappingContract?.IsDescriptorMappingModelEntitiesSupported != false) { - source.DescriptorMappingModelEntities.MapCollectionTo(target.DescriptorMappingModelEntities, target, mappingContract?.IsDescriptorMappingModelEntityIncluded); + source.DescriptorMappingModelEntities.MapCollectionTo(target.DescriptorMappingModelEntities, mappingContract?.IsDescriptorMappingModelEntitiesItemCreatable ?? true, target, mappingContract?.IsDescriptorMappingModelEntityIncluded); } // Map extensions @@ -17884,6 +17948,7 @@ public static bool SynchronizeTo(this IDisciplineAction source, IDisciplineActio { child.DisciplineAction = target; }, + itemCreatable: mappingContract?.IsDisciplineActionDisciplinesItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineActionDisciplineIncluded?.Invoke(item) ?? true); } @@ -17896,6 +17961,7 @@ public static bool SynchronizeTo(this IDisciplineAction source, IDisciplineActio { child.DisciplineAction = target; }, + itemCreatable: mappingContract?.IsDisciplineActionStaffsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineActionStaffIncluded?.Invoke(item) ?? true); } @@ -17908,6 +17974,7 @@ public static bool SynchronizeTo(this IDisciplineAction source, IDisciplineActio { child.DisciplineAction = target; }, + itemCreatable: mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded?.Invoke(item) ?? true); } @@ -17975,17 +18042,17 @@ public static void MapTo(this IDisciplineAction source, IDisciplineAction target if (mappingContract?.IsDisciplineActionDisciplinesSupported != false) { - source.DisciplineActionDisciplines.MapCollectionTo(target.DisciplineActionDisciplines, target, mappingContract?.IsDisciplineActionDisciplineIncluded); + source.DisciplineActionDisciplines.MapCollectionTo(target.DisciplineActionDisciplines, mappingContract?.IsDisciplineActionDisciplinesItemCreatable ?? true, target, mappingContract?.IsDisciplineActionDisciplineIncluded); } if (mappingContract?.IsDisciplineActionStaffsSupported != false) { - source.DisciplineActionStaffs.MapCollectionTo(target.DisciplineActionStaffs, target, mappingContract?.IsDisciplineActionStaffIncluded); + source.DisciplineActionStaffs.MapCollectionTo(target.DisciplineActionStaffs, mappingContract?.IsDisciplineActionStaffsItemCreatable ?? true, target, mappingContract?.IsDisciplineActionStaffIncluded); } if (mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsSupported != false) { - source.DisciplineActionStudentDisciplineIncidentBehaviorAssociations.MapCollectionTo(target.DisciplineActionStudentDisciplineIncidentBehaviorAssociations, target, mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded); + source.DisciplineActionStudentDisciplineIncidentBehaviorAssociations.MapCollectionTo(target.DisciplineActionStudentDisciplineIncidentBehaviorAssociations, mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable ?? true, target, mappingContract?.IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationIncluded); } // Map extensions @@ -18649,6 +18716,7 @@ public static bool SynchronizeTo(this IDisciplineIncident source, IDisciplineInc { child.DisciplineIncident = target; }, + itemCreatable: mappingContract?.IsDisciplineIncidentBehaviorsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineIncidentBehaviorIncluded?.Invoke(item) ?? true); } @@ -18661,6 +18729,7 @@ public static bool SynchronizeTo(this IDisciplineIncident source, IDisciplineInc { child.DisciplineIncident = target; }, + itemCreatable: mappingContract?.IsDisciplineIncidentExternalParticipantsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineIncidentExternalParticipantIncluded?.Invoke(item) ?? true); } @@ -18673,6 +18742,7 @@ public static bool SynchronizeTo(this IDisciplineIncident source, IDisciplineInc { child.DisciplineIncident = target; }, + itemCreatable: mappingContract?.IsDisciplineIncidentWeaponsItemCreatable ?? true, includeItem: item => mappingContract?.IsDisciplineIncidentWeaponIncluded?.Invoke(item) ?? true); } @@ -18742,17 +18812,17 @@ public static void MapTo(this IDisciplineIncident source, IDisciplineIncident ta if (mappingContract?.IsDisciplineIncidentBehaviorsSupported != false) { - source.DisciplineIncidentBehaviors.MapCollectionTo(target.DisciplineIncidentBehaviors, target, mappingContract?.IsDisciplineIncidentBehaviorIncluded); + source.DisciplineIncidentBehaviors.MapCollectionTo(target.DisciplineIncidentBehaviors, mappingContract?.IsDisciplineIncidentBehaviorsItemCreatable ?? true, target, mappingContract?.IsDisciplineIncidentBehaviorIncluded); } if (mappingContract?.IsDisciplineIncidentExternalParticipantsSupported != false) { - source.DisciplineIncidentExternalParticipants.MapCollectionTo(target.DisciplineIncidentExternalParticipants, target, mappingContract?.IsDisciplineIncidentExternalParticipantIncluded); + source.DisciplineIncidentExternalParticipants.MapCollectionTo(target.DisciplineIncidentExternalParticipants, mappingContract?.IsDisciplineIncidentExternalParticipantsItemCreatable ?? true, target, mappingContract?.IsDisciplineIncidentExternalParticipantIncluded); } if (mappingContract?.IsDisciplineIncidentWeaponsSupported != false) { - source.DisciplineIncidentWeapons.MapCollectionTo(target.DisciplineIncidentWeapons, target, mappingContract?.IsDisciplineIncidentWeaponIncluded); + source.DisciplineIncidentWeapons.MapCollectionTo(target.DisciplineIncidentWeapons, mappingContract?.IsDisciplineIncidentWeaponsItemCreatable ?? true, target, mappingContract?.IsDisciplineIncidentWeaponIncluded); } // Map extensions @@ -19460,6 +19530,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentAppropriateGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentAppropriateGradeLevelIncluded?.Invoke(item) ?? true); } @@ -19472,6 +19543,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentAppropriateSexesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentAppropriateSexIncluded?.Invoke(item) ?? true); } @@ -19484,6 +19556,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentAuthorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentAuthorIncluded?.Invoke(item) ?? true); } @@ -19496,6 +19569,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentDerivativeSourceEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentDerivativeSourceEducationContentIncluded?.Invoke(item) ?? true); } @@ -19508,6 +19582,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded?.Invoke(item) ?? true); } @@ -19520,6 +19595,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentDerivativeSourceURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentDerivativeSourceURIIncluded?.Invoke(item) ?? true); } @@ -19532,6 +19608,7 @@ public static bool SynchronizeTo(this IEducationContent source, IEducationConten { child.EducationContent = target; }, + itemCreatable: mappingContract?.IsEducationContentLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationContentLanguageIncluded?.Invoke(item) ?? true); } @@ -19622,37 +19699,37 @@ public static void MapTo(this IEducationContent source, IEducationContent target if (mappingContract?.IsEducationContentAppropriateGradeLevelsSupported != false) { - source.EducationContentAppropriateGradeLevels.MapCollectionTo(target.EducationContentAppropriateGradeLevels, target, mappingContract?.IsEducationContentAppropriateGradeLevelIncluded); + source.EducationContentAppropriateGradeLevels.MapCollectionTo(target.EducationContentAppropriateGradeLevels, mappingContract?.IsEducationContentAppropriateGradeLevelsItemCreatable ?? true, target, mappingContract?.IsEducationContentAppropriateGradeLevelIncluded); } if (mappingContract?.IsEducationContentAppropriateSexesSupported != false) { - source.EducationContentAppropriateSexes.MapCollectionTo(target.EducationContentAppropriateSexes, target, mappingContract?.IsEducationContentAppropriateSexIncluded); + source.EducationContentAppropriateSexes.MapCollectionTo(target.EducationContentAppropriateSexes, mappingContract?.IsEducationContentAppropriateSexesItemCreatable ?? true, target, mappingContract?.IsEducationContentAppropriateSexIncluded); } if (mappingContract?.IsEducationContentAuthorsSupported != false) { - source.EducationContentAuthors.MapCollectionTo(target.EducationContentAuthors, target, mappingContract?.IsEducationContentAuthorIncluded); + source.EducationContentAuthors.MapCollectionTo(target.EducationContentAuthors, mappingContract?.IsEducationContentAuthorsItemCreatable ?? true, target, mappingContract?.IsEducationContentAuthorIncluded); } if (mappingContract?.IsEducationContentDerivativeSourceEducationContentsSupported != false) { - source.EducationContentDerivativeSourceEducationContents.MapCollectionTo(target.EducationContentDerivativeSourceEducationContents, target, mappingContract?.IsEducationContentDerivativeSourceEducationContentIncluded); + source.EducationContentDerivativeSourceEducationContents.MapCollectionTo(target.EducationContentDerivativeSourceEducationContents, mappingContract?.IsEducationContentDerivativeSourceEducationContentsItemCreatable ?? true, target, mappingContract?.IsEducationContentDerivativeSourceEducationContentIncluded); } if (mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIsSupported != false) { - source.EducationContentDerivativeSourceLearningResourceMetadataURIs.MapCollectionTo(target.EducationContentDerivativeSourceLearningResourceMetadataURIs, target, mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded); + source.EducationContentDerivativeSourceLearningResourceMetadataURIs.MapCollectionTo(target.EducationContentDerivativeSourceLearningResourceMetadataURIs, mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIsItemCreatable ?? true, target, mappingContract?.IsEducationContentDerivativeSourceLearningResourceMetadataURIIncluded); } if (mappingContract?.IsEducationContentDerivativeSourceURIsSupported != false) { - source.EducationContentDerivativeSourceURIs.MapCollectionTo(target.EducationContentDerivativeSourceURIs, target, mappingContract?.IsEducationContentDerivativeSourceURIIncluded); + source.EducationContentDerivativeSourceURIs.MapCollectionTo(target.EducationContentDerivativeSourceURIs, mappingContract?.IsEducationContentDerivativeSourceURIsItemCreatable ?? true, target, mappingContract?.IsEducationContentDerivativeSourceURIIncluded); } if (mappingContract?.IsEducationContentLanguagesSupported != false) { - source.EducationContentLanguages.MapCollectionTo(target.EducationContentLanguages, target, mappingContract?.IsEducationContentLanguageIncluded); + source.EducationContentLanguages.MapCollectionTo(target.EducationContentLanguages, mappingContract?.IsEducationContentLanguagesItemCreatable ?? true, target, mappingContract?.IsEducationContentLanguageIncluded); } // Map extensions @@ -20272,6 +20349,7 @@ public static bool SynchronizeTo(this IEducationOrganizationAddress source, IEdu { child.EducationOrganizationAddress = target; }, + itemCreatable: mappingContract?.IsEducationOrganizationAddressPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -20335,7 +20413,7 @@ public static void MapTo(this IEducationOrganizationAddress source, IEducationOr if (mappingContract?.IsEducationOrganizationAddressPeriodsSupported != false) { - source.EducationOrganizationAddressPeriods.MapCollectionTo(target.EducationOrganizationAddressPeriods, target, mappingContract?.IsEducationOrganizationAddressPeriodIncluded); + source.EducationOrganizationAddressPeriods.MapCollectionTo(target.EducationOrganizationAddressPeriods, mappingContract?.IsEducationOrganizationAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressPeriodIncluded); } // Map extensions @@ -20648,6 +20726,7 @@ public static bool SynchronizeTo(this IEducationOrganizationIndicator source, IE { child.EducationOrganizationIndicator = target; }, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorPeriodIncluded?.Invoke(item) ?? true); } @@ -20692,7 +20771,7 @@ public static void MapTo(this IEducationOrganizationIndicator source, IEducation if (mappingContract?.IsEducationOrganizationIndicatorPeriodsSupported != false) { - source.EducationOrganizationIndicatorPeriods.MapCollectionTo(target.EducationOrganizationIndicatorPeriods, target, mappingContract?.IsEducationOrganizationIndicatorPeriodIncluded); + source.EducationOrganizationIndicatorPeriods.MapCollectionTo(target.EducationOrganizationIndicatorPeriods, mappingContract?.IsEducationOrganizationIndicatorPeriodsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorPeriodIncluded); } // Map extensions @@ -21692,6 +21771,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -21701,6 +21781,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -21710,6 +21791,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -21719,6 +21801,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -21728,6 +21811,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -21737,6 +21821,7 @@ public static bool SynchronizeTo(this IEducationOrganizationNetwork source, IEdu source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -21791,32 +21876,32 @@ public static void MapTo(this IEducationOrganizationNetwork source, IEducationOr if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -22286,6 +22371,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -22295,6 +22381,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -22304,6 +22391,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -22313,6 +22401,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -22322,6 +22411,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -22331,6 +22421,7 @@ public static bool SynchronizeTo(this IEducationServiceCenter source, IEducation source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -22391,32 +22482,32 @@ public static void MapTo(this IEducationServiceCenter source, IEducationServiceC if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -24424,6 +24515,7 @@ public static bool SynchronizeTo(this IFunctionDimension source, IFunctionDimens { child.FunctionDimension = target; }, + itemCreatable: mappingContract?.IsFunctionDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsFunctionDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -24463,7 +24555,7 @@ public static void MapTo(this IFunctionDimension source, IFunctionDimension targ if (mappingContract?.IsFunctionDimensionReportingTagsSupported != false) { - source.FunctionDimensionReportingTags.MapCollectionTo(target.FunctionDimensionReportingTags, target, mappingContract?.IsFunctionDimensionReportingTagIncluded); + source.FunctionDimensionReportingTags.MapCollectionTo(target.FunctionDimensionReportingTags, mappingContract?.IsFunctionDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsFunctionDimensionReportingTagIncluded); } // Map extensions @@ -24611,6 +24703,7 @@ public static bool SynchronizeTo(this IFundDimension source, IFundDimension targ { child.FundDimension = target; }, + itemCreatable: mappingContract?.IsFundDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsFundDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -24650,7 +24743,7 @@ public static void MapTo(this IFundDimension source, IFundDimension target, Acti if (mappingContract?.IsFundDimensionReportingTagsSupported != false) { - source.FundDimensionReportingTags.MapCollectionTo(target.FundDimensionReportingTags, target, mappingContract?.IsFundDimensionReportingTagIncluded); + source.FundDimensionReportingTags.MapCollectionTo(target.FundDimensionReportingTags, mappingContract?.IsFundDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsFundDimensionReportingTagIncluded); } // Map extensions @@ -24816,6 +24909,7 @@ public static bool SynchronizeTo(this IGeneralStudentProgramAssociation source, { child.GeneralStudentProgramAssociation = target; }, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -24952,7 +25046,7 @@ public static void MapTo(this IGeneralStudentProgramAssociation source, IGeneral if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } @@ -25226,6 +25320,7 @@ public static bool SynchronizeTo(this IGrade source, IGrade target) { child.Grade = target; }, + itemCreatable: mappingContract?.IsGradeLearningStandardGradesItemCreatable ?? true, includeItem: item => mappingContract?.IsGradeLearningStandardGradeIncluded?.Invoke(item) ?? true); } @@ -25301,7 +25396,7 @@ public static void MapTo(this IGrade source, IGrade target, Action mappingContract?.IsGradebookEntryLearningStandardIncluded?.Invoke(item) ?? true); } @@ -25704,7 +25800,7 @@ public static void MapTo(this IGradebookEntry source, IGradebookEntry target, Ac if (mappingContract?.IsGradebookEntryLearningStandardsSupported != false) { - source.GradebookEntryLearningStandards.MapCollectionTo(target.GradebookEntryLearningStandards, target, mappingContract?.IsGradebookEntryLearningStandardIncluded); + source.GradebookEntryLearningStandards.MapCollectionTo(target.GradebookEntryLearningStandards, mappingContract?.IsGradebookEntryLearningStandardsItemCreatable ?? true, target, mappingContract?.IsGradebookEntryLearningStandardIncluded); } // Map extensions @@ -26780,6 +26876,7 @@ public static bool SynchronizeTo(this IGraduationPlan source, IGraduationPlan ta { child.GraduationPlan = target; }, + itemCreatable: mappingContract?.IsGraduationPlanCreditsByCoursesItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanCreditsByCourseIncluded?.Invoke(item) ?? true); } @@ -26792,6 +26889,7 @@ public static bool SynchronizeTo(this IGraduationPlan source, IGraduationPlan ta { child.GraduationPlan = target; }, + itemCreatable: mappingContract?.IsGraduationPlanCreditsByCreditCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanCreditsByCreditCategoryIncluded?.Invoke(item) ?? true); } @@ -26804,6 +26902,7 @@ public static bool SynchronizeTo(this IGraduationPlan source, IGraduationPlan ta { child.GraduationPlan = target; }, + itemCreatable: mappingContract?.IsGraduationPlanCreditsBySubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanCreditsBySubjectIncluded?.Invoke(item) ?? true); } @@ -26816,6 +26915,7 @@ public static bool SynchronizeTo(this IGraduationPlan source, IGraduationPlan ta { child.GraduationPlan = target; }, + itemCreatable: mappingContract?.IsGraduationPlanRequiredAssessmentsItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanRequiredAssessmentIncluded?.Invoke(item) ?? true); } @@ -26873,22 +26973,22 @@ public static void MapTo(this IGraduationPlan source, IGraduationPlan target, Ac if (mappingContract?.IsGraduationPlanCreditsByCoursesSupported != false) { - source.GraduationPlanCreditsByCourses.MapCollectionTo(target.GraduationPlanCreditsByCourses, target, mappingContract?.IsGraduationPlanCreditsByCourseIncluded); + source.GraduationPlanCreditsByCourses.MapCollectionTo(target.GraduationPlanCreditsByCourses, mappingContract?.IsGraduationPlanCreditsByCoursesItemCreatable ?? true, target, mappingContract?.IsGraduationPlanCreditsByCourseIncluded); } if (mappingContract?.IsGraduationPlanCreditsByCreditCategoriesSupported != false) { - source.GraduationPlanCreditsByCreditCategories.MapCollectionTo(target.GraduationPlanCreditsByCreditCategories, target, mappingContract?.IsGraduationPlanCreditsByCreditCategoryIncluded); + source.GraduationPlanCreditsByCreditCategories.MapCollectionTo(target.GraduationPlanCreditsByCreditCategories, mappingContract?.IsGraduationPlanCreditsByCreditCategoriesItemCreatable ?? true, target, mappingContract?.IsGraduationPlanCreditsByCreditCategoryIncluded); } if (mappingContract?.IsGraduationPlanCreditsBySubjectsSupported != false) { - source.GraduationPlanCreditsBySubjects.MapCollectionTo(target.GraduationPlanCreditsBySubjects, target, mappingContract?.IsGraduationPlanCreditsBySubjectIncluded); + source.GraduationPlanCreditsBySubjects.MapCollectionTo(target.GraduationPlanCreditsBySubjects, mappingContract?.IsGraduationPlanCreditsBySubjectsItemCreatable ?? true, target, mappingContract?.IsGraduationPlanCreditsBySubjectIncluded); } if (mappingContract?.IsGraduationPlanRequiredAssessmentsSupported != false) { - source.GraduationPlanRequiredAssessments.MapCollectionTo(target.GraduationPlanRequiredAssessments, target, mappingContract?.IsGraduationPlanRequiredAssessmentIncluded); + source.GraduationPlanRequiredAssessments.MapCollectionTo(target.GraduationPlanRequiredAssessments, mappingContract?.IsGraduationPlanRequiredAssessmentsItemCreatable ?? true, target, mappingContract?.IsGraduationPlanRequiredAssessmentIncluded); } // Map extensions @@ -26971,6 +27071,7 @@ public static bool SynchronizeTo(this IGraduationPlanCreditsByCourse source, IGr { child.GraduationPlanCreditsByCourse = target; }, + itemCreatable: mappingContract?.IsGraduationPlanCreditsByCourseCoursesItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanCreditsByCourseCourseIncluded?.Invoke(item) ?? true); } @@ -27015,7 +27116,7 @@ public static void MapTo(this IGraduationPlanCreditsByCourse source, IGraduation if (mappingContract?.IsGraduationPlanCreditsByCourseCoursesSupported != false) { - source.GraduationPlanCreditsByCourseCourses.MapCollectionTo(target.GraduationPlanCreditsByCourseCourses, target, mappingContract?.IsGraduationPlanCreditsByCourseCourseIncluded); + source.GraduationPlanCreditsByCourseCourses.MapCollectionTo(target.GraduationPlanCreditsByCourseCourses, mappingContract?.IsGraduationPlanCreditsByCourseCoursesItemCreatable ?? true, target, mappingContract?.IsGraduationPlanCreditsByCourseCourseIncluded); } // Map extensions @@ -27376,6 +27477,7 @@ public static bool SynchronizeTo(this IGraduationPlanRequiredAssessment source, { child.GraduationPlanRequiredAssessment = target; }, + itemCreatable: mappingContract?.IsGraduationPlanRequiredAssessmentScoresItemCreatable ?? true, includeItem: item => mappingContract?.IsGraduationPlanRequiredAssessmentScoreIncluded?.Invoke(item) ?? true); } @@ -27440,7 +27542,7 @@ public static void MapTo(this IGraduationPlanRequiredAssessment source, IGraduat if (mappingContract?.IsGraduationPlanRequiredAssessmentScoresSupported != false) { - source.GraduationPlanRequiredAssessmentScores.MapCollectionTo(target.GraduationPlanRequiredAssessmentScores, target, mappingContract?.IsGraduationPlanRequiredAssessmentScoreIncluded); + source.GraduationPlanRequiredAssessmentScores.MapCollectionTo(target.GraduationPlanRequiredAssessmentScores, mappingContract?.IsGraduationPlanRequiredAssessmentScoresItemCreatable ?? true, target, mappingContract?.IsGraduationPlanRequiredAssessmentScoreIncluded); } // Map extensions @@ -30069,6 +30171,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionAppropriateGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionAppropriateGradeLevelIncluded?.Invoke(item) ?? true); } @@ -30081,6 +30184,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionAppropriateSexesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionAppropriateSexIncluded?.Invoke(item) ?? true); } @@ -30093,6 +30197,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionDiagnosesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionDiagnosisIncluded?.Invoke(item) ?? true); } @@ -30105,6 +30210,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionEducationContentIncluded?.Invoke(item) ?? true); } @@ -30117,6 +30223,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionInterventionPrescriptionsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionInterventionPrescriptionIncluded?.Invoke(item) ?? true); } @@ -30129,6 +30236,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionLearningResourceMetadataURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionLearningResourceMetadataURIIncluded?.Invoke(item) ?? true); } @@ -30141,6 +30249,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionMeetingTimesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionMeetingTimeIncluded?.Invoke(item) ?? true); } @@ -30153,6 +30262,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionPopulationServedsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPopulationServedIncluded?.Invoke(item) ?? true); } @@ -30165,6 +30275,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionStaffsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStaffIncluded?.Invoke(item) ?? true); } @@ -30177,6 +30288,7 @@ public static bool SynchronizeTo(this IIntervention source, IIntervention target { child.Intervention = target; }, + itemCreatable: mappingContract?.IsInterventionURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionURIIncluded?.Invoke(item) ?? true); } @@ -30241,52 +30353,52 @@ public static void MapTo(this IIntervention source, IIntervention target, Action if (mappingContract?.IsInterventionAppropriateGradeLevelsSupported != false) { - source.InterventionAppropriateGradeLevels.MapCollectionTo(target.InterventionAppropriateGradeLevels, target, mappingContract?.IsInterventionAppropriateGradeLevelIncluded); + source.InterventionAppropriateGradeLevels.MapCollectionTo(target.InterventionAppropriateGradeLevels, mappingContract?.IsInterventionAppropriateGradeLevelsItemCreatable ?? true, target, mappingContract?.IsInterventionAppropriateGradeLevelIncluded); } if (mappingContract?.IsInterventionAppropriateSexesSupported != false) { - source.InterventionAppropriateSexes.MapCollectionTo(target.InterventionAppropriateSexes, target, mappingContract?.IsInterventionAppropriateSexIncluded); + source.InterventionAppropriateSexes.MapCollectionTo(target.InterventionAppropriateSexes, mappingContract?.IsInterventionAppropriateSexesItemCreatable ?? true, target, mappingContract?.IsInterventionAppropriateSexIncluded); } if (mappingContract?.IsInterventionDiagnosesSupported != false) { - source.InterventionDiagnoses.MapCollectionTo(target.InterventionDiagnoses, target, mappingContract?.IsInterventionDiagnosisIncluded); + source.InterventionDiagnoses.MapCollectionTo(target.InterventionDiagnoses, mappingContract?.IsInterventionDiagnosesItemCreatable ?? true, target, mappingContract?.IsInterventionDiagnosisIncluded); } if (mappingContract?.IsInterventionEducationContentsSupported != false) { - source.InterventionEducationContents.MapCollectionTo(target.InterventionEducationContents, target, mappingContract?.IsInterventionEducationContentIncluded); + source.InterventionEducationContents.MapCollectionTo(target.InterventionEducationContents, mappingContract?.IsInterventionEducationContentsItemCreatable ?? true, target, mappingContract?.IsInterventionEducationContentIncluded); } if (mappingContract?.IsInterventionInterventionPrescriptionsSupported != false) { - source.InterventionInterventionPrescriptions.MapCollectionTo(target.InterventionInterventionPrescriptions, target, mappingContract?.IsInterventionInterventionPrescriptionIncluded); + source.InterventionInterventionPrescriptions.MapCollectionTo(target.InterventionInterventionPrescriptions, mappingContract?.IsInterventionInterventionPrescriptionsItemCreatable ?? true, target, mappingContract?.IsInterventionInterventionPrescriptionIncluded); } if (mappingContract?.IsInterventionLearningResourceMetadataURIsSupported != false) { - source.InterventionLearningResourceMetadataURIs.MapCollectionTo(target.InterventionLearningResourceMetadataURIs, target, mappingContract?.IsInterventionLearningResourceMetadataURIIncluded); + source.InterventionLearningResourceMetadataURIs.MapCollectionTo(target.InterventionLearningResourceMetadataURIs, mappingContract?.IsInterventionLearningResourceMetadataURIsItemCreatable ?? true, target, mappingContract?.IsInterventionLearningResourceMetadataURIIncluded); } if (mappingContract?.IsInterventionMeetingTimesSupported != false) { - source.InterventionMeetingTimes.MapCollectionTo(target.InterventionMeetingTimes, target, mappingContract?.IsInterventionMeetingTimeIncluded); + source.InterventionMeetingTimes.MapCollectionTo(target.InterventionMeetingTimes, mappingContract?.IsInterventionMeetingTimesItemCreatable ?? true, target, mappingContract?.IsInterventionMeetingTimeIncluded); } if (mappingContract?.IsInterventionPopulationServedsSupported != false) { - source.InterventionPopulationServeds.MapCollectionTo(target.InterventionPopulationServeds, target, mappingContract?.IsInterventionPopulationServedIncluded); + source.InterventionPopulationServeds.MapCollectionTo(target.InterventionPopulationServeds, mappingContract?.IsInterventionPopulationServedsItemCreatable ?? true, target, mappingContract?.IsInterventionPopulationServedIncluded); } if (mappingContract?.IsInterventionStaffsSupported != false) { - source.InterventionStaffs.MapCollectionTo(target.InterventionStaffs, target, mappingContract?.IsInterventionStaffIncluded); + source.InterventionStaffs.MapCollectionTo(target.InterventionStaffs, mappingContract?.IsInterventionStaffsItemCreatable ?? true, target, mappingContract?.IsInterventionStaffIncluded); } if (mappingContract?.IsInterventionURIsSupported != false) { - source.InterventionURIs.MapCollectionTo(target.InterventionURIs, target, mappingContract?.IsInterventionURIIncluded); + source.InterventionURIs.MapCollectionTo(target.InterventionURIs, mappingContract?.IsInterventionURIsItemCreatable ?? true, target, mappingContract?.IsInterventionURIIncluded); } // Map extensions @@ -31419,6 +31531,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelIncluded?.Invoke(item) ?? true); } @@ -31431,6 +31544,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionAppropriateSexesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionAppropriateSexIncluded?.Invoke(item) ?? true); } @@ -31443,6 +31557,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionDiagnosesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionDiagnosisIncluded?.Invoke(item) ?? true); } @@ -31455,6 +31570,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionEducationContentIncluded?.Invoke(item) ?? true); } @@ -31467,6 +31583,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIIncluded?.Invoke(item) ?? true); } @@ -31479,6 +31596,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionPopulationServedsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionPopulationServedIncluded?.Invoke(item) ?? true); } @@ -31491,6 +31609,7 @@ public static bool SynchronizeTo(this IInterventionPrescription source, IInterve { child.InterventionPrescription = target; }, + itemCreatable: mappingContract?.IsInterventionPrescriptionURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionPrescriptionURIIncluded?.Invoke(item) ?? true); } @@ -31549,37 +31668,37 @@ public static void MapTo(this IInterventionPrescription source, IInterventionPre if (mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelsSupported != false) { - source.InterventionPrescriptionAppropriateGradeLevels.MapCollectionTo(target.InterventionPrescriptionAppropriateGradeLevels, target, mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelIncluded); + source.InterventionPrescriptionAppropriateGradeLevels.MapCollectionTo(target.InterventionPrescriptionAppropriateGradeLevels, mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionAppropriateGradeLevelIncluded); } if (mappingContract?.IsInterventionPrescriptionAppropriateSexesSupported != false) { - source.InterventionPrescriptionAppropriateSexes.MapCollectionTo(target.InterventionPrescriptionAppropriateSexes, target, mappingContract?.IsInterventionPrescriptionAppropriateSexIncluded); + source.InterventionPrescriptionAppropriateSexes.MapCollectionTo(target.InterventionPrescriptionAppropriateSexes, mappingContract?.IsInterventionPrescriptionAppropriateSexesItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionAppropriateSexIncluded); } if (mappingContract?.IsInterventionPrescriptionDiagnosesSupported != false) { - source.InterventionPrescriptionDiagnoses.MapCollectionTo(target.InterventionPrescriptionDiagnoses, target, mappingContract?.IsInterventionPrescriptionDiagnosisIncluded); + source.InterventionPrescriptionDiagnoses.MapCollectionTo(target.InterventionPrescriptionDiagnoses, mappingContract?.IsInterventionPrescriptionDiagnosesItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionDiagnosisIncluded); } if (mappingContract?.IsInterventionPrescriptionEducationContentsSupported != false) { - source.InterventionPrescriptionEducationContents.MapCollectionTo(target.InterventionPrescriptionEducationContents, target, mappingContract?.IsInterventionPrescriptionEducationContentIncluded); + source.InterventionPrescriptionEducationContents.MapCollectionTo(target.InterventionPrescriptionEducationContents, mappingContract?.IsInterventionPrescriptionEducationContentsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionEducationContentIncluded); } if (mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIsSupported != false) { - source.InterventionPrescriptionLearningResourceMetadataURIs.MapCollectionTo(target.InterventionPrescriptionLearningResourceMetadataURIs, target, mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIIncluded); + source.InterventionPrescriptionLearningResourceMetadataURIs.MapCollectionTo(target.InterventionPrescriptionLearningResourceMetadataURIs, mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionLearningResourceMetadataURIIncluded); } if (mappingContract?.IsInterventionPrescriptionPopulationServedsSupported != false) { - source.InterventionPrescriptionPopulationServeds.MapCollectionTo(target.InterventionPrescriptionPopulationServeds, target, mappingContract?.IsInterventionPrescriptionPopulationServedIncluded); + source.InterventionPrescriptionPopulationServeds.MapCollectionTo(target.InterventionPrescriptionPopulationServeds, mappingContract?.IsInterventionPrescriptionPopulationServedsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionPopulationServedIncluded); } if (mappingContract?.IsInterventionPrescriptionURIsSupported != false) { - source.InterventionPrescriptionURIs.MapCollectionTo(target.InterventionPrescriptionURIs, target, mappingContract?.IsInterventionPrescriptionURIIncluded); + source.InterventionPrescriptionURIs.MapCollectionTo(target.InterventionPrescriptionURIs, mappingContract?.IsInterventionPrescriptionURIsItemCreatable ?? true, target, mappingContract?.IsInterventionPrescriptionURIIncluded); } // Map extensions @@ -32182,6 +32301,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyAppropriateGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyAppropriateGradeLevelIncluded?.Invoke(item) ?? true); } @@ -32194,6 +32314,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyAppropriateSexesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyAppropriateSexIncluded?.Invoke(item) ?? true); } @@ -32206,6 +32327,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyEducationContentsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyEducationContentIncluded?.Invoke(item) ?? true); } @@ -32218,6 +32340,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyInterventionEffectivenessesItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyInterventionEffectivenessIncluded?.Invoke(item) ?? true); } @@ -32230,6 +32353,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyLearningResourceMetadataURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyLearningResourceMetadataURIIncluded?.Invoke(item) ?? true); } @@ -32242,6 +32366,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyPopulationServedsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyPopulationServedIncluded?.Invoke(item) ?? true); } @@ -32254,6 +32379,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyStateAbbreviationsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyStateAbbreviationIncluded?.Invoke(item) ?? true); } @@ -32266,6 +32392,7 @@ public static bool SynchronizeTo(this IInterventionStudy source, IInterventionSt { child.InterventionStudy = target; }, + itemCreatable: mappingContract?.IsInterventionStudyURIsItemCreatable ?? true, includeItem: item => mappingContract?.IsInterventionStudyURIIncluded?.Invoke(item) ?? true); } @@ -32326,42 +32453,42 @@ public static void MapTo(this IInterventionStudy source, IInterventionStudy targ if (mappingContract?.IsInterventionStudyAppropriateGradeLevelsSupported != false) { - source.InterventionStudyAppropriateGradeLevels.MapCollectionTo(target.InterventionStudyAppropriateGradeLevels, target, mappingContract?.IsInterventionStudyAppropriateGradeLevelIncluded); + source.InterventionStudyAppropriateGradeLevels.MapCollectionTo(target.InterventionStudyAppropriateGradeLevels, mappingContract?.IsInterventionStudyAppropriateGradeLevelsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyAppropriateGradeLevelIncluded); } if (mappingContract?.IsInterventionStudyAppropriateSexesSupported != false) { - source.InterventionStudyAppropriateSexes.MapCollectionTo(target.InterventionStudyAppropriateSexes, target, mappingContract?.IsInterventionStudyAppropriateSexIncluded); + source.InterventionStudyAppropriateSexes.MapCollectionTo(target.InterventionStudyAppropriateSexes, mappingContract?.IsInterventionStudyAppropriateSexesItemCreatable ?? true, target, mappingContract?.IsInterventionStudyAppropriateSexIncluded); } if (mappingContract?.IsInterventionStudyEducationContentsSupported != false) { - source.InterventionStudyEducationContents.MapCollectionTo(target.InterventionStudyEducationContents, target, mappingContract?.IsInterventionStudyEducationContentIncluded); + source.InterventionStudyEducationContents.MapCollectionTo(target.InterventionStudyEducationContents, mappingContract?.IsInterventionStudyEducationContentsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyEducationContentIncluded); } if (mappingContract?.IsInterventionStudyInterventionEffectivenessesSupported != false) { - source.InterventionStudyInterventionEffectivenesses.MapCollectionTo(target.InterventionStudyInterventionEffectivenesses, target, mappingContract?.IsInterventionStudyInterventionEffectivenessIncluded); + source.InterventionStudyInterventionEffectivenesses.MapCollectionTo(target.InterventionStudyInterventionEffectivenesses, mappingContract?.IsInterventionStudyInterventionEffectivenessesItemCreatable ?? true, target, mappingContract?.IsInterventionStudyInterventionEffectivenessIncluded); } if (mappingContract?.IsInterventionStudyLearningResourceMetadataURIsSupported != false) { - source.InterventionStudyLearningResourceMetadataURIs.MapCollectionTo(target.InterventionStudyLearningResourceMetadataURIs, target, mappingContract?.IsInterventionStudyLearningResourceMetadataURIIncluded); + source.InterventionStudyLearningResourceMetadataURIs.MapCollectionTo(target.InterventionStudyLearningResourceMetadataURIs, mappingContract?.IsInterventionStudyLearningResourceMetadataURIsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyLearningResourceMetadataURIIncluded); } if (mappingContract?.IsInterventionStudyPopulationServedsSupported != false) { - source.InterventionStudyPopulationServeds.MapCollectionTo(target.InterventionStudyPopulationServeds, target, mappingContract?.IsInterventionStudyPopulationServedIncluded); + source.InterventionStudyPopulationServeds.MapCollectionTo(target.InterventionStudyPopulationServeds, mappingContract?.IsInterventionStudyPopulationServedsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyPopulationServedIncluded); } if (mappingContract?.IsInterventionStudyStateAbbreviationsSupported != false) { - source.InterventionStudyStateAbbreviations.MapCollectionTo(target.InterventionStudyStateAbbreviations, target, mappingContract?.IsInterventionStudyStateAbbreviationIncluded); + source.InterventionStudyStateAbbreviations.MapCollectionTo(target.InterventionStudyStateAbbreviations, mappingContract?.IsInterventionStudyStateAbbreviationsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyStateAbbreviationIncluded); } if (mappingContract?.IsInterventionStudyURIsSupported != false) { - source.InterventionStudyURIs.MapCollectionTo(target.InterventionStudyURIs, target, mappingContract?.IsInterventionStudyURIIncluded); + source.InterventionStudyURIs.MapCollectionTo(target.InterventionStudyURIs, mappingContract?.IsInterventionStudyURIsItemCreatable ?? true, target, mappingContract?.IsInterventionStudyURIIncluded); } // Map extensions @@ -33567,6 +33694,7 @@ public static bool SynchronizeTo(this ILearningStandard source, ILearningStandar { child.LearningStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -33579,6 +33707,7 @@ public static bool SynchronizeTo(this ILearningStandard source, ILearningStandar { child.LearningStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardGradeLevelIncluded?.Invoke(item) ?? true); } @@ -33591,6 +33720,7 @@ public static bool SynchronizeTo(this ILearningStandard source, ILearningStandar { child.LearningStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -33684,17 +33814,17 @@ public static void MapTo(this ILearningStandard source, ILearningStandard target if (mappingContract?.IsLearningStandardAcademicSubjectsSupported != false) { - source.LearningStandardAcademicSubjects.MapCollectionTo(target.LearningStandardAcademicSubjects, target, mappingContract?.IsLearningStandardAcademicSubjectIncluded); + source.LearningStandardAcademicSubjects.MapCollectionTo(target.LearningStandardAcademicSubjects, mappingContract?.IsLearningStandardAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsLearningStandardAcademicSubjectIncluded); } if (mappingContract?.IsLearningStandardGradeLevelsSupported != false) { - source.LearningStandardGradeLevels.MapCollectionTo(target.LearningStandardGradeLevels, target, mappingContract?.IsLearningStandardGradeLevelIncluded); + source.LearningStandardGradeLevels.MapCollectionTo(target.LearningStandardGradeLevels, mappingContract?.IsLearningStandardGradeLevelsItemCreatable ?? true, target, mappingContract?.IsLearningStandardGradeLevelIncluded); } if (mappingContract?.IsLearningStandardIdentificationCodesSupported != false) { - source.LearningStandardIdentificationCodes.MapCollectionTo(target.LearningStandardIdentificationCodes, target, mappingContract?.IsLearningStandardIdentificationCodeIncluded); + source.LearningStandardIdentificationCodes.MapCollectionTo(target.LearningStandardIdentificationCodes, mappingContract?.IsLearningStandardIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsLearningStandardIdentificationCodeIncluded); } // Map extensions @@ -33882,6 +34012,7 @@ public static bool SynchronizeTo(this ILearningStandardContentStandard source, I { child.LearningStandardContentStandard = target; }, + itemCreatable: mappingContract?.IsLearningStandardContentStandardAuthorsItemCreatable ?? true, includeItem: item => mappingContract?.IsLearningStandardContentStandardAuthorIncluded?.Invoke(item) ?? true); } @@ -33947,7 +34078,7 @@ public static void MapTo(this ILearningStandardContentStandard source, ILearning if (mappingContract?.IsLearningStandardContentStandardAuthorsSupported != false) { - source.LearningStandardContentStandardAuthors.MapCollectionTo(target.LearningStandardContentStandardAuthors, target, mappingContract?.IsLearningStandardContentStandardAuthorIncluded); + source.LearningStandardContentStandardAuthors.MapCollectionTo(target.LearningStandardContentStandardAuthors, mappingContract?.IsLearningStandardContentStandardAuthorsItemCreatable ?? true, target, mappingContract?.IsLearningStandardContentStandardAuthorIncluded); } // Map extensions @@ -35446,6 +35577,7 @@ public static bool SynchronizeTo(this ILocalAccount source, ILocalAccount target { child.LocalAccount = target; }, + itemCreatable: mappingContract?.IsLocalAccountReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsLocalAccountReportingTagIncluded?.Invoke(item) ?? true); } @@ -35501,7 +35633,7 @@ public static void MapTo(this ILocalAccount source, ILocalAccount target, Action if (mappingContract?.IsLocalAccountReportingTagsSupported != false) { - source.LocalAccountReportingTags.MapCollectionTo(target.LocalAccountReportingTags, target, mappingContract?.IsLocalAccountReportingTagIncluded); + source.LocalAccountReportingTags.MapCollectionTo(target.LocalAccountReportingTags, mappingContract?.IsLocalAccountReportingTagsItemCreatable ?? true, target, mappingContract?.IsLocalAccountReportingTagIncluded); } // Map extensions @@ -36231,6 +36363,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -36240,6 +36373,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -36249,6 +36383,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -36258,6 +36393,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -36267,6 +36403,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -36276,6 +36413,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -36290,6 +36428,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat { child.LocalEducationAgency = target; }, + itemCreatable: mappingContract?.IsLocalEducationAgencyAccountabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsLocalEducationAgencyAccountabilityIncluded?.Invoke(item) ?? true); } @@ -36302,6 +36441,7 @@ public static bool SynchronizeTo(this ILocalEducationAgency source, ILocalEducat { child.LocalEducationAgency = target; }, + itemCreatable: mappingContract?.IsLocalEducationAgencyFederalFundsItemCreatable ?? true, includeItem: item => mappingContract?.IsLocalEducationAgencyFederalFundsIncluded?.Invoke(item) ?? true); } @@ -36374,44 +36514,44 @@ public static void MapTo(this ILocalEducationAgency source, ILocalEducationAgenc if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists if (mappingContract?.IsLocalEducationAgencyAccountabilitiesSupported != false) { - source.LocalEducationAgencyAccountabilities.MapCollectionTo(target.LocalEducationAgencyAccountabilities, target, mappingContract?.IsLocalEducationAgencyAccountabilityIncluded); + source.LocalEducationAgencyAccountabilities.MapCollectionTo(target.LocalEducationAgencyAccountabilities, mappingContract?.IsLocalEducationAgencyAccountabilitiesItemCreatable ?? true, target, mappingContract?.IsLocalEducationAgencyAccountabilityIncluded); } if (mappingContract?.IsLocalEducationAgencyFederalFundsSupported != false) { - source.LocalEducationAgencyFederalFunds.MapCollectionTo(target.LocalEducationAgencyFederalFunds, target, mappingContract?.IsLocalEducationAgencyFederalFundsIncluded); + source.LocalEducationAgencyFederalFunds.MapCollectionTo(target.LocalEducationAgencyFederalFunds, mappingContract?.IsLocalEducationAgencyFederalFundsItemCreatable ?? true, target, mappingContract?.IsLocalEducationAgencyFederalFundsIncluded); } // Map extensions @@ -38637,6 +38777,7 @@ public static bool SynchronizeTo(this IObjectDimension source, IObjectDimension { child.ObjectDimension = target; }, + itemCreatable: mappingContract?.IsObjectDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -38676,7 +38817,7 @@ public static void MapTo(this IObjectDimension source, IObjectDimension target, if (mappingContract?.IsObjectDimensionReportingTagsSupported != false) { - source.ObjectDimensionReportingTags.MapCollectionTo(target.ObjectDimensionReportingTags, target, mappingContract?.IsObjectDimensionReportingTagIncluded); + source.ObjectDimensionReportingTags.MapCollectionTo(target.ObjectDimensionReportingTags, mappingContract?.IsObjectDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsObjectDimensionReportingTagIncluded); } // Map extensions @@ -38860,6 +39001,7 @@ public static bool SynchronizeTo(this IObjectiveAssessment source, IObjectiveAss { child.ObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsObjectiveAssessmentAssessmentItemsItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectiveAssessmentAssessmentItemIncluded?.Invoke(item) ?? true); } @@ -38872,6 +39014,7 @@ public static bool SynchronizeTo(this IObjectiveAssessment source, IObjectiveAss { child.ObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsObjectiveAssessmentLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectiveAssessmentLearningStandardIncluded?.Invoke(item) ?? true); } @@ -38884,6 +39027,7 @@ public static bool SynchronizeTo(this IObjectiveAssessment source, IObjectiveAss { child.ObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsObjectiveAssessmentPerformanceLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectiveAssessmentPerformanceLevelIncluded?.Invoke(item) ?? true); } @@ -38896,6 +39040,7 @@ public static bool SynchronizeTo(this IObjectiveAssessment source, IObjectiveAss { child.ObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsObjectiveAssessmentScoresItemCreatable ?? true, includeItem: item => mappingContract?.IsObjectiveAssessmentScoreIncluded?.Invoke(item) ?? true); } @@ -38960,22 +39105,22 @@ public static void MapTo(this IObjectiveAssessment source, IObjectiveAssessment if (mappingContract?.IsObjectiveAssessmentAssessmentItemsSupported != false) { - source.ObjectiveAssessmentAssessmentItems.MapCollectionTo(target.ObjectiveAssessmentAssessmentItems, target, mappingContract?.IsObjectiveAssessmentAssessmentItemIncluded); + source.ObjectiveAssessmentAssessmentItems.MapCollectionTo(target.ObjectiveAssessmentAssessmentItems, mappingContract?.IsObjectiveAssessmentAssessmentItemsItemCreatable ?? true, target, mappingContract?.IsObjectiveAssessmentAssessmentItemIncluded); } if (mappingContract?.IsObjectiveAssessmentLearningStandardsSupported != false) { - source.ObjectiveAssessmentLearningStandards.MapCollectionTo(target.ObjectiveAssessmentLearningStandards, target, mappingContract?.IsObjectiveAssessmentLearningStandardIncluded); + source.ObjectiveAssessmentLearningStandards.MapCollectionTo(target.ObjectiveAssessmentLearningStandards, mappingContract?.IsObjectiveAssessmentLearningStandardsItemCreatable ?? true, target, mappingContract?.IsObjectiveAssessmentLearningStandardIncluded); } if (mappingContract?.IsObjectiveAssessmentPerformanceLevelsSupported != false) { - source.ObjectiveAssessmentPerformanceLevels.MapCollectionTo(target.ObjectiveAssessmentPerformanceLevels, target, mappingContract?.IsObjectiveAssessmentPerformanceLevelIncluded); + source.ObjectiveAssessmentPerformanceLevels.MapCollectionTo(target.ObjectiveAssessmentPerformanceLevels, mappingContract?.IsObjectiveAssessmentPerformanceLevelsItemCreatable ?? true, target, mappingContract?.IsObjectiveAssessmentPerformanceLevelIncluded); } if (mappingContract?.IsObjectiveAssessmentScoresSupported != false) { - source.ObjectiveAssessmentScores.MapCollectionTo(target.ObjectiveAssessmentScores, target, mappingContract?.IsObjectiveAssessmentScoreIncluded); + source.ObjectiveAssessmentScores.MapCollectionTo(target.ObjectiveAssessmentScores, mappingContract?.IsObjectiveAssessmentScoresItemCreatable ?? true, target, mappingContract?.IsObjectiveAssessmentScoreIncluded); } // Map extensions @@ -39460,6 +39605,7 @@ public static bool SynchronizeTo(this IOpenStaffPosition source, IOpenStaffPosit { child.OpenStaffPosition = target; }, + itemCreatable: mappingContract?.IsOpenStaffPositionAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsOpenStaffPositionAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -39472,6 +39618,7 @@ public static bool SynchronizeTo(this IOpenStaffPosition source, IOpenStaffPosit { child.OpenStaffPosition = target; }, + itemCreatable: mappingContract?.IsOpenStaffPositionInstructionalGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsOpenStaffPositionInstructionalGradeLevelIncluded?.Invoke(item) ?? true); } @@ -39536,12 +39683,12 @@ public static void MapTo(this IOpenStaffPosition source, IOpenStaffPosition targ if (mappingContract?.IsOpenStaffPositionAcademicSubjectsSupported != false) { - source.OpenStaffPositionAcademicSubjects.MapCollectionTo(target.OpenStaffPositionAcademicSubjects, target, mappingContract?.IsOpenStaffPositionAcademicSubjectIncluded); + source.OpenStaffPositionAcademicSubjects.MapCollectionTo(target.OpenStaffPositionAcademicSubjects, mappingContract?.IsOpenStaffPositionAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsOpenStaffPositionAcademicSubjectIncluded); } if (mappingContract?.IsOpenStaffPositionInstructionalGradeLevelsSupported != false) { - source.OpenStaffPositionInstructionalGradeLevels.MapCollectionTo(target.OpenStaffPositionInstructionalGradeLevels, target, mappingContract?.IsOpenStaffPositionInstructionalGradeLevelIncluded); + source.OpenStaffPositionInstructionalGradeLevels.MapCollectionTo(target.OpenStaffPositionInstructionalGradeLevels, mappingContract?.IsOpenStaffPositionInstructionalGradeLevelsItemCreatable ?? true, target, mappingContract?.IsOpenStaffPositionInstructionalGradeLevelIncluded); } // Map extensions @@ -39911,6 +40058,7 @@ public static bool SynchronizeTo(this IOperationalUnitDimension source, IOperati { child.OperationalUnitDimension = target; }, + itemCreatable: mappingContract?.IsOperationalUnitDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsOperationalUnitDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -39950,7 +40098,7 @@ public static void MapTo(this IOperationalUnitDimension source, IOperationalUnit if (mappingContract?.IsOperationalUnitDimensionReportingTagsSupported != false) { - source.OperationalUnitDimensionReportingTags.MapCollectionTo(target.OperationalUnitDimensionReportingTags, target, mappingContract?.IsOperationalUnitDimensionReportingTagIncluded); + source.OperationalUnitDimensionReportingTags.MapCollectionTo(target.OperationalUnitDimensionReportingTags, mappingContract?.IsOperationalUnitDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsOperationalUnitDimensionReportingTagIncluded); } // Map extensions @@ -40130,6 +40278,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -40139,6 +40288,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -40148,6 +40298,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -40157,6 +40308,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -40166,6 +40318,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -40175,6 +40328,7 @@ public static bool SynchronizeTo(this IOrganizationDepartment source, IOrganizat source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -40239,32 +40393,32 @@ public static void MapTo(this IOrganizationDepartment source, IOrganizationDepar if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists @@ -42094,6 +42248,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -42103,6 +42258,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -42112,6 +42268,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -42121,6 +42278,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -42130,6 +42288,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -42139,6 +42298,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -42153,6 +42313,7 @@ public static bool SynchronizeTo(this IPostSecondaryInstitution source, IPostSec { child.PostSecondaryInstitution = target; }, + itemCreatable: mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable ?? true, includeItem: item => mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionIncluded?.Invoke(item) ?? true); } @@ -42208,39 +42369,39 @@ public static void MapTo(this IPostSecondaryInstitution source, IPostSecondaryIn if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists if (mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionsSupported != false) { - source.PostSecondaryInstitutionMediumOfInstructions.MapCollectionTo(target.PostSecondaryInstitutionMediumOfInstructions, target, mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionIncluded); + source.PostSecondaryInstitutionMediumOfInstructions.MapCollectionTo(target.PostSecondaryInstitutionMediumOfInstructions, mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable ?? true, target, mappingContract?.IsPostSecondaryInstitutionMediumOfInstructionIncluded); } // Map extensions @@ -43149,6 +43310,7 @@ public static bool SynchronizeTo(this IProgram source, IProgram target) { child.Program = target; }, + itemCreatable: mappingContract?.IsProgramCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramCharacteristicIncluded?.Invoke(item) ?? true); } @@ -43161,6 +43323,7 @@ public static bool SynchronizeTo(this IProgram source, IProgram target) { child.Program = target; }, + itemCreatable: mappingContract?.IsProgramLearningStandardsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramLearningStandardIncluded?.Invoke(item) ?? true); } @@ -43173,6 +43336,7 @@ public static bool SynchronizeTo(this IProgram source, IProgram target) { child.Program = target; }, + itemCreatable: mappingContract?.IsProgramSponsorsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramSponsorIncluded?.Invoke(item) ?? true); } @@ -43220,17 +43384,17 @@ public static void MapTo(this IProgram source, IProgram target, Action mappingContract?.IsProgramDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -43868,7 +44033,7 @@ public static void MapTo(this IProgramDimension source, IProgramDimension target if (mappingContract?.IsProgramDimensionReportingTagsSupported != false) { - source.ProgramDimensionReportingTags.MapCollectionTo(target.ProgramDimensionReportingTags, target, mappingContract?.IsProgramDimensionReportingTagIncluded); + source.ProgramDimensionReportingTags.MapCollectionTo(target.ProgramDimensionReportingTags, mappingContract?.IsProgramDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsProgramDimensionReportingTagIncluded); } // Map extensions @@ -44034,6 +44199,7 @@ public static bool SynchronizeTo(this IProgramEvaluation source, IProgramEvaluat { child.ProgramEvaluation = target; }, + itemCreatable: mappingContract?.IsProgramEvaluationLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramEvaluationLevelIncluded?.Invoke(item) ?? true); } @@ -44090,7 +44256,7 @@ public static void MapTo(this IProgramEvaluation source, IProgramEvaluation targ if (mappingContract?.IsProgramEvaluationLevelsSupported != false) { - source.ProgramEvaluationLevels.MapCollectionTo(target.ProgramEvaluationLevels, target, mappingContract?.IsProgramEvaluationLevelIncluded); + source.ProgramEvaluationLevels.MapCollectionTo(target.ProgramEvaluationLevels, mappingContract?.IsProgramEvaluationLevelsItemCreatable ?? true, target, mappingContract?.IsProgramEvaluationLevelIncluded); } // Map extensions @@ -44291,6 +44457,7 @@ public static bool SynchronizeTo(this IProgramEvaluationElement source, IProgram { child.ProgramEvaluationElement = target; }, + itemCreatable: mappingContract?.IsProgramEvaluationElementProgramEvaluationLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramEvaluationElementProgramEvaluationLevelIncluded?.Invoke(item) ?? true); } @@ -44356,7 +44523,7 @@ public static void MapTo(this IProgramEvaluationElement source, IProgramEvaluati if (mappingContract?.IsProgramEvaluationElementProgramEvaluationLevelsSupported != false) { - source.ProgramEvaluationElementProgramEvaluationLevels.MapCollectionTo(target.ProgramEvaluationElementProgramEvaluationLevels, target, mappingContract?.IsProgramEvaluationElementProgramEvaluationLevelIncluded); + source.ProgramEvaluationElementProgramEvaluationLevels.MapCollectionTo(target.ProgramEvaluationElementProgramEvaluationLevels, mappingContract?.IsProgramEvaluationElementProgramEvaluationLevelsItemCreatable ?? true, target, mappingContract?.IsProgramEvaluationElementProgramEvaluationLevelIncluded); } // Map extensions @@ -44550,6 +44717,7 @@ public static bool SynchronizeTo(this IProgramEvaluationObjective source, IProgr { child.ProgramEvaluationObjective = target; }, + itemCreatable: mappingContract?.IsProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsProgramEvaluationObjectiveProgramEvaluationLevelIncluded?.Invoke(item) ?? true); } @@ -44610,7 +44778,7 @@ public static void MapTo(this IProgramEvaluationObjective source, IProgramEvalua if (mappingContract?.IsProgramEvaluationObjectiveProgramEvaluationLevelsSupported != false) { - source.ProgramEvaluationObjectiveProgramEvaluationLevels.MapCollectionTo(target.ProgramEvaluationObjectiveProgramEvaluationLevels, target, mappingContract?.IsProgramEvaluationObjectiveProgramEvaluationLevelIncluded); + source.ProgramEvaluationObjectiveProgramEvaluationLevels.MapCollectionTo(target.ProgramEvaluationObjectiveProgramEvaluationLevels, mappingContract?.IsProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable ?? true, target, mappingContract?.IsProgramEvaluationObjectiveProgramEvaluationLevelIncluded); } // Map extensions @@ -45690,6 +45858,7 @@ public static bool SynchronizeTo(this IProjectDimension source, IProjectDimensio { child.ProjectDimension = target; }, + itemCreatable: mappingContract?.IsProjectDimensionReportingTagsItemCreatable ?? true, includeItem: item => mappingContract?.IsProjectDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -45729,7 +45898,7 @@ public static void MapTo(this IProjectDimension source, IProjectDimension target if (mappingContract?.IsProjectDimensionReportingTagsSupported != false) { - source.ProjectDimensionReportingTags.MapCollectionTo(target.ProjectDimensionReportingTags, target, mappingContract?.IsProjectDimensionReportingTagIncluded); + source.ProjectDimensionReportingTags.MapCollectionTo(target.ProjectDimensionReportingTags, mappingContract?.IsProjectDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsProjectDimensionReportingTagIncluded); } // Map extensions @@ -47719,6 +47888,7 @@ public static bool SynchronizeTo(this IReportCard source, IReportCard target) { child.ReportCard = target; }, + itemCreatable: mappingContract?.IsReportCardGradesItemCreatable ?? true, includeItem: item => mappingContract?.IsReportCardGradeIncluded?.Invoke(item) ?? true); } @@ -47731,6 +47901,7 @@ public static bool SynchronizeTo(this IReportCard source, IReportCard target) { child.ReportCard = target; }, + itemCreatable: mappingContract?.IsReportCardGradePointAveragesItemCreatable ?? true, includeItem: item => mappingContract?.IsReportCardGradePointAverageIncluded?.Invoke(item) ?? true); } @@ -47743,6 +47914,7 @@ public static bool SynchronizeTo(this IReportCard source, IReportCard target) { child.ReportCard = target; }, + itemCreatable: mappingContract?.IsReportCardStudentCompetencyObjectivesItemCreatable ?? true, includeItem: item => mappingContract?.IsReportCardStudentCompetencyObjectiveIncluded?.Invoke(item) ?? true); } @@ -47803,17 +47975,17 @@ public static void MapTo(this IReportCard source, IReportCard target, Action mappingContract?.IsRestraintEventProgramIncluded?.Invoke(item) ?? true); } @@ -48933,6 +49106,7 @@ public static bool SynchronizeTo(this IRestraintEvent source, IRestraintEvent ta { child.RestraintEvent = target; }, + itemCreatable: mappingContract?.IsRestraintEventReasonsItemCreatable ?? true, includeItem: item => mappingContract?.IsRestraintEventReasonIncluded?.Invoke(item) ?? true); } @@ -48984,12 +49158,12 @@ public static void MapTo(this IRestraintEvent source, IRestraintEvent target, Ac if (mappingContract?.IsRestraintEventProgramsSupported != false) { - source.RestraintEventPrograms.MapCollectionTo(target.RestraintEventPrograms, target, mappingContract?.IsRestraintEventProgramIncluded); + source.RestraintEventPrograms.MapCollectionTo(target.RestraintEventPrograms, mappingContract?.IsRestraintEventProgramsItemCreatable ?? true, target, mappingContract?.IsRestraintEventProgramIncluded); } if (mappingContract?.IsRestraintEventReasonsSupported != false) { - source.RestraintEventReasons.MapCollectionTo(target.RestraintEventReasons, target, mappingContract?.IsRestraintEventReasonIncluded); + source.RestraintEventReasons.MapCollectionTo(target.RestraintEventReasons, mappingContract?.IsRestraintEventReasonsItemCreatable ?? true, target, mappingContract?.IsRestraintEventReasonIncluded); } // Map extensions @@ -49753,6 +49927,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -49762,6 +49937,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -49771,6 +49947,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -49780,6 +49957,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -49789,6 +49967,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -49798,6 +49977,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -49812,6 +49992,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) { child.School = target; }, + itemCreatable: mappingContract?.IsSchoolCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsSchoolCategoryIncluded?.Invoke(item) ?? true); } @@ -49824,6 +50005,7 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) { child.School = target; }, + itemCreatable: mappingContract?.IsSchoolGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsSchoolGradeLevelIncluded?.Invoke(item) ?? true); } @@ -49907,44 +50089,44 @@ public static void MapTo(this ISchool source, ISchool target, Action mappingContract?.IsSectionCharacteristicIncluded?.Invoke(item) ?? true); } @@ -51159,6 +51342,7 @@ public static bool SynchronizeTo(this ISection source, ISection target) { child.Section = target; }, + itemCreatable: mappingContract?.IsSectionClassPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsSectionClassPeriodIncluded?.Invoke(item) ?? true); } @@ -51171,6 +51355,7 @@ public static bool SynchronizeTo(this ISection source, ISection target) { child.Section = target; }, + itemCreatable: mappingContract?.IsSectionCourseLevelCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsSectionCourseLevelCharacteristicIncluded?.Invoke(item) ?? true); } @@ -51183,6 +51368,7 @@ public static bool SynchronizeTo(this ISection source, ISection target) { child.Section = target; }, + itemCreatable: mappingContract?.IsSectionOfferedGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsSectionOfferedGradeLevelIncluded?.Invoke(item) ?? true); } @@ -51195,6 +51381,7 @@ public static bool SynchronizeTo(this ISection source, ISection target) { child.Section = target; }, + itemCreatable: mappingContract?.IsSectionProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsSectionProgramIncluded?.Invoke(item) ?? true); } @@ -51283,27 +51470,27 @@ public static void MapTo(this ISection source, ISection target, Action mappingContract?.IsSessionAcademicWeekIncluded?.Invoke(item) ?? true); } @@ -52696,6 +52884,7 @@ public static bool SynchronizeTo(this ISession source, ISession target) { child.Session = target; }, + itemCreatable: mappingContract?.IsSessionGradingPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsSessionGradingPeriodIncluded?.Invoke(item) ?? true); } @@ -52752,12 +52941,12 @@ public static void MapTo(this ISession source, ISession target, Action mappingContract?.IsSourceDimensionReportingTagIncluded?.Invoke(item) ?? true); } @@ -53181,7 +53371,7 @@ public static void MapTo(this ISourceDimension source, ISourceDimension target, if (mappingContract?.IsSourceDimensionReportingTagsSupported != false) { - source.SourceDimensionReportingTags.MapCollectionTo(target.SourceDimensionReportingTags, target, mappingContract?.IsSourceDimensionReportingTagIncluded); + source.SourceDimensionReportingTags.MapCollectionTo(target.SourceDimensionReportingTags, mappingContract?.IsSourceDimensionReportingTagsItemCreatable ?? true, target, mappingContract?.IsSourceDimensionReportingTagIncluded); } // Map extensions @@ -54074,6 +54264,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffAddressIncluded?.Invoke(item) ?? true); } @@ -54086,6 +54277,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffAncestryEthnicOriginsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffAncestryEthnicOriginIncluded?.Invoke(item) ?? true); } @@ -54098,6 +54290,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffCredentialsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffCredentialIncluded?.Invoke(item) ?? true); } @@ -54110,6 +54303,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffElectronicMailsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffElectronicMailIncluded?.Invoke(item) ?? true); } @@ -54122,6 +54316,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -54134,6 +54329,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -54146,6 +54342,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -54158,6 +54355,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffLanguageIncluded?.Invoke(item) ?? true); } @@ -54170,6 +54368,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffOtherNamesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffOtherNameIncluded?.Invoke(item) ?? true); } @@ -54182,6 +54381,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffPersonalIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffPersonalIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -54194,6 +54394,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffRacesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffRaceIncluded?.Invoke(item) ?? true); } @@ -54206,6 +54407,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffRecognitionsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffRecognitionIncluded?.Invoke(item) ?? true); } @@ -54218,6 +54420,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffTelephoneIncluded?.Invoke(item) ?? true); } @@ -54230,6 +54433,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffTribalAffiliationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffTribalAffiliationIncluded?.Invoke(item) ?? true); } @@ -54242,6 +54446,7 @@ public static bool SynchronizeTo(this IStaff source, IStaff target) { child.Staff = target; }, + itemCreatable: mappingContract?.IsStaffVisasItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffVisaIncluded?.Invoke(item) ?? true); } @@ -54347,77 +54552,77 @@ public static void MapTo(this IStaff source, IStaff target, Action mappingContract?.IsStaffAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -54598,7 +54804,7 @@ public static void MapTo(this IStaffAddress source, IStaffAddress target, Action if (mappingContract?.IsStaffAddressPeriodsSupported != false) { - source.StaffAddressPeriods.MapCollectionTo(target.StaffAddressPeriods, target, mappingContract?.IsStaffAddressPeriodIncluded); + source.StaffAddressPeriods.MapCollectionTo(target.StaffAddressPeriods, mappingContract?.IsStaffAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsStaffAddressPeriodIncluded); } // Map extensions @@ -55343,6 +55549,7 @@ public static bool SynchronizeTo(this IStaffLanguage source, IStaffLanguage targ { child.StaffLanguage = target; }, + itemCreatable: mappingContract?.IsStaffLanguageUsesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffLanguageUseIncluded?.Invoke(item) ?? true); } @@ -55375,7 +55582,7 @@ public static void MapTo(this IStaffLanguage source, IStaffLanguage target, Acti if (mappingContract?.IsStaffLanguageUsesSupported != false) { - source.StaffLanguageUses.MapCollectionTo(target.StaffLanguageUses, target, mappingContract?.IsStaffLanguageUseIncluded); + source.StaffLanguageUses.MapCollectionTo(target.StaffLanguageUses, mappingContract?.IsStaffLanguageUsesItemCreatable ?? true, target, mappingContract?.IsStaffLanguageUseIncluded); } // Map extensions @@ -56651,6 +56858,7 @@ public static bool SynchronizeTo(this IStaffDisciplineIncidentAssociation source { child.StaffDisciplineIncidentAssociation = target; }, + itemCreatable: mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded?.Invoke(item) ?? true); } @@ -56697,7 +56905,7 @@ public static void MapTo(this IStaffDisciplineIncidentAssociation source, IStaff if (mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesSupported != false) { - source.StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes, target, mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded); + source.StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes, mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, target, mappingContract?.IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodeIncluded); } // Map extensions @@ -57076,6 +57284,7 @@ public static bool SynchronizeTo(this IStaffEducationOrganizationContactAssociat { child.StaffEducationOrganizationContactAssociation = target; }, + itemCreatable: mappingContract?.IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffEducationOrganizationContactAssociationTelephoneIncluded?.Invoke(item) ?? true); } @@ -57152,7 +57361,7 @@ public static void MapTo(this IStaffEducationOrganizationContactAssociation sour if (mappingContract?.IsStaffEducationOrganizationContactAssociationTelephonesSupported != false) { - source.StaffEducationOrganizationContactAssociationTelephones.MapCollectionTo(target.StaffEducationOrganizationContactAssociationTelephones, target, mappingContract?.IsStaffEducationOrganizationContactAssociationTelephoneIncluded); + source.StaffEducationOrganizationContactAssociationTelephones.MapCollectionTo(target.StaffEducationOrganizationContactAssociationTelephones, mappingContract?.IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable ?? true, target, mappingContract?.IsStaffEducationOrganizationContactAssociationTelephoneIncluded); } // Map extensions @@ -57305,6 +57514,7 @@ public static bool SynchronizeTo(this IStaffEducationOrganizationContactAssociat { child.StaffEducationOrganizationContactAssociationAddress = target; }, + itemCreatable: mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -57378,7 +57588,7 @@ public static void MapTo(this IStaffEducationOrganizationContactAssociationAddre if (mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodsSupported != false) { - source.StaffEducationOrganizationContactAssociationAddressPeriods.MapCollectionTo(target.StaffEducationOrganizationContactAssociationAddressPeriods, target, mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded); + source.StaffEducationOrganizationContactAssociationAddressPeriods.MapCollectionTo(target.StaffEducationOrganizationContactAssociationAddressPeriods, mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsStaffEducationOrganizationContactAssociationAddressPeriodIncluded); } // Map extensions @@ -58402,6 +58612,7 @@ public static bool SynchronizeTo(this IStaffSchoolAssociation source, IStaffScho { child.StaffSchoolAssociation = target; }, + itemCreatable: mappingContract?.IsStaffSchoolAssociationAcademicSubjectsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffSchoolAssociationAcademicSubjectIncluded?.Invoke(item) ?? true); } @@ -58414,6 +58625,7 @@ public static bool SynchronizeTo(this IStaffSchoolAssociation source, IStaffScho { child.StaffSchoolAssociation = target; }, + itemCreatable: mappingContract?.IsStaffSchoolAssociationGradeLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsStaffSchoolAssociationGradeLevelIncluded?.Invoke(item) ?? true); } @@ -58468,12 +58680,12 @@ public static void MapTo(this IStaffSchoolAssociation source, IStaffSchoolAssoci if (mappingContract?.IsStaffSchoolAssociationAcademicSubjectsSupported != false) { - source.StaffSchoolAssociationAcademicSubjects.MapCollectionTo(target.StaffSchoolAssociationAcademicSubjects, target, mappingContract?.IsStaffSchoolAssociationAcademicSubjectIncluded); + source.StaffSchoolAssociationAcademicSubjects.MapCollectionTo(target.StaffSchoolAssociationAcademicSubjects, mappingContract?.IsStaffSchoolAssociationAcademicSubjectsItemCreatable ?? true, target, mappingContract?.IsStaffSchoolAssociationAcademicSubjectIncluded); } if (mappingContract?.IsStaffSchoolAssociationGradeLevelsSupported != false) { - source.StaffSchoolAssociationGradeLevels.MapCollectionTo(target.StaffSchoolAssociationGradeLevels, target, mappingContract?.IsStaffSchoolAssociationGradeLevelIncluded); + source.StaffSchoolAssociationGradeLevels.MapCollectionTo(target.StaffSchoolAssociationGradeLevels, mappingContract?.IsStaffSchoolAssociationGradeLevelsItemCreatable ?? true, target, mappingContract?.IsStaffSchoolAssociationGradeLevelIncluded); } // Map extensions @@ -59020,6 +59232,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationAddresses.SynchronizeCollectionTo( target.EducationOrganizationAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationAddressIncluded?.Invoke(item) ?? true); } @@ -59029,6 +59242,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationCategories.SynchronizeCollectionTo( target.EducationOrganizationCategories, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationCategoryIncluded?.Invoke(item) ?? true); } @@ -59038,6 +59252,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationIdentificationCodes.SynchronizeCollectionTo( target.EducationOrganizationIdentificationCodes, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -59047,6 +59262,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationIndicators.SynchronizeCollectionTo( target.EducationOrganizationIndicators, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationIndicatorIncluded?.Invoke(item) ?? true); } @@ -59056,6 +59272,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationInstitutionTelephones.SynchronizeCollectionTo( target.EducationOrganizationInstitutionTelephones, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded?.Invoke(item) ?? true); } @@ -59065,6 +59282,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat source.EducationOrganizationInternationalAddresses.SynchronizeCollectionTo( target.EducationOrganizationInternationalAddresses, onChildAdded: child => child.EducationOrganization = target, + itemCreatable: mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsEducationOrganizationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -59079,6 +59297,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat { child.StateEducationAgency = target; }, + itemCreatable: mappingContract?.IsStateEducationAgencyAccountabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsStateEducationAgencyAccountabilityIncluded?.Invoke(item) ?? true); } @@ -59091,6 +59310,7 @@ public static bool SynchronizeTo(this IStateEducationAgency source, IStateEducat { child.StateEducationAgency = target; }, + itemCreatable: mappingContract?.IsStateEducationAgencyFederalFundsItemCreatable ?? true, includeItem: item => mappingContract?.IsStateEducationAgencyFederalFundsIncluded?.Invoke(item) ?? true); } @@ -59140,44 +59360,44 @@ public static void MapTo(this IStateEducationAgency source, IStateEducationAgenc if (mappingContract?.IsEducationOrganizationAddressesSupported != false) { - source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, target, mappingContract?.IsEducationOrganizationAddressIncluded); + source.EducationOrganizationAddresses.MapCollectionTo(target.EducationOrganizationAddresses, mappingContract?.IsEducationOrganizationAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationAddressIncluded); } if (mappingContract?.IsEducationOrganizationCategoriesSupported != false) { - source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, target, mappingContract?.IsEducationOrganizationCategoryIncluded); + source.EducationOrganizationCategories.MapCollectionTo(target.EducationOrganizationCategories, mappingContract?.IsEducationOrganizationCategoriesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationCategoryIncluded); } if (mappingContract?.IsEducationOrganizationIdentificationCodesSupported != false) { - source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); + source.EducationOrganizationIdentificationCodes.MapCollectionTo(target.EducationOrganizationIdentificationCodes, mappingContract?.IsEducationOrganizationIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIdentificationCodeIncluded); } if (mappingContract?.IsEducationOrganizationIndicatorsSupported != false) { - source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); + source.EducationOrganizationIndicators.MapCollectionTo(target.EducationOrganizationIndicators, mappingContract?.IsEducationOrganizationIndicatorsItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationIndicatorIncluded); } if (mappingContract?.IsEducationOrganizationInstitutionTelephonesSupported != false) { - source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); + source.EducationOrganizationInstitutionTelephones.MapCollectionTo(target.EducationOrganizationInstitutionTelephones, mappingContract?.IsEducationOrganizationInstitutionTelephonesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInstitutionTelephoneIncluded); } if (mappingContract?.IsEducationOrganizationInternationalAddressesSupported != false) { - source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); + source.EducationOrganizationInternationalAddresses.MapCollectionTo(target.EducationOrganizationInternationalAddresses, mappingContract?.IsEducationOrganizationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsEducationOrganizationInternationalAddressIncluded); } // Map lists if (mappingContract?.IsStateEducationAgencyAccountabilitiesSupported != false) { - source.StateEducationAgencyAccountabilities.MapCollectionTo(target.StateEducationAgencyAccountabilities, target, mappingContract?.IsStateEducationAgencyAccountabilityIncluded); + source.StateEducationAgencyAccountabilities.MapCollectionTo(target.StateEducationAgencyAccountabilities, mappingContract?.IsStateEducationAgencyAccountabilitiesItemCreatable ?? true, target, mappingContract?.IsStateEducationAgencyAccountabilityIncluded); } if (mappingContract?.IsStateEducationAgencyFederalFundsSupported != false) { - source.StateEducationAgencyFederalFunds.MapCollectionTo(target.StateEducationAgencyFederalFunds, target, mappingContract?.IsStateEducationAgencyFederalFundsIncluded); + source.StateEducationAgencyFederalFunds.MapCollectionTo(target.StateEducationAgencyFederalFunds, mappingContract?.IsStateEducationAgencyFederalFundsItemCreatable ?? true, target, mappingContract?.IsStateEducationAgencyFederalFundsIncluded); } // Map extensions @@ -59551,6 +59771,7 @@ public static bool SynchronizeTo(this IStudent source, IStudent target) { child.Student = target; }, + itemCreatable: mappingContract?.IsStudentIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -59563,6 +59784,7 @@ public static bool SynchronizeTo(this IStudent source, IStudent target) { child.Student = target; }, + itemCreatable: mappingContract?.IsStudentOtherNamesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentOtherNameIncluded?.Invoke(item) ?? true); } @@ -59575,6 +59797,7 @@ public static bool SynchronizeTo(this IStudent source, IStudent target) { child.Student = target; }, + itemCreatable: mappingContract?.IsStudentPersonalIdentificationDocumentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentPersonalIdentificationDocumentIncluded?.Invoke(item) ?? true); } @@ -59587,6 +59810,7 @@ public static bool SynchronizeTo(this IStudent source, IStudent target) { child.Student = target; }, + itemCreatable: mappingContract?.IsStudentVisasItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentVisaIncluded?.Invoke(item) ?? true); } @@ -59689,22 +59913,22 @@ public static void MapTo(this IStudent source, IStudent target, Action mappingContract?.IsStudentAcademicRecordAcademicHonorIncluded?.Invoke(item) ?? true); } @@ -60338,6 +60563,7 @@ public static bool SynchronizeTo(this IStudentAcademicRecord source, IStudentAca { child.StudentAcademicRecord = target; }, + itemCreatable: mappingContract?.IsStudentAcademicRecordDiplomasItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAcademicRecordDiplomaIncluded?.Invoke(item) ?? true); } @@ -60350,6 +60576,7 @@ public static bool SynchronizeTo(this IStudentAcademicRecord source, IStudentAca { child.StudentAcademicRecord = target; }, + itemCreatable: mappingContract?.IsStudentAcademicRecordGradePointAveragesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAcademicRecordGradePointAverageIncluded?.Invoke(item) ?? true); } @@ -60362,6 +60589,7 @@ public static bool SynchronizeTo(this IStudentAcademicRecord source, IStudentAca { child.StudentAcademicRecord = target; }, + itemCreatable: mappingContract?.IsStudentAcademicRecordRecognitionsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAcademicRecordRecognitionIncluded?.Invoke(item) ?? true); } @@ -60374,6 +60602,7 @@ public static bool SynchronizeTo(this IStudentAcademicRecord source, IStudentAca { child.StudentAcademicRecord = target; }, + itemCreatable: mappingContract?.IsStudentAcademicRecordReportCardsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAcademicRecordReportCardIncluded?.Invoke(item) ?? true); } @@ -60485,27 +60714,27 @@ public static void MapTo(this IStudentAcademicRecord source, IStudentAcademicRec if (mappingContract?.IsStudentAcademicRecordAcademicHonorsSupported != false) { - source.StudentAcademicRecordAcademicHonors.MapCollectionTo(target.StudentAcademicRecordAcademicHonors, target, mappingContract?.IsStudentAcademicRecordAcademicHonorIncluded); + source.StudentAcademicRecordAcademicHonors.MapCollectionTo(target.StudentAcademicRecordAcademicHonors, mappingContract?.IsStudentAcademicRecordAcademicHonorsItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordAcademicHonorIncluded); } if (mappingContract?.IsStudentAcademicRecordDiplomasSupported != false) { - source.StudentAcademicRecordDiplomas.MapCollectionTo(target.StudentAcademicRecordDiplomas, target, mappingContract?.IsStudentAcademicRecordDiplomaIncluded); + source.StudentAcademicRecordDiplomas.MapCollectionTo(target.StudentAcademicRecordDiplomas, mappingContract?.IsStudentAcademicRecordDiplomasItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordDiplomaIncluded); } if (mappingContract?.IsStudentAcademicRecordGradePointAveragesSupported != false) { - source.StudentAcademicRecordGradePointAverages.MapCollectionTo(target.StudentAcademicRecordGradePointAverages, target, mappingContract?.IsStudentAcademicRecordGradePointAverageIncluded); + source.StudentAcademicRecordGradePointAverages.MapCollectionTo(target.StudentAcademicRecordGradePointAverages, mappingContract?.IsStudentAcademicRecordGradePointAveragesItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordGradePointAverageIncluded); } if (mappingContract?.IsStudentAcademicRecordRecognitionsSupported != false) { - source.StudentAcademicRecordRecognitions.MapCollectionTo(target.StudentAcademicRecordRecognitions, target, mappingContract?.IsStudentAcademicRecordRecognitionIncluded); + source.StudentAcademicRecordRecognitions.MapCollectionTo(target.StudentAcademicRecordRecognitions, mappingContract?.IsStudentAcademicRecordRecognitionsItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordRecognitionIncluded); } if (mappingContract?.IsStudentAcademicRecordReportCardsSupported != false) { - source.StudentAcademicRecordReportCards.MapCollectionTo(target.StudentAcademicRecordReportCards, target, mappingContract?.IsStudentAcademicRecordReportCardIncluded); + source.StudentAcademicRecordReportCards.MapCollectionTo(target.StudentAcademicRecordReportCards, mappingContract?.IsStudentAcademicRecordReportCardsItemCreatable ?? true, target, mappingContract?.IsStudentAcademicRecordReportCardIncluded); } // Map extensions @@ -61572,6 +61801,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentAccommodationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentAccommodationIncluded?.Invoke(item) ?? true); } @@ -61584,6 +61814,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentItemsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentItemIncluded?.Invoke(item) ?? true); } @@ -61596,6 +61827,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentPerformanceLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentPerformanceLevelIncluded?.Invoke(item) ?? true); } @@ -61608,6 +61840,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentScoreResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentScoreResultIncluded?.Invoke(item) ?? true); } @@ -61620,6 +61853,7 @@ public static bool SynchronizeTo(this IStudentAssessment source, IStudentAssessm { child.StudentAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentIncluded?.Invoke(item) ?? true); } @@ -61738,27 +61972,27 @@ public static void MapTo(this IStudentAssessment source, IStudentAssessment targ if (mappingContract?.IsStudentAssessmentAccommodationsSupported != false) { - source.StudentAssessmentAccommodations.MapCollectionTo(target.StudentAssessmentAccommodations, target, mappingContract?.IsStudentAssessmentAccommodationIncluded); + source.StudentAssessmentAccommodations.MapCollectionTo(target.StudentAssessmentAccommodations, mappingContract?.IsStudentAssessmentAccommodationsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentAccommodationIncluded); } if (mappingContract?.IsStudentAssessmentItemsSupported != false) { - source.StudentAssessmentItems.MapCollectionTo(target.StudentAssessmentItems, target, mappingContract?.IsStudentAssessmentItemIncluded); + source.StudentAssessmentItems.MapCollectionTo(target.StudentAssessmentItems, mappingContract?.IsStudentAssessmentItemsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentItemIncluded); } if (mappingContract?.IsStudentAssessmentPerformanceLevelsSupported != false) { - source.StudentAssessmentPerformanceLevels.MapCollectionTo(target.StudentAssessmentPerformanceLevels, target, mappingContract?.IsStudentAssessmentPerformanceLevelIncluded); + source.StudentAssessmentPerformanceLevels.MapCollectionTo(target.StudentAssessmentPerformanceLevels, mappingContract?.IsStudentAssessmentPerformanceLevelsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentPerformanceLevelIncluded); } if (mappingContract?.IsStudentAssessmentScoreResultsSupported != false) { - source.StudentAssessmentScoreResults.MapCollectionTo(target.StudentAssessmentScoreResults, target, mappingContract?.IsStudentAssessmentScoreResultIncluded); + source.StudentAssessmentScoreResults.MapCollectionTo(target.StudentAssessmentScoreResults, mappingContract?.IsStudentAssessmentScoreResultsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentScoreResultIncluded); } if (mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentsSupported != false) { - source.StudentAssessmentStudentObjectiveAssessments.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessments, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentIncluded); + source.StudentAssessmentStudentObjectiveAssessments.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessments, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentIncluded); } // Map extensions @@ -62321,6 +62555,7 @@ public static bool SynchronizeTo(this IStudentAssessmentStudentObjectiveAssessme { child.StudentAssessmentStudentObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded?.Invoke(item) ?? true); } @@ -62333,6 +62568,7 @@ public static bool SynchronizeTo(this IStudentAssessmentStudentObjectiveAssessme { child.StudentAssessmentStudentObjectiveAssessment = target; }, + itemCreatable: mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded?.Invoke(item) ?? true); } @@ -62381,12 +62617,12 @@ public static void MapTo(this IStudentAssessmentStudentObjectiveAssessment sourc if (mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsSupported != false) { - source.StudentAssessmentStudentObjectiveAssessmentPerformanceLevels.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessmentPerformanceLevels, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded); + source.StudentAssessmentStudentObjectiveAssessmentPerformanceLevels.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessmentPerformanceLevels, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentPerformanceLevelIncluded); } if (mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultsSupported != false) { - source.StudentAssessmentStudentObjectiveAssessmentScoreResults.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessmentScoreResults, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded); + source.StudentAssessmentStudentObjectiveAssessmentScoreResults.MapCollectionTo(target.StudentAssessmentStudentObjectiveAssessmentScoreResults, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable ?? true, target, mappingContract?.IsStudentAssessmentStudentObjectiveAssessmentScoreResultIncluded); } // Map extensions @@ -62907,6 +63143,7 @@ public static bool SynchronizeTo(this IStudentCohortAssociation source, IStudent { child.StudentCohortAssociation = target; }, + itemCreatable: mappingContract?.IsStudentCohortAssociationSectionsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCohortAssociationSectionIncluded?.Invoke(item) ?? true); } @@ -62957,7 +63194,7 @@ public static void MapTo(this IStudentCohortAssociation source, IStudentCohortAs if (mappingContract?.IsStudentCohortAssociationSectionsSupported != false) { - source.StudentCohortAssociationSections.MapCollectionTo(target.StudentCohortAssociationSections, target, mappingContract?.IsStudentCohortAssociationSectionIncluded); + source.StudentCohortAssociationSections.MapCollectionTo(target.StudentCohortAssociationSections, mappingContract?.IsStudentCohortAssociationSectionsItemCreatable ?? true, target, mappingContract?.IsStudentCohortAssociationSectionIncluded); } // Map extensions @@ -63129,6 +63366,7 @@ public static bool SynchronizeTo(this IStudentCompetencyObjective source, IStude { child.StudentCompetencyObjective = target; }, + itemCreatable: mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded?.Invoke(item) ?? true); } @@ -63141,6 +63379,7 @@ public static bool SynchronizeTo(this IStudentCompetencyObjective source, IStude { child.StudentCompetencyObjective = target; }, + itemCreatable: mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationIncluded?.Invoke(item) ?? true); } @@ -63200,12 +63439,12 @@ public static void MapTo(this IStudentCompetencyObjective source, IStudentCompet if (mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsSupported != false) { - source.StudentCompetencyObjectiveGeneralStudentProgramAssociations.MapCollectionTo(target.StudentCompetencyObjectiveGeneralStudentProgramAssociations, target, mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded); + source.StudentCompetencyObjectiveGeneralStudentProgramAssociations.MapCollectionTo(target.StudentCompetencyObjectiveGeneralStudentProgramAssociations, mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationsItemCreatable ?? true, target, mappingContract?.IsStudentCompetencyObjectiveGeneralStudentProgramAssociationIncluded); } if (mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationsSupported != false) { - source.StudentCompetencyObjectiveStudentSectionAssociations.MapCollectionTo(target.StudentCompetencyObjectiveStudentSectionAssociations, target, mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationIncluded); + source.StudentCompetencyObjectiveStudentSectionAssociations.MapCollectionTo(target.StudentCompetencyObjectiveStudentSectionAssociations, mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable ?? true, target, mappingContract?.IsStudentCompetencyObjectiveStudentSectionAssociationIncluded); } // Map extensions @@ -63652,6 +63891,7 @@ public static bool SynchronizeTo(this IStudentCTEProgramAssociation source, IStu source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -63666,6 +63906,7 @@ public static bool SynchronizeTo(this IStudentCTEProgramAssociation source, IStu { child.StudentCTEProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentCTEProgramAssociationCTEProgramServiceIncluded?.Invoke(item) ?? true); } @@ -63737,14 +63978,14 @@ public static void MapDerivedTo(this IStudentCTEProgramAssociation source, IStud if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentCTEProgramAssociationCTEProgramServicesSupported != false) { - source.StudentCTEProgramAssociationCTEProgramServices.MapCollectionTo(target.StudentCTEProgramAssociationCTEProgramServices, target, mappingContract?.IsStudentCTEProgramAssociationCTEProgramServiceIncluded); + source.StudentCTEProgramAssociationCTEProgramServices.MapCollectionTo(target.StudentCTEProgramAssociationCTEProgramServices, mappingContract?.IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentCTEProgramAssociationCTEProgramServiceIncluded); } // Map extensions @@ -63934,6 +64175,7 @@ public static bool SynchronizeTo(this IStudentDisciplineIncidentBehaviorAssociat { child.StudentDisciplineIncidentBehaviorAssociation = target; }, + itemCreatable: mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded?.Invoke(item) ?? true); } @@ -63984,7 +64226,7 @@ public static void MapTo(this IStudentDisciplineIncidentBehaviorAssociation sour if (mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesSupported != false) { - source.StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes, target, mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded); + source.StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes, mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, target, mappingContract?.IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodeIncluded); } // Map extensions @@ -64126,6 +64368,7 @@ public static bool SynchronizeTo(this IStudentDisciplineIncidentNonOffenderAssoc { child.StudentDisciplineIncidentNonOffenderAssociation = target; }, + itemCreatable: mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded?.Invoke(item) ?? true); } @@ -64172,7 +64415,7 @@ public static void MapTo(this IStudentDisciplineIncidentNonOffenderAssociation s if (mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesSupported != false) { - source.StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes, target, mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded); + source.StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes.MapCollectionTo(target.StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes, mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable ?? true, target, mappingContract?.IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodeIncluded); } // Map extensions @@ -64409,6 +64652,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAddressIncluded?.Invoke(item) ?? true); } @@ -64421,6 +64665,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded?.Invoke(item) ?? true); } @@ -64433,6 +64678,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationCohortYearsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationCohortYearIncluded?.Invoke(item) ?? true); } @@ -64445,6 +64691,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationDisabilityIncluded?.Invoke(item) ?? true); } @@ -64457,6 +64704,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailIncluded?.Invoke(item) ?? true); } @@ -64469,6 +64717,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressIncluded?.Invoke(item) ?? true); } @@ -64481,6 +64730,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationLanguagesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationLanguageIncluded?.Invoke(item) ?? true); } @@ -64493,6 +64743,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationRacesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationRaceIncluded?.Invoke(item) ?? true); } @@ -64505,6 +64756,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded?.Invoke(item) ?? true); } @@ -64517,6 +64769,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded?.Invoke(item) ?? true); } @@ -64529,6 +64782,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorIncluded?.Invoke(item) ?? true); } @@ -64541,6 +64795,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationTelephonesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationTelephoneIncluded?.Invoke(item) ?? true); } @@ -64553,6 +64808,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociation s { child.StudentEducationOrganizationAssociation = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationIncluded?.Invoke(item) ?? true); } @@ -64640,67 +64896,67 @@ public static void MapTo(this IStudentEducationOrganizationAssociation source, I if (mappingContract?.IsStudentEducationOrganizationAssociationAddressesSupported != false) { - source.StudentEducationOrganizationAssociationAddresses.MapCollectionTo(target.StudentEducationOrganizationAssociationAddresses, target, mappingContract?.IsStudentEducationOrganizationAssociationAddressIncluded); + source.StudentEducationOrganizationAssociationAddresses.MapCollectionTo(target.StudentEducationOrganizationAssociationAddresses, mappingContract?.IsStudentEducationOrganizationAssociationAddressesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationAddressIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginsSupported != false) { - source.StudentEducationOrganizationAssociationAncestryEthnicOrigins.MapCollectionTo(target.StudentEducationOrganizationAssociationAncestryEthnicOrigins, target, mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded); + source.StudentEducationOrganizationAssociationAncestryEthnicOrigins.MapCollectionTo(target.StudentEducationOrganizationAssociationAncestryEthnicOrigins, mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationAncestryEthnicOriginIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationCohortYearsSupported != false) { - source.StudentEducationOrganizationAssociationCohortYears.MapCollectionTo(target.StudentEducationOrganizationAssociationCohortYears, target, mappingContract?.IsStudentEducationOrganizationAssociationCohortYearIncluded); + source.StudentEducationOrganizationAssociationCohortYears.MapCollectionTo(target.StudentEducationOrganizationAssociationCohortYears, mappingContract?.IsStudentEducationOrganizationAssociationCohortYearsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationCohortYearIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationDisabilitiesSupported != false) { - source.StudentEducationOrganizationAssociationDisabilities.MapCollectionTo(target.StudentEducationOrganizationAssociationDisabilities, target, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityIncluded); + source.StudentEducationOrganizationAssociationDisabilities.MapCollectionTo(target.StudentEducationOrganizationAssociationDisabilities, mappingContract?.IsStudentEducationOrganizationAssociationDisabilitiesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailsSupported != false) { - source.StudentEducationOrganizationAssociationElectronicMails.MapCollectionTo(target.StudentEducationOrganizationAssociationElectronicMails, target, mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailIncluded); + source.StudentEducationOrganizationAssociationElectronicMails.MapCollectionTo(target.StudentEducationOrganizationAssociationElectronicMails, mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationElectronicMailIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressesSupported != false) { - source.StudentEducationOrganizationAssociationInternationalAddresses.MapCollectionTo(target.StudentEducationOrganizationAssociationInternationalAddresses, target, mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressIncluded); + source.StudentEducationOrganizationAssociationInternationalAddresses.MapCollectionTo(target.StudentEducationOrganizationAssociationInternationalAddresses, mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationInternationalAddressIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationLanguagesSupported != false) { - source.StudentEducationOrganizationAssociationLanguages.MapCollectionTo(target.StudentEducationOrganizationAssociationLanguages, target, mappingContract?.IsStudentEducationOrganizationAssociationLanguageIncluded); + source.StudentEducationOrganizationAssociationLanguages.MapCollectionTo(target.StudentEducationOrganizationAssociationLanguages, mappingContract?.IsStudentEducationOrganizationAssociationLanguagesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationLanguageIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationRacesSupported != false) { - source.StudentEducationOrganizationAssociationRaces.MapCollectionTo(target.StudentEducationOrganizationAssociationRaces, target, mappingContract?.IsStudentEducationOrganizationAssociationRaceIncluded); + source.StudentEducationOrganizationAssociationRaces.MapCollectionTo(target.StudentEducationOrganizationAssociationRaces, mappingContract?.IsStudentEducationOrganizationAssociationRacesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationRaceIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicsSupported != false) { - source.StudentEducationOrganizationAssociationStudentCharacteristics.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristics, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded); + source.StudentEducationOrganizationAssociationStudentCharacteristics.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristics, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodesSupported != false) { - source.StudentEducationOrganizationAssociationStudentIdentificationCodes.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIdentificationCodes, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded); + source.StudentEducationOrganizationAssociationStudentIdentificationCodes.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIdentificationCodes, mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIdentificationCodeIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorsSupported != false) { - source.StudentEducationOrganizationAssociationStudentIndicators.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIndicators, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorIncluded); + source.StudentEducationOrganizationAssociationStudentIndicators.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIndicators, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationTelephonesSupported != false) { - source.StudentEducationOrganizationAssociationTelephones.MapCollectionTo(target.StudentEducationOrganizationAssociationTelephones, target, mappingContract?.IsStudentEducationOrganizationAssociationTelephoneIncluded); + source.StudentEducationOrganizationAssociationTelephones.MapCollectionTo(target.StudentEducationOrganizationAssociationTelephones, mappingContract?.IsStudentEducationOrganizationAssociationTelephonesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationTelephoneIncluded); } if (mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationsSupported != false) { - source.StudentEducationOrganizationAssociationTribalAffiliations.MapCollectionTo(target.StudentEducationOrganizationAssociationTribalAffiliations, target, mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationIncluded); + source.StudentEducationOrganizationAssociationTribalAffiliations.MapCollectionTo(target.StudentEducationOrganizationAssociationTribalAffiliations, mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationTribalAffiliationIncluded); } // Map extensions @@ -64818,6 +65074,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationAd { child.StudentEducationOrganizationAssociationAddress = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodIncluded?.Invoke(item) ?? true); } @@ -64881,7 +65138,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationAddress so if (mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodsSupported != false) { - source.StudentEducationOrganizationAssociationAddressPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressPeriods, target, mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodIncluded); + source.StudentEducationOrganizationAssociationAddressPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationAddressPeriods, mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationAddressPeriodIncluded); } // Map extensions @@ -65194,6 +65451,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationDi { child.StudentEducationOrganizationAssociationDisability = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded?.Invoke(item) ?? true); } @@ -65235,7 +65493,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationDisability if (mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationsSupported != false) { - source.StudentEducationOrganizationAssociationDisabilityDesignations.MapCollectionTo(target.StudentEducationOrganizationAssociationDisabilityDesignations, target, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded); + source.StudentEducationOrganizationAssociationDisabilityDesignations.MapCollectionTo(target.StudentEducationOrganizationAssociationDisabilityDesignations, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationDisabilityDesignationIncluded); } // Map extensions @@ -65611,6 +65869,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationLa { child.StudentEducationOrganizationAssociationLanguage = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationLanguageUseIncluded?.Invoke(item) ?? true); } @@ -65643,7 +65902,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationLanguage s if (mappingContract?.IsStudentEducationOrganizationAssociationLanguageUsesSupported != false) { - source.StudentEducationOrganizationAssociationLanguageUses.MapCollectionTo(target.StudentEducationOrganizationAssociationLanguageUses, target, mappingContract?.IsStudentEducationOrganizationAssociationLanguageUseIncluded); + source.StudentEducationOrganizationAssociationLanguageUses.MapCollectionTo(target.StudentEducationOrganizationAssociationLanguageUses, mappingContract?.IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationLanguageUseIncluded); } // Map extensions @@ -65845,6 +66104,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationSt { child.StudentEducationOrganizationAssociationStudentCharacteristic = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded?.Invoke(item) ?? true); } @@ -65880,7 +66140,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationStudentCha if (mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsSupported != false) { - source.StudentEducationOrganizationAssociationStudentCharacteristicPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristicPeriods, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded); + source.StudentEducationOrganizationAssociationStudentCharacteristicPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentCharacteristicPeriods, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodIncluded); } // Map extensions @@ -66117,6 +66377,7 @@ public static bool SynchronizeTo(this IStudentEducationOrganizationAssociationSt { child.StudentEducationOrganizationAssociationStudentIndicator = target; }, + itemCreatable: mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded?.Invoke(item) ?? true); } @@ -66158,7 +66419,7 @@ public static void MapTo(this IStudentEducationOrganizationAssociationStudentInd if (mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsSupported != false) { - source.StudentEducationOrganizationAssociationStudentIndicatorPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIndicatorPeriods, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded); + source.StudentEducationOrganizationAssociationStudentIndicatorPeriods.MapCollectionTo(target.StudentEducationOrganizationAssociationStudentIndicatorPeriods, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable ?? true, target, mappingContract?.IsStudentEducationOrganizationAssociationStudentIndicatorPeriodIncluded); } // Map extensions @@ -66828,6 +67089,7 @@ public static bool SynchronizeTo(this IStudentHomelessProgramAssociation source, source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -66842,6 +67104,7 @@ public static bool SynchronizeTo(this IStudentHomelessProgramAssociation source, { child.StudentHomelessProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded?.Invoke(item) ?? true); } @@ -66913,14 +67176,14 @@ public static void MapDerivedTo(this IStudentHomelessProgramAssociation source, if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServicesSupported != false) { - source.StudentHomelessProgramAssociationHomelessProgramServices.MapCollectionTo(target.StudentHomelessProgramAssociationHomelessProgramServices, target, mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded); + source.StudentHomelessProgramAssociationHomelessProgramServices.MapCollectionTo(target.StudentHomelessProgramAssociationHomelessProgramServices, mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentHomelessProgramAssociationHomelessProgramServiceIncluded); } // Map extensions @@ -67272,6 +67535,7 @@ public static bool SynchronizeTo(this IStudentInterventionAssociation source, IS { child.StudentInterventionAssociation = target; }, + itemCreatable: mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessIncluded?.Invoke(item) ?? true); } @@ -67332,7 +67596,7 @@ public static void MapTo(this IStudentInterventionAssociation source, IStudentIn if (mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessesSupported != false) { - source.StudentInterventionAssociationInterventionEffectivenesses.MapCollectionTo(target.StudentInterventionAssociationInterventionEffectivenesses, target, mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessIncluded); + source.StudentInterventionAssociationInterventionEffectivenesses.MapCollectionTo(target.StudentInterventionAssociationInterventionEffectivenesses, mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable ?? true, target, mappingContract?.IsStudentInterventionAssociationInterventionEffectivenessIncluded); } // Map extensions @@ -67679,6 +67943,7 @@ public static bool SynchronizeTo(this IStudentLanguageInstructionProgramAssociat source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -67693,6 +67958,7 @@ public static bool SynchronizeTo(this IStudentLanguageInstructionProgramAssociat { child.StudentLanguageInstructionProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded?.Invoke(item) ?? true); } @@ -67705,6 +67971,7 @@ public static bool SynchronizeTo(this IStudentLanguageInstructionProgramAssociat { child.StudentLanguageInstructionProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded?.Invoke(item) ?? true); } @@ -67773,19 +68040,19 @@ public static void MapDerivedTo(this IStudentLanguageInstructionProgramAssociati if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported != false) { - source.StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments.MapCollectionTo(target.StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments, target, mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded); + source.StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments.MapCollectionTo(target.StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments, mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable ?? true, target, mappingContract?.IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentIncluded); } if (mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported != false) { - source.StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices.MapCollectionTo(target.StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices, target, mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded); + source.StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices.MapCollectionTo(target.StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices, mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceIncluded); } // Map extensions @@ -68160,6 +68427,7 @@ public static bool SynchronizeTo(this IStudentMigrantEducationProgramAssociation source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -68174,6 +68442,7 @@ public static bool SynchronizeTo(this IStudentMigrantEducationProgramAssociation { child.StudentMigrantEducationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded?.Invoke(item) ?? true); } @@ -68263,14 +68532,14 @@ public static void MapDerivedTo(this IStudentMigrantEducationProgramAssociation if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesSupported != false) { - source.StudentMigrantEducationProgramAssociationMigrantEducationProgramServices.MapCollectionTo(target.StudentMigrantEducationProgramAssociationMigrantEducationProgramServices, target, mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded); + source.StudentMigrantEducationProgramAssociationMigrantEducationProgramServices.MapCollectionTo(target.StudentMigrantEducationProgramAssociationMigrantEducationProgramServices, mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServiceIncluded); } // Map extensions @@ -68487,6 +68756,7 @@ public static bool SynchronizeTo(this IStudentNeglectedOrDelinquentProgramAssoci source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -68501,6 +68771,7 @@ public static bool SynchronizeTo(this IStudentNeglectedOrDelinquentProgramAssoci { child.StudentNeglectedOrDelinquentProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded?.Invoke(item) ?? true); } @@ -68572,14 +68843,14 @@ public static void MapDerivedTo(this IStudentNeglectedOrDelinquentProgramAssocia if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported != false) { - source.StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices.MapCollectionTo(target.StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices, target, mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded); + source.StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices.MapCollectionTo(target.StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices, mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceIncluded); } // Map extensions @@ -68927,6 +69198,7 @@ public static bool SynchronizeTo(this IStudentProgramAssociation source, IStuden source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -68941,6 +69213,7 @@ public static bool SynchronizeTo(this IStudentProgramAssociation source, IStuden { child.StudentProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentProgramAssociationServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentProgramAssociationServiceIncluded?.Invoke(item) ?? true); } @@ -69003,14 +69276,14 @@ public static void MapDerivedTo(this IStudentProgramAssociation source, IStudent if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentProgramAssociationServicesSupported != false) { - source.StudentProgramAssociationServices.MapCollectionTo(target.StudentProgramAssociationServices, target, mappingContract?.IsStudentProgramAssociationServiceIncluded); + source.StudentProgramAssociationServices.MapCollectionTo(target.StudentProgramAssociationServices, mappingContract?.IsStudentProgramAssociationServicesItemCreatable ?? true, target, mappingContract?.IsStudentProgramAssociationServiceIncluded); } // Map extensions @@ -69380,6 +69653,7 @@ public static bool SynchronizeTo(this IStudentProgramEvaluation source, IStudent { child.StudentProgramEvaluation = target; }, + itemCreatable: mappingContract?.IsStudentProgramEvaluationExternalEvaluatorsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentProgramEvaluationExternalEvaluatorIncluded?.Invoke(item) ?? true); } @@ -69392,6 +69666,7 @@ public static bool SynchronizeTo(this IStudentProgramEvaluation source, IStudent { child.StudentProgramEvaluation = target; }, + itemCreatable: mappingContract?.IsStudentProgramEvaluationStudentEvaluationElementsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentProgramEvaluationStudentEvaluationElementIncluded?.Invoke(item) ?? true); } @@ -69404,6 +69679,7 @@ public static bool SynchronizeTo(this IStudentProgramEvaluation source, IStudent { child.StudentProgramEvaluation = target; }, + itemCreatable: mappingContract?.IsStudentProgramEvaluationStudentEvaluationObjectivesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentProgramEvaluationStudentEvaluationObjectiveIncluded?.Invoke(item) ?? true); } @@ -69477,17 +69753,17 @@ public static void MapTo(this IStudentProgramEvaluation source, IStudentProgramE if (mappingContract?.IsStudentProgramEvaluationExternalEvaluatorsSupported != false) { - source.StudentProgramEvaluationExternalEvaluators.MapCollectionTo(target.StudentProgramEvaluationExternalEvaluators, target, mappingContract?.IsStudentProgramEvaluationExternalEvaluatorIncluded); + source.StudentProgramEvaluationExternalEvaluators.MapCollectionTo(target.StudentProgramEvaluationExternalEvaluators, mappingContract?.IsStudentProgramEvaluationExternalEvaluatorsItemCreatable ?? true, target, mappingContract?.IsStudentProgramEvaluationExternalEvaluatorIncluded); } if (mappingContract?.IsStudentProgramEvaluationStudentEvaluationElementsSupported != false) { - source.StudentProgramEvaluationStudentEvaluationElements.MapCollectionTo(target.StudentProgramEvaluationStudentEvaluationElements, target, mappingContract?.IsStudentProgramEvaluationStudentEvaluationElementIncluded); + source.StudentProgramEvaluationStudentEvaluationElements.MapCollectionTo(target.StudentProgramEvaluationStudentEvaluationElements, mappingContract?.IsStudentProgramEvaluationStudentEvaluationElementsItemCreatable ?? true, target, mappingContract?.IsStudentProgramEvaluationStudentEvaluationElementIncluded); } if (mappingContract?.IsStudentProgramEvaluationStudentEvaluationObjectivesSupported != false) { - source.StudentProgramEvaluationStudentEvaluationObjectives.MapCollectionTo(target.StudentProgramEvaluationStudentEvaluationObjectives, target, mappingContract?.IsStudentProgramEvaluationStudentEvaluationObjectiveIncluded); + source.StudentProgramEvaluationStudentEvaluationObjectives.MapCollectionTo(target.StudentProgramEvaluationStudentEvaluationObjectives, mappingContract?.IsStudentProgramEvaluationStudentEvaluationObjectivesItemCreatable ?? true, target, mappingContract?.IsStudentProgramEvaluationStudentEvaluationObjectiveIncluded); } // Map extensions @@ -70006,6 +70282,7 @@ public static bool SynchronizeTo(this IStudentSchoolAssociation source, IStudent { child.StudentSchoolAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlanIncluded?.Invoke(item) ?? true); } @@ -70018,6 +70295,7 @@ public static bool SynchronizeTo(this IStudentSchoolAssociation source, IStudent { child.StudentSchoolAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSchoolAssociationEducationPlansItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSchoolAssociationEducationPlanIncluded?.Invoke(item) ?? true); } @@ -70139,12 +70417,12 @@ public static void MapTo(this IStudentSchoolAssociation source, IStudentSchoolAs if (mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlansSupported != false) { - source.StudentSchoolAssociationAlternativeGraduationPlans.MapCollectionTo(target.StudentSchoolAssociationAlternativeGraduationPlans, target, mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlanIncluded); + source.StudentSchoolAssociationAlternativeGraduationPlans.MapCollectionTo(target.StudentSchoolAssociationAlternativeGraduationPlans, mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlansItemCreatable ?? true, target, mappingContract?.IsStudentSchoolAssociationAlternativeGraduationPlanIncluded); } if (mappingContract?.IsStudentSchoolAssociationEducationPlansSupported != false) { - source.StudentSchoolAssociationEducationPlans.MapCollectionTo(target.StudentSchoolAssociationEducationPlans, target, mappingContract?.IsStudentSchoolAssociationEducationPlanIncluded); + source.StudentSchoolAssociationEducationPlans.MapCollectionTo(target.StudentSchoolAssociationEducationPlans, mappingContract?.IsStudentSchoolAssociationEducationPlansItemCreatable ?? true, target, mappingContract?.IsStudentSchoolAssociationEducationPlanIncluded); } // Map extensions @@ -70564,6 +70842,7 @@ public static bool SynchronizeTo(this IStudentSchoolFoodServiceProgramAssociatio source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -70578,6 +70857,7 @@ public static bool SynchronizeTo(this IStudentSchoolFoodServiceProgramAssociatio { child.StudentSchoolFoodServiceProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded?.Invoke(item) ?? true); } @@ -70643,14 +70923,14 @@ public static void MapDerivedTo(this IStudentSchoolFoodServiceProgramAssociation if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported != false) { - source.StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices.MapCollectionTo(target.StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices, target, mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded); + source.StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices.MapCollectionTo(target.StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices, mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceIncluded); } // Map extensions @@ -70901,6 +71181,7 @@ public static bool SynchronizeTo(this IStudentSectionAssociation source, IStuden { child.StudentSectionAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSectionAssociationProgramsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSectionAssociationProgramIncluded?.Invoke(item) ?? true); } @@ -70966,7 +71247,7 @@ public static void MapTo(this IStudentSectionAssociation source, IStudentSection if (mappingContract?.IsStudentSectionAssociationProgramsSupported != false) { - source.StudentSectionAssociationPrograms.MapCollectionTo(target.StudentSectionAssociationPrograms, target, mappingContract?.IsStudentSectionAssociationProgramIncluded); + source.StudentSectionAssociationPrograms.MapCollectionTo(target.StudentSectionAssociationPrograms, mappingContract?.IsStudentSectionAssociationProgramsItemCreatable ?? true, target, mappingContract?.IsStudentSectionAssociationProgramIncluded); } // Map extensions @@ -71164,6 +71445,7 @@ public static bool SynchronizeTo(this IStudentSectionAttendanceEvent source, ISt { child.StudentSectionAttendanceEvent = target; }, + itemCreatable: mappingContract?.IsStudentSectionAttendanceEventClassPeriodsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSectionAttendanceEventClassPeriodIncluded?.Invoke(item) ?? true); } @@ -71233,7 +71515,7 @@ public static void MapTo(this IStudentSectionAttendanceEvent source, IStudentSec if (mappingContract?.IsStudentSectionAttendanceEventClassPeriodsSupported != false) { - source.StudentSectionAttendanceEventClassPeriods.MapCollectionTo(target.StudentSectionAttendanceEventClassPeriods, target, mappingContract?.IsStudentSectionAttendanceEventClassPeriodIncluded); + source.StudentSectionAttendanceEventClassPeriods.MapCollectionTo(target.StudentSectionAttendanceEventClassPeriods, mappingContract?.IsStudentSectionAttendanceEventClassPeriodsItemCreatable ?? true, target, mappingContract?.IsStudentSectionAttendanceEventClassPeriodIncluded); } // Map extensions @@ -71497,6 +71779,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -71511,6 +71794,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityIncluded?.Invoke(item) ?? true); } @@ -71523,6 +71807,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProviderIncluded?.Invoke(item) ?? true); } @@ -71535,6 +71820,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded?.Invoke(item) ?? true); } @@ -71636,24 +71922,24 @@ public static void MapDerivedTo(this IStudentSpecialEducationProgramAssociation if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilitiesSupported != false) { - source.StudentSpecialEducationProgramAssociationDisabilities.MapCollectionTo(target.StudentSpecialEducationProgramAssociationDisabilities, target, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityIncluded); + source.StudentSpecialEducationProgramAssociationDisabilities.MapCollectionTo(target.StudentSpecialEducationProgramAssociationDisabilities, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityIncluded); } if (mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProvidersSupported != false) { - source.StudentSpecialEducationProgramAssociationServiceProviders.MapCollectionTo(target.StudentSpecialEducationProgramAssociationServiceProviders, target, mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProviderIncluded); + source.StudentSpecialEducationProgramAssociationServiceProviders.MapCollectionTo(target.StudentSpecialEducationProgramAssociationServiceProviders, mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProvidersItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationServiceProviderIncluded); } if (mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported != false) { - source.StudentSpecialEducationProgramAssociationSpecialEducationProgramServices.MapCollectionTo(target.StudentSpecialEducationProgramAssociationSpecialEducationProgramServices, target, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded); + source.StudentSpecialEducationProgramAssociationSpecialEducationProgramServices.MapCollectionTo(target.StudentSpecialEducationProgramAssociationSpecialEducationProgramServices, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceIncluded); } // Map extensions @@ -71729,6 +72015,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociationDisability = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded?.Invoke(item) ?? true); } @@ -71770,7 +72057,7 @@ public static void MapTo(this IStudentSpecialEducationProgramAssociationDisabili if (mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationsSupported != false) { - source.StudentSpecialEducationProgramAssociationDisabilityDesignations.MapCollectionTo(target.StudentSpecialEducationProgramAssociationDisabilityDesignations, target, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded); + source.StudentSpecialEducationProgramAssociationDisabilityDesignations.MapCollectionTo(target.StudentSpecialEducationProgramAssociationDisabilityDesignations, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationDisabilityDesignationIncluded); } // Map extensions @@ -72003,6 +72290,7 @@ public static bool SynchronizeTo(this IStudentSpecialEducationProgramAssociation { child.StudentSpecialEducationProgramAssociationSpecialEducationProgramService = target; }, + itemCreatable: mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded?.Invoke(item) ?? true); } @@ -72044,7 +72332,7 @@ public static void MapTo(this IStudentSpecialEducationProgramAssociationSpecialE if (mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersSupported != false) { - source.StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders.MapCollectionTo(target.StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders, target, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded); + source.StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders.MapCollectionTo(target.StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable ?? true, target, mappingContract?.IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviderIncluded); } // Map extensions @@ -72491,6 +72779,7 @@ public static bool SynchronizeTo(this IStudentTitleIPartAProgramAssociation sour source.GeneralStudentProgramAssociationProgramParticipationStatuses.SynchronizeCollectionTo( target.GeneralStudentProgramAssociationProgramParticipationStatuses, onChildAdded: child => child.GeneralStudentProgramAssociation = target, + itemCreatable: mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, includeItem: item => mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded?.Invoke(item) ?? true); } @@ -72505,6 +72794,7 @@ public static bool SynchronizeTo(this IStudentTitleIPartAProgramAssociation sour { child.StudentTitleIPartAProgramAssociation = target; }, + itemCreatable: mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable ?? true, includeItem: item => mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded?.Invoke(item) ?? true); } @@ -72570,14 +72860,14 @@ public static void MapDerivedTo(this IStudentTitleIPartAProgramAssociation sourc if (mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesSupported != false) { - source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); + source.GeneralStudentProgramAssociationProgramParticipationStatuses.MapCollectionTo(target.GeneralStudentProgramAssociationProgramParticipationStatuses, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable ?? true, target, mappingContract?.IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded); } // Map lists if (mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported != false) { - source.StudentTitleIPartAProgramAssociationTitleIPartAProgramServices.MapCollectionTo(target.StudentTitleIPartAProgramAssociationTitleIPartAProgramServices, target, mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded); + source.StudentTitleIPartAProgramAssociationTitleIPartAProgramServices.MapCollectionTo(target.StudentTitleIPartAProgramAssociationTitleIPartAProgramServices, mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable ?? true, target, mappingContract?.IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServiceIncluded); } // Map extensions @@ -73756,6 +74046,7 @@ public static bool SynchronizeTo(this ISurveyQuestion source, ISurveyQuestion ta { child.SurveyQuestion = target; }, + itemCreatable: mappingContract?.IsSurveyQuestionMatricesItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyQuestionMatrixIncluded?.Invoke(item) ?? true); } @@ -73768,6 +74059,7 @@ public static bool SynchronizeTo(this ISurveyQuestion source, ISurveyQuestion ta { child.SurveyQuestion = target; }, + itemCreatable: mappingContract?.IsSurveyQuestionResponseChoicesItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyQuestionResponseChoiceIncluded?.Invoke(item) ?? true); } @@ -73823,12 +74115,12 @@ public static void MapTo(this ISurveyQuestion source, ISurveyQuestion target, Ac if (mappingContract?.IsSurveyQuestionMatricesSupported != false) { - source.SurveyQuestionMatrices.MapCollectionTo(target.SurveyQuestionMatrices, target, mappingContract?.IsSurveyQuestionMatrixIncluded); + source.SurveyQuestionMatrices.MapCollectionTo(target.SurveyQuestionMatrices, mappingContract?.IsSurveyQuestionMatricesItemCreatable ?? true, target, mappingContract?.IsSurveyQuestionMatrixIncluded); } if (mappingContract?.IsSurveyQuestionResponseChoicesSupported != false) { - source.SurveyQuestionResponseChoices.MapCollectionTo(target.SurveyQuestionResponseChoices, target, mappingContract?.IsSurveyQuestionResponseChoiceIncluded); + source.SurveyQuestionResponseChoices.MapCollectionTo(target.SurveyQuestionResponseChoices, mappingContract?.IsSurveyQuestionResponseChoicesItemCreatable ?? true, target, mappingContract?.IsSurveyQuestionResponseChoiceIncluded); } // Map extensions @@ -74095,6 +74387,7 @@ public static bool SynchronizeTo(this ISurveyQuestionResponse source, ISurveyQue { child.SurveyQuestionResponse = target; }, + itemCreatable: mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded?.Invoke(item) ?? true); } @@ -74107,6 +74400,7 @@ public static bool SynchronizeTo(this ISurveyQuestionResponse source, ISurveyQue { child.SurveyQuestionResponse = target; }, + itemCreatable: mappingContract?.IsSurveyQuestionResponseValuesItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyQuestionResponseValueIncluded?.Invoke(item) ?? true); } @@ -74160,12 +74454,12 @@ public static void MapTo(this ISurveyQuestionResponse source, ISurveyQuestionRes if (mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesSupported != false) { - source.SurveyQuestionResponseSurveyQuestionMatrixElementResponses.MapCollectionTo(target.SurveyQuestionResponseSurveyQuestionMatrixElementResponses, target, mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded); + source.SurveyQuestionResponseSurveyQuestionMatrixElementResponses.MapCollectionTo(target.SurveyQuestionResponseSurveyQuestionMatrixElementResponses, mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponsesItemCreatable ?? true, target, mappingContract?.IsSurveyQuestionResponseSurveyQuestionMatrixElementResponseIncluded); } if (mappingContract?.IsSurveyQuestionResponseValuesSupported != false) { - source.SurveyQuestionResponseValues.MapCollectionTo(target.SurveyQuestionResponseValues, target, mappingContract?.IsSurveyQuestionResponseValueIncluded); + source.SurveyQuestionResponseValues.MapCollectionTo(target.SurveyQuestionResponseValues, mappingContract?.IsSurveyQuestionResponseValuesItemCreatable ?? true, target, mappingContract?.IsSurveyQuestionResponseValueIncluded); } // Map extensions @@ -74503,6 +74797,7 @@ public static bool SynchronizeTo(this ISurveyResponse source, ISurveyResponse ta { child.SurveyResponse = target; }, + itemCreatable: mappingContract?.IsSurveyResponseSurveyLevelsItemCreatable ?? true, includeItem: item => mappingContract?.IsSurveyResponseSurveyLevelIncluded?.Invoke(item) ?? true); } @@ -74577,7 +74872,7 @@ public static void MapTo(this ISurveyResponse source, ISurveyResponse target, Ac if (mappingContract?.IsSurveyResponseSurveyLevelsSupported != false) { - source.SurveyResponseSurveyLevels.MapCollectionTo(target.SurveyResponseSurveyLevels, target, mappingContract?.IsSurveyResponseSurveyLevelIncluded); + source.SurveyResponseSurveyLevels.MapCollectionTo(target.SurveyResponseSurveyLevels, mappingContract?.IsSurveyResponseSurveyLevelsItemCreatable ?? true, target, mappingContract?.IsSurveyResponseSurveyLevelIncluded); } // Map extensions From ec2968ba442d148fea3d2b983b2b27a9f056c437 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Thu, 11 Jan 2024 13:41:28 -0600 Subject: [PATCH 06/19] Refined the DataPolicyException constructor for the specific supported scenarios. --- .../Exceptions/DataPolicyException.cs | 21 ++++++++++++------- .../Extensions/CollectionExtensions.cs | 6 ++---- .../ProfileBasedCreateEntityDecorator.cs | 3 +-- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/Application/EdFi.Ods.Common/Exceptions/DataPolicyException.cs b/Application/EdFi.Ods.Common/Exceptions/DataPolicyException.cs index 57253d3257..54f01f6981 100644 --- a/Application/EdFi.Ods.Common/Exceptions/DataPolicyException.cs +++ b/Application/EdFi.Ods.Common/Exceptions/DataPolicyException.cs @@ -15,20 +15,25 @@ public class DataPolicyException : BadRequestDataException // Fields containing override values for Problem Details private const string TypePart = "policy"; private const string TitleText = "Data Policy Enforced"; + private const string DefaultDetail = + "The resource cannot be saved because a data policy has been applied to the request that prevents it."; - public DataPolicyException(string detail) - : base(detail) { } + private const string ResourceMessageFormat = + "The Profile definition for '{0}' excludes (or does not include) one or more required data elements needed to create the resource."; - public DataPolicyException(string detail, Dictionary validationErrors) - : base(detail) + private const string ResourceChildMessageFormat = + "The Profile definition for '{0}' excludes (or does not include) one or more required data elements needed to create a child item of type '{1}' in the resource."; + + public DataPolicyException(string profileName) + : base(DefaultDetail) { - ((IEdFiProblemDetails)this).ValidationErrors = validationErrors; + ((IEdFiProblemDetails)this).Errors = new[] { string.Format(ResourceMessageFormat, profileName) }; } - public DataPolicyException(string detail, string[] errors) - : base(detail) + public DataPolicyException(string profileName, string childTypeName) + : base(DefaultDetail) { - ((IEdFiProblemDetails)this).Errors = errors; + ((IEdFiProblemDetails)this).Errors = new[] { string.Format(ResourceChildMessageFormat, profileName, childTypeName) }; } // --------------------------- diff --git a/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs b/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs index 622073a145..a886dc5066 100644 --- a/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs +++ b/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs @@ -75,8 +75,7 @@ public static bool SynchronizeCollectionTo( { string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; - throw new DataPolicyException("The resource cannot be saved because a data policy has been applied to the request that prevents it.", - new [] { $"The Profile definition for '{profileName}' excludes (or does not include) one or more required data elements needed to create a child item of type '{itemsToAdd.First().GetType().Name}' in the resource." }); + throw new DataPolicyException(profileName, itemsToAdd.First().GetType().Name); } foreach (var item in itemsToAdd) @@ -119,8 +118,7 @@ public static void MapCollectionTo( { string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; - throw new DataPolicyException("The resource cannot be saved because a data policy has been applied to the request that prevents it.", - new [] { $"The Profile definition for '{profileName}' excludes (or does not include) one or more required data elements needed to create a child item of type '{itemType.Name}' in the resource." }); + throw new DataPolicyException(profileName, itemType.Name); } var targetItem = (TTarget) Activator.CreateInstance(itemType); diff --git a/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs b/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs index 97c5232abc..11df0937d1 100644 --- a/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs +++ b/Application/EdFi.Ods.Features/Profiles/ProfileBasedCreateEntityDecorator.cs @@ -71,8 +71,7 @@ private void EnsureCreatable() { if (!contentTypes.CanCreateResourceClass(resource.FullName)) { - throw new DataPolicyException("The resource cannot be created because a data policy has been applied to the request that prevents it.", - new [] { $"The Profile definition for '{profileContentTypeContext.ProfileName}' excludes (or does not include) one or more required data elements needed to create the resource." }); + throw new DataPolicyException(profileContentTypeContext.ProfileName); } } } From ef9b06cb9b132b31f2f6b6793848d648e7431a2d Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Thu, 11 Jan 2024 13:44:05 -0600 Subject: [PATCH 07/19] Added support for detecting uncreatable EmbeddedObjects. --- .../Models/MappingContractProvider.cs | 22 +++++++++++++++++++ .../Generators/EntityInterfaces.cs | 15 ++++++++++++- .../Mustache/EntityInterfaces.mustache | 21 ++++++++++++++++++ .../Mustache/EntityMapper.mustache | 16 ++++++++++++++ 4 files changed, 73 insertions(+), 1 deletion(-) diff --git a/Application/EdFi.Ods.Common/Models/MappingContractProvider.cs b/Application/EdFi.Ods.Common/Models/MappingContractProvider.cs index 8d43f5eb55..d896b8294b 100644 --- a/Application/EdFi.Ods.Common/Models/MappingContractProvider.cs +++ b/Application/EdFi.Ods.Common/Models/MappingContractProvider.cs @@ -208,6 +208,7 @@ private IMappingContract GetOrCreateMappingContract(MappingContractKey mappingCo return null; } + // Handle collections if (parameterInfo.Name.EndsWith("ItemCreatable")) { string memberName = parameterInfo.Name.Substring( @@ -230,6 +231,27 @@ private IMappingContract GetOrCreateMappingContract(MappingContractKey mappingCo return false; } + // Handle embedded objects + if (parameterInfo.Name.EndsWith("Creatable")) + { + string memberName = parameterInfo.Name.Substring( + 2, + parameterInfo.Name.Length - "Creatable".Length - 2); + + if (key.ContentTypeUsage == ContentTypeUsage.Readable) + { + // Use of the readable content type implies outbound mapping is in play, which should always be supported + return true; + } + + if (profileResourceClass.EmbeddedObjectByName.TryGetValue(memberName, out var embeddedObject)) + { + return contentTypes.CanCreateResourceClass(embeddedObject.ObjectType.FullName); + } + + return false; + } + throw new Exception( $"Constructor argument '{parameterInfo.Name}' of '{mappingContractType.FullName}' did not conform to expected naming convention of isXxxxSupported or isXxxxIncluded."); }) diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs index ba62bf3364..552a85a06d 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs @@ -295,6 +295,16 @@ private IEnumerable GetMappingContractMembers(ResourceClassBase resource { PropertyName = pn, ItemTypeName = null as string, + IsCollection = false, + }); + + var embeddedObjects = resourceClass.EmbeddedObjects + .OrderBy(c => c.ObjectType.Name) + .Select(c => new + { + PropertyName = c.PropertyName, + ItemTypeName = c.ObjectType.Name, + IsCollection = false, }); var collections = resourceClass.Collections @@ -302,10 +312,12 @@ private IEnumerable GetMappingContractMembers(ResourceClassBase resource .Select(c => new { PropertyName = c.PropertyName, - ItemTypeName = c.ItemType.Name + ItemTypeName = c.ItemType.Name, + IsCollection = true, }); var members = properties + .Concat(embeddedObjects) .Concat(collections) .ToList(); @@ -315,6 +327,7 @@ private IEnumerable GetMappingContractMembers(ResourceClassBase resource { PropertyName = x.PropertyName, ItemTypeName = x.ItemTypeName, + IsCollection = x.IsCollection, IsLast = x == members.Last() && !resourceClass.IsExtendable() }); } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache index 5b3f1336f5..54febb0508 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache @@ -79,8 +79,13 @@ namespace {{EntitiesBaseNamespace}} bool is{{PropertyName}}Supported{{^IsLast}},{{/IsLast}} {{/ItemTypeName}} {{#ItemTypeName}} + {{#IsCollection}} bool is{{PropertyName}}ItemCreatable, Func is{{ItemTypeName}}Included{{^IsLast}},{{/IsLast}} + {{/IsCollection}} + {{^IsCollection}} + bool is{{PropertyName}}Creatable{{^IsLast}},{{/IsLast}} + {{/IsCollection}} {{/ItemTypeName}} {{/MappingContractMembers}} {{#IsExtendable}} @@ -93,8 +98,13 @@ namespace {{EntitiesBaseNamespace}} Is{{PropertyName}}Supported = is{{PropertyName}}Supported; {{/ItemTypeName}} {{#ItemTypeName}} + {{#IsCollection}} Is{{PropertyName}}ItemCreatable = is{{PropertyName}}ItemCreatable; Is{{ItemTypeName}}Included = is{{ItemTypeName}}Included; + {{/IsCollection}} + {{^IsCollection}} + Is{{PropertyName}}Creatable = is{{PropertyName}}Creatable; + {{/IsCollection}} {{/ItemTypeName}} {{/MappingContractMembers}} {{#IsExtendable}} @@ -107,8 +117,13 @@ namespace {{EntitiesBaseNamespace}} public bool Is{{PropertyName}}Supported { get; } {{/ItemTypeName}} {{#ItemTypeName}} + {{#IsCollection}} public bool Is{{PropertyName}}ItemCreatable { get; } public Func Is{{ItemTypeName}}Included { get; } + {{/IsCollection}} + {{^IsCollection}} + public bool Is{{PropertyName}}Creatable { get; } + {{/IsCollection}} {{/ItemTypeName}} {{/MappingContractMembers}} @@ -144,8 +159,14 @@ namespace {{EntitiesBaseNamespace}} { {{#MappingContractMembers}} {{#ItemTypeName}} + {{#IsCollection}} case "{{PropertyName}}": return Is{{PropertyName}}ItemCreatable; + {{/IsCollection}} + {{^IsCollection}} + case "{{PropertyName}}": + return Is{{PropertyName}}Creatable; + {{/IsCollection}} {{/ItemTypeName}} {{/MappingContractMembers}} default: diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache index 0cc8561416..de2b2e4a13 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache @@ -127,6 +127,14 @@ namespace {{NamespaceName}} //.{{AggregateName}}Aggregate if (target.{{PropertyName}} == null) { var itemType = target.GetType().GetProperty("{{PropertyName}}").PropertyType; + + if (!(mappingContract?.Is{{PropertyName}}Creatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.{{PropertyName}} = (I{{OtherClassName}}) newItem; } @@ -275,6 +283,14 @@ namespace {{NamespaceName}} //.{{AggregateName}}Aggregate else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.Is{{PropertyName}}Creatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object target{{OtherClassName}} = Activator.CreateInstance(itemType); (target{{OtherClassName}} as IChildEntity)?.SetParent(target{{#IsEntityExtension}}.{{ModelParentName}}{{/IsEntityExtension}}); source.{{PropertyName}}.Map(target{{OtherClassName}}); From b688657b379e97e478a7a0023edbb949eda3f20c Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Thu, 11 Jan 2024 13:44:35 -0600 Subject: [PATCH 08/19] Added a test profile definition for an uncreatable AssessmentContentStandard. --- Application/EdFi.Ods.Profiles.Test/Profiles.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Application/EdFi.Ods.Profiles.Test/Profiles.xml b/Application/EdFi.Ods.Profiles.Test/Profiles.xml index 8cd40c193c..c36fb039cc 100644 --- a/Application/EdFi.Ods.Profiles.Test/Profiles.xml +++ b/Application/EdFi.Ods.Profiles.Test/Profiles.xml @@ -544,6 +544,17 @@ + + + + + + + + + + + From 5cabf9f3ea4412766f20cd3e92c18af24e84c46a Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Thu, 11 Jan 2024 13:45:01 -0600 Subject: [PATCH 09/19] Updated approval tests. --- ...ces_EntityInterfaces.generated.approved.cs | 14 +- ...Mappers_EntityMapper.generated.approved.cs | 32 +++ ...ces_EntityInterfaces.generated.approved.cs | 40 +++ ...Mappers_EntityMapper.generated.approved.cs | 128 +++++++++ ...ces_EntityInterfaces.generated.approved.cs | 14 +- ...Mappers_EntityMapper.generated.approved.cs | 32 +++ ...ces_EntityInterfaces.generated.approved.cs | 85 ++++++ ...Mappers_EntityMapper.generated.approved.cs | 272 ++++++++++++++++++ ...ces_EntityInterfaces.generated.approved.cs | 14 +- ...Mappers_EntityMapper.generated.approved.cs | 32 +++ ...ces_EntityInterfaces.generated.approved.cs | 35 +++ ...Mappers_EntityMapper.generated.approved.cs | 112 ++++++++ ...ces_EntityInterfaces.generated.approved.cs | 14 +- ...Mappers_EntityMapper.generated.approved.cs | 32 +++ ...ces_EntityInterfaces.generated.approved.cs | 30 ++ ...Mappers_EntityMapper.generated.approved.cs | 96 +++++++ 16 files changed, 974 insertions(+), 8 deletions(-) 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 0cf248b9b6..57b7038af7 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 @@ -316,17 +316,20 @@ public class SchoolMappingContract : IMappingContract public SchoolMappingContract( bool isSchoolAddressSupported, bool isSchoolYearSupported, - bool isSchoolYearTypeReferenceSupported + bool isSchoolYearTypeReferenceSupported, + bool isSchoolAddressCreatable ) { 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) { @@ -350,6 +353,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "SchoolAddress": + return IsSchoolAddressCreatable; default: throw new Exception($"Unknown member '{memberName}'."); } @@ -718,19 +723,22 @@ public StudentMappingContract( bool isSchoolYearSupported, bool isSchoolYearTypeReferenceSupported, bool isStudentAddressSupported, - bool isStudentNameReferenceSupported + bool isStudentNameReferenceSupported, + bool isStudentAddressCreatable ) { 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) { @@ -758,6 +766,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentAddress": + return IsStudentAddressCreatable; default: throw new Exception($"Unknown member '{memberName}'."); } 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index 03370e4ab9..13325dea2c 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -425,6 +425,14 @@ public static bool SynchronizeTo(this ISchool source, ISchool target) if (target.SchoolAddress == null) { var itemType = target.GetType().GetProperty("SchoolAddress").PropertyType; + + if (!(mappingContract?.IsSchoolAddressCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.SchoolAddress = (ISchoolAddress) newItem; } @@ -485,6 +493,14 @@ public static void MapTo(this ISchool source, ISchool target, Action isParentAuthorIncluded, bool isParentCeilingHeightsItemCreatable, @@ -1373,6 +1375,8 @@ Func isParentStudentProgramAssociationIn IsParentTeacherConferenceSupported = isParentTeacherConferenceSupported; IsPreferredWakeUpTimeSupported = isPreferredWakeUpTimeSupported; IsRainCertaintySupported = isRainCertaintySupported; + IsParentCTEProgramCreatable = isParentCTEProgramCreatable; + IsParentTeacherConferenceCreatable = isParentTeacherConferenceCreatable; IsParentAuthorsItemCreatable = isParentAuthorsItemCreatable; IsParentAuthorIncluded = isParentAuthorIncluded; IsParentCeilingHeightsItemCreatable = isParentCeilingHeightsItemCreatable; @@ -1403,6 +1407,8 @@ Func isParentStudentProgramAssociationIn public bool IsParentTeacherConferenceSupported { get; } public bool IsPreferredWakeUpTimeSupported { get; } public bool IsRainCertaintySupported { get; } + public bool IsParentCTEProgramCreatable { get; } + public bool IsParentTeacherConferenceCreatable { get; } public bool IsParentAuthorsItemCreatable { get; } public Func IsParentAuthorIncluded { get; } public bool IsParentCeilingHeightsItemCreatable { get; } @@ -1464,6 +1470,10 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "ParentCTEProgram": + return IsParentCTEProgramCreatable; + case "ParentTeacherConference": + return IsParentTeacherConferenceCreatable; case "ParentAuthors": return IsParentAuthorsItemCreatable; case "ParentCeilingHeights": @@ -1849,6 +1859,7 @@ public SchoolExtensionMappingContract( bool isIsExemplarySupported, bool isSchoolCTEProgramSupported, bool isSchoolDirectlyOwnedBusesSupported, + bool isSchoolCTEProgramCreatable, bool isSchoolDirectlyOwnedBusesItemCreatable, Func isSchoolDirectlyOwnedBusIncluded ) @@ -1856,6 +1867,7 @@ Func isSchoolDirectlyOwnedBusIncluded IsIsExemplarySupported = isIsExemplarySupported; IsSchoolCTEProgramSupported = isSchoolCTEProgramSupported; IsSchoolDirectlyOwnedBusesSupported = isSchoolDirectlyOwnedBusesSupported; + IsSchoolCTEProgramCreatable = isSchoolCTEProgramCreatable; IsSchoolDirectlyOwnedBusesItemCreatable = isSchoolDirectlyOwnedBusesItemCreatable; IsSchoolDirectlyOwnedBusIncluded = isSchoolDirectlyOwnedBusIncluded; } @@ -1863,6 +1875,7 @@ Func isSchoolDirectlyOwnedBusIncluded public bool IsIsExemplarySupported { get; } public bool IsSchoolCTEProgramSupported { get; } public bool IsSchoolDirectlyOwnedBusesSupported { get; } + public bool IsSchoolCTEProgramCreatable { get; } public bool IsSchoolDirectlyOwnedBusesItemCreatable { get; } public Func IsSchoolDirectlyOwnedBusIncluded { get; } @@ -1886,6 +1899,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "SchoolCTEProgram": + return IsSchoolCTEProgramCreatable; case "SchoolDirectlyOwnedBuses": return IsSchoolDirectlyOwnedBusesItemCreatable; default: @@ -1926,6 +1941,7 @@ public StaffExtensionMappingContract( bool isFirstPetOwnedDateSupported, bool isStaffPetPreferenceSupported, bool isStaffPetsSupported, + bool isStaffPetPreferenceCreatable, bool isStaffPetsItemCreatable, Func isStaffPetIncluded ) @@ -1933,6 +1949,7 @@ Func isStaffPetIncluded IsFirstPetOwnedDateSupported = isFirstPetOwnedDateSupported; IsStaffPetPreferenceSupported = isStaffPetPreferenceSupported; IsStaffPetsSupported = isStaffPetsSupported; + IsStaffPetPreferenceCreatable = isStaffPetPreferenceCreatable; IsStaffPetsItemCreatable = isStaffPetsItemCreatable; IsStaffPetIncluded = isStaffPetIncluded; } @@ -1940,6 +1957,7 @@ Func isStaffPetIncluded public bool IsFirstPetOwnedDateSupported { get; } public bool IsStaffPetPreferenceSupported { get; } public bool IsStaffPetsSupported { get; } + public bool IsStaffPetPreferenceCreatable { get; } public bool IsStaffPetsItemCreatable { get; } public Func IsStaffPetIncluded { get; } @@ -1963,6 +1981,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StaffPetPreference": + return IsStaffPetPreferenceCreatable; case "StaffPets": return IsStaffPetsItemCreatable; default: @@ -2219,6 +2239,7 @@ public StudentArtProgramAssociationMappingContract( bool isStudentArtProgramAssociationServicesSupported, bool isStudentArtProgramAssociationStylesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentArtProgramAssociationArtMediaItemCreatable, @@ -2254,6 +2275,7 @@ Func isStudentArtProgramAssociationSty IsStudentArtProgramAssociationServicesSupported = isStudentArtProgramAssociationServicesSupported; IsStudentArtProgramAssociationStylesSupported = isStudentArtProgramAssociationStylesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentArtProgramAssociationArtMediaItemCreatable = isStudentArtProgramAssociationArtMediaItemCreatable; @@ -2289,6 +2311,7 @@ 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; } @@ -2372,6 +2395,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentArtProgramAssociationArtMedia": @@ -3115,6 +3140,7 @@ public StudentExtensionMappingContract( bool isStudentFavoriteBooksSupported, bool isStudentPetPreferenceSupported, bool isStudentPetsSupported, + bool isStudentPetPreferenceCreatable, bool isStudentAquaticPetsItemCreatable, Func isStudentAquaticPetIncluded, bool isStudentFavoriteBooksItemCreatable, @@ -3127,6 +3153,7 @@ Func isStudentPetIncluded IsStudentFavoriteBooksSupported = isStudentFavoriteBooksSupported; IsStudentPetPreferenceSupported = isStudentPetPreferenceSupported; IsStudentPetsSupported = isStudentPetsSupported; + IsStudentPetPreferenceCreatable = isStudentPetPreferenceCreatable; IsStudentAquaticPetsItemCreatable = isStudentAquaticPetsItemCreatable; IsStudentAquaticPetIncluded = isStudentAquaticPetIncluded; IsStudentFavoriteBooksItemCreatable = isStudentFavoriteBooksItemCreatable; @@ -3139,6 +3166,7 @@ Func isStudentPetIncluded public bool IsStudentFavoriteBooksSupported { get; } public bool IsStudentPetPreferenceSupported { get; } public bool IsStudentPetsSupported { get; } + public bool IsStudentPetPreferenceCreatable { get; } public bool IsStudentAquaticPetsItemCreatable { get; } public Func IsStudentAquaticPetIncluded { get; } public bool IsStudentFavoriteBooksItemCreatable { get; } @@ -3168,6 +3196,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentPetPreference": + return IsStudentPetPreferenceCreatable; case "StudentAquaticPets": return IsStudentAquaticPetsItemCreatable; case "StudentFavoriteBooks": @@ -3390,6 +3420,7 @@ public StudentGraduationPlanAssociationMappingContract( bool isStudentGraduationPlanAssociationYearsAttendedsSupported, bool isStudentReferenceSupported, bool isTargetGPASupported, + bool isStudentGraduationPlanAssociationCTEProgramCreatable, bool isStudentGraduationPlanAssociationAcademicSubjectsItemCreatable, Func isStudentGraduationPlanAssociationAcademicSubjectIncluded, bool isStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable, @@ -3426,6 +3457,7 @@ Func isStudentGraduationPl IsStudentGraduationPlanAssociationYearsAttendedsSupported = isStudentGraduationPlanAssociationYearsAttendedsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsTargetGPASupported = isTargetGPASupported; + IsStudentGraduationPlanAssociationCTEProgramCreatable = isStudentGraduationPlanAssociationCTEProgramCreatable; IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable = isStudentGraduationPlanAssociationAcademicSubjectsItemCreatable; IsStudentGraduationPlanAssociationAcademicSubjectIncluded = isStudentGraduationPlanAssociationAcademicSubjectIncluded; IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable = isStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable; @@ -3462,6 +3494,7 @@ Func isStudentGraduationPl public bool IsStudentGraduationPlanAssociationYearsAttendedsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsTargetGPASupported { get; } + public bool IsStudentGraduationPlanAssociationCTEProgramCreatable { get; } public bool IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationAcademicSubjectIncluded { get; } public bool IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable { get; } @@ -3539,6 +3572,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentGraduationPlanAssociationCTEProgram": + return IsStudentGraduationPlanAssociationCTEProgramCreatable; case "StudentGraduationPlanAssociationAcademicSubjects": return IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable; case "StudentGraduationPlanAssociationCareerPathwayCodes": @@ -4139,6 +4174,7 @@ public StudentParentAssociationExtensionMappingContract( bool isStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsSupported, bool isStudentParentAssociationTelephoneSupported, bool isStudentReadSupported, + bool isStudentParentAssociationTelephoneCreatable, bool isStudentParentAssociationDisciplinesItemCreatable, Func isStudentParentAssociationDisciplineIncluded, bool isStudentParentAssociationFavoriteBookTitlesItemCreatable, @@ -4171,6 +4207,7 @@ Func IsStudentParentAssociationDisciplineIncluded { get; } public bool IsStudentParentAssociationFavoriteBookTitlesItemCreatable { get; } @@ -4268,6 +4306,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentParentAssociationTelephone": + return IsStudentParentAssociationTelephoneCreatable; case "StudentParentAssociationDisciplines": return IsStudentParentAssociationDisciplinesItemCreatable; case "StudentParentAssociationFavoriteBookTitles": 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index bd3c17c40b..24696172d9 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -1931,6 +1931,14 @@ public static bool SynchronizeTo(this IParentExtension source, IParentExtension if (target.ParentCTEProgram == null) { var itemType = target.GetType().GetProperty("ParentCTEProgram").PropertyType; + + if (!(mappingContract?.IsParentCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.ParentCTEProgram = (IParentCTEProgram) newItem; } @@ -1954,6 +1962,14 @@ public static bool SynchronizeTo(this IParentExtension source, IParentExtension if (target.ParentTeacherConference == null) { var itemType = target.GetType().GetProperty("ParentTeacherConference").PropertyType; + + if (!(mappingContract?.IsParentTeacherConferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.ParentTeacherConference = (IParentTeacherConference) newItem; } @@ -2113,6 +2129,14 @@ public static void MapTo(this IParentExtension source, IParentExtension target, else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsParentCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetParentCTEProgram = Activator.CreateInstance(itemType); (targetParentCTEProgram as IChildEntity)?.SetParent(target.Parent); source.ParentCTEProgram.Map(targetParentCTEProgram); @@ -2136,6 +2160,14 @@ public static void MapTo(this IParentExtension source, IParentExtension target, else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsParentTeacherConferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetParentTeacherConference = Activator.CreateInstance(itemType); (targetParentTeacherConference as IChildEntity)?.SetParent(target.Parent); source.ParentTeacherConference.Map(targetParentTeacherConference); @@ -2660,6 +2692,14 @@ public static bool SynchronizeTo(this ISchoolExtension source, ISchoolExtension if (target.SchoolCTEProgram == null) { var itemType = target.GetType().GetProperty("SchoolCTEProgram").PropertyType; + + if (!(mappingContract?.IsSchoolCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.SchoolCTEProgram = (ISchoolCTEProgram) newItem; } @@ -2725,6 +2765,14 @@ public static void MapTo(this ISchoolExtension source, ISchoolExtension target, else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsSchoolCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetSchoolCTEProgram = Activator.CreateInstance(itemType); (targetSchoolCTEProgram as IChildEntity)?.SetParent(target.School); source.SchoolCTEProgram.Map(targetSchoolCTEProgram); @@ -2813,6 +2861,14 @@ public static bool SynchronizeTo(this IStaffExtension source, IStaffExtension ta if (target.StaffPetPreference == null) { var itemType = target.GetType().GetProperty("StaffPetPreference").PropertyType; + + if (!(mappingContract?.IsStaffPetPreferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.StaffPetPreference = (IStaffPetPreference) newItem; } @@ -2878,6 +2934,14 @@ public static void MapTo(this IStaffExtension source, IStaffExtension target, Ac else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsStaffPetPreferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetStaffPetPreference = Activator.CreateInstance(itemType); (targetStaffPetPreference as IChildEntity)?.SetParent(target.Staff); source.StaffPetPreference.Map(targetStaffPetPreference); @@ -3197,6 +3261,14 @@ public static bool SynchronizeTo(this IStudentExtension source, IStudentExtensio if (target.StudentPetPreference == null) { var itemType = target.GetType().GetProperty("StudentPetPreference").PropertyType; + + if (!(mappingContract?.IsStudentPetPreferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.StudentPetPreference = (IStudentPetPreference) newItem; } @@ -3291,6 +3363,14 @@ public static void MapTo(this IStudentExtension source, IStudentExtension target else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsStudentPetPreferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetStudentPetPreference = Activator.CreateInstance(itemType); (targetStudentPetPreference as IChildEntity)?.SetParent(target.Student); source.StudentPetPreference.Map(targetStudentPetPreference); @@ -3829,6 +3909,14 @@ public static bool SynchronizeTo(this IStudentArtProgramAssociation source, IStu if (target.GeneralStudentProgramAssociationParticipationStatus == null) { var itemType = target.GetType().GetProperty("GeneralStudentProgramAssociationParticipationStatus").PropertyType; + + if (!(mappingContract?.IsGeneralStudentProgramAssociationParticipationStatusCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.GeneralStudentProgramAssociationParticipationStatus = (IGeneralStudentProgramAssociationParticipationStatus) newItem; } @@ -4003,6 +4091,14 @@ public static void MapDerivedTo(this IStudentArtProgramAssociation source, IStud else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsGeneralStudentProgramAssociationParticipationStatusCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetGeneralStudentProgramAssociationParticipationStatus = Activator.CreateInstance(itemType); (targetGeneralStudentProgramAssociationParticipationStatus as IChildEntity)?.SetParent(target); source.GeneralStudentProgramAssociationParticipationStatus.Map(targetGeneralStudentProgramAssociationParticipationStatus); @@ -5092,6 +5188,14 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, if (target.StudentGraduationPlanAssociationCTEProgram == null) { var itemType = target.GetType().GetProperty("StudentGraduationPlanAssociationCTEProgram").PropertyType; + + if (!(mappingContract?.IsStudentGraduationPlanAssociationCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.StudentGraduationPlanAssociationCTEProgram = (IStudentGraduationPlanAssociationCTEProgram) newItem; } @@ -5274,6 +5378,14 @@ public static void MapTo(this IStudentGraduationPlanAssociation source, IStudent else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsStudentGraduationPlanAssociationCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetStudentGraduationPlanAssociationCTEProgram = Activator.CreateInstance(itemType); (targetStudentGraduationPlanAssociationCTEProgram as IChildEntity)?.SetParent(target); source.StudentGraduationPlanAssociationCTEProgram.Map(targetStudentGraduationPlanAssociationCTEProgram); @@ -6116,6 +6228,14 @@ public static bool SynchronizeTo(this IStudentParentAssociationExtension source, if (target.StudentParentAssociationTelephone == null) { var itemType = target.GetType().GetProperty("StudentParentAssociationTelephone").PropertyType; + + if (!(mappingContract?.IsStudentParentAssociationTelephoneCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.StudentParentAssociationTelephone = (IStudentParentAssociationTelephone) newItem; } @@ -6288,6 +6408,14 @@ public static void MapTo(this IStudentParentAssociationExtension source, IStuden else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsStudentParentAssociationTelephoneCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetStudentParentAssociationTelephone = Activator.CreateInstance(itemType); (targetStudentParentAssociationTelephone as IChildEntity)?.SetParent(target.StudentParentAssociation); source.StudentParentAssociationTelephone.Map(targetStudentParentAssociationTelephone); 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 c28bf88275..b0b09c7e91 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 @@ -3958,19 +3958,22 @@ public EvaluationRatingReviewerMappingContract( bool isEvaluationRatingReviewerReceivedTrainingSupported, bool isReviewerPersonIdSupported, bool isReviewerPersonReferenceSupported, - bool isReviewerSourceSystemDescriptorSupported + bool isReviewerSourceSystemDescriptorSupported, + bool isEvaluationRatingReviewerReceivedTrainingCreatable ) { IsEvaluationRatingReviewerReceivedTrainingSupported = isEvaluationRatingReviewerReceivedTrainingSupported; IsReviewerPersonIdSupported = isReviewerPersonIdSupported; IsReviewerPersonReferenceSupported = isReviewerPersonReferenceSupported; IsReviewerSourceSystemDescriptorSupported = isReviewerSourceSystemDescriptorSupported; + IsEvaluationRatingReviewerReceivedTrainingCreatable = isEvaluationRatingReviewerReceivedTrainingCreatable; } public bool IsEvaluationRatingReviewerReceivedTrainingSupported { get; } public bool IsReviewerPersonIdSupported { get; } public bool IsReviewerPersonReferenceSupported { get; } public bool IsReviewerSourceSystemDescriptorSupported { get; } + public bool IsEvaluationRatingReviewerReceivedTrainingCreatable { get; } bool IMappingContract.IsMemberSupported(string memberName) { @@ -3998,6 +4001,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "EvaluationRatingReviewerReceivedTraining": + return IsEvaluationRatingReviewerReceivedTrainingCreatable; default: throw new Exception($"Unknown member '{memberName}'."); } @@ -5092,19 +5097,22 @@ public PerformanceEvaluationRatingReviewerMappingContract( bool isPerformanceEvaluationRatingReviewerReceivedTrainingSupported, bool isReviewerPersonIdSupported, bool isReviewerPersonReferenceSupported, - bool isReviewerSourceSystemDescriptorSupported + bool isReviewerSourceSystemDescriptorSupported, + bool isPerformanceEvaluationRatingReviewerReceivedTrainingCreatable ) { IsPerformanceEvaluationRatingReviewerReceivedTrainingSupported = isPerformanceEvaluationRatingReviewerReceivedTrainingSupported; IsReviewerPersonIdSupported = isReviewerPersonIdSupported; IsReviewerPersonReferenceSupported = isReviewerPersonReferenceSupported; IsReviewerSourceSystemDescriptorSupported = isReviewerSourceSystemDescriptorSupported; + IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable = isPerformanceEvaluationRatingReviewerReceivedTrainingCreatable; } public bool IsPerformanceEvaluationRatingReviewerReceivedTrainingSupported { get; } public bool IsReviewerPersonIdSupported { get; } public bool IsReviewerPersonReferenceSupported { get; } public bool IsReviewerSourceSystemDescriptorSupported { get; } + public bool IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable { get; } bool IMappingContract.IsMemberSupported(string memberName) { @@ -5132,6 +5140,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "PerformanceEvaluationRatingReviewerReceivedTraining": + return IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable; default: throw new Exception($"Unknown member '{memberName}'."); } 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index cae2f51204..4c4a9335bb 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -5453,6 +5453,14 @@ public static bool SynchronizeTo(this IEvaluationRatingReviewer source, IEvaluat if (target.EvaluationRatingReviewerReceivedTraining == null) { var itemType = target.GetType().GetProperty("EvaluationRatingReviewerReceivedTraining").PropertyType; + + if (!(mappingContract?.IsEvaluationRatingReviewerReceivedTrainingCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.EvaluationRatingReviewerReceivedTraining = (IEvaluationRatingReviewerReceivedTraining) newItem; } @@ -5514,6 +5522,14 @@ public static void MapTo(this IEvaluationRatingReviewer source, IEvaluationRatin else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsEvaluationRatingReviewerReceivedTrainingCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetEvaluationRatingReviewerReceivedTraining = Activator.CreateInstance(itemType); (targetEvaluationRatingReviewerReceivedTraining as IChildEntity)?.SetParent(target); source.EvaluationRatingReviewerReceivedTraining.Map(targetEvaluationRatingReviewerReceivedTraining); @@ -7187,6 +7203,14 @@ public static bool SynchronizeTo(this IPerformanceEvaluationRatingReviewer sourc if (target.PerformanceEvaluationRatingReviewerReceivedTraining == null) { var itemType = target.GetType().GetProperty("PerformanceEvaluationRatingReviewerReceivedTraining").PropertyType; + + if (!(mappingContract?.IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.PerformanceEvaluationRatingReviewerReceivedTraining = (IPerformanceEvaluationRatingReviewerReceivedTraining) newItem; } @@ -7248,6 +7272,14 @@ public static void MapTo(this IPerformanceEvaluationRatingReviewer source, IPerf else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetPerformanceEvaluationRatingReviewerReceivedTraining = Activator.CreateInstance(itemType); (targetPerformanceEvaluationRatingReviewerReceivedTraining as IChildEntity)?.SetParent(target); source.PerformanceEvaluationRatingReviewerReceivedTraining.Map(targetPerformanceEvaluationRatingReviewerReceivedTraining); 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 78463ac9de..b2ebb9b6ef 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 @@ -1193,6 +1193,7 @@ public AssessmentMappingContract( bool isMaxRawScoreSupported, bool isNomenclatureSupported, bool isRevisionDateSupported, + bool isAssessmentContentStandardCreatable, bool isAssessmentAcademicSubjectsItemCreatable, Func isAssessmentAcademicSubjectIncluded, bool isAssessmentAssessedGradeLevelsItemCreatable, @@ -1238,6 +1239,7 @@ IReadOnlyList supportedExtensions IsMaxRawScoreSupported = isMaxRawScoreSupported; IsNomenclatureSupported = isNomenclatureSupported; IsRevisionDateSupported = isRevisionDateSupported; + IsAssessmentContentStandardCreatable = isAssessmentContentStandardCreatable; IsAssessmentAcademicSubjectsItemCreatable = isAssessmentAcademicSubjectsItemCreatable; IsAssessmentAcademicSubjectIncluded = isAssessmentAcademicSubjectIncluded; IsAssessmentAssessedGradeLevelsItemCreatable = isAssessmentAssessedGradeLevelsItemCreatable; @@ -1283,6 +1285,7 @@ IReadOnlyList supportedExtensions public bool IsMaxRawScoreSupported { get; } public bool IsNomenclatureSupported { get; } public bool IsRevisionDateSupported { get; } + public bool IsAssessmentContentStandardCreatable { get; } public bool IsAssessmentAcademicSubjectsItemCreatable { get; } public Func IsAssessmentAcademicSubjectIncluded { get; } public bool IsAssessmentAssessedGradeLevelsItemCreatable { get; } @@ -1366,6 +1369,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "AssessmentContentStandard": + return IsAssessmentContentStandardCreatable; case "AssessmentAcademicSubjects": return IsAssessmentAcademicSubjectsItemCreatable; case "AssessmentAssessedGradeLevels": @@ -15536,6 +15541,7 @@ public GeneralStudentProgramAssociationMappingContract( bool isReasonExitedDescriptorSupported, bool isServedOutsideOfRegularSessionSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded ) @@ -15548,6 +15554,7 @@ Func isGenera IsReasonExitedDescriptorSupported = isReasonExitedDescriptorSupported; IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; } @@ -15560,6 +15567,7 @@ 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; } @@ -15605,6 +15613,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; default: @@ -17333,6 +17343,7 @@ public GraduationPlanRequiredAssessmentMappingContract( bool isAssessmentReferenceSupported, bool isGraduationPlanRequiredAssessmentPerformanceLevelSupported, bool isGraduationPlanRequiredAssessmentScoresSupported, + bool isGraduationPlanRequiredAssessmentPerformanceLevelCreatable, bool isGraduationPlanRequiredAssessmentScoresItemCreatable, Func isGraduationPlanRequiredAssessmentScoreIncluded, IReadOnlyList supportedExtensions @@ -17341,6 +17352,7 @@ IReadOnlyList supportedExtensions IsAssessmentReferenceSupported = isAssessmentReferenceSupported; IsGraduationPlanRequiredAssessmentPerformanceLevelSupported = isGraduationPlanRequiredAssessmentPerformanceLevelSupported; IsGraduationPlanRequiredAssessmentScoresSupported = isGraduationPlanRequiredAssessmentScoresSupported; + IsGraduationPlanRequiredAssessmentPerformanceLevelCreatable = isGraduationPlanRequiredAssessmentPerformanceLevelCreatable; IsGraduationPlanRequiredAssessmentScoresItemCreatable = isGraduationPlanRequiredAssessmentScoresItemCreatable; IsGraduationPlanRequiredAssessmentScoreIncluded = isGraduationPlanRequiredAssessmentScoreIncluded; SupportedExtensions = supportedExtensions; @@ -17349,6 +17361,7 @@ IReadOnlyList supportedExtensions public bool IsAssessmentReferenceSupported { get; } public bool IsGraduationPlanRequiredAssessmentPerformanceLevelSupported { get; } public bool IsGraduationPlanRequiredAssessmentScoresSupported { get; } + public bool IsGraduationPlanRequiredAssessmentPerformanceLevelCreatable { get; } public bool IsGraduationPlanRequiredAssessmentScoresItemCreatable { get; } public Func IsGraduationPlanRequiredAssessmentScoreIncluded { get; } @@ -17376,6 +17389,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GraduationPlanRequiredAssessmentPerformanceLevel": + return IsGraduationPlanRequiredAssessmentPerformanceLevelCreatable; case "GraduationPlanRequiredAssessmentScores": return IsGraduationPlanRequiredAssessmentScoresItemCreatable; default: @@ -21481,6 +21496,7 @@ public LearningObjectiveMappingContract( bool isParentLearningObjectiveReferenceSupported, bool isParentNamespaceSupported, bool isSuccessCriteriaSupported, + bool isLearningObjectiveContentStandardCreatable, bool isLearningObjectiveAcademicSubjectsItemCreatable, Func isLearningObjectiveAcademicSubjectIncluded, bool isLearningObjectiveGradeLevelsItemCreatable, @@ -21501,6 +21517,7 @@ IReadOnlyList supportedExtensions IsParentLearningObjectiveReferenceSupported = isParentLearningObjectiveReferenceSupported; IsParentNamespaceSupported = isParentNamespaceSupported; IsSuccessCriteriaSupported = isSuccessCriteriaSupported; + IsLearningObjectiveContentStandardCreatable = isLearningObjectiveContentStandardCreatable; IsLearningObjectiveAcademicSubjectsItemCreatable = isLearningObjectiveAcademicSubjectsItemCreatable; IsLearningObjectiveAcademicSubjectIncluded = isLearningObjectiveAcademicSubjectIncluded; IsLearningObjectiveGradeLevelsItemCreatable = isLearningObjectiveGradeLevelsItemCreatable; @@ -21521,6 +21538,7 @@ IReadOnlyList supportedExtensions public bool IsParentLearningObjectiveReferenceSupported { get; } public bool IsParentNamespaceSupported { get; } public bool IsSuccessCriteriaSupported { get; } + public bool IsLearningObjectiveContentStandardCreatable { get; } public bool IsLearningObjectiveAcademicSubjectsItemCreatable { get; } public Func IsLearningObjectiveAcademicSubjectIncluded { get; } public bool IsLearningObjectiveGradeLevelsItemCreatable { get; } @@ -21568,6 +21586,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "LearningObjectiveContentStandard": + return IsLearningObjectiveContentStandardCreatable; case "LearningObjectiveAcademicSubjects": return IsLearningObjectiveAcademicSubjectsItemCreatable; case "LearningObjectiveGradeLevels": @@ -22032,6 +22052,7 @@ public LearningStandardMappingContract( bool isParentLearningStandardReferenceSupported, bool isSuccessCriteriaSupported, bool isURISupported, + bool isLearningStandardContentStandardCreatable, bool isLearningStandardAcademicSubjectsItemCreatable, Func isLearningStandardAcademicSubjectIncluded, bool isLearningStandardGradeLevelsItemCreatable, @@ -22058,6 +22079,7 @@ IReadOnlyList supportedExtensions IsParentLearningStandardReferenceSupported = isParentLearningStandardReferenceSupported; IsSuccessCriteriaSupported = isSuccessCriteriaSupported; IsURISupported = isURISupported; + IsLearningStandardContentStandardCreatable = isLearningStandardContentStandardCreatable; IsLearningStandardAcademicSubjectsItemCreatable = isLearningStandardAcademicSubjectsItemCreatable; IsLearningStandardAcademicSubjectIncluded = isLearningStandardAcademicSubjectIncluded; IsLearningStandardGradeLevelsItemCreatable = isLearningStandardGradeLevelsItemCreatable; @@ -22084,6 +22106,7 @@ IReadOnlyList supportedExtensions public bool IsParentLearningStandardReferenceSupported { get; } public bool IsSuccessCriteriaSupported { get; } public bool IsURISupported { get; } + public bool IsLearningStandardContentStandardCreatable { get; } public bool IsLearningStandardAcademicSubjectsItemCreatable { get; } public Func IsLearningStandardAcademicSubjectIncluded { get; } public bool IsLearningStandardGradeLevelsItemCreatable { get; } @@ -22139,6 +22162,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "LearningStandardContentStandard": + return IsLearningStandardContentStandardCreatable; case "LearningStandardAcademicSubjects": return IsLearningStandardAcademicSubjectsItemCreatable; case "LearningStandardGradeLevels": @@ -37011,6 +37036,7 @@ public StaffEducationOrganizationContactAssociationMappingContract( bool isStaffEducationOrganizationContactAssociationAddressSupported, bool isStaffEducationOrganizationContactAssociationTelephonesSupported, bool isStaffReferenceSupported, + bool isStaffEducationOrganizationContactAssociationAddressCreatable, bool isStaffEducationOrganizationContactAssociationTelephonesItemCreatable, Func isStaffEducationOrganizationContactAssociationTelephoneIncluded, IReadOnlyList supportedExtensions @@ -37022,6 +37048,7 @@ IReadOnlyList supportedExtensions IsStaffEducationOrganizationContactAssociationAddressSupported = isStaffEducationOrganizationContactAssociationAddressSupported; IsStaffEducationOrganizationContactAssociationTelephonesSupported = isStaffEducationOrganizationContactAssociationTelephonesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; + IsStaffEducationOrganizationContactAssociationAddressCreatable = isStaffEducationOrganizationContactAssociationAddressCreatable; IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable = isStaffEducationOrganizationContactAssociationTelephonesItemCreatable; IsStaffEducationOrganizationContactAssociationTelephoneIncluded = isStaffEducationOrganizationContactAssociationTelephoneIncluded; SupportedExtensions = supportedExtensions; @@ -37033,6 +37060,7 @@ 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; } @@ -37068,6 +37096,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StaffEducationOrganizationContactAssociationAddress": + return IsStaffEducationOrganizationContactAssociationAddressCreatable; case "StaffEducationOrganizationContactAssociationTelephones": return IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable; default: @@ -40115,6 +40145,7 @@ public StudentAcademicRecordMappingContract( bool isStudentAcademicRecordRecognitionsSupported, bool isStudentAcademicRecordReportCardsSupported, bool isStudentReferenceSupported, + bool isStudentAcademicRecordClassRankingCreatable, bool isStudentAcademicRecordAcademicHonorsItemCreatable, Func isStudentAcademicRecordAcademicHonorIncluded, bool isStudentAcademicRecordDiplomasItemCreatable, @@ -40155,6 +40186,7 @@ IReadOnlyList supportedExtensions IsStudentAcademicRecordRecognitionsSupported = isStudentAcademicRecordRecognitionsSupported; IsStudentAcademicRecordReportCardsSupported = isStudentAcademicRecordReportCardsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentAcademicRecordClassRankingCreatable = isStudentAcademicRecordClassRankingCreatable; IsStudentAcademicRecordAcademicHonorsItemCreatable = isStudentAcademicRecordAcademicHonorsItemCreatable; IsStudentAcademicRecordAcademicHonorIncluded = isStudentAcademicRecordAcademicHonorIncluded; IsStudentAcademicRecordDiplomasItemCreatable = isStudentAcademicRecordDiplomasItemCreatable; @@ -40195,6 +40227,7 @@ 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; } @@ -40282,6 +40315,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentAcademicRecordClassRanking": + return IsStudentAcademicRecordClassRankingCreatable; case "StudentAcademicRecordAcademicHonors": return IsStudentAcademicRecordAcademicHonorsItemCreatable; case "StudentAcademicRecordDiplomas": @@ -41042,6 +41077,7 @@ public StudentAssessmentMappingContract( bool isStudentAssessmentStudentObjectiveAssessmentsSupported, bool isStudentReferenceSupported, bool isWhenAssessedGradeLevelDescriptorSupported, + bool isStudentAssessmentPeriodCreatable, bool isStudentAssessmentAccommodationsItemCreatable, Func isStudentAssessmentAccommodationIncluded, bool isStudentAssessmentItemsItemCreatable, @@ -41080,6 +41116,7 @@ IReadOnlyList supportedExtensions IsStudentAssessmentStudentObjectiveAssessmentsSupported = isStudentAssessmentStudentObjectiveAssessmentsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsWhenAssessedGradeLevelDescriptorSupported = isWhenAssessedGradeLevelDescriptorSupported; + IsStudentAssessmentPeriodCreatable = isStudentAssessmentPeriodCreatable; IsStudentAssessmentAccommodationsItemCreatable = isStudentAssessmentAccommodationsItemCreatable; IsStudentAssessmentAccommodationIncluded = isStudentAssessmentAccommodationIncluded; IsStudentAssessmentItemsItemCreatable = isStudentAssessmentItemsItemCreatable; @@ -41118,6 +41155,7 @@ IReadOnlyList supportedExtensions public bool IsStudentAssessmentStudentObjectiveAssessmentsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsWhenAssessedGradeLevelDescriptorSupported { get; } + public bool IsStudentAssessmentPeriodCreatable { get; } public bool IsStudentAssessmentAccommodationsItemCreatable { get; } public Func IsStudentAssessmentAccommodationIncluded { get; } public bool IsStudentAssessmentItemsItemCreatable { get; } @@ -41201,6 +41239,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentAssessmentPeriod": + return IsStudentAssessmentPeriodCreatable; case "StudentAssessmentAccommodations": return IsStudentAssessmentAccommodationsItemCreatable; case "StudentAssessmentItems": @@ -42629,6 +42669,7 @@ public StudentCTEProgramAssociationMappingContract( bool isStudentCTEProgramAssociationServicesSupported, bool isStudentReferenceSupported, bool isTechnicalSkillsAssessmentDescriptorSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentCTEProgramAssociationCTEProgramsItemCreatable, @@ -42654,6 +42695,7 @@ IReadOnlyList supportedExtensions IsStudentCTEProgramAssociationServicesSupported = isStudentCTEProgramAssociationServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsTechnicalSkillsAssessmentDescriptorSupported = isTechnicalSkillsAssessmentDescriptorSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentCTEProgramAssociationCTEProgramsItemCreatable = isStudentCTEProgramAssociationCTEProgramsItemCreatable; @@ -42679,6 +42721,7 @@ IReadOnlyList supportedExtensions public bool IsStudentCTEProgramAssociationServicesSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsTechnicalSkillsAssessmentDescriptorSupported { get; } + public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentCTEProgramAssociationCTEProgramsItemCreatable { get; } @@ -42742,6 +42785,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentCTEProgramAssociationCTEPrograms": @@ -45720,6 +45765,7 @@ public StudentHomelessProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentHomelessProgramAssociationHomelessProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable, @@ -45739,6 +45785,7 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentHomelessProgramAssociationHomelessProgramServicesSupported = isStudentHomelessProgramAssociationHomelessProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable = isStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; @@ -45758,6 +45805,7 @@ 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; } @@ -45813,6 +45861,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentHomelessProgramAssociationHomelessProgramServices": @@ -46453,6 +46503,7 @@ public StudentLanguageInstructionProgramAssociationMappingContract( bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported, bool isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable, @@ -46474,6 +46525,7 @@ IReadOnlyList supportedExtensions IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsSupported; IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported = isStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable = isStudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessmentsItemCreatable; @@ -46495,6 +46547,7 @@ 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; } @@ -46552,6 +46605,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentLanguageInstructionProgramAssociationEnglishLanguageProficiencyAssessments": @@ -47114,6 +47169,7 @@ public StudentMigrantEducationProgramAssociationMappingContract( bool isUSInitialEntrySupported, bool isUSInitialSchoolEntrySupported, bool isUSMostRecentEntrySupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable, @@ -47139,6 +47195,7 @@ IReadOnlyList supportedExtensions IsUSInitialEntrySupported = isUSInitialEntrySupported; IsUSInitialSchoolEntrySupported = isUSInitialSchoolEntrySupported; IsUSMostRecentEntrySupported = isUSMostRecentEntrySupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable = isStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable; @@ -47164,6 +47221,7 @@ IReadOnlyList supportedExtensions public bool IsUSInitialEntrySupported { get; } public bool IsUSInitialSchoolEntrySupported { get; } public bool IsUSMostRecentEntrySupported { get; } + public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable { get; } @@ -47231,6 +47289,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentMigrantEducationProgramAssociationMigrantEducationProgramServices": @@ -47367,6 +47427,7 @@ public StudentNeglectedOrDelinquentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable, @@ -47386,6 +47447,7 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable = isStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; @@ -47405,6 +47467,7 @@ 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; } @@ -47460,6 +47523,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices": @@ -47982,6 +48047,7 @@ public StudentProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentProgramAssociationServicesSupported, bool isStudentReferenceSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentProgramAssociationServicesItemCreatable, @@ -47998,6 +48064,7 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentProgramAssociationServicesSupported = isStudentProgramAssociationServicesSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentProgramAssociationServicesItemCreatable = isStudentProgramAssociationServicesItemCreatable; @@ -48014,6 +48081,7 @@ 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; } @@ -48063,6 +48131,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentProgramAssociationServices": @@ -48845,6 +48915,7 @@ public StudentSchoolFoodServiceProgramAssociationMappingContract( bool isServedOutsideOfRegularSessionSupported, bool isStudentReferenceSupported, bool isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable, @@ -48862,6 +48933,7 @@ IReadOnlyList supportedExtensions IsServedOutsideOfRegularSessionSupported = isServedOutsideOfRegularSessionSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported = isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable = isStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable; @@ -48879,6 +48951,7 @@ IReadOnlyList supportedExtensions public bool IsServedOutsideOfRegularSessionSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesSupported { get; } + public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable { get; } @@ -48930,6 +49003,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices": @@ -49435,6 +49510,7 @@ public StudentSpecialEducationProgramAssociationMappingContract( bool isStudentSpecialEducationProgramAssociationDisabilitiesSupported, bool isStudentSpecialEducationProgramAssociationServiceProvidersSupported, bool isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable, @@ -49467,6 +49543,7 @@ IReadOnlyList supportedExtensions IsStudentSpecialEducationProgramAssociationDisabilitiesSupported = isStudentSpecialEducationProgramAssociationDisabilitiesSupported; IsStudentSpecialEducationProgramAssociationServiceProvidersSupported = isStudentSpecialEducationProgramAssociationServiceProvidersSupported; IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported = isStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable = isStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable; @@ -49499,6 +49576,7 @@ IReadOnlyList supportedExtensions public bool IsStudentSpecialEducationProgramAssociationDisabilitiesSupported { get; } public bool IsStudentSpecialEducationProgramAssociationServiceProvidersSupported { get; } public bool IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesSupported { get; } + public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentSpecialEducationProgramAssociationDisabilitiesItemCreatable { get; } @@ -49576,6 +49654,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentSpecialEducationProgramAssociationDisabilities": @@ -50034,6 +50114,7 @@ public StudentTitleIPartAProgramAssociationMappingContract( bool isStudentTitleIPartAProgramAssociationServicesSupported, bool isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported, bool isTitleIPartAParticipantDescriptorSupported, + bool isGeneralStudentProgramAssociationParticipationStatusCreatable, bool isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable, Func isGeneralStudentProgramAssociationProgramParticipationStatusIncluded, bool isStudentTitleIPartAProgramAssociationServicesItemCreatable, @@ -50054,6 +50135,7 @@ IReadOnlyList supportedExtensions IsStudentTitleIPartAProgramAssociationServicesSupported = isStudentTitleIPartAProgramAssociationServicesSupported; IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported = isStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported; IsTitleIPartAParticipantDescriptorSupported = isTitleIPartAParticipantDescriptorSupported; + IsGeneralStudentProgramAssociationParticipationStatusCreatable = isGeneralStudentProgramAssociationParticipationStatusCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable = isGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded = isGeneralStudentProgramAssociationProgramParticipationStatusIncluded; IsStudentTitleIPartAProgramAssociationServicesItemCreatable = isStudentTitleIPartAProgramAssociationServicesItemCreatable; @@ -50074,6 +50156,7 @@ IReadOnlyList supportedExtensions public bool IsStudentTitleIPartAProgramAssociationServicesSupported { get; } public bool IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesSupported { get; } public bool IsTitleIPartAParticipantDescriptorSupported { get; } + public bool IsGeneralStudentProgramAssociationParticipationStatusCreatable { get; } public bool IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable { get; } public Func IsGeneralStudentProgramAssociationProgramParticipationStatusIncluded { get; } public bool IsStudentTitleIPartAProgramAssociationServicesItemCreatable { get; } @@ -50129,6 +50212,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GeneralStudentProgramAssociationParticipationStatus": + return IsGeneralStudentProgramAssociationParticipationStatusCreatable; case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; case "StudentTitleIPartAProgramAssociationServices": diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Mappers_EntityMapper.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Mappers_EntityMapper.generated.approved.cs index 9cc7364c47..323de324e8 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Mappers_EntityMapper.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Standard_Std_4.0.0_Models_Mappers_EntityMapper.generated.approved.cs @@ -2071,6 +2071,14 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) if (target.AssessmentContentStandard == null) { var itemType = target.GetType().GetProperty("AssessmentContentStandard").PropertyType; + + if (!(mappingContract?.IsAssessmentContentStandardCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.AssessmentContentStandard = (IAssessmentContentStandard) newItem; } @@ -2291,6 +2299,14 @@ public static void MapTo(this IAssessment source, IAssessment target, Action isContactAuthorIncluded, bool isContactCeilingHeightsItemCreatable, @@ -1207,6 +1209,8 @@ Func isContactStudentProgramAssociation IsLuckyNumberSupported = isLuckyNumberSupported; IsPreferredWakeUpTimeSupported = isPreferredWakeUpTimeSupported; IsRainCertaintySupported = isRainCertaintySupported; + IsContactCTEProgramCreatable = isContactCTEProgramCreatable; + IsContactTeacherConferenceCreatable = isContactTeacherConferenceCreatable; IsContactAuthorsItemCreatable = isContactAuthorsItemCreatable; IsContactAuthorIncluded = isContactAuthorIncluded; IsContactCeilingHeightsItemCreatable = isContactCeilingHeightsItemCreatable; @@ -1237,6 +1241,8 @@ Func isContactStudentProgramAssociation public bool IsLuckyNumberSupported { get; } public bool IsPreferredWakeUpTimeSupported { get; } public bool IsRainCertaintySupported { get; } + public bool IsContactCTEProgramCreatable { get; } + public bool IsContactTeacherConferenceCreatable { get; } public bool IsContactAuthorsItemCreatable { get; } public Func IsContactAuthorIncluded { get; } public bool IsContactCeilingHeightsItemCreatable { get; } @@ -1298,6 +1304,10 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "ContactCTEProgram": + return IsContactCTEProgramCreatable; + case "ContactTeacherConference": + return IsContactTeacherConferenceCreatable; case "ContactAuthors": return IsContactAuthorsItemCreatable; case "ContactCeilingHeights": @@ -1849,6 +1859,7 @@ public SchoolExtensionMappingContract( bool isIsExemplarySupported, bool isSchoolCTEProgramSupported, bool isSchoolDirectlyOwnedBusesSupported, + bool isSchoolCTEProgramCreatable, bool isSchoolDirectlyOwnedBusesItemCreatable, Func isSchoolDirectlyOwnedBusIncluded ) @@ -1856,6 +1867,7 @@ Func isSchoolDirectlyOwnedBusIncluded IsIsExemplarySupported = isIsExemplarySupported; IsSchoolCTEProgramSupported = isSchoolCTEProgramSupported; IsSchoolDirectlyOwnedBusesSupported = isSchoolDirectlyOwnedBusesSupported; + IsSchoolCTEProgramCreatable = isSchoolCTEProgramCreatable; IsSchoolDirectlyOwnedBusesItemCreatable = isSchoolDirectlyOwnedBusesItemCreatable; IsSchoolDirectlyOwnedBusIncluded = isSchoolDirectlyOwnedBusIncluded; } @@ -1863,6 +1875,7 @@ Func isSchoolDirectlyOwnedBusIncluded public bool IsIsExemplarySupported { get; } public bool IsSchoolCTEProgramSupported { get; } public bool IsSchoolDirectlyOwnedBusesSupported { get; } + public bool IsSchoolCTEProgramCreatable { get; } public bool IsSchoolDirectlyOwnedBusesItemCreatable { get; } public Func IsSchoolDirectlyOwnedBusIncluded { get; } @@ -1886,6 +1899,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "SchoolCTEProgram": + return IsSchoolCTEProgramCreatable; case "SchoolDirectlyOwnedBuses": return IsSchoolDirectlyOwnedBusesItemCreatable; default: @@ -1926,6 +1941,7 @@ public StaffExtensionMappingContract( bool isFirstPetOwnedDateSupported, bool isStaffPetPreferenceSupported, bool isStaffPetsSupported, + bool isStaffPetPreferenceCreatable, bool isStaffPetsItemCreatable, Func isStaffPetIncluded ) @@ -1933,6 +1949,7 @@ Func isStaffPetIncluded IsFirstPetOwnedDateSupported = isFirstPetOwnedDateSupported; IsStaffPetPreferenceSupported = isStaffPetPreferenceSupported; IsStaffPetsSupported = isStaffPetsSupported; + IsStaffPetPreferenceCreatable = isStaffPetPreferenceCreatable; IsStaffPetsItemCreatable = isStaffPetsItemCreatable; IsStaffPetIncluded = isStaffPetIncluded; } @@ -1940,6 +1957,7 @@ Func isStaffPetIncluded public bool IsFirstPetOwnedDateSupported { get; } public bool IsStaffPetPreferenceSupported { get; } public bool IsStaffPetsSupported { get; } + public bool IsStaffPetPreferenceCreatable { get; } public bool IsStaffPetsItemCreatable { get; } public Func IsStaffPetIncluded { get; } @@ -1963,6 +1981,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StaffPetPreference": + return IsStaffPetPreferenceCreatable; case "StaffPets": return IsStaffPetsItemCreatable; default: @@ -2738,6 +2758,7 @@ public StudentContactAssociationExtensionMappingContract( bool isStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsSupported, bool isStudentContactAssociationTelephoneSupported, bool isStudentReadSupported, + bool isStudentContactAssociationTelephoneCreatable, bool isStudentContactAssociationDisciplinesItemCreatable, Func isStudentContactAssociationDisciplineIncluded, bool isStudentContactAssociationFavoriteBookTitlesItemCreatable, @@ -2770,6 +2791,7 @@ Func IsStudentContactAssociationDisciplineIncluded { get; } public bool IsStudentContactAssociationFavoriteBookTitlesItemCreatable { get; } @@ -2867,6 +2890,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentContactAssociationTelephone": + return IsStudentContactAssociationTelephoneCreatable; case "StudentContactAssociationDisciplines": return IsStudentContactAssociationDisciplinesItemCreatable; case "StudentContactAssociationFavoriteBookTitles": @@ -3691,6 +3716,7 @@ public StudentExtensionMappingContract( bool isStudentFavoriteBooksSupported, bool isStudentPetPreferenceSupported, bool isStudentPetsSupported, + bool isStudentPetPreferenceCreatable, bool isStudentAquaticPetsItemCreatable, Func isStudentAquaticPetIncluded, bool isStudentFavoriteBooksItemCreatable, @@ -3703,6 +3729,7 @@ Func isStudentPetIncluded IsStudentFavoriteBooksSupported = isStudentFavoriteBooksSupported; IsStudentPetPreferenceSupported = isStudentPetPreferenceSupported; IsStudentPetsSupported = isStudentPetsSupported; + IsStudentPetPreferenceCreatable = isStudentPetPreferenceCreatable; IsStudentAquaticPetsItemCreatable = isStudentAquaticPetsItemCreatable; IsStudentAquaticPetIncluded = isStudentAquaticPetIncluded; IsStudentFavoriteBooksItemCreatable = isStudentFavoriteBooksItemCreatable; @@ -3715,6 +3742,7 @@ Func isStudentPetIncluded public bool IsStudentFavoriteBooksSupported { get; } public bool IsStudentPetPreferenceSupported { get; } public bool IsStudentPetsSupported { get; } + public bool IsStudentPetPreferenceCreatable { get; } public bool IsStudentAquaticPetsItemCreatable { get; } public Func IsStudentAquaticPetIncluded { get; } public bool IsStudentFavoriteBooksItemCreatable { get; } @@ -3744,6 +3772,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentPetPreference": + return IsStudentPetPreferenceCreatable; case "StudentAquaticPets": return IsStudentAquaticPetsItemCreatable; case "StudentFavoriteBooks": @@ -3966,6 +3996,7 @@ public StudentGraduationPlanAssociationMappingContract( bool isStudentGraduationPlanAssociationYearsAttendedsSupported, bool isStudentReferenceSupported, bool isTargetGPASupported, + bool isStudentGraduationPlanAssociationCTEProgramCreatable, bool isStudentGraduationPlanAssociationAcademicSubjectsItemCreatable, Func isStudentGraduationPlanAssociationAcademicSubjectIncluded, bool isStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable, @@ -4002,6 +4033,7 @@ Func isStudentGraduationPl IsStudentGraduationPlanAssociationYearsAttendedsSupported = isStudentGraduationPlanAssociationYearsAttendedsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsTargetGPASupported = isTargetGPASupported; + IsStudentGraduationPlanAssociationCTEProgramCreatable = isStudentGraduationPlanAssociationCTEProgramCreatable; IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable = isStudentGraduationPlanAssociationAcademicSubjectsItemCreatable; IsStudentGraduationPlanAssociationAcademicSubjectIncluded = isStudentGraduationPlanAssociationAcademicSubjectIncluded; IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable = isStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable; @@ -4038,6 +4070,7 @@ Func isStudentGraduationPl public bool IsStudentGraduationPlanAssociationYearsAttendedsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsTargetGPASupported { get; } + public bool IsStudentGraduationPlanAssociationCTEProgramCreatable { get; } public bool IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable { get; } public Func IsStudentGraduationPlanAssociationAcademicSubjectIncluded { get; } public bool IsStudentGraduationPlanAssociationCareerPathwayCodesItemCreatable { get; } @@ -4115,6 +4148,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentGraduationPlanAssociationCTEProgram": + return IsStudentGraduationPlanAssociationCTEProgramCreatable; case "StudentGraduationPlanAssociationAcademicSubjects": return IsStudentGraduationPlanAssociationAcademicSubjectsItemCreatable; case "StudentGraduationPlanAssociationCareerPathwayCodes": 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index 4bb4c11e0d..f7c7663d51 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -1627,6 +1627,14 @@ public static bool SynchronizeTo(this IContactExtension source, IContactExtensio if (target.ContactCTEProgram == null) { var itemType = target.GetType().GetProperty("ContactCTEProgram").PropertyType; + + if (!(mappingContract?.IsContactCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.ContactCTEProgram = (IContactCTEProgram) newItem; } @@ -1650,6 +1658,14 @@ public static bool SynchronizeTo(this IContactExtension source, IContactExtensio if (target.ContactTeacherConference == null) { var itemType = target.GetType().GetProperty("ContactTeacherConference").PropertyType; + + if (!(mappingContract?.IsContactTeacherConferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.ContactTeacherConference = (IContactTeacherConference) newItem; } @@ -1809,6 +1825,14 @@ public static void MapTo(this IContactExtension source, IContactExtension target else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsContactCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetContactCTEProgram = Activator.CreateInstance(itemType); (targetContactCTEProgram as IChildEntity)?.SetParent(target.Contact); source.ContactCTEProgram.Map(targetContactCTEProgram); @@ -1832,6 +1856,14 @@ public static void MapTo(this IContactExtension source, IContactExtension target else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsContactTeacherConferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetContactTeacherConference = Activator.CreateInstance(itemType); (targetContactTeacherConference as IChildEntity)?.SetParent(target.Contact); source.ContactTeacherConference.Map(targetContactTeacherConference); @@ -2660,6 +2692,14 @@ public static bool SynchronizeTo(this ISchoolExtension source, ISchoolExtension if (target.SchoolCTEProgram == null) { var itemType = target.GetType().GetProperty("SchoolCTEProgram").PropertyType; + + if (!(mappingContract?.IsSchoolCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.SchoolCTEProgram = (ISchoolCTEProgram) newItem; } @@ -2725,6 +2765,14 @@ public static void MapTo(this ISchoolExtension source, ISchoolExtension target, else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsSchoolCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetSchoolCTEProgram = Activator.CreateInstance(itemType); (targetSchoolCTEProgram as IChildEntity)?.SetParent(target.School); source.SchoolCTEProgram.Map(targetSchoolCTEProgram); @@ -2813,6 +2861,14 @@ public static bool SynchronizeTo(this IStaffExtension source, IStaffExtension ta if (target.StaffPetPreference == null) { var itemType = target.GetType().GetProperty("StaffPetPreference").PropertyType; + + if (!(mappingContract?.IsStaffPetPreferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.StaffPetPreference = (IStaffPetPreference) newItem; } @@ -2878,6 +2934,14 @@ public static void MapTo(this IStaffExtension source, IStaffExtension target, Ac else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsStaffPetPreferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetStaffPetPreference = Activator.CreateInstance(itemType); (targetStaffPetPreference as IChildEntity)?.SetParent(target.Staff); source.StaffPetPreference.Map(targetStaffPetPreference); @@ -3197,6 +3261,14 @@ public static bool SynchronizeTo(this IStudentExtension source, IStudentExtensio if (target.StudentPetPreference == null) { var itemType = target.GetType().GetProperty("StudentPetPreference").PropertyType; + + if (!(mappingContract?.IsStudentPetPreferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.StudentPetPreference = (IStudentPetPreference) newItem; } @@ -3291,6 +3363,14 @@ public static void MapTo(this IStudentExtension source, IStudentExtension target else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsStudentPetPreferenceCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetStudentPetPreference = Activator.CreateInstance(itemType); (targetStudentPetPreference as IChildEntity)?.SetParent(target.Student); source.StudentPetPreference.Map(targetStudentPetPreference); @@ -4505,6 +4585,14 @@ public static bool SynchronizeTo(this IStudentContactAssociationExtension source if (target.StudentContactAssociationTelephone == null) { var itemType = target.GetType().GetProperty("StudentContactAssociationTelephone").PropertyType; + + if (!(mappingContract?.IsStudentContactAssociationTelephoneCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.StudentContactAssociationTelephone = (IStudentContactAssociationTelephone) newItem; } @@ -4677,6 +4765,14 @@ public static void MapTo(this IStudentContactAssociationExtension source, IStude else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsStudentContactAssociationTelephoneCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetStudentContactAssociationTelephone = Activator.CreateInstance(itemType); (targetStudentContactAssociationTelephone as IChildEntity)?.SetParent(target.StudentContactAssociation); source.StudentContactAssociationTelephone.Map(targetStudentContactAssociationTelephone); @@ -5859,6 +5955,14 @@ public static bool SynchronizeTo(this IStudentGraduationPlanAssociation source, if (target.StudentGraduationPlanAssociationCTEProgram == null) { var itemType = target.GetType().GetProperty("StudentGraduationPlanAssociationCTEProgram").PropertyType; + + if (!(mappingContract?.IsStudentGraduationPlanAssociationCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.StudentGraduationPlanAssociationCTEProgram = (IStudentGraduationPlanAssociationCTEProgram) newItem; } @@ -6041,6 +6145,14 @@ public static void MapTo(this IStudentGraduationPlanAssociation source, IStudent else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsStudentGraduationPlanAssociationCTEProgramCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetStudentGraduationPlanAssociationCTEProgram = Activator.CreateInstance(itemType); (targetStudentGraduationPlanAssociationCTEProgram as IChildEntity)?.SetParent(target); source.StudentGraduationPlanAssociationCTEProgram.Map(targetStudentGraduationPlanAssociationCTEProgram); 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 4807fbe5ca..55114cfa0a 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 @@ -3970,19 +3970,22 @@ public EvaluationRatingReviewerMappingContract( bool isEvaluationRatingReviewerReceivedTrainingSupported, bool isReviewerPersonIdSupported, bool isReviewerPersonReferenceSupported, - bool isReviewerSourceSystemDescriptorSupported + bool isReviewerSourceSystemDescriptorSupported, + bool isEvaluationRatingReviewerReceivedTrainingCreatable ) { IsEvaluationRatingReviewerReceivedTrainingSupported = isEvaluationRatingReviewerReceivedTrainingSupported; IsReviewerPersonIdSupported = isReviewerPersonIdSupported; IsReviewerPersonReferenceSupported = isReviewerPersonReferenceSupported; IsReviewerSourceSystemDescriptorSupported = isReviewerSourceSystemDescriptorSupported; + IsEvaluationRatingReviewerReceivedTrainingCreatable = isEvaluationRatingReviewerReceivedTrainingCreatable; } public bool IsEvaluationRatingReviewerReceivedTrainingSupported { get; } public bool IsReviewerPersonIdSupported { get; } public bool IsReviewerPersonReferenceSupported { get; } public bool IsReviewerSourceSystemDescriptorSupported { get; } + public bool IsEvaluationRatingReviewerReceivedTrainingCreatable { get; } bool IMappingContract.IsMemberSupported(string memberName) { @@ -4010,6 +4013,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "EvaluationRatingReviewerReceivedTraining": + return IsEvaluationRatingReviewerReceivedTrainingCreatable; default: throw new Exception($"Unknown member '{memberName}'."); } @@ -5104,19 +5109,22 @@ public PerformanceEvaluationRatingReviewerMappingContract( bool isPerformanceEvaluationRatingReviewerReceivedTrainingSupported, bool isReviewerPersonIdSupported, bool isReviewerPersonReferenceSupported, - bool isReviewerSourceSystemDescriptorSupported + bool isReviewerSourceSystemDescriptorSupported, + bool isPerformanceEvaluationRatingReviewerReceivedTrainingCreatable ) { IsPerformanceEvaluationRatingReviewerReceivedTrainingSupported = isPerformanceEvaluationRatingReviewerReceivedTrainingSupported; IsReviewerPersonIdSupported = isReviewerPersonIdSupported; IsReviewerPersonReferenceSupported = isReviewerPersonReferenceSupported; IsReviewerSourceSystemDescriptorSupported = isReviewerSourceSystemDescriptorSupported; + IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable = isPerformanceEvaluationRatingReviewerReceivedTrainingCreatable; } public bool IsPerformanceEvaluationRatingReviewerReceivedTrainingSupported { get; } public bool IsReviewerPersonIdSupported { get; } public bool IsReviewerPersonReferenceSupported { get; } public bool IsReviewerSourceSystemDescriptorSupported { get; } + public bool IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable { get; } bool IMappingContract.IsMemberSupported(string memberName) { @@ -5144,6 +5152,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "PerformanceEvaluationRatingReviewerReceivedTraining": + return IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable; default: throw new Exception($"Unknown member '{memberName}'."); } 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index debbcfa8b9..9e7c106235 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -5473,6 +5473,14 @@ public static bool SynchronizeTo(this IEvaluationRatingReviewer source, IEvaluat if (target.EvaluationRatingReviewerReceivedTraining == null) { var itemType = target.GetType().GetProperty("EvaluationRatingReviewerReceivedTraining").PropertyType; + + if (!(mappingContract?.IsEvaluationRatingReviewerReceivedTrainingCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.EvaluationRatingReviewerReceivedTraining = (IEvaluationRatingReviewerReceivedTraining) newItem; } @@ -5534,6 +5542,14 @@ public static void MapTo(this IEvaluationRatingReviewer source, IEvaluationRatin else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsEvaluationRatingReviewerReceivedTrainingCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetEvaluationRatingReviewerReceivedTraining = Activator.CreateInstance(itemType); (targetEvaluationRatingReviewerReceivedTraining as IChildEntity)?.SetParent(target); source.EvaluationRatingReviewerReceivedTraining.Map(targetEvaluationRatingReviewerReceivedTraining); @@ -7207,6 +7223,14 @@ public static bool SynchronizeTo(this IPerformanceEvaluationRatingReviewer sourc if (target.PerformanceEvaluationRatingReviewerReceivedTraining == null) { var itemType = target.GetType().GetProperty("PerformanceEvaluationRatingReviewerReceivedTraining").PropertyType; + + if (!(mappingContract?.IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.PerformanceEvaluationRatingReviewerReceivedTraining = (IPerformanceEvaluationRatingReviewerReceivedTraining) newItem; } @@ -7268,6 +7292,14 @@ public static void MapTo(this IPerformanceEvaluationRatingReviewer source, IPerf else { var itemType = itemProperty.PropertyType; + + if (!(mappingContract?.IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + object targetPerformanceEvaluationRatingReviewerReceivedTraining = Activator.CreateInstance(itemType); (targetPerformanceEvaluationRatingReviewerReceivedTraining as IChildEntity)?.SetParent(target); source.PerformanceEvaluationRatingReviewerReceivedTraining.Map(targetPerformanceEvaluationRatingReviewerReceivedTraining); 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 8cf72cc913..11d1a10351 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 @@ -1193,6 +1193,7 @@ public AssessmentMappingContract( bool isMaxRawScoreSupported, bool isNomenclatureSupported, bool isRevisionDateSupported, + bool isAssessmentContentStandardCreatable, bool isAssessmentAcademicSubjectsItemCreatable, Func isAssessmentAcademicSubjectIncluded, bool isAssessmentAssessedGradeLevelsItemCreatable, @@ -1238,6 +1239,7 @@ IReadOnlyList supportedExtensions IsMaxRawScoreSupported = isMaxRawScoreSupported; IsNomenclatureSupported = isNomenclatureSupported; IsRevisionDateSupported = isRevisionDateSupported; + IsAssessmentContentStandardCreatable = isAssessmentContentStandardCreatable; IsAssessmentAcademicSubjectsItemCreatable = isAssessmentAcademicSubjectsItemCreatable; IsAssessmentAcademicSubjectIncluded = isAssessmentAcademicSubjectIncluded; IsAssessmentAssessedGradeLevelsItemCreatable = isAssessmentAssessedGradeLevelsItemCreatable; @@ -1283,6 +1285,7 @@ IReadOnlyList supportedExtensions public bool IsMaxRawScoreSupported { get; } public bool IsNomenclatureSupported { get; } public bool IsRevisionDateSupported { get; } + public bool IsAssessmentContentStandardCreatable { get; } public bool IsAssessmentAcademicSubjectsItemCreatable { get; } public Func IsAssessmentAcademicSubjectIncluded { get; } public bool IsAssessmentAssessedGradeLevelsItemCreatable { get; } @@ -1366,6 +1369,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "AssessmentContentStandard": + return IsAssessmentContentStandardCreatable; case "AssessmentAcademicSubjects": return IsAssessmentAcademicSubjectsItemCreatable; case "AssessmentAssessedGradeLevels": @@ -18839,6 +18844,7 @@ public GraduationPlanRequiredAssessmentMappingContract( bool isAssessmentReferenceSupported, bool isGraduationPlanRequiredAssessmentPerformanceLevelSupported, bool isGraduationPlanRequiredAssessmentScoresSupported, + bool isGraduationPlanRequiredAssessmentPerformanceLevelCreatable, bool isGraduationPlanRequiredAssessmentScoresItemCreatable, Func isGraduationPlanRequiredAssessmentScoreIncluded, IReadOnlyList supportedExtensions @@ -18847,6 +18853,7 @@ IReadOnlyList supportedExtensions IsAssessmentReferenceSupported = isAssessmentReferenceSupported; IsGraduationPlanRequiredAssessmentPerformanceLevelSupported = isGraduationPlanRequiredAssessmentPerformanceLevelSupported; IsGraduationPlanRequiredAssessmentScoresSupported = isGraduationPlanRequiredAssessmentScoresSupported; + IsGraduationPlanRequiredAssessmentPerformanceLevelCreatable = isGraduationPlanRequiredAssessmentPerformanceLevelCreatable; IsGraduationPlanRequiredAssessmentScoresItemCreatable = isGraduationPlanRequiredAssessmentScoresItemCreatable; IsGraduationPlanRequiredAssessmentScoreIncluded = isGraduationPlanRequiredAssessmentScoreIncluded; SupportedExtensions = supportedExtensions; @@ -18855,6 +18862,7 @@ IReadOnlyList supportedExtensions public bool IsAssessmentReferenceSupported { get; } public bool IsGraduationPlanRequiredAssessmentPerformanceLevelSupported { get; } public bool IsGraduationPlanRequiredAssessmentScoresSupported { get; } + public bool IsGraduationPlanRequiredAssessmentPerformanceLevelCreatable { get; } public bool IsGraduationPlanRequiredAssessmentScoresItemCreatable { get; } public Func IsGraduationPlanRequiredAssessmentScoreIncluded { get; } @@ -18882,6 +18890,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "GraduationPlanRequiredAssessmentPerformanceLevel": + return IsGraduationPlanRequiredAssessmentPerformanceLevelCreatable; case "GraduationPlanRequiredAssessmentScores": return IsGraduationPlanRequiredAssessmentScoresItemCreatable; default: @@ -23074,6 +23084,7 @@ public LearningStandardMappingContract( bool isParentLearningStandardReferenceSupported, bool isSuccessCriteriaSupported, bool isURISupported, + bool isLearningStandardContentStandardCreatable, bool isLearningStandardAcademicSubjectsItemCreatable, Func isLearningStandardAcademicSubjectIncluded, bool isLearningStandardGradeLevelsItemCreatable, @@ -23097,6 +23108,7 @@ IReadOnlyList supportedExtensions IsParentLearningStandardReferenceSupported = isParentLearningStandardReferenceSupported; IsSuccessCriteriaSupported = isSuccessCriteriaSupported; IsURISupported = isURISupported; + IsLearningStandardContentStandardCreatable = isLearningStandardContentStandardCreatable; IsLearningStandardAcademicSubjectsItemCreatable = isLearningStandardAcademicSubjectsItemCreatable; IsLearningStandardAcademicSubjectIncluded = isLearningStandardAcademicSubjectIncluded; IsLearningStandardGradeLevelsItemCreatable = isLearningStandardGradeLevelsItemCreatable; @@ -23120,6 +23132,7 @@ IReadOnlyList supportedExtensions public bool IsParentLearningStandardReferenceSupported { get; } public bool IsSuccessCriteriaSupported { get; } public bool IsURISupported { get; } + public bool IsLearningStandardContentStandardCreatable { get; } public bool IsLearningStandardAcademicSubjectsItemCreatable { get; } public Func IsLearningStandardAcademicSubjectIncluded { get; } public bool IsLearningStandardGradeLevelsItemCreatable { get; } @@ -23171,6 +23184,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "LearningStandardContentStandard": + return IsLearningStandardContentStandardCreatable; case "LearningStandardAcademicSubjects": return IsLearningStandardAcademicSubjectsItemCreatable; case "LearningStandardGradeLevels": @@ -37705,6 +37720,7 @@ public StaffEducationOrganizationContactAssociationMappingContract( bool isStaffEducationOrganizationContactAssociationAddressSupported, bool isStaffEducationOrganizationContactAssociationTelephonesSupported, bool isStaffReferenceSupported, + bool isStaffEducationOrganizationContactAssociationAddressCreatable, bool isStaffEducationOrganizationContactAssociationTelephonesItemCreatable, Func isStaffEducationOrganizationContactAssociationTelephoneIncluded, IReadOnlyList supportedExtensions @@ -37716,6 +37732,7 @@ IReadOnlyList supportedExtensions IsStaffEducationOrganizationContactAssociationAddressSupported = isStaffEducationOrganizationContactAssociationAddressSupported; IsStaffEducationOrganizationContactAssociationTelephonesSupported = isStaffEducationOrganizationContactAssociationTelephonesSupported; IsStaffReferenceSupported = isStaffReferenceSupported; + IsStaffEducationOrganizationContactAssociationAddressCreatable = isStaffEducationOrganizationContactAssociationAddressCreatable; IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable = isStaffEducationOrganizationContactAssociationTelephonesItemCreatable; IsStaffEducationOrganizationContactAssociationTelephoneIncluded = isStaffEducationOrganizationContactAssociationTelephoneIncluded; SupportedExtensions = supportedExtensions; @@ -37727,6 +37744,7 @@ 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; } @@ -37762,6 +37780,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StaffEducationOrganizationContactAssociationAddress": + return IsStaffEducationOrganizationContactAssociationAddressCreatable; case "StaffEducationOrganizationContactAssociationTelephones": return IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable; default: @@ -40815,6 +40835,7 @@ public StudentAcademicRecordMappingContract( bool isStudentAcademicRecordRecognitionsSupported, bool isStudentAcademicRecordReportCardsSupported, bool isStudentReferenceSupported, + bool isStudentAcademicRecordClassRankingCreatable, bool isStudentAcademicRecordAcademicHonorsItemCreatable, Func isStudentAcademicRecordAcademicHonorIncluded, bool isStudentAcademicRecordDiplomasItemCreatable, @@ -40850,6 +40871,7 @@ IReadOnlyList supportedExtensions IsStudentAcademicRecordRecognitionsSupported = isStudentAcademicRecordRecognitionsSupported; IsStudentAcademicRecordReportCardsSupported = isStudentAcademicRecordReportCardsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; + IsStudentAcademicRecordClassRankingCreatable = isStudentAcademicRecordClassRankingCreatable; IsStudentAcademicRecordAcademicHonorsItemCreatable = isStudentAcademicRecordAcademicHonorsItemCreatable; IsStudentAcademicRecordAcademicHonorIncluded = isStudentAcademicRecordAcademicHonorIncluded; IsStudentAcademicRecordDiplomasItemCreatable = isStudentAcademicRecordDiplomasItemCreatable; @@ -40885,6 +40907,7 @@ 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; } @@ -40962,6 +40985,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentAcademicRecordClassRanking": + return IsStudentAcademicRecordClassRankingCreatable; case "StudentAcademicRecordAcademicHonors": return IsStudentAcademicRecordAcademicHonorsItemCreatable; case "StudentAcademicRecordDiplomas": @@ -41722,6 +41747,7 @@ public StudentAssessmentMappingContract( bool isStudentAssessmentStudentObjectiveAssessmentsSupported, bool isStudentReferenceSupported, bool isWhenAssessedGradeLevelDescriptorSupported, + bool isStudentAssessmentPeriodCreatable, bool isStudentAssessmentAccommodationsItemCreatable, Func isStudentAssessmentAccommodationIncluded, bool isStudentAssessmentItemsItemCreatable, @@ -41760,6 +41786,7 @@ IReadOnlyList supportedExtensions IsStudentAssessmentStudentObjectiveAssessmentsSupported = isStudentAssessmentStudentObjectiveAssessmentsSupported; IsStudentReferenceSupported = isStudentReferenceSupported; IsWhenAssessedGradeLevelDescriptorSupported = isWhenAssessedGradeLevelDescriptorSupported; + IsStudentAssessmentPeriodCreatable = isStudentAssessmentPeriodCreatable; IsStudentAssessmentAccommodationsItemCreatable = isStudentAssessmentAccommodationsItemCreatable; IsStudentAssessmentAccommodationIncluded = isStudentAssessmentAccommodationIncluded; IsStudentAssessmentItemsItemCreatable = isStudentAssessmentItemsItemCreatable; @@ -41798,6 +41825,7 @@ IReadOnlyList supportedExtensions public bool IsStudentAssessmentStudentObjectiveAssessmentsSupported { get; } public bool IsStudentReferenceSupported { get; } public bool IsWhenAssessedGradeLevelDescriptorSupported { get; } + public bool IsStudentAssessmentPeriodCreatable { get; } public bool IsStudentAssessmentAccommodationsItemCreatable { get; } public Func IsStudentAssessmentAccommodationIncluded { get; } public bool IsStudentAssessmentItemsItemCreatable { get; } @@ -41881,6 +41909,8 @@ bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { + case "StudentAssessmentPeriod": + return IsStudentAssessmentPeriodCreatable; case "StudentAssessmentAccommodations": return IsStudentAssessmentAccommodationsItemCreatable; case "StudentAssessmentItems": diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Mappers_EntityMapper.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Mappers_EntityMapper.generated.approved.cs index 5ce360db41..9bcd349ff7 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Mappers_EntityMapper.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Standard_Std_5.0.0_Models_Mappers_EntityMapper.generated.approved.cs @@ -2071,6 +2071,14 @@ public static bool SynchronizeTo(this IAssessment source, IAssessment target) if (target.AssessmentContentStandard == null) { var itemType = target.GetType().GetProperty("AssessmentContentStandard").PropertyType; + + if (!(mappingContract?.IsAssessmentContentStandardCreatable ?? true)) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + + throw new DataPolicyException(profileName, itemType.Name); + } + var newItem = Activator.CreateInstance(itemType); target.AssessmentContentStandard = (IAssessmentContentStandard) newItem; } @@ -2291,6 +2299,14 @@ public static void MapTo(this IAssessment source, IAssessment target, Action Date: Wed, 7 Feb 2024 21:27:21 -0600 Subject: [PATCH 10/19] Added Profiles for testing scenarios of Data Policy enforcement based on specific aspects of request content. --- .../EdFi.Ods.Profiles.Test/Profiles.xml | 35 +- ...Profile Test Suite.postman_collection.json | 551 ++++++++++++++++++ 2 files changed, 563 insertions(+), 23 deletions(-) diff --git a/Application/EdFi.Ods.Profiles.Test/Profiles.xml b/Application/EdFi.Ods.Profiles.Test/Profiles.xml index c36fb039cc..2fcfd8687d 100644 --- a/Application/EdFi.Ods.Profiles.Test/Profiles.xml +++ b/Application/EdFi.Ods.Profiles.Test/Profiles.xml @@ -27,30 +27,20 @@ - + - + - - - - - - - - - - - - - - - + + + + + + + - + - - @@ -546,10 +536,9 @@ - - + - + diff --git a/Postman Test Suite/Ed-Fi ODS-API Profile Test Suite.postman_collection.json b/Postman Test Suite/Ed-Fi ODS-API Profile Test Suite.postman_collection.json index 2a260d6fb8..7b5ed477c5 100644 --- a/Postman Test Suite/Ed-Fi ODS-API Profile Test Suite.postman_collection.json +++ b/Postman Test Suite/Ed-Fi ODS-API Profile Test Suite.postman_collection.json @@ -14060,6 +14060,557 @@ "response": [] } ] + }, + { + "name": "Data Policy Enforcement", + "item": [ + { + "name": "Detecting Profile usage where resource items cannot be created", + "item": [ + { + "name": "Create School (Profile prevents creation)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 400\", () => {\r", + " pm.expect(pm.response.code).to.equal(400);\r", + "});\r", + "\r", + "const problemDetails = pm.response.json();\r", + "\r", + "pm.test(\"Should include detail that indicates there's a data policy problem.\", () => {\r", + " pm.expect(problemDetails).to.deep.include({\r", + " \"detail\": \"The resource cannot be saved because a data policy has been applied to the request that prevents it.\",\r", + " \"type\": \"urn:ed-fi:api:bad-request:data:policy\",\r", + " \"title\": \"Data Policy Enforced\",\r", + " \"status\": 400\r", + " });\r", + "});\r", + "\r", + "pm.test(\"Should include error indicating that the profile cannot be used to create the resource item.\", () => {\r", + " pm.expect(problemDetails.errors).to.contain(\"The Profile definition for 'test-profile-resource-non-creatable' excludes (or does not include) one or more required data elements needed to create the resource.\");\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.school.test-profile-resource-non-creatable.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"schoolId\": 255901002,\r\n \"operationalStatusDescriptor\": \"uri://ed-fi.org/OperationalStatUSDescriptor#Active\",\r\n \"nameOfInstitution\": \"Test High School\",\r\n \"shortNameOfInstitution\": \"THS\",\r\n \"webSite\": \"http://www.GBISD.edu/THS/\",\r\n \"administrativeFundingControlDescriptor\": \"uri://ed-fi.org/AdministrativeFundingControlDescriptor#Public School\",\r\n \"charterStatusDescriptor\": \"uri://ed-fi.org/CharterStatusDescriptor#Not a Charter School\",\r\n \"schoolTypeDescriptor\": \"uri://ed-fi.org/SchoolTypeDescriptor#Regular\",\r\n \"titleIPartASchoolDesignationDescriptor\": \"uri://ed-fi.org/TitleIPartASchoolDesignationDescriptor#Not A Title I School\",\r\n \"localEducationAgencyReference\": {\r\n \"localEducationAgencyId\": 255901\r\n },\r\n \"schoolCategories\": [\r\n {\r\n \"schoolCategoryDescriptor\": \"uri://ed-fi.org/SchoolCategoryDescriptor#High School\"\r\n }\r\n ],\r\n \"gradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Ninth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Twelfth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Eleventh grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Tenth grade\"\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Mailing\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334-2035\",\r\n \"streetNumberName\": \"P.O. Box 2035\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n },\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Physical\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334\",\r\n \"streetNumberName\": \"456 Elm Street\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n }\r\n ],\r\n \"educationOrganizationCategories\": [\r\n {\r\n \"educationOrganizationCategoryDescriptor\": \"uri://ed-fi.org/EducationOrganizationCategoryDescriptor#School\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"educationOrganizationIdentificationSystemDescriptor\": \"uri://ed-fi.org/EducationOrganizationIdentificationSystemDescriptor#SEA\",\r\n \"identificationCode\": \"255901001\"\r\n }\r\n ],\r\n \"indicators\": [\r\n {\r\n \"indicatorDescriptor\": \"uri://gbisd.edu/IndicatorDescriptor#Retention Rate\",\r\n \"indicatorGroupDescriptor\": \"uri://gbisd.edu/IndicatorGroupDescriptor#Staff Indicator\",\r\n \"indicatorLevelDescriptor\": \"uri://gbisd.edu/IndicatorLevelDescriptor#High Retention\",\r\n \"indicatorValue\": \"90\",\r\n \"periods\": [\r\n {\r\n \"beginDate\": \"2020-03-01\",\r\n \"endDate\": \"2022-06-30\"\r\n },\r\n {\r\n \"beginDate\": \"2021-08-29\",\r\n \"endDate\": \"2022-06-30\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"institutionTelephones\": [\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Fax\",\r\n \"telephoneNumber\": \"(950) 393-3156\"\r\n },\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Main\",\r\n \"telephoneNumber\": \"(950) 325-9465\"\r\n }\r\n ],\r\n \"internationalAddresses\": []\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/schools", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "schools" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Detecting Profile usage when creating collection items is prevented", + "item": [ + { + "name": "Create School (Profile prevents creation of child collection item)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 400\", () => {\r", + " pm.expect(pm.response.code).to.equal(400);\r", + "});\r", + "\r", + "const problemDetails = pm.response.json();\r", + "\r", + "pm.test(\"Should include detail that indicates there's a data policy problem.\", () => {\r", + " pm.expect(problemDetails).to.deep.include({\r", + " \"detail\": \"The resource cannot be saved because a data policy has been applied to the request that prevents it.\",\r", + " \"type\": \"urn:ed-fi:api:bad-request:data:policy\",\r", + " \"title\": \"Data Policy Enforced\",\r", + " \"status\": 400\r", + " });\r", + "});\r", + "\r", + "pm.test(\"Should include error indicating that the profile cannot be used to create the resource item.\", () => {\r", + " pm.expect(problemDetails.errors).to.contain(\"The Profile definition for 'test-profile-resource-includes-child-collection-with-non-creatable-items' excludes (or does not include) one or more required data elements needed to create a child item of type 'EducationOrganizationInternationalAddress' in the resource.\");\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.school.test-profile-resource-includes-child-collection-with-non-creatable-items.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"schoolId\": 255901002,\r\n \"operationalStatusDescriptor\": \"uri://ed-fi.org/OperationalStatUSDescriptor#Active\",\r\n \"nameOfInstitution\": \"Test High School\",\r\n \"shortNameOfInstitution\": \"THS\",\r\n \"webSite\": \"http://www.GBISD.edu/THS/\",\r\n \"administrativeFundingControlDescriptor\": \"uri://ed-fi.org/AdministrativeFundingControlDescriptor#Public School\",\r\n \"charterStatusDescriptor\": \"uri://ed-fi.org/CharterStatusDescriptor#Not a Charter School\",\r\n \"schoolTypeDescriptor\": \"uri://ed-fi.org/SchoolTypeDescriptor#Regular\",\r\n \"titleIPartASchoolDesignationDescriptor\": \"uri://ed-fi.org/TitleIPartASchoolDesignationDescriptor#Not A Title I School\",\r\n \"localEducationAgencyReference\": {\r\n \"localEducationAgencyId\": 255901\r\n },\r\n \"schoolCategories\": [\r\n {\r\n \"schoolCategoryDescriptor\": \"uri://ed-fi.org/SchoolCategoryDescriptor#High School\"\r\n }\r\n ],\r\n \"gradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Ninth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Twelfth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Eleventh grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Tenth grade\"\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Mailing\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334-2035\",\r\n \"streetNumberName\": \"P.O. Box 2035\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n },\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Physical\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334\",\r\n \"streetNumberName\": \"456 Elm Street\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n }\r\n ],\r\n \"educationOrganizationCategories\": [\r\n {\r\n \"educationOrganizationCategoryDescriptor\": \"uri://ed-fi.org/EducationOrganizationCategoryDescriptor#School\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"educationOrganizationIdentificationSystemDescriptor\": \"uri://ed-fi.org/EducationOrganizationIdentificationSystemDescriptor#SEA\",\r\n \"identificationCode\": \"255901001\"\r\n }\r\n ],\r\n \"indicators\": [\r\n {\r\n \"indicatorDescriptor\": \"uri://gbisd.edu/IndicatorDescriptor#Retention Rate\",\r\n \"indicatorGroupDescriptor\": \"uri://gbisd.edu/IndicatorGroupDescriptor#Staff Indicator\",\r\n \"indicatorLevelDescriptor\": \"uri://gbisd.edu/IndicatorLevelDescriptor#High Retention\",\r\n \"indicatorValue\": \"90\",\r\n \"periods\": [\r\n {\r\n \"beginDate\": \"2020-03-01\",\r\n \"endDate\": \"2022-06-30\"\r\n },\r\n {\r\n \"beginDate\": \"2021-08-29\",\r\n \"endDate\": \"2022-06-30\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"institutionTelephones\": [\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Fax\",\r\n \"telephoneNumber\": \"(950) 393-3156\"\r\n },\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Main\",\r\n \"telephoneNumber\": \"(950) 325-9465\"\r\n }\r\n ],\r\n \"internationalAddresses\": [\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Mailing\",\r\n \"addressLine1\": \"Address Line 1\",\r\n \"addressLine2\": \"Address Line 2\",\r\n \"addressLine3\": \"Address Line 3\",\r\n \"addressLine4\": \"Address Line 4\",\r\n \"countryDescriptor\": \"uri://ed-fi.org/CountryDescriptor#AD\"\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": "Create School (no child collection items included)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 201\", () => {\r", + " pm.expect(pm.response.code).to.equal(201);\r", + "});\r", + "\r", + "const newid = pm.response.headers.one('Location').value.split(\"/\").pop();\r", + "pm.environment.set('known:school:id:new', newid);\r", + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.school.test-profile-resource-includes-child-collection-with-non-creatable-items.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"schoolId\": 255901002,\r\n \"operationalStatusDescriptor\": \"uri://ed-fi.org/OperationalStatUSDescriptor#Active\",\r\n \"nameOfInstitution\": \"Test High School\",\r\n \"shortNameOfInstitution\": \"THS\",\r\n \"webSite\": \"http://www.GBISD.edu/THS/\",\r\n \"administrativeFundingControlDescriptor\": \"uri://ed-fi.org/AdministrativeFundingControlDescriptor#Public School\",\r\n \"charterStatusDescriptor\": \"uri://ed-fi.org/CharterStatusDescriptor#Not a Charter School\",\r\n \"schoolTypeDescriptor\": \"uri://ed-fi.org/SchoolTypeDescriptor#Regular\",\r\n \"titleIPartASchoolDesignationDescriptor\": \"uri://ed-fi.org/TitleIPartASchoolDesignationDescriptor#Not A Title I School\",\r\n \"localEducationAgencyReference\": {\r\n \"localEducationAgencyId\": 255901\r\n },\r\n \"schoolCategories\": [\r\n {\r\n \"schoolCategoryDescriptor\": \"uri://ed-fi.org/SchoolCategoryDescriptor#High School\"\r\n }\r\n ],\r\n \"gradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Ninth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Twelfth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Eleventh grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Tenth grade\"\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Mailing\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334-2035\",\r\n \"streetNumberName\": \"P.O. Box 2035\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n },\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Physical\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334\",\r\n \"streetNumberName\": \"456 Elm Street\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n }\r\n ],\r\n \"educationOrganizationCategories\": [\r\n {\r\n \"educationOrganizationCategoryDescriptor\": \"uri://ed-fi.org/EducationOrganizationCategoryDescriptor#School\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"educationOrganizationIdentificationSystemDescriptor\": \"uri://ed-fi.org/EducationOrganizationIdentificationSystemDescriptor#SEA\",\r\n \"identificationCode\": \"255901001\"\r\n }\r\n ],\r\n \"indicators\": [\r\n {\r\n \"indicatorDescriptor\": \"uri://gbisd.edu/IndicatorDescriptor#Retention Rate\",\r\n \"indicatorGroupDescriptor\": \"uri://gbisd.edu/IndicatorGroupDescriptor#Staff Indicator\",\r\n \"indicatorLevelDescriptor\": \"uri://gbisd.edu/IndicatorLevelDescriptor#High Retention\",\r\n \"indicatorValue\": \"90\",\r\n \"periods\": [\r\n {\r\n \"beginDate\": \"2020-03-01\",\r\n \"endDate\": \"2022-06-30\"\r\n },\r\n {\r\n \"beginDate\": \"2021-08-29\",\r\n \"endDate\": \"2022-06-30\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"institutionTelephones\": [\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Fax\",\r\n \"telephoneNumber\": \"(950) 393-3156\"\r\n },\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Main\",\r\n \"telephoneNumber\": \"(950) 325-9465\"\r\n }\r\n ],\r\n \"internationalAddresses\": []\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/schools", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "schools" + ] + } + }, + "response": [] + }, + { + "name": "Update School (Profile prevents creation of child collection item)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 400\", () => {\r", + " pm.expect(pm.response.code).to.equal(400);\r", + "});\r", + "\r", + "const problemDetails = pm.response.json();\r", + "\r", + "pm.test(\"Should include detail that indicates there's a data policy problem.\", () => {\r", + " pm.expect(problemDetails).to.deep.include({\r", + " \"detail\": \"The resource cannot be saved because a data policy has been applied to the request that prevents it.\",\r", + " \"type\": \"urn:ed-fi:api:bad-request:data:policy\",\r", + " \"title\": \"Data Policy Enforced\",\r", + " \"status\": 400\r", + " });\r", + "});\r", + "\r", + "pm.test(\"Should include error indicating that the profile cannot be used to create the resource item.\", () => {\r", + " pm.expect(problemDetails.errors).to.contain(\"The Profile definition for 'test-profile-resource-includes-child-collection-with-non-creatable-items' excludes (or does not include) one or more required data elements needed to create a child item of type 'EducationOrganizationInternationalAddress' in the resource.\");\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.school.test-profile-resource-includes-child-collection-with-non-creatable-items.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"schoolId\": 255901002,\r\n \"operationalStatusDescriptor\": \"uri://ed-fi.org/OperationalStatUSDescriptor#Active\",\r\n \"nameOfInstitution\": \"Test High School\",\r\n \"shortNameOfInstitution\": \"THS\",\r\n \"webSite\": \"http://www.GBISD.edu/THS/\",\r\n \"administrativeFundingControlDescriptor\": \"uri://ed-fi.org/AdministrativeFundingControlDescriptor#Public School\",\r\n \"charterStatusDescriptor\": \"uri://ed-fi.org/CharterStatusDescriptor#Not a Charter School\",\r\n \"schoolTypeDescriptor\": \"uri://ed-fi.org/SchoolTypeDescriptor#Regular\",\r\n \"titleIPartASchoolDesignationDescriptor\": \"uri://ed-fi.org/TitleIPartASchoolDesignationDescriptor#Not A Title I School\",\r\n \"localEducationAgencyReference\": {\r\n \"localEducationAgencyId\": 255901\r\n },\r\n \"schoolCategories\": [\r\n {\r\n \"schoolCategoryDescriptor\": \"uri://ed-fi.org/SchoolCategoryDescriptor#High School\"\r\n }\r\n ],\r\n \"gradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Ninth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Twelfth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Eleventh grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Tenth grade\"\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Mailing\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334-2035\",\r\n \"streetNumberName\": \"P.O. Box 2035\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n },\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Physical\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334\",\r\n \"streetNumberName\": \"456 Elm Street\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n }\r\n ],\r\n \"educationOrganizationCategories\": [\r\n {\r\n \"educationOrganizationCategoryDescriptor\": \"uri://ed-fi.org/EducationOrganizationCategoryDescriptor#School\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"educationOrganizationIdentificationSystemDescriptor\": \"uri://ed-fi.org/EducationOrganizationIdentificationSystemDescriptor#SEA\",\r\n \"identificationCode\": \"255901001\"\r\n }\r\n ],\r\n \"indicators\": [\r\n {\r\n \"indicatorDescriptor\": \"uri://gbisd.edu/IndicatorDescriptor#Retention Rate\",\r\n \"indicatorGroupDescriptor\": \"uri://gbisd.edu/IndicatorGroupDescriptor#Staff Indicator\",\r\n \"indicatorLevelDescriptor\": \"uri://gbisd.edu/IndicatorLevelDescriptor#High Retention\",\r\n \"indicatorValue\": \"90\",\r\n \"periods\": [\r\n {\r\n \"beginDate\": \"2020-03-01\",\r\n \"endDate\": \"2022-06-30\"\r\n },\r\n {\r\n \"beginDate\": \"2021-08-29\",\r\n \"endDate\": \"2022-06-30\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"institutionTelephones\": [\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Fax\",\r\n \"telephoneNumber\": \"(950) 393-3156\"\r\n },\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Main\",\r\n \"telephoneNumber\": \"(950) 325-9465\"\r\n }\r\n ],\r\n \"internationalAddresses\": [\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Mailing\",\r\n \"addressLine1\": \"Address Line 1\",\r\n \"addressLine2\": \"Address Line 2\",\r\n \"addressLine3\": \"Address Line 3\",\r\n \"addressLine4\": \"Address Line 4\",\r\n \"countryDescriptor\": \"uri://ed-fi.org/CountryDescriptor#AD\"\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": "Delete School", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 204\", () => {\r", + " pm.expect(pm.response.code).to.equal(204);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.school.test-profile-resource-includes-child-collection-with-non-creatable-items.writable+json", + "type": "text" + } + ], + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/schools/{{known:school:id:new}}", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "schools", + "{{known:school:id:new}}" + ] + } + }, + "response": [] + } + ] + }, + { + "name": "Detecting Profile usage when creating child embedded object is prevented", + "item": [ + { + "name": "Create Assessment (Profile prevents creation of embedded object)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 400\", () => {\r", + " pm.expect(pm.response.code).to.equal(400);\r", + "});\r", + "\r", + "const problemDetails = pm.response.json();\r", + "\r", + "pm.test(\"Should include detail that indicates there's a data policy problem.\", () => {\r", + " pm.expect(problemDetails).to.deep.include({\r", + " \"detail\": \"The resource cannot be saved because a data policy has been applied to the request that prevents it.\",\r", + " \"type\": \"urn:ed-fi:api:bad-request:data:policy\",\r", + " \"title\": \"Data Policy Enforced\",\r", + " \"status\": 400\r", + " });\r", + "});\r", + "\r", + "pm.test(\"Should include error indicating that the profile cannot be used to create the resource item.\", () => {\r", + " pm.expect(problemDetails.errors).to.contain(\"The Profile definition for 'assessment-writable-includes-non-creatable-embedded-object' excludes (or does not include) one or more required data elements needed to create a child item of type 'AssessmentContentStandard' in the resource.\");\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.assessment.assessment-writable-includes-non-creatable-embedded-object.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"contentStandard\": {\r\n \"title\": \"State Essential Knowledge and Skills\",\r\n \"authors\": []\r\n },\r\n \"assessmentIdentifier\": \"TEST-ASSESSMENT-IDENTIFIER\",\r\n \"namespace\": \"uri://ed-fi.org/Assessment/Assessment.xml\",\r\n \"assessmentCategoryDescriptor\": \"uri://ed-fi.org/AssessmentCategoryDescriptor#Benchmark test\",\r\n \"assessmentTitle\": \"3rd Grade Reading 1st Six Weeks 2021-2022\",\r\n \"assessmentVersion\": 2021,\r\n \"maxRawScore\": 10.00000,\r\n \"revisionDate\": \"2021-09-19\",\r\n \"academicSubjects\": [\r\n {\r\n \"academicSubjectDescriptor\": \"uri://ed-fi.org/AcademicSubjectDescriptor#English Language Arts\"\r\n }\r\n ],\r\n \"assessedGradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Third grade\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"assessmentIdentificationSystemDescriptor\": \"uri://ed-fi.org/AssessmentIdentificationSystemDescriptor#Test Contractor\",\r\n \"identificationCode\": \"01774fa3-06f1-47fe-8801-c8b1e65057f2\"\r\n }\r\n ],\r\n \"languages\": [\r\n {\r\n \"languageDescriptor\": \"uri://ed-fi.org/LanguageDescriptor#eng\"\r\n }\r\n ],\r\n \"performanceLevels\": [],\r\n \"periods\": [],\r\n \"platformTypes\": [],\r\n \"programs\": [],\r\n \"scores\": [\r\n {\r\n \"assessmentReportingMethodDescriptor\": \"uri://ed-fi.org/AssessmentReportingMethodDescriptor#Raw score\",\r\n \"maximumScore\": \"10\",\r\n \"minimumScore\": \"0\",\r\n \"resultDatatypeTypeDescriptor\": \"uri://ed-fi.org/ResultDatatypeTypeDescriptor#Integer\"\r\n }\r\n ],\r\n \"sections\": []\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/assessments", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "assessments" + ] + } + }, + "response": [] + }, + { + "name": "Create Assessment (does not include embedded object)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 201\", () => {\r", + " pm.expect(pm.response.code).to.equal(201);\r", + "});\r", + "\r", + "const newid = pm.response.headers.one('Location').value.split(\"/\").pop();\r", + "pm.environment.set('known:assessment:id:new', newid);\r", + "" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.assessment.assessment-writable-includes-non-creatable-embedded-object.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"assessmentIdentifier\": \"TEST-ASSESSMENT-IDENTIFIER\",\r\n \"namespace\": \"uri://ed-fi.org/Assessment/Assessment.xml\",\r\n \"assessmentCategoryDescriptor\": \"uri://ed-fi.org/AssessmentCategoryDescriptor#Benchmark test\",\r\n \"assessmentTitle\": \"3rd Grade Reading 1st Six Weeks 2021-2022\",\r\n \"assessmentVersion\": 2021,\r\n \"maxRawScore\": 10.00000,\r\n \"revisionDate\": \"2021-09-19\",\r\n \"academicSubjects\": [\r\n {\r\n \"academicSubjectDescriptor\": \"uri://ed-fi.org/AcademicSubjectDescriptor#English Language Arts\"\r\n }\r\n ],\r\n \"assessedGradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Third grade\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"assessmentIdentificationSystemDescriptor\": \"uri://ed-fi.org/AssessmentIdentificationSystemDescriptor#Test Contractor\",\r\n \"identificationCode\": \"01774fa3-06f1-47fe-8801-c8b1e65057f2\"\r\n }\r\n ],\r\n \"languages\": [\r\n {\r\n \"languageDescriptor\": \"uri://ed-fi.org/LanguageDescriptor#eng\"\r\n }\r\n ],\r\n \"performanceLevels\": [],\r\n \"periods\": [],\r\n \"platformTypes\": [],\r\n \"programs\": [],\r\n \"scores\": [\r\n {\r\n \"assessmentReportingMethodDescriptor\": \"uri://ed-fi.org/AssessmentReportingMethodDescriptor#Raw score\",\r\n \"maximumScore\": \"10\",\r\n \"minimumScore\": \"0\",\r\n \"resultDatatypeTypeDescriptor\": \"uri://ed-fi.org/ResultDatatypeTypeDescriptor#Integer\"\r\n }\r\n ],\r\n \"sections\": []\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/assessments", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "assessments" + ] + } + }, + "response": [] + }, + { + "name": "Update Assessment (Profile prevents creation of embedded object)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 400\", () => {\r", + " pm.expect(pm.response.code).to.equal(400);\r", + "});\r", + "\r", + "const problemDetails = pm.response.json();\r", + "\r", + "pm.test(\"Should include detail that indicates there's a data policy problem.\", () => {\r", + " pm.expect(problemDetails).to.deep.include({\r", + " \"detail\": \"The resource cannot be saved because a data policy has been applied to the request that prevents it.\",\r", + " \"type\": \"urn:ed-fi:api:bad-request:data:policy\",\r", + " \"title\": \"Data Policy Enforced\",\r", + " \"status\": 400\r", + " });\r", + "});\r", + "\r", + "pm.test(\"Should include error indicating that the profile cannot be used to create the resource item.\", () => {\r", + " pm.expect(problemDetails.errors).to.contain(\"The Profile definition for 'assessment-writable-includes-non-creatable-embedded-object' excludes (or does not include) one or more required data elements needed to create a child item of type 'AssessmentContentStandard' in the resource.\");\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.assessment.assessment-writable-includes-non-creatable-embedded-object.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"contentStandard\": {\r\n \"title\": \"State Essential Knowledge and Skills\",\r\n \"authors\": []\r\n },\r\n \"assessmentIdentifier\": \"TEST-ASSESSMENT-IDENTIFIER\",\r\n \"namespace\": \"uri://ed-fi.org/Assessment/Assessment.xml\",\r\n \"assessmentCategoryDescriptor\": \"uri://ed-fi.org/AssessmentCategoryDescriptor#Benchmark test\",\r\n \"assessmentTitle\": \"3rd Grade Reading 1st Six Weeks 2021-2022\",\r\n \"assessmentVersion\": 2021,\r\n \"maxRawScore\": 10.00000,\r\n \"revisionDate\": \"2021-09-19\",\r\n \"academicSubjects\": [\r\n {\r\n \"academicSubjectDescriptor\": \"uri://ed-fi.org/AcademicSubjectDescriptor#English Language Arts\"\r\n }\r\n ],\r\n \"assessedGradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Third grade\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"assessmentIdentificationSystemDescriptor\": \"uri://ed-fi.org/AssessmentIdentificationSystemDescriptor#Test Contractor\",\r\n \"identificationCode\": \"01774fa3-06f1-47fe-8801-c8b1e65057f2\"\r\n }\r\n ],\r\n \"languages\": [\r\n {\r\n \"languageDescriptor\": \"uri://ed-fi.org/LanguageDescriptor#eng\"\r\n }\r\n ],\r\n \"performanceLevels\": [],\r\n \"periods\": [],\r\n \"platformTypes\": [],\r\n \"programs\": [],\r\n \"scores\": [\r\n {\r\n \"assessmentReportingMethodDescriptor\": \"uri://ed-fi.org/AssessmentReportingMethodDescriptor#Raw score\",\r\n \"maximumScore\": \"10\",\r\n \"minimumScore\": \"0\",\r\n \"resultDatatypeTypeDescriptor\": \"uri://ed-fi.org/ResultDatatypeTypeDescriptor#Integer\"\r\n }\r\n ],\r\n \"sections\": []\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/assessments", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "assessments" + ] + } + }, + "response": [] + }, + { + "name": "Delete Assessment", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 204\", () => {\r", + " pm.expect(pm.response.code).to.equal(204);\r", + "});\r", + "" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "method": "DELETE", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.school.test-profile-resource-includes-child-collection-with-non-creatable-items.writable+json", + "type": "text" + } + ], + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/assessments/{{known:assessment:id:new}}", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "assessments", + "{{known:assessment:id:new}}" + ] + } + }, + "response": [] + } + ] + } + ] } ], "auth": { From eb052b447d86a0c1982374e60ca27d15b8561729 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Sat, 10 Feb 2024 00:01:21 -0600 Subject: [PATCH 11/19] Made member inclusion/exclusion filters use case-insensitive comparisons. --- .../Models/Resource/ExcludeOnlyMemberFilter.cs | 5 +++-- .../Models/Resource/IncludeOnlyMemberFilter.cs | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Application/EdFi.Ods.Common/Models/Resource/ExcludeOnlyMemberFilter.cs b/Application/EdFi.Ods.Common/Models/Resource/ExcludeOnlyMemberFilter.cs index edc82451b2..5937440ad0 100644 --- a/Application/EdFi.Ods.Common/Models/Resource/ExcludeOnlyMemberFilter.cs +++ b/Application/EdFi.Ods.Common/Models/Resource/ExcludeOnlyMemberFilter.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. +using System; using System.Linq; namespace EdFi.Ods.Common.Models.Resource @@ -20,12 +21,12 @@ public ExcludeOnlyMemberFilter(string[] excludedMemberNames, string[] excludedEx public bool ShouldInclude(string memberName) { - return memberName == "Id" || !_excludedMemberNames.Contains(memberName); + return memberName == "Id" || !_excludedMemberNames.Contains(memberName, StringComparer.OrdinalIgnoreCase); } public bool ShouldIncludeExtension(string extensionName) { - return !_excludedExtensionNames.Contains(extensionName); + return !_excludedExtensionNames.Contains(extensionName, StringComparer.OrdinalIgnoreCase); } } } diff --git a/Application/EdFi.Ods.Common/Models/Resource/IncludeOnlyMemberFilter.cs b/Application/EdFi.Ods.Common/Models/Resource/IncludeOnlyMemberFilter.cs index bf0cc9f297..7d8d3b07b7 100644 --- a/Application/EdFi.Ods.Common/Models/Resource/IncludeOnlyMemberFilter.cs +++ b/Application/EdFi.Ods.Common/Models/Resource/IncludeOnlyMemberFilter.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. +using System; using System.Linq; namespace EdFi.Ods.Common.Models.Resource @@ -20,12 +21,12 @@ public IncludeOnlyMemberFilter(string[] includedMemberNames, string[] includedEx public bool ShouldInclude(string memberName) { - return memberName == "Id" || _includedMemberNames.Contains(memberName); + return memberName == "Id" || _includedMemberNames.Contains(memberName, StringComparer.OrdinalIgnoreCase); } public bool ShouldIncludeExtension(string extensionName) { - return _includedExtensionNames.Contains(extensionName); + return _includedExtensionNames.Contains(extensionName, StringComparer.OrdinalIgnoreCase); } } } From 3242a16b9d6b809d7a1bfab5feab179acb9740a4 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Sat, 10 Feb 2024 15:02:26 -0600 Subject: [PATCH 12/19] Added support for detecting Data Profile exceptions during the mapping process that only become relevant if the resource/aggregate is being created. --- Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs | 2 ++ .../GeneratedArtifactStaticDependencies.cs | 10 +++++++++- .../Extensions/CollectionExtensions.cs | 6 ++++-- .../Infrastructure/Repositories/UpsertEntity.cs | 14 +++++++++++++- 4 files changed, 28 insertions(+), 4 deletions(-) diff --git a/Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs b/Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs index adfe189897..3bbfe0eda9 100644 --- a/Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs +++ b/Application/EdFi.Ods.Api/Startup/OdsStartupBase.cs @@ -36,6 +36,7 @@ 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; @@ -413,6 +414,7 @@ void SetStaticResolvers() GeneratedArtifactStaticDependencies.Resolvers.Set(() => Container.Resolve>()); GeneratedArtifactStaticDependencies.Resolvers.Set(() => (StringComparer) Container.Resolve>().GetEqualityComparer()); GeneratedArtifactStaticDependencies.Resolvers.Set(() => Container.Resolve()); + GeneratedArtifactStaticDependencies.Resolvers.Set(() => Container.Resolve>()); // netcore has removed the claims principal from the thread, to be on the controller. // as a workaround for our current application we can resolve the IHttpContextAccessor. diff --git a/Application/EdFi.Ods.Common/Dependencies/GeneratedArtifactStaticDependencies.cs b/Application/EdFi.Ods.Common/Dependencies/GeneratedArtifactStaticDependencies.cs index d125ad45e7..8bb24d757f 100644 --- a/Application/EdFi.Ods.Common/Dependencies/GeneratedArtifactStaticDependencies.cs +++ b/Application/EdFi.Ods.Common/Dependencies/GeneratedArtifactStaticDependencies.cs @@ -8,6 +8,7 @@ using EdFi.Ods.Common.Context; using EdFi.Ods.Common.Database; using EdFi.Ods.Common.Descriptors; +using EdFi.Ods.Common.Exceptions; using EdFi.Ods.Common.Models; using EdFi.Ods.Common.Profiles; using EdFi.Ods.Common.Security; @@ -29,6 +30,7 @@ public static class GeneratedArtifactStaticDependencies private static Lazy> _profileContentTypeContextProvider; private static Lazy> _uniqueIdLookupsContextProvider; private static Lazy> _usiLookupsContextProvider; + private static Lazy> _dataPolicyExceptionContextProvider; private static Lazy _databaseEngineSpecificStringComparer; private static Lazy _descriptorResolver; @@ -41,6 +43,7 @@ public static class GeneratedArtifactStaticDependencies public static IContextProvider ProfileContentTypeContextProvider => _profileContentTypeContextProvider?.Value; public static IContextProvider UniqueIdLookupsByUsiContextProvider => _uniqueIdLookupsContextProvider?.Value; public static IContextProvider UsiLookupsByUniqueIdContextProvider => _usiLookupsContextProvider?.Value; + public static IContextProvider DataPolicyExceptionContextProvider => _dataPolicyExceptionContextProvider?.Value; public static StringComparer DatabaseEngineSpecificStringComparer => _databaseEngineSpecificStringComparer?.Value; public static IDescriptorResolver DescriptorResolver => _descriptorResolver?.Value; @@ -95,11 +98,16 @@ public static void Set(Func> resol _usiLookupsContextProvider = new Lazy>(resolver); } + public static void Set(Func> resolver) + { + _dataPolicyExceptionContextProvider = new Lazy>(resolver); + } + public static void Set(Func resolver) { _databaseEngineSpecificStringComparer = new Lazy(resolver); } - + public static void Set(Func resolver) { _descriptorResolver = new Lazy(resolver); diff --git a/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs b/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs index a886dc5066..008124e388 100644 --- a/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs +++ b/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs @@ -116,9 +116,11 @@ public static void MapCollectionTo( { if (!itemCreatable) { + // Use context provider to note the potential Data Policy Exception here (which applies only if the resource + // is being created, otherwise the SynchronizeCollectionTo method to the existing entity will handle any + // data policy violations). string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; - - throw new DataPolicyException(profileName, itemType.Name); + GeneratedArtifactStaticDependencies.DataPolicyExceptionContextProvider.Set(new DataPolicyException(profileName, itemType.Name)); } var targetItem = (TTarget) Activator.CreateInstance(itemType); diff --git a/Application/EdFi.Ods.Common/Infrastructure/Repositories/UpsertEntity.cs b/Application/EdFi.Ods.Common/Infrastructure/Repositories/UpsertEntity.cs index 5b546a4add..c4ccaa104a 100644 --- a/Application/EdFi.Ods.Common/Infrastructure/Repositories/UpsertEntity.cs +++ b/Application/EdFi.Ods.Common/Infrastructure/Repositories/UpsertEntity.cs @@ -24,6 +24,7 @@ public class UpsertEntity : NHibernateRepositoryOperationBase, IUpsertE private readonly IUpdateEntity _updateEntity; private readonly IContextProvider _lookupContextProvider; private readonly IPersonUniqueIdResolver _personUniqueIdResolver; + private readonly IContextProvider _dataPolicyExceptionContextProvider; public UpsertEntity( ISessionFactory sessionFactory, @@ -32,7 +33,8 @@ public UpsertEntity( ICreateEntity createEntity, IUpdateEntity updateEntity, IContextProvider lookupContextProvider, - IPersonUniqueIdResolver personUniqueIdResolver) + IPersonUniqueIdResolver personUniqueIdResolver, + IContextProvider dataPolicyExceptionContextProvider) : base(sessionFactory) { _getEntityById = getEntityById; @@ -41,6 +43,7 @@ public UpsertEntity( _updateEntity = updateEntity; _lookupContextProvider = lookupContextProvider; _personUniqueIdResolver = personUniqueIdResolver; + _dataPolicyExceptionContextProvider = dataPolicyExceptionContextProvider; } public async Task> UpsertAsync(TEntity entity, bool enforceOptimisticLock, CancellationToken cancellationToken) @@ -76,6 +79,15 @@ public async Task> UpsertAsync(TEntity entity, bool // If there is no existing entity... if (persistedEntity == null) { + // Check for a data policy exception detected during mapping processing from resource model to entity model + var dataPolicyExceptionFromMapping = _dataPolicyExceptionContextProvider.Get(); + + // If there was a data policy violation detected, throw the exception now that we know we're creating the aggregate + if (dataPolicyExceptionFromMapping != null) + { + throw dataPolicyExceptionFromMapping; + } + // Create the entity await _createEntity.CreateAsync(entity, enforceOptimisticLock, cancellationToken); persistedEntity = entity; From 3aa3e0bc37eb5e90d16794a14970a62583510274 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Sat, 10 Feb 2024 16:26:48 -0600 Subject: [PATCH 13/19] Fixed issue with capturing Data Policy exception context everywhere it needs to be, including CodeGen, and detecting and throwing that exception if the aggregate/resource is being created. --- .../Extensions/CollectionExtensions.cs | 7 +- ...Profile Test Suite.postman_collection.json | 137 +++++++++++++++++- .../Mustache/EntityMapper.mustache | 10 +- .../Properties/launchSettings.json | 8 +- 4 files changed, 153 insertions(+), 9 deletions(-) diff --git a/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs b/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs index 008124e388..8a2853b7ef 100644 --- a/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs +++ b/Application/EdFi.Ods.Common/Extensions/CollectionExtensions.cs @@ -119,8 +119,11 @@ public static void MapCollectionTo( // Use context provider to note the potential Data Policy Exception here (which applies only if the resource // is being created, otherwise the SynchronizeCollectionTo method to the existing entity will handle any // data policy violations). - string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; - GeneratedArtifactStaticDependencies.DataPolicyExceptionContextProvider.Set(new DataPolicyException(profileName, itemType.Name)); + if (GeneratedArtifactStaticDependencies.DataPolicyExceptionContextProvider.Get() == null) + { + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + GeneratedArtifactStaticDependencies.DataPolicyExceptionContextProvider.Set(new DataPolicyException(profileName, itemType.Name)); + } } var targetItem = (TTarget) Activator.CreateInstance(itemType); diff --git a/Postman Test Suite/Ed-Fi ODS-API Profile Test Suite.postman_collection.json b/Postman Test Suite/Ed-Fi ODS-API Profile Test Suite.postman_collection.json index 7b5ed477c5..c89ff12e7b 100644 --- a/Postman Test Suite/Ed-Fi ODS-API Profile Test Suite.postman_collection.json +++ b/Postman Test Suite/Ed-Fi ODS-API Profile Test Suite.postman_collection.json @@ -14209,7 +14209,7 @@ "response": [] }, { - "name": "Create School (no child collection items included)", + "name": "Create School (Profile allows creation, no child collection items included)", "event": [ { "listen": "test", @@ -14333,6 +14333,75 @@ }, "response": [] }, + { + "name": "Update School (Profile prevents creation of child collection item)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 400\", () => {\r", + " pm.expect(pm.response.code).to.equal(400);\r", + "});\r", + "\r", + "const problemDetails = pm.response.json();\r", + "\r", + "pm.test(\"Should include detail that indicates there's a data policy problem.\", () => {\r", + " pm.expect(problemDetails).to.deep.include({\r", + " \"detail\": \"The resource cannot be saved because a data policy has been applied to the request that prevents it.\",\r", + " \"type\": \"urn:ed-fi:api:bad-request:data:policy\",\r", + " \"title\": \"Data Policy Enforced\",\r", + " \"status\": 400\r", + " });\r", + "});\r", + "\r", + "pm.test(\"Should include error indicating that the profile cannot be used to create the resource item.\", () => {\r", + " pm.expect(problemDetails.errors).to.contain(\"The Profile definition for 'test-profile-resource-includes-child-collection-with-non-creatable-items' excludes (or does not include) one or more required data elements needed to create a child item of type 'EducationOrganizationInternationalAddress' in the resource.\");\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "content-type": true + } + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.school.test-profile-resource-includes-child-collection-with-non-creatable-items.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"schoolId\": 255901002,\r\n \"operationalStatusDescriptor\": \"uri://ed-fi.org/OperationalStatUSDescriptor#Active\",\r\n \"nameOfInstitution\": \"Test High School\",\r\n \"shortNameOfInstitution\": \"THS\",\r\n \"webSite\": \"http://www.GBISD.edu/THS/\",\r\n \"administrativeFundingControlDescriptor\": \"uri://ed-fi.org/AdministrativeFundingControlDescriptor#Public School\",\r\n \"charterStatusDescriptor\": \"uri://ed-fi.org/CharterStatusDescriptor#Not a Charter School\",\r\n \"schoolTypeDescriptor\": \"uri://ed-fi.org/SchoolTypeDescriptor#Regular\",\r\n \"titleIPartASchoolDesignationDescriptor\": \"uri://ed-fi.org/TitleIPartASchoolDesignationDescriptor#Not A Title I School\",\r\n \"localEducationAgencyReference\": {\r\n \"localEducationAgencyId\": 255901\r\n },\r\n \"schoolCategories\": [\r\n {\r\n \"schoolCategoryDescriptor\": \"uri://ed-fi.org/SchoolCategoryDescriptor#High School\"\r\n }\r\n ],\r\n \"gradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Ninth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Twelfth grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Eleventh grade\"\r\n },\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Tenth grade\"\r\n }\r\n ],\r\n \"addresses\": [\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Mailing\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334-2035\",\r\n \"streetNumberName\": \"P.O. Box 2035\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n },\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Physical\",\r\n \"stateAbbreviationDescriptor\": \"uri://ed-fi.org/StateAbbreviationDescriptor#TX\",\r\n \"city\": \"Grand Bend\",\r\n \"postalCode\": \"73334\",\r\n \"streetNumberName\": \"456 Elm Street\",\r\n \"nameOfCounty\": \"Williston\",\r\n \"periods\": []\r\n }\r\n ],\r\n \"educationOrganizationCategories\": [\r\n {\r\n \"educationOrganizationCategoryDescriptor\": \"uri://ed-fi.org/EducationOrganizationCategoryDescriptor#School\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"educationOrganizationIdentificationSystemDescriptor\": \"uri://ed-fi.org/EducationOrganizationIdentificationSystemDescriptor#SEA\",\r\n \"identificationCode\": \"255901001\"\r\n }\r\n ],\r\n \"indicators\": [\r\n {\r\n \"indicatorDescriptor\": \"uri://gbisd.edu/IndicatorDescriptor#Retention Rate\",\r\n \"indicatorGroupDescriptor\": \"uri://gbisd.edu/IndicatorGroupDescriptor#Staff Indicator\",\r\n \"indicatorLevelDescriptor\": \"uri://gbisd.edu/IndicatorLevelDescriptor#High Retention\",\r\n \"indicatorValue\": \"90\",\r\n \"periods\": [\r\n {\r\n \"beginDate\": \"2020-03-01\",\r\n \"endDate\": \"2022-06-30\"\r\n },\r\n {\r\n \"beginDate\": \"2021-08-29\",\r\n \"endDate\": \"2022-06-30\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"institutionTelephones\": [\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Fax\",\r\n \"telephoneNumber\": \"(950) 393-3156\"\r\n },\r\n {\r\n \"institutionTelephoneNumberTypeDescriptor\": \"uri://ed-fi.org/InstitutionTelephoneNumberTypeDescriptor#Main\",\r\n \"telephoneNumber\": \"(950) 325-9465\"\r\n }\r\n ],\r\n \"internationalAddresses\": [\r\n {\r\n \"addressTypeDescriptor\": \"uri://ed-fi.org/AddressTypeDescriptor#Mailing\",\r\n \"addressLine1\": \"Address Line 1\",\r\n \"addressLine2\": \"Address Line 2\",\r\n \"addressLine3\": \"Address Line 3\",\r\n \"addressLine4\": \"Address Line 4\",\r\n \"countryDescriptor\": \"uri://ed-fi.org/CountryDescriptor#AD\"\r\n }\r\n ]\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/schools/{{known:school:id:new}}", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "schools", + "{{known:school:id:new}}" + ] + } + }, + "response": [] + }, { "name": "Delete School", "event": [ @@ -14448,7 +14517,7 @@ "response": [] }, { - "name": "Create Assessment (does not include embedded object)", + "name": "Create Assessment (Profile allows creation, no embedded object included)", "event": [ { "listen": "test", @@ -14562,6 +14631,70 @@ }, "response": [] }, + { + "name": "Update Assessment (Profile prevents creation of embedded object)", + "event": [ + { + "listen": "test", + "script": { + "exec": [ + "pm.test(\"Status code is 400\", () => {\r", + " pm.expect(pm.response.code).to.equal(400);\r", + "});\r", + "\r", + "const problemDetails = pm.response.json();\r", + "\r", + "pm.test(\"Should include detail that indicates there's a data policy problem.\", () => {\r", + " pm.expect(problemDetails).to.deep.include({\r", + " \"detail\": \"The resource cannot be saved because a data policy has been applied to the request that prevents it.\",\r", + " \"type\": \"urn:ed-fi:api:bad-request:data:policy\",\r", + " \"title\": \"Data Policy Enforced\",\r", + " \"status\": 400\r", + " });\r", + "});\r", + "\r", + "pm.test(\"Should include error indicating that the profile cannot be used to create the resource item.\", () => {\r", + " pm.expect(problemDetails.errors).to.contain(\"The Profile definition for 'assessment-writable-includes-non-creatable-embedded-object' excludes (or does not include) one or more required data elements needed to create a child item of type 'AssessmentContentStandard' in the resource.\");\r", + "});" + ], + "type": "text/javascript" + } + } + ], + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/vnd.ed-fi.assessment.assessment-writable-includes-non-creatable-embedded-object.writable+json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"contentStandard\": {\r\n \"title\": \"State Essential Knowledge and Skills\",\r\n \"authors\": []\r\n },\r\n \"assessmentIdentifier\": \"TEST-ASSESSMENT-IDENTIFIER\",\r\n \"namespace\": \"uri://ed-fi.org/Assessment/Assessment.xml\",\r\n \"assessmentCategoryDescriptor\": \"uri://ed-fi.org/AssessmentCategoryDescriptor#Benchmark test\",\r\n \"assessmentTitle\": \"3rd Grade Reading 1st Six Weeks 2021-2022\",\r\n \"assessmentVersion\": 2021,\r\n \"maxRawScore\": 10.00000,\r\n \"revisionDate\": \"2021-09-19\",\r\n \"academicSubjects\": [\r\n {\r\n \"academicSubjectDescriptor\": \"uri://ed-fi.org/AcademicSubjectDescriptor#English Language Arts\"\r\n }\r\n ],\r\n \"assessedGradeLevels\": [\r\n {\r\n \"gradeLevelDescriptor\": \"uri://ed-fi.org/GradeLevelDescriptor#Third grade\"\r\n }\r\n ],\r\n \"identificationCodes\": [\r\n {\r\n \"assessmentIdentificationSystemDescriptor\": \"uri://ed-fi.org/AssessmentIdentificationSystemDescriptor#Test Contractor\",\r\n \"identificationCode\": \"01774fa3-06f1-47fe-8801-c8b1e65057f2\"\r\n }\r\n ],\r\n \"languages\": [\r\n {\r\n \"languageDescriptor\": \"uri://ed-fi.org/LanguageDescriptor#eng\"\r\n }\r\n ],\r\n \"performanceLevels\": [],\r\n \"periods\": [],\r\n \"platformTypes\": [],\r\n \"programs\": [],\r\n \"scores\": [\r\n {\r\n \"assessmentReportingMethodDescriptor\": \"uri://ed-fi.org/AssessmentReportingMethodDescriptor#Raw score\",\r\n \"maximumScore\": \"10\",\r\n \"minimumScore\": \"0\",\r\n \"resultDatatypeTypeDescriptor\": \"uri://ed-fi.org/ResultDatatypeTypeDescriptor#Integer\"\r\n }\r\n ],\r\n \"sections\": []\r\n}", + "options": { + "raw": { + "language": "json" + } + } + }, + "url": { + "raw": "{{ApiBaseUrl}}/data/v3/ed-fi/assessments/{{known:assessment:id:new}}", + "host": [ + "{{ApiBaseUrl}}" + ], + "path": [ + "data", + "v3", + "ed-fi", + "assessments", + "{{known:assessment:id:new}}" + ] + } + }, + "response": [] + }, { "name": "Delete Assessment", "event": [ diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache index de2b2e4a13..e21aa09cf9 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityMapper.mustache @@ -286,9 +286,13 @@ namespace {{NamespaceName}} //.{{AggregateName}}Aggregate if (!(mappingContract?.Is{{PropertyName}}Creatable ?? true)) { - string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; - - throw new DataPolicyException(profileName, itemType.Name); + // If no potential data policy violation has been detected yet + if (GeneratedArtifactStaticDependencies.DataPolicyExceptionContextProvider.Get() == null) + { + // Make note of this potential data policy violation using context + string profileName = GeneratedArtifactStaticDependencies.ProfileContentTypeContextProvider.Get().ProfileName; + GeneratedArtifactStaticDependencies.DataPolicyExceptionContextProvider.Set(new DataPolicyException(profileName, itemType.Name)); + } } object target{{OtherClassName}} = Activator.CreateInstance(itemType); diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Properties/launchSettings.json b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Properties/launchSettings.json index 03945bda96..69706b606f 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Properties/launchSettings.json +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Properties/launchSettings.json @@ -4,9 +4,13 @@ "commandName": "Project", "commandLineArgs": "-e SQLServer --standardVersion 4.0.0" }, - "EdFi.CodeGen - SQLServer 5.0.0": { + "EdFi.CodeGen - SQLServer (Sample)": { "commandName": "Project", - "commandLineArgs": "-e SQLServer --standardVersion 5.0.0" + "commandLineArgs": "-e SQLServer --standardVersion 5.0.0 --extensionVersion 1.0.0 --extensionPaths C:\\Projects\\EdFi\\w3\\Ed-Fi-Extensions\\Extensions\\EdFi.Ods.Extensions.Sample" + }, + "EdFi.CodeGen - SQLServer (TPDM)": { + "commandName": "Project", + "commandLineArgs": "-e SQLServer --standardVersion 5.0.0 --extensionVersion 1.1.0 --extensionPaths C:\\Projects\\EdFi\\w3\\Ed-Fi-Extensions\\Extensions\\EdFi.Ods.Extensions.TPDM" }, "EdFi.CodeGen - PostgreSQL 4.0.0": { "commandName": "Project", From 741fea880db3605d293574e5260205b2c9aa345f Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Sat, 10 Feb 2024 16:32:09 -0600 Subject: [PATCH 14/19] Updated approval tests. --- ...Mappers_EntityMapper.generated.approved.cs | 20 ++- ...Mappers_EntityMapper.generated.approved.cs | 80 ++++++--- ...Mappers_EntityMapper.generated.approved.cs | 20 ++- ...Mappers_EntityMapper.generated.approved.cs | 170 ++++++++++++------ ...Mappers_EntityMapper.generated.approved.cs | 20 ++- ...Mappers_EntityMapper.generated.approved.cs | 70 +++++--- ...Mappers_EntityMapper.generated.approved.cs | 20 ++- ...Mappers_EntityMapper.generated.approved.cs | 60 +++++-- 8 files changed, 322 insertions(+), 138 deletions(-) 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs index 13325dea2c..69c7b397ac 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_Mappers_EntityMapper.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_Mappers_EntityMapper.generated.approved.cs @@ -496,9 +496,13 @@ public static void MapTo(this ISchool source, ISchool target, Action Date: Tue, 13 Feb 2024 15:23:17 -0600 Subject: [PATCH 15/19] Modified code gen to reduce code gen output from 8 lines to 1 line for entities without any children. --- ...ces_EntityInterfaces.generated.approved.cs | 45 +- ...ces_EntityInterfaces.generated.approved.cs | 216 +-- ...ces_EntityInterfaces.generated.approved.cs | 45 +- ...ces_EntityInterfaces.generated.approved.cs | 1191 ++++------------- ...ces_EntityInterfaces.generated.approved.cs | 45 +- ...ces_EntityInterfaces.generated.approved.cs | 216 +-- ...ces_EntityInterfaces.generated.approved.cs | 45 +- ...ces_EntityInterfaces.generated.approved.cs | 882 ++---------- .../Generators/EntityInterfaces.cs | 124 +- .../Mustache/EntityInterfaces.mustache | 22 +- 10 files changed, 490 insertions(+), 2341 deletions(-) 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 57b7038af7..8d5b0d85cc 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 @@ -58,14 +58,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -204,14 +197,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -460,14 +446,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -606,14 +585,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -818,14 +790,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } 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 721fb8eaa6..d3a85f4a8e 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 @@ -138,14 +138,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -410,14 +403,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -533,14 +519,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -587,14 +566,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -973,14 +945,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1027,14 +992,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1081,14 +1039,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1135,14 +1086,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1534,14 +1478,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2457,14 +2394,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2511,14 +2441,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2637,14 +2560,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2843,14 +2759,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2897,14 +2806,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3638,14 +3540,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3692,14 +3587,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3820,14 +3708,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3874,14 +3755,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3928,14 +3802,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4043,14 +3910,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4097,14 +3957,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4368,14 +4221,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4422,14 +4268,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4476,14 +4315,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } 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 b0b09c7e91..2b5ea5c5d0 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 @@ -822,14 +822,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1279,14 +1272,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1505,14 +1491,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2170,14 +2149,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4665,14 +4637,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } 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 b2ebb9b6ef..df8f632470 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 @@ -1449,14 +1449,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -1511,14 +1504,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -1789,14 +1775,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -2457,14 +2436,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -2766,14 +2738,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -3677,14 +3642,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -4111,14 +4069,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -4173,14 +4124,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -4430,14 +4374,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -4575,14 +4512,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -5421,14 +5351,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -7418,14 +7341,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -7951,14 +7867,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -8096,14 +8005,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -8317,14 +8219,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -8379,14 +8274,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -8441,14 +8329,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -8870,14 +8751,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9012,14 +8886,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9383,14 +9250,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9445,14 +9305,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9590,14 +9443,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -10326,14 +10172,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -11078,14 +10917,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -11781,14 +11613,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -11926,14 +11751,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -12333,14 +12151,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -12395,14 +12206,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -12457,14 +12261,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -12588,14 +12385,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -12650,14 +12440,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -12712,14 +12495,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -13232,14 +13008,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -15322,14 +15091,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -15469,14 +15231,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -19041,14 +18796,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -19103,14 +18851,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -19248,14 +18989,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -19535,14 +19269,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -19601,14 +19328,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -19663,14 +19383,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -19925,14 +19638,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -19987,14 +19693,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20049,14 +19748,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20180,14 +19872,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20242,14 +19927,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20304,14 +19982,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20656,6 +20327,123 @@ bool IMappingContract.IsMemberSupported(string memberName) } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + + public IReadOnlyList SupportedExtensions { get; } + + public bool IsExtensionSupported(string name) + { + return SupportedExtensions.Contains(name); + } + } + + /// + /// Defines available properties and methods for the abstraction of the InterventionStudyAppropriateSex model. + /// + public interface IInterventionStudyAppropriateSex : ISynchronizable, IMappable, IHasExtensions, IGetByExample + { + // Primary Key properties + IInterventionStudy InterventionStudy { get; set; } + + string SexDescriptor { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class InterventionStudyAppropriateSexMappingContract : IMappingContract, IExtensionsMappingContract + { + public InterventionStudyAppropriateSexMappingContract( + IReadOnlyList supportedExtensions + ) + { + SupportedExtensions = supportedExtensions; + } + + + bool IMappingContract.IsMemberSupported(string memberName) + { + switch (memberName) + { + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "SexDescriptor": + return true; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + + public IReadOnlyList SupportedExtensions { get; } + + public bool IsExtensionSupported(string name) + { + return SupportedExtensions.Contains(name); + } + } + + /// + /// Defines available properties and methods for the abstraction of the InterventionStudyEducationContent model. + /// + public interface IInterventionStudyEducationContent : ISynchronizable, IMappable, IHasExtensions, IGetByExample + { + // Primary Key properties + IInterventionStudy InterventionStudy { get; set; } + + string ContentIdentifier { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + Guid? EducationContentResourceId { get; set; } + string EducationContentDiscriminator { get; set; } + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class InterventionStudyEducationContentMappingContract : IMappingContract, IExtensionsMappingContract + { + public InterventionStudyEducationContentMappingContract( + bool isEducationContentReferenceSupported, + IReadOnlyList supportedExtensions + ) + { + IsEducationContentReferenceSupported = isEducationContentReferenceSupported; + SupportedExtensions = supportedExtensions; + } + + public bool IsEducationContentReferenceSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) + { + switch (memberName) + { + case "EducationContentReference": + return IsEducationContentReferenceSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "ContentIdentifier": + return true; + default: + throw new Exception($"Unknown member '{memberName}'."); + } + } + bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) @@ -20674,16 +20462,22 @@ public bool IsExtensionSupported(string name) } /// - /// Defines available properties and methods for the abstraction of the InterventionStudyAppropriateSex model. + /// Defines available properties and methods for the abstraction of the InterventionStudyInterventionEffectiveness model. /// - public interface IInterventionStudyAppropriateSex : ISynchronizable, IMappable, IHasExtensions, IGetByExample + public interface IInterventionStudyInterventionEffectiveness : ISynchronizable, IMappable, IHasExtensions, IGetByExample { // Primary Key properties IInterventionStudy InterventionStudy { get; set; } - string SexDescriptor { get; set; } + string DiagnosisDescriptor { get; set; } + + string GradeLevelDescriptor { get; set; } + + string PopulationServedDescriptor { get; set; } // Non-PK properties + int? ImprovementIndex { get; set; } + string InterventionEffectivenessRatingDescriptor { get; set; } // One-to-one relationships @@ -20696,173 +20490,36 @@ public interface IInterventionStudyAppropriateSex : ISynchronizable, IMappable, /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized /// between entities/resources during API request processing. /// - public class InterventionStudyAppropriateSexMappingContract : IMappingContract, IExtensionsMappingContract + public class InterventionStudyInterventionEffectivenessMappingContract : IMappingContract, IExtensionsMappingContract { - public InterventionStudyAppropriateSexMappingContract( + public InterventionStudyInterventionEffectivenessMappingContract( + bool isImprovementIndexSupported, + bool isInterventionEffectivenessRatingDescriptorSupported, IReadOnlyList supportedExtensions ) { + IsImprovementIndexSupported = isImprovementIndexSupported; + IsInterventionEffectivenessRatingDescriptorSupported = isInterventionEffectivenessRatingDescriptorSupported; SupportedExtensions = supportedExtensions; } + public bool IsImprovementIndexSupported { get; } + public bool IsInterventionEffectivenessRatingDescriptorSupported { get; } bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "ImprovementIndex": + return IsImprovementIndexSupported; + case "InterventionEffectivenessRatingDescriptor": + return IsInterventionEffectivenessRatingDescriptorSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "SexDescriptor": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - public IReadOnlyList SupportedExtensions { get; } - - public bool IsExtensionSupported(string name) - { - return SupportedExtensions.Contains(name); - } - } - - /// - /// Defines available properties and methods for the abstraction of the InterventionStudyEducationContent model. - /// - public interface IInterventionStudyEducationContent : ISynchronizable, IMappable, IHasExtensions, IGetByExample - { - // Primary Key properties - IInterventionStudy InterventionStudy { get; set; } - - string ContentIdentifier { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - Guid? EducationContentResourceId { get; set; } - string EducationContentDiscriminator { get; set; } - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class InterventionStudyEducationContentMappingContract : IMappingContract, IExtensionsMappingContract - { - public InterventionStudyEducationContentMappingContract( - bool isEducationContentReferenceSupported, - IReadOnlyList supportedExtensions - ) - { - IsEducationContentReferenceSupported = isEducationContentReferenceSupported; - SupportedExtensions = supportedExtensions; - } - - public bool IsEducationContentReferenceSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "EducationContentReference": - return IsEducationContentReferenceSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "ContentIdentifier": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - public IReadOnlyList SupportedExtensions { get; } - - public bool IsExtensionSupported(string name) - { - return SupportedExtensions.Contains(name); - } - } - - /// - /// Defines available properties and methods for the abstraction of the InterventionStudyInterventionEffectiveness model. - /// - public interface IInterventionStudyInterventionEffectiveness : ISynchronizable, IMappable, IHasExtensions, IGetByExample - { - // Primary Key properties - IInterventionStudy InterventionStudy { get; set; } - - string DiagnosisDescriptor { get; set; } - - string GradeLevelDescriptor { get; set; } - - string PopulationServedDescriptor { get; set; } - - // Non-PK properties - int? ImprovementIndex { get; set; } - string InterventionEffectivenessRatingDescriptor { get; set; } - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class InterventionStudyInterventionEffectivenessMappingContract : IMappingContract, IExtensionsMappingContract - { - public InterventionStudyInterventionEffectivenessMappingContract( - bool isImprovementIndexSupported, - bool isInterventionEffectivenessRatingDescriptorSupported, - IReadOnlyList supportedExtensions - ) - { - IsImprovementIndexSupported = isImprovementIndexSupported; - IsInterventionEffectivenessRatingDescriptorSupported = isInterventionEffectivenessRatingDescriptorSupported; - SupportedExtensions = supportedExtensions; - } - - public bool IsImprovementIndexSupported { get; } - public bool IsInterventionEffectivenessRatingDescriptorSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "ImprovementIndex": - return IsImprovementIndexSupported; - case "InterventionEffectivenessRatingDescriptor": - return IsInterventionEffectivenessRatingDescriptorSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "DiagnosisDescriptor": - return true; - case "GradeLevelDescriptor": - return true; - case "PopulationServedDescriptor": + case "DiagnosisDescriptor": + return true; + case "GradeLevelDescriptor": + return true; + case "PopulationServedDescriptor": return true; default: throw new Exception($"Unknown member '{memberName}'."); @@ -20931,14 +20588,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20993,14 +20643,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21055,14 +20698,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21117,14 +20753,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21179,14 +20808,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21652,14 +21274,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21847,14 +21462,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21909,14 +21517,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22230,14 +21831,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22508,14 +22102,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22754,14 +22341,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22820,14 +22400,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -25537,14 +25110,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -26307,14 +25873,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -26369,14 +25928,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -26599,14 +26151,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -27641,14 +27186,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -28310,14 +27848,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -29143,14 +28674,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -29772,14 +29296,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -30002,14 +29519,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -30206,14 +29716,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -30268,14 +29771,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -30747,14 +30243,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -32847,14 +32336,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -33411,14 +32893,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -33722,14 +33197,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -34297,14 +33765,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -34511,14 +33972,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -34573,14 +34027,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -35404,14 +34851,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -36406,14 +35846,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -36820,14 +36253,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -38137,14 +37563,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -38667,14 +38086,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -38998,14 +38410,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -39060,14 +38465,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -39337,14 +38735,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -39399,14 +38790,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -41309,14 +40693,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -43377,14 +42754,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -43536,14 +42906,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -44165,14 +43528,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -44399,14 +43755,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -44731,14 +44080,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -44887,14 +44229,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -44949,14 +44284,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -45479,14 +44807,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -48726,14 +48047,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -49816,14 +49130,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -50438,14 +49745,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -51957,14 +51257,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { 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 4025552228..37492befb9 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 @@ -147,14 +147,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -273,14 +266,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -460,14 +446,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -606,14 +585,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -818,14 +790,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } 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 6841a4916d..2df6c2245f 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 @@ -138,14 +138,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -410,14 +403,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -533,14 +519,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -587,14 +566,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -807,14 +779,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -861,14 +826,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -915,14 +873,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -969,14 +920,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1368,14 +1312,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2447,14 +2384,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2501,14 +2431,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2627,14 +2550,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2681,14 +2597,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2952,14 +2861,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3006,14 +2908,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3060,14 +2955,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3419,14 +3307,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -3473,14 +3354,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4214,14 +4088,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4268,14 +4135,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4396,14 +4256,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4450,14 +4303,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4504,14 +4350,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4619,14 +4458,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } 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 55114cfa0a..4ea1b6df3c 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 @@ -834,14 +834,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1291,14 +1284,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -1517,14 +1503,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -2182,14 +2161,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } @@ -4677,14 +4649,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); } 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 11d1a10351..de633a1df7 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 @@ -1449,14 +1449,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -1511,14 +1504,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -1789,14 +1775,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -2457,14 +2436,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -2766,14 +2738,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -3677,14 +3642,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -4111,14 +4069,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -4173,14 +4124,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -4430,14 +4374,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -4575,14 +4512,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -5421,14 +5351,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -7399,14 +7322,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -8400,14 +8316,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -8545,14 +8454,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9005,14 +8907,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9150,14 +9045,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9371,14 +9259,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9433,14 +9314,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9495,14 +9369,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -9959,14 +9826,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -10174,14 +10034,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -10626,14 +10479,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -10688,14 +10534,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -10833,14 +10672,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -11569,14 +11401,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -12301,14 +12126,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -12918,14 +12736,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -13063,14 +12874,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -13470,14 +13274,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -13532,14 +13329,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -13594,14 +13384,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -13725,14 +13508,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -13787,14 +13563,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -13849,14 +13618,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -14369,14 +14131,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -16905,14 +16660,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -17052,14 +16800,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20625,14 +20366,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20687,14 +20421,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -20832,14 +20559,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21119,14 +20839,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21185,14 +20898,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21247,14 +20953,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21509,14 +21208,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21571,14 +21263,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21633,14 +21318,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21764,14 +21442,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21826,14 +21497,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -21888,14 +21552,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22240,14 +21897,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22302,14 +21952,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22515,14 +22158,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22577,14 +22213,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22639,14 +22268,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22701,14 +22323,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -22763,14 +22378,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -23250,14 +22858,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -23528,14 +23129,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -23774,14 +23368,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -23840,14 +23427,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -26488,14 +26068,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -27175,14 +26748,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -27237,14 +26803,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -27467,14 +27026,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -28125,14 +27677,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -28958,14 +28503,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -29559,14 +29097,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -29789,14 +29320,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -30701,14 +30225,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -31180,14 +30697,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -33264,14 +32774,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -33828,14 +33331,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -34222,14 +33718,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -34803,14 +34292,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -35017,14 +34499,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -35079,14 +34554,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -35993,14 +35461,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -37090,14 +36551,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -37504,14 +36958,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -38827,14 +38274,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -39357,14 +38797,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -39688,14 +39121,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -39750,14 +39176,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -40025,14 +39444,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -40087,14 +39499,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -41979,14 +41384,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -43799,14 +43197,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -43958,14 +43349,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -44579,14 +43963,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -44813,14 +44190,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -45145,14 +44515,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -45207,14 +44570,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -45737,14 +45093,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -48367,14 +47716,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -48948,14 +48290,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -50127,14 +49462,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -50833,14 +50161,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } @@ -52435,14 +51756,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); public IReadOnlyList SupportedExtensions { get; } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs index 552a85a06d..d45c0ebf42 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.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. +using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; @@ -166,6 +167,7 @@ protected override object Build() a.OtherEntity.HasDiscriminator() }) .ToList(), + HasMappingContractMembers = GetMappingContractMembers(r).Any(), MappingContractMembers = GetMappingContractMembers(r), IsExtendable = r.IsExtendable() }) @@ -271,65 +273,75 @@ private bool IsModelInterfaceProperty(ResourceProperty p) }.Contains(p.PropertyName); } + private readonly ConcurrentDictionary> _mappingContractMembersByFullName = new(); + private IEnumerable GetMappingContractMembers(ResourceClassBase resourceClass) { - 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 - { - PropertyName = pn, - ItemTypeName = null as string, - IsCollection = false, - }); - - var embeddedObjects = resourceClass.EmbeddedObjects - .OrderBy(c => c.ObjectType.Name) - .Select(c => new + return _mappingContractMembersByFullName.GetOrAdd(resourceClass.FullName, + static (fn, args) => { - PropertyName = c.PropertyName, - ItemTypeName = c.ObjectType.Name, - IsCollection = false, - }); - - var collections = resourceClass.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() && !resourceClass.IsExtendable() - }); + 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)); } } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache index 54febb0508..66638c486d 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache @@ -153,27 +153,33 @@ namespace {{EntitiesBaseNamespace}} } } + {{#HasMappingContractMembers}} bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) { - {{#MappingContractMembers}} - {{#ItemTypeName}} - {{#IsCollection}} + {{#MappingContractMembers}} + {{#ItemTypeName}} + {{#IsCollection}} case "{{PropertyName}}": return Is{{PropertyName}}ItemCreatable; - {{/IsCollection}} - {{^IsCollection}} + {{/IsCollection}} + {{^IsCollection}} case "{{PropertyName}}": return Is{{PropertyName}}Creatable; - {{/IsCollection}} - {{/ItemTypeName}} - {{/MappingContractMembers}} + {{/IsCollection}} + {{/ItemTypeName}} + {{/MappingContractMembers}} default: throw new Exception($"Unknown member '{memberName}'."); } } + {{/HasMappingContractMembers}} + {{^HasMappingContractMembers}} + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + + {{/HasMappingContractMembers}} {{#IsExtendable}} public IReadOnlyList SupportedExtensions { get; } From 8cd2919666aca6be7366565c1e094dac3b5c4116 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Tue, 13 Feb 2024 22:59:08 -0600 Subject: [PATCH 16/19] Reduced quantity of lines of generated code with reduction of classes without child items. --- ...ces_EntityInterfaces.generated.approved.cs | 54 +- ...ces_EntityInterfaces.generated.approved.cs | 317 +- ...ces_EntityInterfaces.generated.approved.cs | 63 +- ...ces_EntityInterfaces.generated.approved.cs | 9 +- ...ces_EntityInterfaces.generated.approved.cs | 422 +- ...ces_EntityInterfaces.generated.approved.cs | 4135 +++------------ ...ces_EntityInterfaces.generated.approved.cs | 54 +- ...ces_EntityInterfaces.generated.approved.cs | 317 +- ...ces_EntityInterfaces.generated.approved.cs | 63 +- ...ces_EntityInterfaces.generated.approved.cs | 9 +- ...ces_EntityInterfaces.generated.approved.cs | 422 +- ...ces_EntityInterfaces.generated.approved.cs | 4476 ++++------------- .../Generators/EntityInterfaces.cs | 2 +- .../Mustache/EntityInterfaces.mustache | 12 +- 14 files changed, 2017 insertions(+), 8338 deletions(-) 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 8d5b0d85cc..64865089dc 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 @@ -58,7 +58,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -148,7 +148,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ParentStudentSchoolAssociations": return IsParentStudentSchoolAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -197,7 +197,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -259,14 +259,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -342,7 +335,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SchoolAddress": return IsSchoolAddressCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -393,14 +386,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -446,7 +432,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -536,7 +522,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffStudentSchoolAssociations": return IsStaffStudentSchoolAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -585,7 +571,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -647,14 +633,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -741,7 +720,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentAddress": return IsStudentAddressCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -790,7 +769,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -858,14 +837,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{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 d3a85f4a8e..81f33a09f5 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 @@ -85,14 +85,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -138,7 +131,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -354,7 +347,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "BusRouteTelephones": return IsBusRouteTelephonesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -403,7 +396,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -465,14 +458,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -519,7 +505,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -566,7 +552,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -635,14 +621,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -718,14 +697,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -801,14 +773,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -896,7 +861,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ParentAddressTerms": return IsParentAddressTermsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -945,7 +910,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -992,7 +957,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1039,7 +1004,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1086,7 +1051,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1153,14 +1118,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1214,14 +1172,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1429,7 +1380,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ParentStudentProgramAssociations": return IsParentStudentProgramAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1478,7 +1429,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1551,14 +1502,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1619,14 +1563,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1693,14 +1630,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1754,14 +1684,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1841,7 +1764,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SchoolDirectlyOwnedBuses": return IsSchoolDirectlyOwnedBusesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1923,7 +1846,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffPets": return IsStaffPetsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1978,14 +1901,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2040,14 +1956,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2104,14 +2013,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2345,7 +2247,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentArtProgramAssociationStyles": return IsStudentArtProgramAssociationStylesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2394,7 +2296,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2441,7 +2343,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2506,14 +2408,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2560,7 +2455,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2615,14 +2510,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2710,7 +2598,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationAddressTerms": return IsStudentEducationOrganizationAssociationAddressTermsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2759,7 +2647,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2806,7 +2694,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2868,14 +2756,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2937,7 +2818,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds": return IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2998,14 +2879,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3107,7 +2981,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentPets": return IsStudentPetsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3181,7 +3055,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentFavoriteBookArtMedia": return IsStudentFavoriteBookArtMediaItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3236,14 +3110,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3491,7 +3358,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentGraduationPlanAssociationYearsAttendeds": return IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3540,7 +3407,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3587,7 +3454,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3654,14 +3521,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3708,7 +3568,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3755,7 +3615,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3802,7 +3662,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3856,14 +3716,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3910,7 +3763,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3957,7 +3810,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4172,7 +4025,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentParentAssociationStaffEducationOrganizationEmploymentAssociations": return IsStudentParentAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4221,7 +4074,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4268,7 +4121,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4315,7 +4168,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4381,14 +4234,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4461,14 +4307,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4521,14 +4360,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4583,14 +4415,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4639,14 +4464,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4708,7 +4526,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSectionAssociationRelatedGeneralStudentProgramAssociations": return IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4780,14 +4598,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 2a9b84fb89..834ac23498 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTranscript.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -85,14 +85,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -168,14 +161,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -239,14 +225,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -322,14 +301,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -378,14 +350,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -447,14 +412,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -530,14 +488,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTransportation.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.SampleStudentTransportation.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 9b3d5da992..a33aef72fd 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/4.0.0/DataStandard_400_ApprovalTests.Verify.Extensions.SampleStudentTransportation.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.SampleStudentTransportation.1.0.0_Std_4.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -85,14 +85,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } 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 2b5ea5c5d0..affa7b2e65 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 @@ -85,14 +85,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -168,14 +161,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -489,7 +475,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateTelephones": return IsCandidateTelephonesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -627,7 +613,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateAddressPeriods": return IsCandidateAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -682,14 +668,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -773,7 +752,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateDisabilityDesignations": return IsCandidateDisabilityDesignationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -822,7 +801,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -949,7 +928,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateEducatorPreparationProgramAssociationDegreeSpecializations": return IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1014,14 +993,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1080,14 +1052,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1150,14 +1115,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1223,7 +1181,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateLanguageUses": return IsCandidateLanguageUsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1272,7 +1230,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1349,14 +1307,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1437,14 +1388,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1491,7 +1435,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1560,14 +1504,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1643,14 +1580,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1726,14 +1656,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1850,7 +1773,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CredentialStudentAcademicRecords": return IsCredentialStudentAcademicRecordsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1928,14 +1851,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2001,14 +1917,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2100,7 +2009,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducatorPreparationProgramGradeLevels": return IsEducatorPreparationProgramGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2149,7 +2058,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2225,14 +2134,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2308,14 +2210,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2391,14 +2286,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2524,7 +2412,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationRatingLevels": return IsEvaluationRatingLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2654,7 +2542,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationElementRatingLevels": return IsEvaluationElementRatingLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2809,7 +2697,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationElementRatingResults": return IsEvaluationElementRatingResultsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2870,14 +2758,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2953,14 +2834,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3017,14 +2891,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3154,7 +3021,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationObjectiveRatingLevels": return IsEvaluationObjectiveRatingLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3287,7 +3154,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationObjectiveRatingResults": return IsEvaluationObjectiveRatingResultsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3348,14 +3215,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3412,14 +3272,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3495,14 +3348,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3674,7 +3520,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationRatingReviewers": return IsEvaluationRatingReviewersItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3735,14 +3581,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3818,14 +3657,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3882,14 +3714,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3976,7 +3801,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationRatingReviewerReceivedTraining": return IsEvaluationRatingReviewerReceivedTrainingCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4033,14 +3858,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4116,14 +3934,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4199,14 +4010,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4291,14 +4095,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4374,14 +4171,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4457,14 +4247,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4588,7 +4371,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "PerformanceEvaluationRatingLevels": return IsPerformanceEvaluationRatingLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4637,7 +4420,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4806,7 +4589,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "PerformanceEvaluationRatingReviewers": return IsPerformanceEvaluationRatingReviewersItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4867,14 +4650,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4950,14 +4726,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5014,14 +4783,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5108,7 +4870,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "PerformanceEvaluationRatingReviewerReceivedTraining": return IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -5165,14 +4927,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5248,14 +5003,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5362,14 +5110,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5445,14 +5186,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5507,14 +5241,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5576,14 +5303,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5659,14 +5379,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5746,14 +5459,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } 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 df8f632470..2e74bae899 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 @@ -84,14 +84,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -167,14 +160,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -250,14 +236,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -333,14 +312,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -422,14 +394,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -522,14 +487,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -611,14 +569,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -694,14 +645,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -777,14 +721,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -860,14 +797,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -943,14 +873,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1026,14 +949,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1109,14 +1025,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1392,7 +1301,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "AssessmentSections": return IsAssessmentSectionsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1449,7 +1358,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -1504,7 +1413,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -1586,14 +1495,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1718,7 +1620,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "AssessmentContentStandardAuthors": return IsAssessmentContentStandardAuthorsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1775,7 +1677,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -1842,14 +1744,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -1931,14 +1826,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2070,7 +1958,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "AssessmentItemPossibleResponses": return IsAssessmentItemPossibleResponsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2154,14 +2042,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2217,14 +2098,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2291,14 +2165,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2380,14 +2247,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2436,7 +2296,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2519,14 +2379,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2593,14 +2446,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2682,14 +2528,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2738,7 +2577,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2808,14 +2647,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2897,14 +2729,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2971,14 +2796,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -3097,7 +2915,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "AssessmentScoreRangeLearningStandardLearningStandards": return IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3161,14 +2979,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -3246,14 +3057,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -3335,14 +3139,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3418,14 +3215,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3501,14 +3291,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3585,7 +3368,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "BalanceSheetDimensionReportingTags": return IsBalanceSheetDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3642,7 +3425,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -3724,14 +3507,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3807,14 +3583,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3943,7 +3712,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "BellScheduleGradeLevels": return IsBellScheduleGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4007,14 +3776,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4069,7 +3831,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4124,7 +3886,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4223,7 +3985,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CalendarGradeLevels": return IsCalendarGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4317,7 +4079,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CalendarDateCalendarEvents": return IsCalendarDateCalendarEventsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4374,7 +4136,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4456,14 +4218,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4512,7 +4267,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4594,14 +4349,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4677,14 +4425,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4760,14 +4501,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4843,14 +4577,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5048,7 +4775,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ChartOfAccountReportingTags": return IsChartOfAccountReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -5111,14 +4838,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -5200,14 +4920,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5290,7 +5003,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ClassPeriodMeetingTimes": return IsClassPeriodMeetingTimesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -5351,7 +5064,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -5433,14 +5146,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5542,7 +5248,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CohortPrograms": return IsCohortProgramsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -5614,14 +5320,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -5703,14 +5402,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5786,14 +5478,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5869,14 +5554,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -6027,7 +5705,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -6228,7 +5906,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -6346,14 +6024,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -6435,14 +6106,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -6523,14 +6187,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -6612,14 +6269,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -6695,14 +6345,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -6778,14 +6421,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -6861,14 +6497,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -6944,14 +6573,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -7201,7 +6823,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CourseOfferedGradeLevels": return IsCourseOfferedGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -7285,14 +6907,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -7341,7 +6956,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7423,14 +7038,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -7506,14 +7114,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -7580,14 +7181,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7669,14 +7263,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -7736,14 +7323,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7805,14 +7385,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7867,7 +7440,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7949,14 +7522,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -8005,7 +7571,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8162,7 +7728,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CourseOfferingOfferedGradeLevels": return IsCourseOfferingOfferedGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -8219,7 +7785,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8274,7 +7840,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8329,7 +7895,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8411,14 +7977,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -8694,7 +8253,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CourseTranscriptPartialCourseTranscriptAwards": return IsCourseTranscriptPartialCourseTranscriptAwardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -8751,7 +8310,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8824,14 +8383,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8886,7 +8438,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8947,14 +8499,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9033,14 +8578,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9193,7 +8731,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CredentialGradeLevels": return IsCredentialGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -9250,7 +8788,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9305,7 +8843,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9387,14 +8925,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -9443,7 +8974,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9525,14 +9056,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -9608,14 +9132,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -9691,14 +9208,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -9774,14 +9284,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -9857,14 +9360,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -9940,14 +9436,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10029,14 +9518,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10115,7 +9597,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "DescriptorMappingModelEntities": return IsDescriptorMappingModelEntitiesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -10172,7 +9654,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10254,14 +9736,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10337,14 +9812,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10420,14 +9888,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10503,14 +9964,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10586,14 +10040,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10669,14 +10116,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10860,7 +10300,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "DisciplineActionStudentDisciplineIncidentBehaviorAssociations": return IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -10917,7 +10357,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10999,14 +10439,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11062,14 +10495,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -11135,14 +10561,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -11212,14 +10631,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -11301,14 +10713,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11480,7 +10885,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "DisciplineIncidentWeapons": return IsDisciplineIncidentWeaponsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -11543,14 +10948,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -11613,7 +11011,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -11695,14 +11093,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11751,7 +11142,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -11833,14 +11224,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -12094,7 +11478,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationContentLanguages": return IsEducationContentLanguagesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -12151,7 +11535,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12206,7 +11590,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12261,7 +11645,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12323,14 +11707,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12385,7 +11762,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12440,7 +11817,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12495,7 +11872,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12660,7 +12037,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -12800,7 +12177,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationAddressPeriods": return IsEducationOrganizationAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -12863,14 +12240,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12952,14 +12322,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -13008,7 +12371,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13090,14 +12453,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -13152,14 +12508,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13241,14 +12590,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -13340,7 +12682,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationIndicatorPeriods": return IsEducationOrganizationIndicatorPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -13403,14 +12745,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13471,14 +12806,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13587,14 +12915,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13682,14 +13003,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13852,7 +13166,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -13937,14 +13251,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14016,14 +13323,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14105,14 +13405,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14275,7 +13568,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -14359,14 +13652,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14442,14 +13728,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14525,14 +13804,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14608,14 +13880,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14691,14 +13956,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14774,14 +14032,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14861,14 +14112,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14950,14 +14194,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -15034,7 +14271,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "FunctionDimensionReportingTags": return IsFunctionDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -15091,7 +14328,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -15174,7 +14411,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "FundDimensionReportingTags": return IsFundDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -15231,7 +14468,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -15373,7 +14610,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -15444,14 +14681,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -15522,14 +14752,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -15692,7 +14915,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GradeLearningStandardGrades": return IsGradeLearningStandardGradesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -15875,7 +15098,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GradebookEntryLearningStandards": return IsGradebookEntryLearningStandardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -15939,14 +15162,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -16028,14 +15244,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16115,14 +15324,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -16204,14 +15406,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16287,14 +15482,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16370,14 +15558,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16467,14 +15648,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -16556,14 +15730,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16717,7 +15884,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GraduationPlanRequiredAssessments": return IsGraduationPlanRequiredAssessmentsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -16817,7 +15984,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GraduationPlanCreditsByCourseCourses": return IsGraduationPlanCreditsByCourseCoursesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -16885,14 +16052,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -16965,14 +16125,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -17045,14 +16198,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -17149,7 +16295,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GraduationPlanRequiredAssessmentScores": return IsGraduationPlanRequiredAssessmentScoresItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -17238,14 +16384,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -17318,14 +16457,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -17407,14 +16539,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17490,14 +16615,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17573,14 +16691,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17656,14 +16767,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17739,14 +16843,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17822,14 +16919,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17905,14 +16995,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17988,14 +17071,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18071,14 +17147,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18154,14 +17223,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18237,14 +17299,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18320,14 +17375,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18403,14 +17451,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18486,14 +17527,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18739,7 +17773,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "InterventionURIs": return IsInterventionURIsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -18796,7 +17830,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -18851,7 +17885,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -18933,14 +17967,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18989,7 +18016,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19051,14 +18078,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19140,14 +18160,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19207,14 +18220,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19269,7 +18275,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19328,7 +18334,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19383,7 +18389,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19581,7 +18587,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "InterventionPrescriptionURIs": return IsInterventionPrescriptionURIsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -19638,7 +18644,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19693,7 +18699,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19748,7 +18754,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19810,14 +18816,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19872,7 +18871,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19927,7 +18926,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -19982,7 +18981,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20044,14 +19043,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20270,7 +19262,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "InterventionStudyURIs": return IsInterventionStudyURIsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -20327,7 +19319,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20382,7 +19374,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20444,14 +19436,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20526,14 +19511,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20588,7 +19566,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20643,7 +19621,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20698,7 +19676,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20753,7 +19731,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20808,7 +19786,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20890,14 +19868,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -20973,14 +19944,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -21056,14 +20020,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -21217,7 +20174,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LearningObjectiveLearningStandards": return IsLearningObjectiveLearningStandardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -21274,7 +20231,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21405,7 +20362,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LearningObjectiveContentStandardAuthors": return IsLearningObjectiveContentStandardAuthorsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -21462,7 +20419,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21517,7 +20474,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21579,14 +20536,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21774,7 +20724,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LearningStandardPrerequisiteLearningStandards": return IsLearningStandardPrerequisiteLearningStandardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -21831,7 +20781,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21913,14 +20863,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22045,7 +20988,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LearningStandardContentStandardAuthors": return IsLearningStandardContentStandardAuthorsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -22102,7 +21045,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22196,14 +21139,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22285,14 +21221,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22341,7 +21270,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22400,7 +21329,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22462,14 +21391,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22551,14 +21473,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22634,14 +21549,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22717,14 +21625,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22800,14 +21701,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22883,14 +21777,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22997,7 +21884,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LocalAccountReportingTags": return IsLocalAccountReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -23060,14 +21947,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23152,14 +22032,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23244,14 +22117,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23347,14 +22213,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23436,14 +22295,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -23670,7 +22522,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LocalEducationAgencyFederalFunds": return IsLocalEducationAgencyFederalFundsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -23745,14 +22597,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23834,14 +22679,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -23938,14 +22776,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24030,14 +22861,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24133,14 +22957,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24216,14 +23033,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24305,14 +23115,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24388,14 +23191,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24471,14 +23267,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24554,14 +23343,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24637,14 +23419,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24720,14 +23495,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24803,14 +23571,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24886,14 +23647,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24969,14 +23723,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -25053,7 +23800,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ObjectDimensionReportingTags": return IsObjectDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -25110,7 +23857,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25283,7 +24030,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ObjectiveAssessmentScores": return IsObjectiveAssessmentScoresItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -25347,14 +24094,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25416,14 +24156,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25506,14 +24239,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25586,14 +24312,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25675,14 +24394,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -25816,7 +24528,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "OpenStaffPositionInstructionalGradeLevels": return IsOpenStaffPositionInstructionalGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -25873,7 +24585,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25928,7 +24640,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26010,14 +24722,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -26094,7 +24799,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "OperationalUnitDimensionReportingTags": return IsOperationalUnitDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -26151,7 +24856,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26327,7 +25032,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -26411,14 +25116,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -26645,7 +25343,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ParentTelephones": return IsParentTelephonesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -26791,7 +25489,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ParentAddressPeriods": return IsParentAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -26854,14 +25552,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26932,14 +25623,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27048,14 +25732,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27129,7 +25806,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ParentLanguageUses": return IsParentLanguageUsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -27186,7 +25863,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27271,14 +25948,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27367,14 +26037,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27451,14 +26114,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27540,14 +26196,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27623,14 +26272,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27706,14 +26348,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27789,14 +26424,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27848,7 +26476,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27930,14 +26558,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28013,14 +26634,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28096,14 +26710,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28179,14 +26786,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28261,14 +26861,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -28350,14 +26943,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28534,7 +27120,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "PostSecondaryInstitutionMediumOfInstructions": return IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -28618,14 +27204,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28674,7 +27253,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -28756,14 +27335,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28839,14 +27411,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28922,14 +27487,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -29005,14 +27563,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -29156,7 +27707,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProgramSponsors": return IsProgramSponsorsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -29240,14 +27791,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -29296,7 +27840,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29378,14 +27922,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -29462,7 +27999,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProgramDimensionReportingTags": return IsProgramDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -29519,7 +28056,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29585,14 +28122,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29654,14 +28184,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29716,7 +28239,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29771,7 +28294,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29846,198 +28369,101 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "ProgramSponsorDescriptorId": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - } - - /// - /// Defines available properties and methods for the abstraction of the ProgramTypeDescriptor model. - /// - public interface IProgramTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int ProgramTypeDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class ProgramTypeDescriptorMappingContract : IMappingContract - { - public ProgramTypeDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "ProgramTypeDescriptorId": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - } - - /// - /// Defines available properties and methods for the abstraction of the ProgressDescriptor model. - /// - public interface IProgressDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int ProgressDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class ProgressDescriptorMappingContract : IMappingContract - { - public ProgressDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "ProgressDescriptorId": + case "ProgramSponsorDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - bool IMappingContract.IsItemCreatable(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + + } + + /// + /// Defines available properties and methods for the abstraction of the ProgramTypeDescriptor model. + /// + public interface IProgramTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int ProgramTypeDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class ProgramTypeDescriptorMappingContract : IMappingContract + { + public ProgramTypeDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "ProgramTypeDescriptorId": + return true; default: throw new Exception($"Unknown member '{memberName}'."); } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + } /// - /// Defines available properties and methods for the abstraction of the ProgressLevelDescriptor model. + /// Defines available properties and methods for the abstraction of the ProgressDescriptor model. /// - public interface IProgressLevelDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + public interface IProgressDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample { // Primary Key properties [AutoIncrement] - int ProgressLevelDescriptorId { get; set; } + int ProgressDescriptorId { get; set; } // Non-PK properties @@ -30052,9 +28478,9 @@ public interface IProgressLevelDescriptor : EdFi.IDescriptor, ISynchronizable, I /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized /// between entities/resources during API request processing. /// - public class ProgressLevelDescriptorMappingContract : IMappingContract + public class ProgressDescriptorMappingContract : IMappingContract { - public ProgressLevelDescriptorMappingContract( + public ProgressDescriptorMappingContract( bool isCodeValueSupported, bool isDescriptionSupported, bool isEffectiveBeginDateSupported, @@ -30095,22 +28521,91 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "ProgressLevelDescriptorId": + case "ProgressDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - bool IMappingContract.IsItemCreatable(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + + } + + /// + /// Defines available properties and methods for the abstraction of the ProgressLevelDescriptor model. + /// + public interface IProgressLevelDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int ProgressLevelDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class ProgressLevelDescriptorMappingContract : IMappingContract + { + public ProgressLevelDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "ProgressLevelDescriptorId": + return true; default: throw new Exception($"Unknown member '{memberName}'."); } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + } /// @@ -30186,7 +28681,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProjectDimensionReportingTags": return IsProjectDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -30243,7 +28738,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -30325,14 +28820,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30408,14 +28896,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30491,14 +28972,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30567,105 +29041,91 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "PublicationStatusDescriptorId": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - } - - /// - /// Defines available properties and methods for the abstraction of the QuestionFormDescriptor model. - /// - public interface IQuestionFormDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int QuestionFormDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class QuestionFormDescriptorMappingContract : IMappingContract - { - public QuestionFormDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "QuestionFormDescriptorId": + case "PublicationStatusDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - bool IMappingContract.IsItemCreatable(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + + } + + /// + /// Defines available properties and methods for the abstraction of the QuestionFormDescriptor model. + /// + public interface IQuestionFormDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int QuestionFormDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class QuestionFormDescriptorMappingContract : IMappingContract + { + public QuestionFormDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "QuestionFormDescriptorId": + return true; default: throw new Exception($"Unknown member '{memberName}'."); } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + } /// @@ -30740,14 +29200,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30823,14 +29276,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30906,14 +29352,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30989,14 +29428,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31072,14 +29504,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31155,14 +29580,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31342,7 +29760,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ReportCardStudentLearningObjectives": return IsReportCardStudentLearningObjectivesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -31430,14 +29848,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -31510,14 +29921,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -31587,14 +29991,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -31660,14 +30057,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -31749,14 +30139,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31832,14 +30215,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31915,14 +30291,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31998,14 +30367,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32081,14 +30443,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32202,7 +30557,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "RestraintEventReasons": return IsRestraintEventReasonsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -32274,14 +30629,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -32336,7 +30684,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -32418,14 +30766,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32501,14 +30842,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32584,14 +30918,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32836,7 +31163,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SchoolGradeLevels": return IsSchoolGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -32893,7 +31220,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -32975,14 +31302,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33058,14 +31378,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33141,14 +31454,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33197,7 +31503,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -33279,14 +31585,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33346,14 +31645,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -33590,7 +31882,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SectionPrograms": return IsSectionProgramsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -33703,14 +31995,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -33765,7 +32050,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -33847,14 +32132,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33910,14 +32188,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -33972,7 +32243,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34027,7 +32298,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34097,14 +32368,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34186,14 +32450,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -34269,14 +32526,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -34352,14 +32602,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -34484,7 +32727,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SessionGradingPeriods": return IsSessionGradingPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -34548,14 +32791,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34621,14 +32857,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34710,14 +32939,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -34794,7 +33016,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SourceDimensionReportingTags": return IsSourceDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -34851,7 +33073,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34933,14 +33155,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -35016,14 +33231,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -35099,14 +33307,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -35487,7 +33688,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffVisas": return IsStaffVisasItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -35570,14 +33771,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -35721,7 +33915,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffAddressPeriods": return IsStaffAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -35784,14 +33978,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -35846,7 +34033,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -35928,14 +34115,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -36021,14 +34201,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36094,14 +34267,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36196,7 +34362,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes": return IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -36253,7 +34419,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36401,14 +34567,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36527,7 +34686,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffEducationOrganizationContactAssociationTelephones": return IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -36683,7 +34842,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffEducationOrganizationContactAssociationAddressPeriods": return IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -36746,14 +34905,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36830,14 +34982,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36978,14 +35123,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37056,14 +35194,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37130,14 +35261,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37226,14 +35350,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37315,14 +35432,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -37425,14 +35535,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37506,7 +35609,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffLanguageUses": return IsStaffLanguageUsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -37563,7 +35666,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37650,14 +35753,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37739,14 +35835,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -37825,14 +35914,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37921,14 +36003,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38024,14 +36099,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38086,7 +36154,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38213,14 +36281,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38353,7 +36414,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffSchoolAssociationGradeLevels": return IsStaffSchoolAssociationGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -38410,7 +36471,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38465,7 +36526,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38589,14 +36650,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38673,14 +36727,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38735,7 +36782,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38790,7 +36837,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38872,14 +36919,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -39058,7 +37098,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StateEducationAgencyFederalFunds": return IsStateEducationAgencyFederalFundsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -39127,14 +37167,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39195,14 +37228,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39429,7 +37455,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentVisas": return IsStudentVisasItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -39712,7 +37738,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentAcademicRecordReportCards": return IsStudentAcademicRecordReportCardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -39839,14 +37865,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39921,14 +37940,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40065,14 +38077,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40145,14 +38150,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40279,14 +38277,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40360,14 +38351,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40636,7 +38620,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentAssessmentStudentObjectiveAssessments": return IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -40693,7 +38677,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40793,14 +38777,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40904,14 +38881,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40976,14 +38946,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41052,14 +39015,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41126,14 +39082,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41246,7 +39195,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentAssessmentStudentObjectiveAssessmentScoreResults": return IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -41313,14 +39262,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41387,14 +39329,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41476,14 +39411,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -41582,7 +39510,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentCohortAssociationSections": return IsStudentCohortAssociationSectionsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -41662,14 +39590,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41817,7 +39738,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentCompetencyObjectiveStudentSectionAssociations": return IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -41897,14 +39818,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41986,14 +39900,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42173,7 +40080,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentCTEProgramAssociationServices": return IsStudentCTEProgramAssociationServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -42248,14 +40155,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42334,14 +40234,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42414,14 +40307,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42522,7 +40408,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentDisciplineIncidentAssociationBehaviors": return IsStudentDisciplineIncidentAssociationBehaviorsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -42585,14 +40471,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42697,7 +40576,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes": return IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -42754,7 +40633,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42849,7 +40728,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes": return IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -42906,7 +40785,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43257,7 +41136,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationTribalAffiliations": return IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -43403,7 +41282,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationAddressPeriods": return IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -43466,14 +41345,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43528,7 +41400,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43599,14 +41471,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43698,7 +41563,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationDisabilityDesignations": return IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -43755,7 +41620,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43826,14 +41691,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43942,14 +41800,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44023,7 +41874,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationLanguageUses": return IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -44080,7 +41931,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44172,7 +42023,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationProgramParticipationProgramCharacteristics": return IsStudentEducationOrganizationAssociationProgramParticipationProgramCharacteristicsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -44229,7 +42080,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44284,7 +42135,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44364,7 +42215,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationStudentCharacteristicPeriods": return IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -44427,14 +42278,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44499,14 +42343,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44598,7 +42435,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationStudentIndicatorPeriods": return IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -44661,14 +42498,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44745,14 +42575,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44807,7 +42630,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44893,14 +42716,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45030,14 +42846,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45189,7 +42998,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentHomelessProgramAssociationHomelessProgramServices": return IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -45264,14 +43073,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45360,14 +43162,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45449,14 +43244,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -45576,7 +43364,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentInterventionAssociationInterventionEffectivenesses": return IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -45653,14 +43441,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45768,14 +43549,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45935,7 +43709,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices": return IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -46022,14 +43796,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46102,14 +43869,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46253,7 +44013,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentLearningObjectiveStudentSectionAssociations": return IsStudentLearningObjectiveStudentSectionAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -46333,14 +44093,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46422,14 +44175,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46617,7 +44363,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentMigrantEducationProgramAssociationMigrantEducationProgramServices": return IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -46692,14 +44438,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46851,7 +44590,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices": return IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -46926,14 +44665,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47018,14 +44750,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47139,14 +44864,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47228,14 +44946,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -47318,14 +45029,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47459,7 +45163,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentProgramAssociationServices": return IsStudentProgramAssociationServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -47534,14 +45238,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47664,14 +45361,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47913,7 +45603,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSchoolAssociationEducationPlans": return IsStudentSchoolAssociationEducationPlansItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -47985,14 +45675,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48047,7 +45730,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48177,14 +45860,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48324,7 +46000,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices": return IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -48399,14 +46075,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48528,14 +46197,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48686,7 +46348,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSectionAttendanceEventClassPeriods": return IsStudentSectionAttendanceEventClassPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -48750,14 +46412,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48979,7 +46634,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSpecialEducationProgramAssociationSpecialEducationProgramServices": return IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -49073,7 +46728,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSpecialEducationProgramAssociationDisabilityDesignations": return IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -49130,7 +46785,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49198,14 +46853,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49297,7 +46945,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders": return IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -49367,14 +47015,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49528,7 +47169,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentTitleIPartAProgramAssociationTitleIPartAProgramServices": return IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -49603,14 +47244,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49683,14 +47317,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49745,7 +47372,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49827,14 +47454,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -49948,14 +47568,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50037,14 +47650,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -50118,14 +47724,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50207,14 +47806,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -50292,14 +47884,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50426,7 +48011,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SurveyQuestionResponseChoices": return IsSurveyQuestionResponseChoicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -50495,14 +48080,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50627,7 +48205,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SurveyQuestionResponseValues": return IsSurveyQuestionResponseValuesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -50696,14 +48274,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50788,14 +48359,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50862,14 +48426,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51026,7 +48583,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SurveyResponseSurveyLevels": return IsSurveyResponseSurveyLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -51108,14 +48665,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51195,14 +48745,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51257,7 +48800,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51326,14 +48869,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51425,14 +48961,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51518,14 +49047,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51609,14 +49131,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51700,14 +49215,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51789,14 +49297,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -51872,14 +49373,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -51955,14 +49449,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52038,14 +49525,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52121,14 +49601,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52204,14 +49677,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52287,14 +49753,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52370,14 +49829,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52453,14 +49905,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52536,14 +49981,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52619,14 +50057,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } 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 37492befb9..a1c385bd22 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 @@ -98,7 +98,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ContactStudentSchoolAssociations": return IsContactStudentSchoolAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -147,7 +147,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -209,14 +209,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -266,7 +259,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -342,7 +335,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SchoolAddress": return IsSchoolAddressCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -393,14 +386,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -446,7 +432,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -536,7 +522,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffStudentSchoolAssociations": return IsStaffStudentSchoolAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -585,7 +571,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -647,14 +633,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -741,7 +720,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentAddress": return IsStudentAddressCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -790,7 +769,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -858,14 +837,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{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 2df6c2245f..ca3b39d9ab 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 @@ -85,14 +85,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -138,7 +131,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -354,7 +347,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "BusRouteTelephones": return IsBusRouteTelephonesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -403,7 +396,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -465,14 +458,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -519,7 +505,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -566,7 +552,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -635,14 +621,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -730,7 +709,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ContactAddressTerms": return IsContactAddressTermsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -779,7 +758,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -826,7 +805,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -873,7 +852,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -920,7 +899,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -987,14 +966,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1048,14 +1020,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1263,7 +1228,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ContactStudentProgramAssociations": return IsContactStudentProgramAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1312,7 +1277,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1385,14 +1350,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1453,14 +1411,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1536,14 +1487,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1619,14 +1563,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1693,14 +1630,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1754,14 +1684,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1841,7 +1764,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SchoolDirectlyOwnedBuses": return IsSchoolDirectlyOwnedBusesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1923,7 +1846,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffPets": return IsStaffPetsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1978,14 +1901,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2040,14 +1956,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2104,14 +2013,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2335,7 +2237,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentArtProgramAssociationStyles": return IsStudentArtProgramAssociationStylesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2384,7 +2286,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2431,7 +2333,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2496,14 +2398,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2550,7 +2445,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2597,7 +2492,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2812,7 +2707,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentContactAssociationStaffEducationOrganizationEmploymentAssociations": return IsStudentContactAssociationStaffEducationOrganizationEmploymentAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2861,7 +2756,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2908,7 +2803,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2955,7 +2850,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3021,14 +2916,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3101,14 +2989,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3163,14 +3044,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3258,7 +3132,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationAddressTerms": return IsStudentEducationOrganizationAssociationAddressTermsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3307,7 +3181,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3354,7 +3228,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3416,14 +3290,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3485,7 +3352,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationStudentCharacteristicStudentNeeds": return IsStudentEducationOrganizationAssociationStudentCharacteristicStudentNeedsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3546,14 +3413,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3655,7 +3515,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentPets": return IsStudentPetsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3729,7 +3589,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentFavoriteBookArtMedia": return IsStudentFavoriteBookArtMediaItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3784,14 +3644,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4039,7 +3892,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentGraduationPlanAssociationYearsAttendeds": return IsStudentGraduationPlanAssociationYearsAttendedsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4088,7 +3941,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4135,7 +3988,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4202,14 +4055,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4256,7 +4102,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4303,7 +4149,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4350,7 +4196,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4404,14 +4250,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4458,7 +4297,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4511,14 +4350,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4573,14 +4405,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4629,14 +4454,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4698,7 +4516,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSectionAssociationRelatedGeneralStudentProgramAssociations": return IsStudentSectionAssociationRelatedGeneralStudentProgramAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4770,14 +4588,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.SampleStudentTranscript.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.SampleStudentTranscript.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index 2a9b84fb89..834ac23498 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.SampleStudentTranscript.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.SampleStudentTranscript.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -85,14 +85,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -168,14 +161,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -239,14 +225,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -322,14 +301,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -378,14 +350,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -447,14 +412,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -530,14 +488,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.SampleStudentTransportation.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.SampleStudentTransportation.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs index b360d3390e..6e1b1b3cf1 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen.Tests/Approval/5.0.0/DataStandard_500_ApprovalTests.Verify.Extensions.SampleStudentTransportation.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.SampleStudentTransportation.1.0.0_Std_5.0.0_Models_Interfaces_EntityInterfaces.generated.approved.cs @@ -85,14 +85,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } 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 4ea1b6df3c..409d78284e 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 @@ -85,14 +85,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -168,14 +161,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -501,7 +487,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateTelephones": return IsCandidateTelephonesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -639,7 +625,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateAddressPeriods": return IsCandidateAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -694,14 +680,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -785,7 +764,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateDisabilityDesignations": return IsCandidateDisabilityDesignationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -834,7 +813,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -961,7 +940,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateEducatorPreparationProgramAssociationDegreeSpecializations": return IsCandidateEducatorPreparationProgramAssociationDegreeSpecializationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1026,14 +1005,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1092,14 +1064,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1162,14 +1127,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1235,7 +1193,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CandidateLanguageUses": return IsCandidateLanguageUsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1284,7 +1242,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1361,14 +1319,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1449,14 +1400,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1503,7 +1447,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1572,14 +1516,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1655,14 +1592,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1738,14 +1668,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1862,7 +1785,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CredentialStudentAcademicRecords": return IsCredentialStudentAcademicRecordsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1940,14 +1863,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2013,14 +1929,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2112,7 +2021,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducatorPreparationProgramGradeLevels": return IsEducatorPreparationProgramGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2161,7 +2070,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2237,14 +2146,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2320,14 +2222,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2403,14 +2298,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2536,7 +2424,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationRatingLevels": return IsEvaluationRatingLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2666,7 +2554,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationElementRatingLevels": return IsEvaluationElementRatingLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2821,7 +2709,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationElementRatingResults": return IsEvaluationElementRatingResultsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2882,14 +2770,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2965,14 +2846,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3029,14 +2903,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3166,7 +3033,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationObjectiveRatingLevels": return IsEvaluationObjectiveRatingLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3299,7 +3166,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationObjectiveRatingResults": return IsEvaluationObjectiveRatingResultsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3360,14 +3227,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3424,14 +3284,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3507,14 +3360,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3686,7 +3532,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationRatingReviewers": return IsEvaluationRatingReviewersItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3747,14 +3593,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3830,14 +3669,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3894,14 +3726,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3988,7 +3813,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EvaluationRatingReviewerReceivedTraining": return IsEvaluationRatingReviewerReceivedTrainingCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4045,14 +3870,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4128,14 +3946,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4211,14 +4022,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4303,14 +4107,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4386,14 +4183,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4469,14 +4259,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4600,7 +4383,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "PerformanceEvaluationRatingLevels": return IsPerformanceEvaluationRatingLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4649,7 +4432,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4818,7 +4601,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "PerformanceEvaluationRatingReviewers": return IsPerformanceEvaluationRatingReviewersItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4879,14 +4662,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4962,14 +4738,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5026,14 +4795,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5120,7 +4882,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "PerformanceEvaluationRatingReviewerReceivedTraining": return IsPerformanceEvaluationRatingReviewerReceivedTrainingCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -5177,14 +4939,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5260,14 +5015,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5374,14 +5122,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5457,14 +5198,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5519,14 +5253,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5588,14 +5315,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5671,14 +5391,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5758,14 +5471,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } 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 de633a1df7..0027a7c5e5 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 @@ -84,14 +84,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -167,14 +160,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -250,14 +236,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -333,14 +312,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -422,14 +394,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -522,14 +487,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -611,14 +569,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -694,14 +645,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -777,14 +721,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -860,14 +797,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -943,14 +873,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1026,14 +949,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1109,14 +1025,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1392,7 +1301,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "AssessmentSections": return IsAssessmentSectionsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1449,7 +1358,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -1504,7 +1413,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -1586,14 +1495,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -1718,7 +1620,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "AssessmentContentStandardAuthors": return IsAssessmentContentStandardAuthorsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -1775,7 +1677,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -1842,14 +1744,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -1931,14 +1826,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2070,7 +1958,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "AssessmentItemPossibleResponses": return IsAssessmentItemPossibleResponsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -2154,14 +2042,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2217,14 +2098,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2291,14 +2165,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2380,14 +2247,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2436,7 +2296,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2519,14 +2379,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2593,14 +2446,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2682,14 +2528,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2738,7 +2577,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2808,14 +2647,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -2897,14 +2729,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -2971,14 +2796,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -3097,7 +2915,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "AssessmentScoreRangeLearningStandardLearningStandards": return IsAssessmentScoreRangeLearningStandardLearningStandardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3161,14 +2979,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -3246,14 +3057,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -3335,14 +3139,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3418,14 +3215,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3501,14 +3291,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3585,7 +3368,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "BalanceSheetDimensionReportingTags": return IsBalanceSheetDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -3642,7 +3425,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -3724,14 +3507,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3807,14 +3583,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -3943,7 +3712,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "BellScheduleGradeLevels": return IsBellScheduleGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4007,14 +3776,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4069,7 +3831,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4124,7 +3886,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4223,7 +3985,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CalendarGradeLevels": return IsCalendarGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4317,7 +4079,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CalendarDateCalendarEvents": return IsCalendarDateCalendarEventsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -4374,7 +4136,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4456,14 +4218,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4512,7 +4267,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -4594,14 +4349,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4677,14 +4425,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4760,14 +4501,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -4843,14 +4577,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5048,7 +4775,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ChartOfAccountReportingTags": return IsChartOfAccountReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -5111,14 +4838,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -5200,14 +4920,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5290,7 +5003,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ClassPeriodMeetingTimes": return IsClassPeriodMeetingTimesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -5351,7 +5064,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -5433,14 +5146,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5542,7 +5248,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CohortPrograms": return IsCohortProgramsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -5614,14 +5320,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -5703,14 +5402,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5786,14 +5478,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -5869,14 +5554,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -6027,7 +5705,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -6228,7 +5906,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -6346,14 +6024,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -6435,14 +6106,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -6523,14 +6187,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -6781,7 +6438,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ContactTelephones": return IsContactTelephonesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -6927,7 +6584,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ContactAddressPeriods": return IsContactAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -6990,14 +6647,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7068,14 +6718,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7184,14 +6827,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7265,7 +6901,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ContactLanguageUses": return IsContactLanguageUsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -7322,7 +6958,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7407,14 +7043,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7503,14 +7132,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7587,14 +7209,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -7676,14 +7291,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -7759,14 +7367,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -7842,14 +7443,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -7925,14 +7519,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -8008,14 +7595,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -8259,7 +7839,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CourseOfferedGradeLevels": return IsCourseOfferedGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -8316,7 +7896,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8398,14 +7978,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -8454,7 +8027,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8536,14 +8109,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -8619,14 +8185,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -8693,14 +8252,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8782,14 +8334,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -8845,14 +8390,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8907,7 +8445,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -8989,14 +8527,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -9045,7 +8576,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9202,7 +8733,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CourseOfferingOfferedGradeLevels": return IsCourseOfferingOfferedGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -9259,7 +8790,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9314,7 +8845,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9369,7 +8900,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9451,14 +8982,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -9769,7 +9293,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CourseTranscriptSections": return IsCourseTranscriptSectionsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -9826,7 +9350,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9899,14 +9423,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -9972,14 +9489,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10034,7 +9544,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10095,14 +9605,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10181,14 +9684,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10262,14 +9758,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10422,7 +9911,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "CredentialGradeLevels": return IsCredentialGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -10479,7 +9968,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10534,7 +10023,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10616,14 +10105,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10672,7 +10154,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -10754,14 +10236,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -10837,25 +10312,94 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + + } + + /// + /// Defines available properties and methods for the abstraction of the CreditTypeDescriptor model. + /// + public interface ICreditTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int CreditTypeDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class CreditTypeDescriptorMappingContract : IMappingContract + { + public CreditTypeDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "CreditTypeDescriptorId": + return true; default: throw new Exception($"Unknown member '{memberName}'."); } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + } /// - /// Defines available properties and methods for the abstraction of the CreditTypeDescriptor model. + /// Defines available properties and methods for the abstraction of the CTEProgramServiceDescriptor model. /// - public interface ICreditTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + public interface ICTEProgramServiceDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample { // Primary Key properties [AutoIncrement] - int CreditTypeDescriptorId { get; set; } + int CTEProgramServiceDescriptorId { get; set; } // Non-PK properties @@ -10870,9 +10414,9 @@ public interface ICreditTypeDescriptor : EdFi.IDescriptor, ISynchronizable, IMap /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized /// between entities/resources during API request processing. /// - public class CreditTypeDescriptorMappingContract : IMappingContract + public class CTEProgramServiceDescriptorMappingContract : IMappingContract { - public CreditTypeDescriptorMappingContract( + public CTEProgramServiceDescriptorMappingContract( bool isCodeValueSupported, bool isDescriptionSupported, bool isEffectiveBeginDateSupported, @@ -10913,32 +10457,101 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "CreditTypeDescriptorId": + case "CTEProgramServiceDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - bool IMappingContract.IsItemCreatable(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + + } + + /// + /// Defines available properties and methods for the abstraction of the CurriculumUsedDescriptor model. + /// + public interface ICurriculumUsedDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int CurriculumUsedDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class CurriculumUsedDescriptorMappingContract : IMappingContract + { + public CurriculumUsedDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "CurriculumUsedDescriptorId": + return true; default: throw new Exception($"Unknown member '{memberName}'."); } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + } /// - /// Defines available properties and methods for the abstraction of the CTEProgramServiceDescriptor model. + /// Defines available properties and methods for the abstraction of the DeliveryMethodDescriptor model. /// - public interface ICTEProgramServiceDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + public interface IDeliveryMethodDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample { // Primary Key properties [AutoIncrement] - int CTEProgramServiceDescriptorId { get; set; } + int DeliveryMethodDescriptorId { get; set; } // Non-PK properties @@ -10953,175 +10566,9 @@ public interface ICTEProgramServiceDescriptor : EdFi.IDescriptor, ISynchronizabl /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized /// between entities/resources during API request processing. /// - public class CTEProgramServiceDescriptorMappingContract : IMappingContract + public class DeliveryMethodDescriptorMappingContract : IMappingContract { - public CTEProgramServiceDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "CTEProgramServiceDescriptorId": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - } - - /// - /// Defines available properties and methods for the abstraction of the CurriculumUsedDescriptor model. - /// - public interface ICurriculumUsedDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int CurriculumUsedDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class CurriculumUsedDescriptorMappingContract : IMappingContract - { - public CurriculumUsedDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "CurriculumUsedDescriptorId": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - } - - /// - /// Defines available properties and methods for the abstraction of the DeliveryMethodDescriptor model. - /// - public interface IDeliveryMethodDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int DeliveryMethodDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class DeliveryMethodDescriptorMappingContract : IMappingContract - { - public DeliveryMethodDescriptorMappingContract( + public DeliveryMethodDescriptorMappingContract( bool isCodeValueSupported, bool isDescriptionSupported, bool isEffectiveBeginDateSupported, @@ -11169,14 +10616,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11258,14 +10698,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11344,7 +10777,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "DescriptorMappingModelEntities": return IsDescriptorMappingModelEntitiesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -11401,7 +10834,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -11483,14 +10916,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11566,14 +10992,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11649,14 +11068,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11732,14 +11144,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11815,14 +11220,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -11898,14 +11296,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -12069,7 +11460,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "DisciplineActionStudentDisciplineIncidentBehaviorAssociations": return IsDisciplineActionStudentDisciplineIncidentBehaviorAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -12126,7 +11517,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12208,14 +11599,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -12271,14 +11655,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12348,14 +11725,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12437,14 +11807,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -12603,7 +11966,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "DisciplineIncidentWeapons": return IsDisciplineIncidentWeaponsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -12666,14 +12029,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12736,7 +12092,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12818,14 +12174,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -12874,7 +12223,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -12956,14 +12305,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -13217,7 +12559,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationContentLanguages": return IsEducationContentLanguagesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -13274,7 +12616,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13329,7 +12671,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13384,7 +12726,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13446,14 +12788,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13508,7 +12843,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13563,7 +12898,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13618,7 +12953,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -13783,7 +13118,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -13923,7 +13258,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationAddressPeriods": return IsEducationOrganizationAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -13986,14 +13321,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14075,14 +13403,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14131,7 +13452,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14213,14 +13534,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14275,14 +13589,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14364,14 +13671,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -14463,7 +13763,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationIndicatorPeriods": return IsEducationOrganizationIndicatorPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -14526,14 +13826,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14594,14 +13887,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14710,14 +13996,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14805,14 +14084,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -14975,7 +14247,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -15060,14 +14332,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -15139,14 +14404,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -15228,14 +14486,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -15398,7 +14649,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -15482,14 +14733,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -15565,14 +14809,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -15648,14 +14885,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -15731,14 +14961,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -15814,14 +15037,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -15897,14 +15113,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -15980,14 +15189,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16063,14 +15265,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16171,14 +15366,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -16260,14 +15448,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16343,14 +15524,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16430,14 +15604,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -16519,14 +15686,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -16603,7 +15763,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "FunctionDimensionReportingTags": return IsFunctionDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -16660,7 +15820,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -16743,7 +15903,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "FundDimensionReportingTags": return IsFundDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -16800,7 +15960,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -16930,7 +16090,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GeneralStudentProgramAssociationProgramParticipationStatuses": return IsGeneralStudentProgramAssociationProgramParticipationStatusesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -16997,14 +16157,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -17173,7 +16326,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GradeLearningStandardGrades": return IsGradeLearningStandardGradesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -17356,7 +16509,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GradebookEntryLearningStandards": return IsGradebookEntryLearningStandardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -17420,14 +16573,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -17509,14 +16655,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17596,14 +16735,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -17685,14 +16817,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17768,14 +16893,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17851,14 +16969,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -17954,14 +17065,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -18043,14 +17147,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18204,7 +17301,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GraduationPlanRequiredAssessments": return IsGraduationPlanRequiredAssessmentsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -18304,7 +17401,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GraduationPlanCreditsByCourseCourses": return IsGraduationPlanCreditsByCourseCoursesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -18372,14 +17469,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -18452,14 +17542,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -18532,14 +17615,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -18636,7 +17712,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "GraduationPlanRequiredAssessmentScores": return IsGraduationPlanRequiredAssessmentScoresItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -18725,14 +17801,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -18805,14 +17874,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -18894,14 +17956,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -18977,14 +18032,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19060,14 +18108,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19143,14 +18184,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19226,14 +18260,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19309,14 +18336,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19392,14 +18412,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19475,14 +18488,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19558,14 +18564,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19641,14 +18640,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19724,14 +18716,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19807,14 +18792,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19890,14 +18868,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -19973,14 +18944,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -20056,14 +19020,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -20309,7 +19266,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "InterventionURIs": return IsInterventionURIsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -20366,7 +19323,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20421,7 +19378,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20503,14 +19460,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -20559,7 +19509,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20621,14 +19571,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20710,14 +19653,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -20777,14 +19713,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20839,7 +19768,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20898,7 +19827,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -20953,7 +19882,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21151,7 +20080,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "InterventionPrescriptionURIs": return IsInterventionPrescriptionURIsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -21208,7 +20137,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21263,7 +20192,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21318,7 +20247,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21380,14 +20309,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21442,7 +20364,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21497,7 +20419,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21552,7 +20474,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21614,14 +20536,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21840,7 +20755,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "InterventionStudyURIs": return IsInterventionStudyURIsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -21897,7 +20812,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -21952,7 +20867,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22014,14 +20929,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22096,14 +21004,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22158,7 +21059,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22213,7 +21114,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22268,7 +21169,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22323,7 +21224,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22378,7 +21279,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22460,14 +21361,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22543,14 +21437,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22626,14 +21513,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -22801,7 +21681,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LearningStandardIdentificationCodes": return IsLearningStandardIdentificationCodesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -22858,7 +21738,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -22940,14 +21820,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -23072,7 +21945,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LearningStandardContentStandardAuthors": return IsLearningStandardContentStandardAuthorsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -23129,7 +22002,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23223,14 +22096,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23312,14 +22178,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -23368,7 +22227,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23427,7 +22286,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -23509,14 +22368,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -23585,105 +22437,91 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "LevelOfEducationDescriptorId": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - } - - /// - /// Defines available properties and methods for the abstraction of the LicenseStatusDescriptor model. - /// - public interface ILicenseStatusDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int LicenseStatusDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class LicenseStatusDescriptorMappingContract : IMappingContract - { - public LicenseStatusDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "LicenseStatusDescriptorId": + case "LevelOfEducationDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - bool IMappingContract.IsItemCreatable(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + + } + + /// + /// Defines available properties and methods for the abstraction of the LicenseStatusDescriptor model. + /// + public interface ILicenseStatusDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int LicenseStatusDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class LicenseStatusDescriptorMappingContract : IMappingContract + { + public LicenseStatusDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "LicenseStatusDescriptorId": + return true; default: throw new Exception($"Unknown member '{memberName}'."); } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + } /// @@ -23758,14 +22596,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -23841,14 +22672,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -23955,7 +22779,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LocalAccountReportingTags": return IsLocalAccountReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -24018,14 +22842,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24110,14 +22927,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24202,14 +23012,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24305,14 +23108,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24394,14 +23190,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24628,7 +23417,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "LocalEducationAgencyFederalFunds": return IsLocalEducationAgencyFederalFundsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -24703,14 +23492,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24792,14 +23574,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -24896,14 +23671,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -24988,14 +23756,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25091,14 +23852,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25174,14 +23928,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -25256,105 +24003,91 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "MagnetSpecialProgramEmphasisSchoolDescriptorId": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - } - - /// - /// Defines available properties and methods for the abstraction of the MediumOfInstructionDescriptor model. - /// - public interface IMediumOfInstructionDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int MediumOfInstructionDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class MediumOfInstructionDescriptorMappingContract : IMappingContract - { - public MediumOfInstructionDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "MediumOfInstructionDescriptorId": + case "MagnetSpecialProgramEmphasisSchoolDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - bool IMappingContract.IsItemCreatable(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + + } + + /// + /// Defines available properties and methods for the abstraction of the MediumOfInstructionDescriptor model. + /// + public interface IMediumOfInstructionDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int MediumOfInstructionDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class MediumOfInstructionDescriptorMappingContract : IMappingContract + { + public MediumOfInstructionDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "MediumOfInstructionDescriptorId": + return true; default: throw new Exception($"Unknown member '{memberName}'."); } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + } /// @@ -25429,14 +24162,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -25512,14 +24238,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -25595,14 +24314,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -25678,14 +24390,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -25761,14 +24466,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -25844,14 +24542,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -25927,14 +24618,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -26011,7 +24695,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ObjectDimensionReportingTags": return IsObjectDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -26068,7 +24752,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26241,7 +24925,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ObjectiveAssessmentScores": return IsObjectiveAssessmentScoresItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -26305,14 +24989,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26374,14 +25051,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26464,14 +25134,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26544,14 +25207,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26691,7 +25347,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "OpenStaffPositionInstructionalGradeLevels": return IsOpenStaffPositionInstructionalGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -26748,7 +25404,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26803,7 +25459,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -26885,14 +25541,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -26969,7 +25618,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "OperationalUnitDimensionReportingTags": return IsOperationalUnitDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -27026,7 +25675,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27202,7 +25851,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "EducationOrganizationInternationalAddresses": return IsEducationOrganizationInternationalAddressesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -27286,14 +25935,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27369,14 +26011,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27452,14 +26087,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27535,14 +26163,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27618,14 +26239,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27677,7 +26291,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -27759,14 +26373,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27842,14 +26449,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -27925,14 +26525,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28008,14 +26601,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28090,14 +26676,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -28179,14 +26758,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28363,7 +26935,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "PostSecondaryInstitutionMediumOfInstructions": return IsPostSecondaryInstitutionMediumOfInstructionsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -28447,14 +27019,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28503,7 +27068,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -28585,14 +27150,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28668,14 +27226,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28751,14 +27302,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28834,14 +27378,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -28957,7 +27494,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProgramSponsors": return IsProgramSponsorsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -29041,14 +27578,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -29097,7 +27627,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29179,14 +27709,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -29263,7 +27786,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProgramDimensionReportingTags": return IsProgramDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -29320,7 +27843,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29438,7 +27961,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProgramEvaluationLevels": return IsProgramEvaluationLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -29581,7 +28104,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProgramEvaluationElementProgramEvaluationLevels": return IsProgramEvaluationElementProgramEvaluationLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -29650,14 +28173,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29724,14 +28240,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -29859,7 +28368,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProgramEvaluationObjectiveProgramEvaluationLevels": return IsProgramEvaluationObjectiveProgramEvaluationLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -29928,14 +28437,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -30017,14 +28519,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30100,14 +28595,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30163,14 +28651,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -30225,7 +28706,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -30307,14 +28788,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30390,14 +28864,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30473,14 +28940,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30556,14 +29016,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30640,7 +29093,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ProjectDimensionReportingTags": return IsProjectDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -30697,7 +29150,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -30779,14 +29232,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30862,14 +29308,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -30945,14 +29384,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31028,14 +29460,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31104,105 +29529,91 @@ bool IMappingContract.IsMemberSupported(string memberName) case "ShortDescription": return IsShortDescriptionSupported; // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "QuestionFormDescriptorId": - return true; - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } - - } - - /// - /// Defines available properties and methods for the abstraction of the RaceDescriptor model. - /// - public interface IRaceDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample - { - // Primary Key properties - [AutoIncrement] - int RaceDescriptorId { get; set; } - - // Non-PK properties - - // One-to-one relationships - - // Lists - - // Resource reference data - } - - /// - /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized - /// between entities/resources during API request processing. - /// - public class RaceDescriptorMappingContract : IMappingContract - { - public RaceDescriptorMappingContract( - bool isCodeValueSupported, - bool isDescriptionSupported, - bool isEffectiveBeginDateSupported, - bool isEffectiveEndDateSupported, - bool isNamespaceSupported, - bool isShortDescriptionSupported - ) - { - IsCodeValueSupported = isCodeValueSupported; - IsDescriptionSupported = isDescriptionSupported; - IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; - IsEffectiveEndDateSupported = isEffectiveEndDateSupported; - IsNamespaceSupported = isNamespaceSupported; - IsShortDescriptionSupported = isShortDescriptionSupported; - } - - public bool IsCodeValueSupported { get; } - public bool IsDescriptionSupported { get; } - public bool IsEffectiveBeginDateSupported { get; } - public bool IsEffectiveEndDateSupported { get; } - public bool IsNamespaceSupported { get; } - public bool IsShortDescriptionSupported { get; } - - bool IMappingContract.IsMemberSupported(string memberName) - { - switch (memberName) - { - case "CodeValue": - return IsCodeValueSupported; - case "Description": - return IsDescriptionSupported; - case "EffectiveBeginDate": - return IsEffectiveBeginDateSupported; - case "EffectiveEndDate": - return IsEffectiveEndDateSupported; - case "Namespace": - return IsNamespaceSupported; - case "ShortDescription": - return IsShortDescriptionSupported; - // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation - case "RaceDescriptorId": + case "QuestionFormDescriptorId": return true; default: throw new Exception($"Unknown member '{memberName}'."); } } - bool IMappingContract.IsItemCreatable(string memberName) + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + + } + + /// + /// Defines available properties and methods for the abstraction of the RaceDescriptor model. + /// + public interface IRaceDescriptor : EdFi.IDescriptor, ISynchronizable, IMappable, IHasIdentifier, IGetByExample + { + // Primary Key properties + [AutoIncrement] + int RaceDescriptorId { get; set; } + + // Non-PK properties + + // One-to-one relationships + + // Lists + + // Resource reference data + } + + /// + /// Defines a mapping contract appropriate for a particular context when data is either being mapped or synchronized + /// between entities/resources during API request processing. + /// + public class RaceDescriptorMappingContract : IMappingContract + { + public RaceDescriptorMappingContract( + bool isCodeValueSupported, + bool isDescriptionSupported, + bool isEffectiveBeginDateSupported, + bool isEffectiveEndDateSupported, + bool isNamespaceSupported, + bool isShortDescriptionSupported + ) + { + IsCodeValueSupported = isCodeValueSupported; + IsDescriptionSupported = isDescriptionSupported; + IsEffectiveBeginDateSupported = isEffectiveBeginDateSupported; + IsEffectiveEndDateSupported = isEffectiveEndDateSupported; + IsNamespaceSupported = isNamespaceSupported; + IsShortDescriptionSupported = isShortDescriptionSupported; + } + + public bool IsCodeValueSupported { get; } + public bool IsDescriptionSupported { get; } + public bool IsEffectiveBeginDateSupported { get; } + public bool IsEffectiveEndDateSupported { get; } + public bool IsNamespaceSupported { get; } + public bool IsShortDescriptionSupported { get; } + + bool IMappingContract.IsMemberSupported(string memberName) { switch (memberName) { + case "CodeValue": + return IsCodeValueSupported; + case "Description": + return IsDescriptionSupported; + case "EffectiveBeginDate": + return IsEffectiveBeginDateSupported; + case "EffectiveEndDate": + return IsEffectiveEndDateSupported; + case "Namespace": + return IsNamespaceSupported; + case "ShortDescription": + return IsShortDescriptionSupported; + // Additional inspection support for identifying properties (which are implicitly supported by Profiles) for use during validation + case "RaceDescriptorId": + return true; default: throw new Exception($"Unknown member '{memberName}'."); } } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); + } /// @@ -31277,14 +29688,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31360,14 +29764,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31443,14 +29840,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31526,14 +29916,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31609,14 +29992,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31692,14 +30068,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -31853,7 +30222,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "ReportCardStudentCompetencyObjectives": return IsReportCardStudentCompetencyObjectivesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -31941,14 +30310,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -32021,14 +30383,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -32098,14 +30453,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -32187,14 +30535,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32270,14 +30611,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32353,14 +30687,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32436,14 +30763,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32519,14 +30839,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32640,7 +30953,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "RestraintEventReasons": return IsRestraintEventReasonsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -32712,14 +31025,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -32774,7 +31080,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -32856,14 +31162,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -32939,14 +31238,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33022,14 +31314,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33274,7 +31559,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SchoolGradeLevels": return IsSchoolGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -33331,7 +31616,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -33413,14 +31698,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33496,14 +31774,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33579,14 +31850,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33662,14 +31926,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33718,7 +31975,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -33800,14 +32057,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -33867,14 +32117,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34117,7 +32360,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SectionPrograms": return IsSectionProgramsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -34230,14 +32473,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34292,7 +32528,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34374,14 +32610,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -34437,14 +32666,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34499,7 +32721,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34554,7 +32776,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34624,14 +32846,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -34713,14 +32928,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -34796,14 +33004,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -34879,14 +33080,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -34962,14 +33156,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -35094,7 +33281,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SessionGradingPeriods": return IsSessionGradingPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -35158,14 +33345,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -35231,14 +33411,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -35320,14 +33493,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -35404,7 +33570,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SourceDimensionReportingTags": return IsSourceDimensionReportingTagsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -35461,7 +33627,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -35543,14 +33709,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -35626,14 +33785,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -35709,14 +33861,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -35792,14 +33937,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -36192,7 +34330,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffVisas": return IsStaffVisasItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -36275,14 +34413,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36426,7 +34557,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffAddressPeriods": return IsStaffAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -36489,14 +34620,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36551,7 +34675,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36633,14 +34757,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -36726,14 +34843,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36799,14 +34909,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -36901,7 +35004,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodes": return IsStaffDisciplineIncidentAssociationDisciplineIncidentParticipationCodesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -36958,7 +35061,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37106,14 +35209,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37232,7 +35328,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffEducationOrganizationContactAssociationTelephones": return IsStaffEducationOrganizationContactAssociationTelephonesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -37388,7 +35484,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffEducationOrganizationContactAssociationAddressPeriods": return IsStaffEducationOrganizationContactAssociationAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -37451,14 +35547,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37535,14 +35624,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37689,14 +35771,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37767,14 +35842,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37841,14 +35909,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -37937,14 +35998,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38026,14 +36080,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -38136,14 +36183,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38217,7 +36257,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffLanguageUses": return IsStaffLanguageUsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -38274,7 +36314,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38361,14 +36401,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38450,14 +36483,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -38536,14 +36562,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38632,14 +36651,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38735,14 +36747,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38797,7 +36802,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -38924,14 +36929,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39064,7 +37062,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StaffSchoolAssociationGradeLevels": return IsStaffSchoolAssociationGradeLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -39121,7 +37119,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39176,7 +37174,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39298,14 +37296,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39382,14 +37373,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39444,7 +37428,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39499,7 +37483,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39581,14 +37565,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -39767,7 +37744,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StateEducationAgencyFederalFunds": return IsStateEducationAgencyFederalFundsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -39836,14 +37813,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -39904,14 +37874,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40150,7 +38113,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentVisas": return IsStudentVisasItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -40403,7 +38366,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentAcademicRecordReportCards": return IsStudentAcademicRecordReportCardsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -40530,14 +38493,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40612,14 +38568,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40756,14 +38705,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40836,14 +38778,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -40970,14 +38905,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41051,14 +38979,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41327,7 +39248,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentAssessmentStudentObjectiveAssessments": return IsStudentAssessmentStudentObjectiveAssessmentsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -41384,7 +39305,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41484,14 +39405,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41595,14 +39509,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41667,14 +39574,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41743,14 +39643,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41817,14 +39710,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -41937,7 +39823,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentAssessmentStudentObjectiveAssessmentScoreResults": return IsStudentAssessmentStudentObjectiveAssessmentScoreResultsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -42004,14 +39890,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42078,14 +39957,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42167,14 +40039,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -42273,7 +40138,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentCohortAssociationSections": return IsStudentCohortAssociationSectionsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -42353,14 +40218,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42508,7 +40366,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentCompetencyObjectiveStudentSectionAssociations": return IsStudentCompetencyObjectiveStudentSectionAssociationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -42588,14 +40446,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42677,14 +40528,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42798,14 +40642,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -42947,7 +40784,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentCTEProgramAssociationCTEProgramServices": return IsStudentCTEProgramAssociationCTEProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -43028,14 +40865,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43140,7 +40970,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodes": return IsStudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCodesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -43197,7 +41027,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43292,7 +41122,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodes": return IsStudentDisciplineIncidentNonOffenderAssociationDisciplineIncidentParticipationCodesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -43349,7 +41179,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43692,7 +41522,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationTribalAffiliations": return IsStudentEducationOrganizationAssociationTribalAffiliationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -43838,7 +41668,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationAddressPeriods": return IsStudentEducationOrganizationAssociationAddressPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -43901,14 +41731,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -43963,7 +41786,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44034,14 +41857,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44133,7 +41949,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationDisabilityDesignations": return IsStudentEducationOrganizationAssociationDisabilityDesignationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -44190,7 +42006,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44261,14 +42077,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44377,14 +42186,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44458,7 +42260,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationLanguageUses": return IsStudentEducationOrganizationAssociationLanguageUsesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -44515,7 +42317,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44570,7 +42372,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44650,7 +42452,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationStudentCharacteristicPeriods": return IsStudentEducationOrganizationAssociationStudentCharacteristicPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -44713,14 +42515,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44785,14 +42580,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -44884,7 +42672,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentEducationOrganizationAssociationStudentIndicatorPeriods": return IsStudentEducationOrganizationAssociationStudentIndicatorPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -44947,14 +42735,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45031,14 +42812,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45093,7 +42867,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45179,14 +42953,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45316,14 +43083,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45465,7 +43225,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentHomelessProgramAssociationHomelessProgramServices": return IsStudentHomelessProgramAssociationHomelessProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -45540,14 +43300,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45636,14 +43389,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -45725,14 +43471,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -45852,7 +43591,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentInterventionAssociationInterventionEffectivenesses": return IsStudentInterventionAssociationInterventionEffectivenessesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -45929,14 +43668,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46044,14 +43776,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46201,7 +43926,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentLanguageInstructionProgramAssociationLanguageInstructionProgramServices": return IsStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -46288,14 +44013,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46368,14 +44086,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46553,7 +44264,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentMigrantEducationProgramAssociationMigrantEducationProgramServices": return IsStudentMigrantEducationProgramAssociationMigrantEducationProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -46628,14 +44339,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46777,7 +44481,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices": return IsStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -46852,14 +44556,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -46944,14 +44641,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47033,14 +44723,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -47123,14 +44806,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47254,7 +44930,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentProgramAssociationServices": return IsStudentProgramAssociationServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -47329,14 +45005,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47459,14 +45128,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47659,7 +45321,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentProgramEvaluationStudentEvaluationObjectives": return IsStudentProgramEvaluationStudentEvaluationObjectivesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -47716,7 +45378,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47790,14 +45452,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -47871,14 +45526,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48156,7 +45804,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSchoolAssociationEducationPlans": return IsStudentSchoolAssociationEducationPlansItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -48228,14 +45876,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48290,7 +45931,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48420,14 +46061,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48557,7 +46191,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices": return IsStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -48632,14 +46266,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -48780,7 +46407,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSectionAssociationPrograms": return IsStudentSectionAssociationProgramsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -48852,14 +46479,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49010,7 +46630,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSectionAttendanceEventClassPeriods": return IsStudentSectionAttendanceEventClassPeriodsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -49074,14 +46694,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49311,7 +46924,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSpecialEducationProgramAssociationSpecialEducationProgramServices": return IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -49405,7 +47018,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSpecialEducationProgramAssociationDisabilityDesignations": return IsStudentSpecialEducationProgramAssociationDisabilityDesignationsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -49462,7 +47075,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49530,14 +47143,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49629,7 +47235,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProviders": return IsStudentSpecialEducationProgramAssociationSpecialEducationProgramServiceProvidersItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -49699,14 +47305,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -49887,14 +47486,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50024,7 +47616,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "StudentTitleIPartAProgramAssociationTitleIPartAProgramServices": return IsStudentTitleIPartAProgramAssociationTitleIPartAProgramServicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -50099,14 +47691,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50161,7 +47746,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50243,14 +47828,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -50326,14 +47904,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -50447,14 +48018,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50536,14 +48100,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -50617,14 +48174,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50706,14 +48256,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -50791,14 +48334,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -50925,7 +48461,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SurveyQuestionResponseChoices": return IsSurveyQuestionResponseChoicesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -50994,14 +48530,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51126,7 +48655,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SurveyQuestionResponseValues": return IsSurveyQuestionResponseValuesItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -51195,14 +48724,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51287,14 +48809,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51361,14 +48876,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51525,7 +49033,7 @@ bool IMappingContract.IsItemCreatable(string memberName) case "SurveyResponseSurveyLevels": return IsSurveyResponseSurveyLevelsItemCreatable; default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } @@ -51607,14 +49115,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51694,14 +49195,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51756,7 +49250,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51825,14 +49319,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -51924,14 +49411,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -52017,14 +49497,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -52108,14 +49581,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -52199,14 +49665,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); public IReadOnlyList SupportedExtensions { get; } @@ -52288,14 +49747,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52371,14 +49823,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52454,14 +49899,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52537,14 +49975,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52620,14 +50051,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52703,14 +50127,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52786,14 +50203,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52869,14 +50279,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -52952,14 +50355,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -53035,14 +50431,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } @@ -53118,14 +50507,7 @@ bool IMappingContract.IsMemberSupported(string memberName) } } - bool IMappingContract.IsItemCreatable(string memberName) - { - switch (memberName) - { - default: - throw new Exception($"Unknown member '{memberName}'."); - } - } + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); } } diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs index d45c0ebf42..752ae57d18 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Generators/EntityInterfaces.cs @@ -167,7 +167,7 @@ protected override object Build() a.OtherEntity.HasDiscriminator() }) .ToList(), - HasMappingContractMembers = GetMappingContractMembers(r).Any(), + HasChildMappingContractMembers = r.EmbeddedObjects.Any() || r.Collections.Any(), MappingContractMembers = GetMappingContractMembers(r), IsExtendable = r.IsExtendable() }) diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache index 66638c486d..ce3432357f 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Mustache/EntityInterfaces.mustache @@ -153,7 +153,7 @@ namespace {{EntitiesBaseNamespace}} } } - {{#HasMappingContractMembers}} + {{#HasChildMappingContractMembers}} bool IMappingContract.IsItemCreatable(string memberName) { switch (memberName) @@ -171,15 +171,15 @@ namespace {{EntitiesBaseNamespace}} {{/ItemTypeName}} {{/MappingContractMembers}} default: - throw new Exception($"Unknown member '{memberName}'."); + throw new Exception($"Unknown child item '{memberName}'."); } } - {{/HasMappingContractMembers}} - {{^HasMappingContractMembers}} - bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Member '{memberName}' does not exist."); + {{/HasChildMappingContractMembers}} + {{^HasChildMappingContractMembers}} + bool IMappingContract.IsItemCreatable(string memberName) => throw new Exception($"Unknown child item member '{memberName}'."); - {{/HasMappingContractMembers}} + {{/HasChildMappingContractMembers}} {{#IsExtendable}} public IReadOnlyList SupportedExtensions { get; } From c9a259cca06e707bab0dce1cfbfd220c17f4ba80 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Tue, 13 Feb 2024 23:02:40 -0600 Subject: [PATCH 17/19] Revert inadvertent committed change to launchSettings.json. --- .../EdFi.Ods.CodeGen/Properties/launchSettings.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Properties/launchSettings.json b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Properties/launchSettings.json index 69706b606f..03945bda96 100644 --- a/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Properties/launchSettings.json +++ b/Utilities/CodeGeneration/EdFi.Ods.CodeGen/Properties/launchSettings.json @@ -4,13 +4,9 @@ "commandName": "Project", "commandLineArgs": "-e SQLServer --standardVersion 4.0.0" }, - "EdFi.CodeGen - SQLServer (Sample)": { + "EdFi.CodeGen - SQLServer 5.0.0": { "commandName": "Project", - "commandLineArgs": "-e SQLServer --standardVersion 5.0.0 --extensionVersion 1.0.0 --extensionPaths C:\\Projects\\EdFi\\w3\\Ed-Fi-Extensions\\Extensions\\EdFi.Ods.Extensions.Sample" - }, - "EdFi.CodeGen - SQLServer (TPDM)": { - "commandName": "Project", - "commandLineArgs": "-e SQLServer --standardVersion 5.0.0 --extensionVersion 1.1.0 --extensionPaths C:\\Projects\\EdFi\\w3\\Ed-Fi-Extensions\\Extensions\\EdFi.Ods.Extensions.TPDM" + "commandLineArgs": "-e SQLServer --standardVersion 5.0.0" }, "EdFi.CodeGen - PostgreSQL 4.0.0": { "commandName": "Project", From d9050c7ed0f4583f85617d45a49014cb092d34f7 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Fri, 16 Feb 2024 12:25:40 -0600 Subject: [PATCH 18/19] Remove unused namespaces. --- .../Dependencies/GeneratedArtifactStaticDependencies.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Application/EdFi.Ods.Common/Dependencies/GeneratedArtifactStaticDependencies.cs b/Application/EdFi.Ods.Common/Dependencies/GeneratedArtifactStaticDependencies.cs index 8bb24d757f..06bdd40c0b 100644 --- a/Application/EdFi.Ods.Common/Dependencies/GeneratedArtifactStaticDependencies.cs +++ b/Application/EdFi.Ods.Common/Dependencies/GeneratedArtifactStaticDependencies.cs @@ -6,12 +6,10 @@ using System; using EdFi.Ods.Common.Caching; using EdFi.Ods.Common.Context; -using EdFi.Ods.Common.Database; using EdFi.Ods.Common.Descriptors; using EdFi.Ods.Common.Exceptions; using EdFi.Ods.Common.Models; using EdFi.Ods.Common.Profiles; -using EdFi.Ods.Common.Security; using EdFi.Ods.Common.Security.Claims; namespace EdFi.Ods.Common.Dependencies From 43bfe8c42b4c20bab7cdc9d15949b755c8890958 Mon Sep 17 00:00:00 2001 From: Geoffrey McElhanon Date: Tue, 20 Feb 2024 12:26:41 -0600 Subject: [PATCH 19/19] Empty-commit