From dc812a20a1f6cd67c3ad420febe444be1367b8df Mon Sep 17 00:00:00 2001 From: ajcvickers Date: Thu, 14 Nov 2024 10:30:03 +0000 Subject: [PATCH] Move NonNullableConventionState to CoreAnnotationNames (#35020) This means it gets correctly filtered out when using the model for code generation, and hence we don't try to generate a literal for it. Fixes #34996 --- .../Conventions/NonNullableConventionBase.cs | 9 +- .../Metadata/Internal/CoreAnnotationNames.cs | 11 +- .../Baselines/BigModel/ManyTypesEntityType.cs | 1544 ++++++----- .../BigModel/ManyTypesUnsafeAccessors.cs | 12 + .../No_NativeAOT/ManyTypesEntityType.cs | 26 +- .../Scaffolding/CompiledModelCosmosTest.cs | 1 + .../No_NativeAOT/ManyTypesEntityType.cs | 32 +- .../Scaffolding/CompiledModelTestBase.cs | 30 + .../BigModel/DbContextModelBuilder.cs | 35 + .../BigModel/DependentDerivedEntityType.cs | 6 +- .../Baselines/BigModel/ManyTypesEntityType.cs | 2288 ++++++++++------- .../BigModel/ManyTypesUnsafeAccessors.cs | 15 + .../BigModel/OwnedType0EntityType.cs | 4 +- .../Baselines/BigModel/OwnedTypeEntityType.cs | 4 +- .../BigModel/PrincipalBaseEntityType.cs | 6 +- ...cipalDerivedDependentBasebyteEntityType.cs | 4 +- .../BigModel/PrincipalDerivedEntityType.cs | 6 +- .../DbContextModelBuilder.cs | 35 + .../DependentDerivedEntityType.cs | 6 +- .../ManyTypesEntityType.cs | 2288 ++++++++++------- .../ManyTypesUnsafeAccessors.cs | 15 + .../OwnedType0EntityType.cs | 4 +- .../OwnedTypeEntityType.cs | 4 +- .../PrincipalBaseEntityType.cs | 6 +- ...cipalDerivedDependentBasebyteEntityType.cs | 4 +- .../PrincipalDerivedEntityType.cs | 6 +- .../No_NativeAOT/ManyTypesEntityType.cs | 37 +- .../BigModel/DbContextModelBuilder.cs | 35 + .../BigModel/DependentDerivedEntityType.cs | 6 +- .../Baselines/BigModel/ManyTypesEntityType.cs | 2192 +++++++++------- .../BigModel/ManyTypesUnsafeAccessors.cs | 15 + .../BigModel/OwnedType0EntityType.cs | 4 +- .../Baselines/BigModel/OwnedTypeEntityType.cs | 4 +- .../BigModel/PrincipalBaseEntityType.cs | 6 +- ...cipalDerivedDependentBasebyteEntityType.cs | 4 +- .../BigModel/PrincipalDerivedEntityType.cs | 6 +- .../DbContextModelBuilder.cs | 35 + .../DependentDerivedEntityType.cs | 6 +- .../ManyTypesEntityType.cs | 2192 +++++++++------- .../ManyTypesUnsafeAccessors.cs | 15 + .../OwnedType0EntityType.cs | 4 +- .../OwnedTypeEntityType.cs | 4 +- .../PrincipalBaseEntityType.cs | 6 +- ...cipalDerivedDependentBasebyteEntityType.cs | 4 +- .../PrincipalDerivedEntityType.cs | 6 +- .../No_NativeAOT/ManyTypesEntityType.cs | 32 +- 46 files changed, 6462 insertions(+), 4552 deletions(-) diff --git a/src/EFCore/Metadata/Conventions/NonNullableConventionBase.cs b/src/EFCore/Metadata/Conventions/NonNullableConventionBase.cs index 78ddc34d8d9..f88c1098f7c 100644 --- a/src/EFCore/Metadata/Conventions/NonNullableConventionBase.cs +++ b/src/EFCore/Metadata/Conventions/NonNullableConventionBase.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; +using Microsoft.EntityFrameworkCore.Metadata.Internal; namespace Microsoft.EntityFrameworkCore.Metadata.Conventions; @@ -14,8 +15,6 @@ namespace Microsoft.EntityFrameworkCore.Metadata.Conventions; /// public abstract class NonNullableConventionBase : IModelFinalizingConvention { - private const string StateAnnotationName = "NonNullableConventionState"; - /// /// Creates a new instance of . /// @@ -50,8 +49,8 @@ protected virtual bool TryGetNullabilityInfo( } var annotation = - modelBuilder.Metadata.FindAnnotation(StateAnnotationName) - ?? modelBuilder.Metadata.AddAnnotation(StateAnnotationName, new NullabilityInfoContext()); + modelBuilder.Metadata.FindAnnotation(CoreAnnotationNames.NonNullableConventionState) + ?? modelBuilder.Metadata.AddAnnotation(CoreAnnotationNames.NonNullableConventionState, new NullabilityInfoContext()); var nullabilityInfoContext = (NullabilityInfoContext)annotation.Value!; @@ -69,5 +68,5 @@ protected virtual bool TryGetNullabilityInfo( public virtual void ProcessModelFinalizing( IConventionModelBuilder modelBuilder, IConventionContext context) - => modelBuilder.Metadata.RemoveAnnotation(StateAnnotationName); + => modelBuilder.Metadata.RemoveAnnotation(CoreAnnotationNames.NonNullableConventionState); } diff --git a/src/EFCore/Metadata/Internal/CoreAnnotationNames.cs b/src/EFCore/Metadata/Internal/CoreAnnotationNames.cs index 3db5be6b3f8..cb6e7a32c61 100644 --- a/src/EFCore/Metadata/Internal/CoreAnnotationNames.cs +++ b/src/EFCore/Metadata/Internal/CoreAnnotationNames.cs @@ -372,6 +372,14 @@ public static class CoreAnnotationNames /// public const string UnsafeAccessors = "UnsafeAccessors"; + /// + /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to + /// the same compatibility standards as public APIs. It may be changed or removed without notice in + /// any release. You should only use it directly in your code with extreme caution and knowing that + /// doing so can result in application failures when updating to a new Entity Framework Core release. + /// + public const string NonNullableConventionState = "NonNullableConventionState"; + /// /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in @@ -426,6 +434,7 @@ public static class CoreAnnotationNames JsonValueReaderWriterType, ElementType, SkipNavigationBeingConfigured, - UnsafeAccessors + UnsafeAccessors, + NonNullableConventionState }; } diff --git a/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs b/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs index 23192b1e6b6..7deabfede83 100644 --- a/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs +++ b/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs @@ -39,7 +39,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas baseEntityType, discriminatorProperty: "$type", discriminatorValue: "ManyTypes", - propertyCount: 166, + propertyCount: 170, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -304,6 +304,64 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas clrType: typeof(bool), jsonValueReaderWriter: JsonBoolReaderWriter.Instance))); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + boolReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null); + boolReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(boolReadOnlyCollection, 5), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(boolReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[5]); + boolReadOnlyCollection.SetPropertyIndexes( + index: 5, + originalValueIndex: 5, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + boolReadOnlyCollection.TypeMapping = CosmosTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + keyComparer: new ValueComparer>( + bool (IReadOnlyCollection v1, IReadOnlyCollection v2) => object.Equals(v1, v2), + int (IReadOnlyCollection v) => ((object)v).GetHashCode(), + IReadOnlyCollection (IReadOnlyCollection v) => v), + providerValueComparer: new ValueComparer>( + bool (IReadOnlyCollection v1, IReadOnlyCollection v2) => object.Equals(v1, v2), + int (IReadOnlyCollection v) => ((object)v).GetHashCode(), + IReadOnlyCollection (IReadOnlyCollection v) => v), + clrType: typeof(IReadOnlyCollection), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance), + elementMapping: CosmosTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + keyComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + providerValueComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + clrType: typeof(bool), + jsonValueReaderWriter: JsonBoolReaderWriter.Instance)); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -321,12 +379,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToStringConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 5), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 6), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[5]); + object (ValueBuffer valueBuffer) => valueBuffer[6]); boolToStringConverterProperty.SetPropertyIndexes( - index: 5, - originalValueIndex: 5, + index: 6, + originalValueIndex: 6, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -370,12 +428,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToTwoValuesConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 6), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 7), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToTwoValuesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[6]); + object (ValueBuffer valueBuffer) => valueBuffer[7]); boolToTwoValuesConverterProperty.SetPropertyIndexes( - index: 6, - originalValueIndex: 6, + index: 7, + originalValueIndex: 7, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -420,12 +478,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToZeroOneConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 7), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 8), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToZeroOneConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[7]); + object (ValueBuffer valueBuffer) => valueBuffer[8]); boolToZeroOneConverterProperty.SetPropertyIndexes( - index: 7, - originalValueIndex: 7, + index: 8, + originalValueIndex: 8, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -469,12 +527,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 8), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 9), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytes), - object (ValueBuffer valueBuffer) => valueBuffer[8]); + object (ValueBuffer valueBuffer) => valueBuffer[9]); bytes.SetPropertyIndexes( - index: 8, - originalValueIndex: 8, + index: 9, + originalValueIndex: 9, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -519,12 +577,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesToStringConverterProperty.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 9), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 10), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[9]); + object (ValueBuffer valueBuffer) => valueBuffer[10]); bytesToStringConverterProperty.SetPropertyIndexes( - index: 9, - originalValueIndex: 9, + index: 10, + originalValueIndex: 10, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -568,12 +626,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas castingConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 10), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 11), int (InternalEntityEntry entry) => entry.GetCurrentValue(castingConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[10]); + object (ValueBuffer valueBuffer) => valueBuffer[11]); castingConverterProperty.SetPropertyIndexes( - index: 10, - originalValueIndex: 10, + index: 11, + originalValueIndex: 11, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -618,12 +676,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @char.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 11), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 12), char (InternalEntityEntry entry) => entry.GetCurrentValue(@char), - object (ValueBuffer valueBuffer) => valueBuffer[11]); + object (ValueBuffer valueBuffer) => valueBuffer[12]); @char.SetPropertyIndexes( - index: 11, - originalValueIndex: 11, + index: 12, + originalValueIndex: 12, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -660,12 +718,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charArray.SetAccessors( char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 12), + char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 13), char[] (InternalEntityEntry entry) => entry.GetCurrentValue(charArray), - object (ValueBuffer valueBuffer) => valueBuffer[12]); + object (ValueBuffer valueBuffer) => valueBuffer[13]); charArray.SetPropertyIndexes( - index: 12, - originalValueIndex: 12, + index: 13, + originalValueIndex: 13, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -718,12 +776,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charNestedCollection.SetAccessors( char[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharNestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharNestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(charNestedCollection, 13), + char[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(charNestedCollection, 14), char[][] (InternalEntityEntry entry) => entry.GetCurrentValue(charNestedCollection), - object (ValueBuffer valueBuffer) => valueBuffer[13]); + object (ValueBuffer valueBuffer) => valueBuffer[14]); charNestedCollection.SetPropertyIndexes( - index: 13, - originalValueIndex: 13, + index: 14, + originalValueIndex: 14, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -794,12 +852,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charToStringConverterProperty.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 14), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 15), char (InternalEntityEntry entry) => entry.GetCurrentValue(charToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[14]); + object (ValueBuffer valueBuffer) => valueBuffer[15]); charToStringConverterProperty.SetPropertyIndexes( - index: 14, - originalValueIndex: 14, + index: 15, + originalValueIndex: 15, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -844,12 +902,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnly.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 15), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 16), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[15]); + object (ValueBuffer valueBuffer) => valueBuffer[16]); dateOnly.SetPropertyIndexes( - index: 15, - originalValueIndex: 15, + index: 16, + originalValueIndex: 16, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -887,12 +945,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyToStringConverterProperty.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 16), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 17), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[16]); + object (ValueBuffer valueBuffer) => valueBuffer[17]); dateOnlyToStringConverterProperty.SetPropertyIndexes( - index: 16, - originalValueIndex: 16, + index: 17, + originalValueIndex: 17, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -937,12 +995,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTime.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 17), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 18), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTime), - object (ValueBuffer valueBuffer) => valueBuffer[17]); + object (ValueBuffer valueBuffer) => valueBuffer[18]); dateTime.SetPropertyIndexes( - index: 17, - originalValueIndex: 17, + index: 18, + originalValueIndex: 18, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -980,12 +1038,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBinaryConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 18), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 19), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[18]); + object (ValueBuffer valueBuffer) => valueBuffer[19]); dateTimeOffsetToBinaryConverterProperty.SetPropertyIndexes( - index: 18, - originalValueIndex: 18, + index: 19, + originalValueIndex: 19, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1030,12 +1088,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBytesConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 19), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 20), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[19]); + object (ValueBuffer valueBuffer) => valueBuffer[20]); dateTimeOffsetToBytesConverterProperty.SetPropertyIndexes( - index: 19, - originalValueIndex: 19, + index: 20, + originalValueIndex: 20, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1080,12 +1138,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToStringConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 20), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 21), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[20]); + object (ValueBuffer valueBuffer) => valueBuffer[21]); dateTimeOffsetToStringConverterProperty.SetPropertyIndexes( - index: 20, - originalValueIndex: 20, + index: 21, + originalValueIndex: 21, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1130,12 +1188,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToBinaryConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 21), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 22), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[21]); + object (ValueBuffer valueBuffer) => valueBuffer[22]); dateTimeToBinaryConverterProperty.SetPropertyIndexes( - index: 21, - originalValueIndex: 21, + index: 22, + originalValueIndex: 22, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1180,12 +1238,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToStringConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 22), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 23), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[22]); + object (ValueBuffer valueBuffer) => valueBuffer[23]); dateTimeToStringConverterProperty.SetPropertyIndexes( - index: 22, - originalValueIndex: 22, + index: 23, + originalValueIndex: 23, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1230,12 +1288,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToTicksConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 23), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 24), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[23]); + object (ValueBuffer valueBuffer) => valueBuffer[24]); dateTimeToTicksConverterProperty.SetPropertyIndexes( - index: 23, - originalValueIndex: 23, + index: 24, + originalValueIndex: 24, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1273,12 +1331,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @decimal.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 24), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 25), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(@decimal), - object (ValueBuffer valueBuffer) => valueBuffer[24]); + object (ValueBuffer valueBuffer) => valueBuffer[25]); @decimal.SetPropertyIndexes( - index: 24, - originalValueIndex: 24, + index: 25, + originalValueIndex: 25, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1315,12 +1373,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalArray.SetAccessors( decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 25), + decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 26), decimal[] (InternalEntityEntry entry) => entry.GetCurrentValue(decimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[25]); + object (ValueBuffer valueBuffer) => valueBuffer[26]); decimalArray.SetPropertyIndexes( - index: 25, - originalValueIndex: 25, + index: 26, + originalValueIndex: 26, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1374,12 +1432,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToBytesConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 26), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 27), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[26]); + object (ValueBuffer valueBuffer) => valueBuffer[27]); decimalNumberToBytesConverterProperty.SetPropertyIndexes( - index: 26, - originalValueIndex: 26, + index: 27, + originalValueIndex: 27, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1424,12 +1482,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToStringConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 27), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 28), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[27]); + object (ValueBuffer valueBuffer) => valueBuffer[28]); decimalNumberToStringConverterProperty.SetPropertyIndexes( - index: 27, - originalValueIndex: 27, + index: 28, + originalValueIndex: 28, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1474,12 +1532,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @double.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 28), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 29), double (InternalEntityEntry entry) => entry.GetCurrentValue(@double), - object (ValueBuffer valueBuffer) => valueBuffer[28]); + object (ValueBuffer valueBuffer) => valueBuffer[29]); @double.SetPropertyIndexes( - index: 28, - originalValueIndex: 28, + index: 29, + originalValueIndex: 29, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1516,12 +1574,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleArray.SetAccessors( double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 29), + double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 30), double[] (InternalEntityEntry entry) => entry.GetCurrentValue(doubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[29]); + object (ValueBuffer valueBuffer) => valueBuffer[30]); doubleArray.SetPropertyIndexes( - index: 29, - originalValueIndex: 29, + index: 30, + originalValueIndex: 30, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1575,12 +1633,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToBytesConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 30), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 31), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[30]); + object (ValueBuffer valueBuffer) => valueBuffer[31]); doubleNumberToBytesConverterProperty.SetPropertyIndexes( - index: 30, - originalValueIndex: 30, + index: 31, + originalValueIndex: 31, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1625,12 +1683,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToStringConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 31), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 32), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[31]); + object (ValueBuffer valueBuffer) => valueBuffer[32]); doubleNumberToStringConverterProperty.SetPropertyIndexes( - index: 31, - originalValueIndex: 31, + index: 32, + originalValueIndex: 32, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1674,12 +1732,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 32), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 33), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16), - object (ValueBuffer valueBuffer) => valueBuffer[32]); + object (ValueBuffer valueBuffer) => valueBuffer[33]); enum16.SetPropertyIndexes( - index: 32, - originalValueIndex: 32, + index: 33, + originalValueIndex: 33, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1724,12 +1782,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsString.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 33), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 34), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[33]); + object (ValueBuffer valueBuffer) => valueBuffer[34]); enum16AsString.SetPropertyIndexes( - index: 33, - originalValueIndex: 33, + index: 34, + originalValueIndex: 34, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1773,12 +1831,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 34), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 35), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32), - object (ValueBuffer valueBuffer) => valueBuffer[34]); + object (ValueBuffer valueBuffer) => valueBuffer[35]); enum32.SetPropertyIndexes( - index: 34, - originalValueIndex: 34, + index: 35, + originalValueIndex: 35, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1823,12 +1881,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsString.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 35), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 36), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[35]); + object (ValueBuffer valueBuffer) => valueBuffer[36]); enum32AsString.SetPropertyIndexes( - index: 35, - originalValueIndex: 35, + index: 36, + originalValueIndex: 36, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1872,12 +1930,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 36), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 37), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64), - object (ValueBuffer valueBuffer) => valueBuffer[36]); + object (ValueBuffer valueBuffer) => valueBuffer[37]); enum64.SetPropertyIndexes( - index: 36, - originalValueIndex: 36, + index: 37, + originalValueIndex: 37, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1922,12 +1980,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsString.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 37), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 38), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[37]); + object (ValueBuffer valueBuffer) => valueBuffer[38]); enum64AsString.SetPropertyIndexes( - index: 37, - originalValueIndex: 37, + index: 38, + originalValueIndex: 38, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1971,12 +2029,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 38), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 39), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8), - object (ValueBuffer valueBuffer) => valueBuffer[38]); + object (ValueBuffer valueBuffer) => valueBuffer[39]); enum8.SetPropertyIndexes( - index: 38, - originalValueIndex: 38, + index: 39, + originalValueIndex: 39, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2021,12 +2079,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsString.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 39), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 40), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[39]); + object (ValueBuffer valueBuffer) => valueBuffer[40]); enum8AsString.SetPropertyIndexes( - index: 39, - originalValueIndex: 39, + index: 40, + originalValueIndex: 40, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2071,12 +2129,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToNumberConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 40), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 41), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[40]); + object (ValueBuffer valueBuffer) => valueBuffer[41]); enumToNumberConverterProperty.SetPropertyIndexes( - index: 40, - originalValueIndex: 40, + index: 41, + originalValueIndex: 41, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2121,12 +2179,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToStringConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 41), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 42), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[41]); + object (ValueBuffer valueBuffer) => valueBuffer[42]); enumToStringConverterProperty.SetPropertyIndexes( - index: 41, - originalValueIndex: 41, + index: 42, + originalValueIndex: 42, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2170,12 +2228,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 42), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 43), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16), - object (ValueBuffer valueBuffer) => valueBuffer[42]); + object (ValueBuffer valueBuffer) => valueBuffer[43]); enumU16.SetPropertyIndexes( - index: 42, - originalValueIndex: 42, + index: 43, + originalValueIndex: 43, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2220,12 +2278,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 43), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 44), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[43]); + object (ValueBuffer valueBuffer) => valueBuffer[44]); enumU16AsString.SetPropertyIndexes( - index: 43, - originalValueIndex: 43, + index: 44, + originalValueIndex: 44, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2269,12 +2327,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 44), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 45), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32), - object (ValueBuffer valueBuffer) => valueBuffer[44]); + object (ValueBuffer valueBuffer) => valueBuffer[45]); enumU32.SetPropertyIndexes( - index: 44, - originalValueIndex: 44, + index: 45, + originalValueIndex: 45, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2319,12 +2377,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 45), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 46), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[45]); + object (ValueBuffer valueBuffer) => valueBuffer[46]); enumU32AsString.SetPropertyIndexes( - index: 45, - originalValueIndex: 45, + index: 46, + originalValueIndex: 46, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2368,12 +2426,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 46), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 47), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64), - object (ValueBuffer valueBuffer) => valueBuffer[46]); + object (ValueBuffer valueBuffer) => valueBuffer[47]); enumU64.SetPropertyIndexes( - index: 46, - originalValueIndex: 46, + index: 47, + originalValueIndex: 47, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2418,12 +2476,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 47), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 48), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[47]); + object (ValueBuffer valueBuffer) => valueBuffer[48]); enumU64AsString.SetPropertyIndexes( - index: 47, - originalValueIndex: 47, + index: 48, + originalValueIndex: 48, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2467,12 +2525,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 48), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 49), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8), - object (ValueBuffer valueBuffer) => valueBuffer[48]); + object (ValueBuffer valueBuffer) => valueBuffer[49]); enumU8.SetPropertyIndexes( - index: 48, - originalValueIndex: 48, + index: 49, + originalValueIndex: 49, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2517,12 +2575,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 49), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 50), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[49]); + object (ValueBuffer valueBuffer) => valueBuffer[50]); enumU8AsString.SetPropertyIndexes( - index: 49, - originalValueIndex: 49, + index: 50, + originalValueIndex: 50, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2567,12 +2625,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @float.SetAccessors( float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 50), + float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 51), float (InternalEntityEntry entry) => entry.GetCurrentValue(@float), - object (ValueBuffer valueBuffer) => valueBuffer[50]); + object (ValueBuffer valueBuffer) => valueBuffer[51]); @float.SetPropertyIndexes( - index: 50, - originalValueIndex: 50, + index: 51, + originalValueIndex: 51, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2609,12 +2667,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas floatArray.SetAccessors( float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 51), + float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 52), float[] (InternalEntityEntry entry) => entry.GetCurrentValue(floatArray), - object (ValueBuffer valueBuffer) => valueBuffer[51]); + object (ValueBuffer valueBuffer) => valueBuffer[52]); floatArray.SetPropertyIndexes( - index: 51, - originalValueIndex: 51, + index: 52, + originalValueIndex: 52, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2667,12 +2725,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guid.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 52), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 53), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guid), - object (ValueBuffer valueBuffer) => valueBuffer[52]); + object (ValueBuffer valueBuffer) => valueBuffer[53]); guid.SetPropertyIndexes( - index: 52, - originalValueIndex: 52, + index: 53, + originalValueIndex: 53, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2717,12 +2775,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToBytesConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 53), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 54), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[53]); + object (ValueBuffer valueBuffer) => valueBuffer[54]); guidToBytesConverterProperty.SetPropertyIndexes( - index: 53, - originalValueIndex: 53, + index: 54, + originalValueIndex: 54, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2767,12 +2825,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToStringConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 54), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 55), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[54]); + object (ValueBuffer valueBuffer) => valueBuffer[55]); guidToStringConverterProperty.SetPropertyIndexes( - index: 54, - originalValueIndex: 54, + index: 55, + originalValueIndex: 55, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2816,12 +2874,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 55), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 56), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[55]); + object (ValueBuffer valueBuffer) => valueBuffer[56]); iPAddress.SetPropertyIndexes( - index: 55, - originalValueIndex: 55, + index: 56, + originalValueIndex: 56, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2865,12 +2923,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToBytesConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 56), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 57), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[56]); + object (ValueBuffer valueBuffer) => valueBuffer[57]); iPAddressToBytesConverterProperty.SetPropertyIndexes( - index: 56, - originalValueIndex: 56, + index: 57, + originalValueIndex: 57, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2914,12 +2972,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToStringConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 57), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 58), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[57]); + object (ValueBuffer valueBuffer) => valueBuffer[58]); iPAddressToStringConverterProperty.SetPropertyIndexes( - index: 57, - originalValueIndex: 57, + index: 58, + originalValueIndex: 58, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2963,12 +3021,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16.SetAccessors( short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 58), + short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 59), short (InternalEntityEntry entry) => entry.GetCurrentValue(int16), - object (ValueBuffer valueBuffer) => valueBuffer[58]); + object (ValueBuffer valueBuffer) => valueBuffer[59]); int16.SetPropertyIndexes( - index: 58, - originalValueIndex: 58, + index: 59, + originalValueIndex: 59, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3005,12 +3063,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16Array.SetAccessors( short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 59), + short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 60), short[] (InternalEntityEntry entry) => entry.GetCurrentValue(int16Array), - object (ValueBuffer valueBuffer) => valueBuffer[59]); + object (ValueBuffer valueBuffer) => valueBuffer[60]); int16Array.SetPropertyIndexes( - index: 59, - originalValueIndex: 59, + index: 60, + originalValueIndex: 60, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3064,12 +3122,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 60), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 61), int (InternalEntityEntry entry) => entry.GetCurrentValue(int32), - object (ValueBuffer valueBuffer) => valueBuffer[60]); + object (ValueBuffer valueBuffer) => valueBuffer[61]); int32.SetPropertyIndexes( - index: 60, - originalValueIndex: 60, + index: 61, + originalValueIndex: 61, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3106,12 +3164,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32Array.SetAccessors( int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 61), + int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 62), int[] (InternalEntityEntry entry) => entry.GetCurrentValue(int32Array), - object (ValueBuffer valueBuffer) => valueBuffer[61]); + object (ValueBuffer valueBuffer) => valueBuffer[62]); int32Array.SetPropertyIndexes( - index: 61, - originalValueIndex: 61, + index: 62, + originalValueIndex: 62, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3164,12 +3222,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32NestedCollection.SetAccessors( int[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32NestedCollection, 62), + int[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32NestedCollection, 63), int[][] (InternalEntityEntry entry) => entry.GetCurrentValue(int32NestedCollection), - object (ValueBuffer valueBuffer) => valueBuffer[62]); + object (ValueBuffer valueBuffer) => valueBuffer[63]); int32NestedCollection.SetPropertyIndexes( - index: 62, - originalValueIndex: 62, + index: 63, + originalValueIndex: 63, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3222,6 +3280,64 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas clrType: typeof(int), jsonValueReaderWriter: JsonInt32ReaderWriter.Instance))); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + int32ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null); + int32ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(int32ReadOnlyCollection, 64), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(int32ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[64]); + int32ReadOnlyCollection.SetPropertyIndexes( + index: 64, + originalValueIndex: 64, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + int32ReadOnlyCollection.TypeMapping = CosmosTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + keyComparer: new ValueComparer>( + bool (IReadOnlyCollection v1, IReadOnlyCollection v2) => object.Equals(v1, v2), + int (IReadOnlyCollection v) => ((object)v).GetHashCode(), + IReadOnlyCollection (IReadOnlyCollection v) => v), + providerValueComparer: new ValueComparer>( + bool (IReadOnlyCollection v1, IReadOnlyCollection v2) => object.Equals(v1, v2), + int (IReadOnlyCollection v) => ((object)v).GetHashCode(), + IReadOnlyCollection (IReadOnlyCollection v) => v), + clrType: typeof(IReadOnlyCollection), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance), + elementMapping: CosmosTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + keyComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + providerValueComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + clrType: typeof(int), + jsonValueReaderWriter: JsonInt32ReaderWriter.Instance)); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -3240,12 +3356,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64.SetAccessors( long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 63), + long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 65), long (InternalEntityEntry entry) => entry.GetCurrentValue(int64), - object (ValueBuffer valueBuffer) => valueBuffer[63]); + object (ValueBuffer valueBuffer) => valueBuffer[65]); int64.SetPropertyIndexes( - index: 63, - originalValueIndex: 63, + index: 65, + originalValueIndex: 65, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3282,12 +3398,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64Array.SetAccessors( long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 64), + long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 66), long[] (InternalEntityEntry entry) => entry.GetCurrentValue(int64Array), - object (ValueBuffer valueBuffer) => valueBuffer[64]); + object (ValueBuffer valueBuffer) => valueBuffer[66]); int64Array.SetPropertyIndexes( - index: 64, - originalValueIndex: 64, + index: 66, + originalValueIndex: 66, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3340,12 +3456,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64NestedCollection.SetAccessors( IList[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IList[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IList[] (InternalEntityEntry entry) => entry.ReadOriginalValue[]>(int64NestedCollection, 65), + IList[] (InternalEntityEntry entry) => entry.ReadOriginalValue[]>(int64NestedCollection, 67), IList[] (InternalEntityEntry entry) => entry.GetCurrentValue[]>(int64NestedCollection), - object (ValueBuffer valueBuffer) => valueBuffer[65]); + object (ValueBuffer valueBuffer) => valueBuffer[67]); int64NestedCollection.SetPropertyIndexes( - index: 65, - originalValueIndex: 65, + index: 67, + originalValueIndex: 67, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3434,12 +3550,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8.SetAccessors( sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 66), + sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 68), sbyte (InternalEntityEntry entry) => entry.GetCurrentValue(int8), - object (ValueBuffer valueBuffer) => valueBuffer[66]); + object (ValueBuffer valueBuffer) => valueBuffer[68]); int8.SetPropertyIndexes( - index: 66, - originalValueIndex: 66, + index: 68, + originalValueIndex: 68, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3476,12 +3592,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8Array.SetAccessors( sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 67), + sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 69), sbyte[] (InternalEntityEntry entry) => entry.GetCurrentValue(int8Array), - object (ValueBuffer valueBuffer) => valueBuffer[67]); + object (ValueBuffer valueBuffer) => valueBuffer[69]); int8Array.SetPropertyIndexes( - index: 67, - originalValueIndex: 67, + index: 69, + originalValueIndex: 69, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3534,12 +3650,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8NestedCollection.SetAccessors( sbyte[][][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte[][][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte[][][] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8NestedCollection, 68), + sbyte[][][] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8NestedCollection, 70), sbyte[][][] (InternalEntityEntry entry) => entry.GetCurrentValue(int8NestedCollection), - object (ValueBuffer valueBuffer) => valueBuffer[68]); + object (ValueBuffer valueBuffer) => valueBuffer[70]); int8NestedCollection.SetPropertyIndexes( - index: 68, - originalValueIndex: 68, + index: 70, + originalValueIndex: 70, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3628,12 +3744,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToBytesConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 69), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 71), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[69]); + object (ValueBuffer valueBuffer) => valueBuffer[71]); intNumberToBytesConverterProperty.SetPropertyIndexes( - index: 69, - originalValueIndex: 69, + index: 71, + originalValueIndex: 71, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3678,12 +3794,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToStringConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 70), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 72), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[70]); + object (ValueBuffer valueBuffer) => valueBuffer[72]); intNumberToStringConverterProperty.SetPropertyIndexes( - index: 70, - originalValueIndex: 70, + index: 72, + originalValueIndex: 72, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3729,12 +3845,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullIntToNullStringConverterProperty.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 71), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 73), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullIntToNullStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[71]); + object (ValueBuffer valueBuffer) => valueBuffer[73]); nullIntToNullStringConverterProperty.SetPropertyIndexes( - index: 71, - originalValueIndex: 71, + index: 73, + originalValueIndex: 73, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3780,12 +3896,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBool.SetAccessors( bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 72), + bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 74), bool? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBool), - object (ValueBuffer valueBuffer) => valueBuffer[72]); + object (ValueBuffer valueBuffer) => valueBuffer[74]); nullableBool.SetPropertyIndexes( - index: 72, - originalValueIndex: 72, + index: 74, + originalValueIndex: 74, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3824,12 +3940,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBoolArray.SetAccessors( bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 73), + bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 75), bool? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBoolArray), - object (ValueBuffer valueBuffer) => valueBuffer[73]); + object (ValueBuffer valueBuffer) => valueBuffer[75]); nullableBoolArray.SetPropertyIndexes( - index: 73, - originalValueIndex: 73, + index: 75, + originalValueIndex: 75, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3883,12 +3999,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 74), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 76), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytes), - object (ValueBuffer valueBuffer) => valueBuffer[74]); + object (ValueBuffer valueBuffer) => valueBuffer[76]); nullableBytes.SetPropertyIndexes( - index: 74, - originalValueIndex: 74, + index: 76, + originalValueIndex: 76, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3932,12 +4048,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableChar.SetAccessors( char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 75), + char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 77), char? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableChar), - object (ValueBuffer valueBuffer) => valueBuffer[75]); + object (ValueBuffer valueBuffer) => valueBuffer[77]); nullableChar.SetPropertyIndexes( - index: 75, - originalValueIndex: 75, + index: 77, + originalValueIndex: 77, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3976,12 +4092,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableCharArray.SetAccessors( char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 76), + char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 78), char? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableCharArray), - object (ValueBuffer valueBuffer) => valueBuffer[76]); + object (ValueBuffer valueBuffer) => valueBuffer[78]); nullableCharArray.SetPropertyIndexes( - index: 76, - originalValueIndex: 76, + index: 78, + originalValueIndex: 78, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4035,12 +4151,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnly.SetAccessors( DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 77), + DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 79), DateOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[77]); + object (ValueBuffer valueBuffer) => valueBuffer[79]); nullableDateOnly.SetPropertyIndexes( - index: 77, - originalValueIndex: 77, + index: 79, + originalValueIndex: 79, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4080,12 +4196,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTime.SetAccessors( DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 78), + DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 80), DateTime? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTime), - object (ValueBuffer valueBuffer) => valueBuffer[78]); + object (ValueBuffer valueBuffer) => valueBuffer[80]); nullableDateTime.SetPropertyIndexes( - index: 78, - originalValueIndex: 78, + index: 80, + originalValueIndex: 80, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4125,12 +4241,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimal.SetAccessors( decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 79), + decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 81), decimal? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimal), - object (ValueBuffer valueBuffer) => valueBuffer[79]); + object (ValueBuffer valueBuffer) => valueBuffer[81]); nullableDecimal.SetPropertyIndexes( - index: 79, - originalValueIndex: 79, + index: 81, + originalValueIndex: 81, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4169,12 +4285,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimalArray.SetAccessors( decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 80), + decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 82), decimal? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[80]); + object (ValueBuffer valueBuffer) => valueBuffer[82]); nullableDecimalArray.SetPropertyIndexes( - index: 80, - originalValueIndex: 80, + index: 82, + originalValueIndex: 82, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4228,12 +4344,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDouble.SetAccessors( double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 81), + double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 83), double? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDouble), - object (ValueBuffer valueBuffer) => valueBuffer[81]); + object (ValueBuffer valueBuffer) => valueBuffer[83]); nullableDouble.SetPropertyIndexes( - index: 81, - originalValueIndex: 81, + index: 83, + originalValueIndex: 83, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4272,12 +4388,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDoubleArray.SetAccessors( double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 82), + double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 84), double? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDoubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[82]); + object (ValueBuffer valueBuffer) => valueBuffer[84]); nullableDoubleArray.SetPropertyIndexes( - index: 82, - originalValueIndex: 82, + index: 84, + originalValueIndex: 84, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4331,12 +4447,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 83), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 85), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16), - object (ValueBuffer valueBuffer) => valueBuffer[83]); + object (ValueBuffer valueBuffer) => valueBuffer[85]); nullableEnum16.SetPropertyIndexes( - index: 83, - originalValueIndex: 83, + index: 85, + originalValueIndex: 85, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4382,12 +4498,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsString.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 84), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 86), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[84]); + object (ValueBuffer valueBuffer) => valueBuffer[86]); nullableEnum16AsString.SetPropertyIndexes( - index: 84, - originalValueIndex: 84, + index: 86, + originalValueIndex: 86, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4433,12 +4549,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 85), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 87), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32), - object (ValueBuffer valueBuffer) => valueBuffer[85]); + object (ValueBuffer valueBuffer) => valueBuffer[87]); nullableEnum32.SetPropertyIndexes( - index: 85, - originalValueIndex: 85, + index: 87, + originalValueIndex: 87, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4484,12 +4600,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsString.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 86), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 88), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[86]); + object (ValueBuffer valueBuffer) => valueBuffer[88]); nullableEnum32AsString.SetPropertyIndexes( - index: 86, - originalValueIndex: 86, + index: 88, + originalValueIndex: 88, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4535,12 +4651,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 87), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 89), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64), - object (ValueBuffer valueBuffer) => valueBuffer[87]); + object (ValueBuffer valueBuffer) => valueBuffer[89]); nullableEnum64.SetPropertyIndexes( - index: 87, - originalValueIndex: 87, + index: 89, + originalValueIndex: 89, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4586,12 +4702,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsString.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 88), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 90), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[88]); + object (ValueBuffer valueBuffer) => valueBuffer[90]); nullableEnum64AsString.SetPropertyIndexes( - index: 88, - originalValueIndex: 88, + index: 90, + originalValueIndex: 90, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4637,12 +4753,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 89), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 91), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8), - object (ValueBuffer valueBuffer) => valueBuffer[89]); + object (ValueBuffer valueBuffer) => valueBuffer[91]); nullableEnum8.SetPropertyIndexes( - index: 89, - originalValueIndex: 89, + index: 91, + originalValueIndex: 91, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4688,12 +4804,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsString.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 90), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 92), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[90]); + object (ValueBuffer valueBuffer) => valueBuffer[92]); nullableEnum8AsString.SetPropertyIndexes( - index: 90, - originalValueIndex: 90, + index: 92, + originalValueIndex: 92, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4739,12 +4855,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 91), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 93), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16), - object (ValueBuffer valueBuffer) => valueBuffer[91]); + object (ValueBuffer valueBuffer) => valueBuffer[93]); nullableEnumU16.SetPropertyIndexes( - index: 91, - originalValueIndex: 91, + index: 93, + originalValueIndex: 93, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4790,12 +4906,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 92), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 94), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[92]); + object (ValueBuffer valueBuffer) => valueBuffer[94]); nullableEnumU16AsString.SetPropertyIndexes( - index: 92, - originalValueIndex: 92, + index: 94, + originalValueIndex: 94, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4841,12 +4957,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 93), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 95), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32), - object (ValueBuffer valueBuffer) => valueBuffer[93]); + object (ValueBuffer valueBuffer) => valueBuffer[95]); nullableEnumU32.SetPropertyIndexes( - index: 93, - originalValueIndex: 93, + index: 95, + originalValueIndex: 95, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4892,12 +5008,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 94), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 96), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[94]); + object (ValueBuffer valueBuffer) => valueBuffer[96]); nullableEnumU32AsString.SetPropertyIndexes( - index: 94, - originalValueIndex: 94, + index: 96, + originalValueIndex: 96, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4943,12 +5059,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 95), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 97), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64), - object (ValueBuffer valueBuffer) => valueBuffer[95]); + object (ValueBuffer valueBuffer) => valueBuffer[97]); nullableEnumU64.SetPropertyIndexes( - index: 95, - originalValueIndex: 95, + index: 97, + originalValueIndex: 97, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4994,12 +5110,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 96), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 98), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[96]); + object (ValueBuffer valueBuffer) => valueBuffer[98]); nullableEnumU64AsString.SetPropertyIndexes( - index: 96, - originalValueIndex: 96, + index: 98, + originalValueIndex: 98, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5045,12 +5161,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 97), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 99), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8), - object (ValueBuffer valueBuffer) => valueBuffer[97]); + object (ValueBuffer valueBuffer) => valueBuffer[99]); nullableEnumU8.SetPropertyIndexes( - index: 97, - originalValueIndex: 97, + index: 99, + originalValueIndex: 99, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5096,12 +5212,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 98), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 100), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[98]); + object (ValueBuffer valueBuffer) => valueBuffer[100]); nullableEnumU8AsString.SetPropertyIndexes( - index: 98, - originalValueIndex: 98, + index: 100, + originalValueIndex: 100, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5147,12 +5263,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloat.SetAccessors( float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 99), + float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 101), float? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloat), - object (ValueBuffer valueBuffer) => valueBuffer[99]); + object (ValueBuffer valueBuffer) => valueBuffer[101]); nullableFloat.SetPropertyIndexes( - index: 99, - originalValueIndex: 99, + index: 101, + originalValueIndex: 101, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5191,12 +5307,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloatArray.SetAccessors( float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 100), + float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 102), float? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloatArray), - object (ValueBuffer valueBuffer) => valueBuffer[100]); + object (ValueBuffer valueBuffer) => valueBuffer[102]); nullableFloatArray.SetPropertyIndexes( - index: 100, - originalValueIndex: 100, + index: 102, + originalValueIndex: 102, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5250,12 +5366,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuid.SetAccessors( Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 101), + Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 103), Guid? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuid), - object (ValueBuffer valueBuffer) => valueBuffer[101]); + object (ValueBuffer valueBuffer) => valueBuffer[103]); nullableGuid.SetPropertyIndexes( - index: 101, - originalValueIndex: 101, + index: 103, + originalValueIndex: 103, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5301,12 +5417,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 102), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 104), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[102]); + object (ValueBuffer valueBuffer) => valueBuffer[104]); nullableIPAddress.SetPropertyIndexes( - index: 102, - originalValueIndex: 102, + index: 104, + originalValueIndex: 104, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5350,12 +5466,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16.SetAccessors( short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 103), + short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 105), short? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16), - object (ValueBuffer valueBuffer) => valueBuffer[103]); + object (ValueBuffer valueBuffer) => valueBuffer[105]); nullableInt16.SetPropertyIndexes( - index: 103, - originalValueIndex: 103, + index: 105, + originalValueIndex: 105, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5394,12 +5510,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16Array.SetAccessors( short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 104), + short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 106), short? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[104]); + object (ValueBuffer valueBuffer) => valueBuffer[106]); nullableInt16Array.SetPropertyIndexes( - index: 104, - originalValueIndex: 104, + index: 106, + originalValueIndex: 106, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5453,12 +5569,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 105), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 107), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32), - object (ValueBuffer valueBuffer) => valueBuffer[105]); + object (ValueBuffer valueBuffer) => valueBuffer[107]); nullableInt32.SetPropertyIndexes( - index: 105, - originalValueIndex: 105, + index: 107, + originalValueIndex: 107, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5497,12 +5613,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32Array.SetAccessors( int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 106), + int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 108), int? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[106]); + object (ValueBuffer valueBuffer) => valueBuffer[108]); nullableInt32Array.SetPropertyIndexes( - index: 106, - originalValueIndex: 106, + index: 108, + originalValueIndex: 108, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5555,12 +5671,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32NestedCollection.SetAccessors( int? [][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? [][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? [][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32NestedCollection, 107), + int? [][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32NestedCollection, 109), int? [][] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32NestedCollection), - object (ValueBuffer valueBuffer) => valueBuffer[107]); + object (ValueBuffer valueBuffer) => valueBuffer[109]); nullableInt32NestedCollection.SetPropertyIndexes( - index: 107, - originalValueIndex: 107, + index: 109, + originalValueIndex: 109, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5631,12 +5747,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64.SetAccessors( long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 108), + long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 110), long? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64), - object (ValueBuffer valueBuffer) => valueBuffer[108]); + object (ValueBuffer valueBuffer) => valueBuffer[110]); nullableInt64.SetPropertyIndexes( - index: 108, - originalValueIndex: 108, + index: 110, + originalValueIndex: 110, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5675,12 +5791,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64Array.SetAccessors( long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 109), + long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 111), long? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[109]); + object (ValueBuffer valueBuffer) => valueBuffer[111]); nullableInt64Array.SetPropertyIndexes( - index: 109, - originalValueIndex: 109, + index: 111, + originalValueIndex: 111, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5733,12 +5849,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64NestedCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64NestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableInt64NestedCollection, 110), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableInt64NestedCollection, 112), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableInt64NestedCollection), - object (ValueBuffer valueBuffer) => valueBuffer[110]); + object (ValueBuffer valueBuffer) => valueBuffer[112]); nullableInt64NestedCollection.SetPropertyIndexes( - index: 110, - originalValueIndex: 110, + index: 112, + originalValueIndex: 112, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5827,12 +5943,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8.SetAccessors( sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 111), + sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 113), sbyte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8), - object (ValueBuffer valueBuffer) => valueBuffer[111]); + object (ValueBuffer valueBuffer) => valueBuffer[113]); nullableInt8.SetPropertyIndexes( - index: 111, - originalValueIndex: 111, + index: 113, + originalValueIndex: 113, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5871,12 +5987,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8Array.SetAccessors( sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 112), + sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 114), sbyte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[112]); + object (ValueBuffer valueBuffer) => valueBuffer[114]); nullableInt8Array.SetPropertyIndexes( - index: 112, - originalValueIndex: 112, + index: 114, + originalValueIndex: 114, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5930,12 +6046,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 113), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 115), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[113]); + object (ValueBuffer valueBuffer) => valueBuffer[115]); nullablePhysicalAddress.SetPropertyIndexes( - index: 113, - originalValueIndex: 113, + index: 115, + originalValueIndex: 115, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5979,12 +6095,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableString.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 114), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 116), string (InternalEntityEntry entry) => entry.GetCurrentValue(nullableString), - object (ValueBuffer valueBuffer) => valueBuffer[114]); + object (ValueBuffer valueBuffer) => valueBuffer[116]); nullableString.SetPropertyIndexes( - index: 114, - originalValueIndex: 114, + index: 116, + originalValueIndex: 116, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6021,12 +6137,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableStringArray.SetAccessors( string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 115), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 117), string[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[115]); + object (ValueBuffer valueBuffer) => valueBuffer[117]); nullableStringArray.SetPropertyIndexes( - index: 115, - originalValueIndex: 115, + index: 117, + originalValueIndex: 117, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6079,12 +6195,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableStringNestedCollection.SetAccessors( string[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringNestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringNestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringNestedCollection, 116), + string[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringNestedCollection, 118), string[][] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableStringNestedCollection), - object (ValueBuffer valueBuffer) => valueBuffer[116]); + object (ValueBuffer valueBuffer) => valueBuffer[118]); nullableStringNestedCollection.SetPropertyIndexes( - index: 116, - originalValueIndex: 116, + index: 118, + originalValueIndex: 118, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6155,12 +6271,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnly.SetAccessors( TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 117), + TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 119), TimeOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[117]); + object (ValueBuffer valueBuffer) => valueBuffer[119]); nullableTimeOnly.SetPropertyIndexes( - index: 117, - originalValueIndex: 117, + index: 119, + originalValueIndex: 119, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6200,12 +6316,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpan.SetAccessors( TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 118), + TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 120), TimeSpan? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[118]); + object (ValueBuffer valueBuffer) => valueBuffer[120]); nullableTimeSpan.SetPropertyIndexes( - index: 118, - originalValueIndex: 118, + index: 120, + originalValueIndex: 120, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6245,12 +6361,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16.SetAccessors( ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 119), + ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 121), ushort? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16), - object (ValueBuffer valueBuffer) => valueBuffer[119]); + object (ValueBuffer valueBuffer) => valueBuffer[121]); nullableUInt16.SetPropertyIndexes( - index: 119, - originalValueIndex: 119, + index: 121, + originalValueIndex: 121, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6289,12 +6405,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16Array.SetAccessors( ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 120), + ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 122), ushort? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[120]); + object (ValueBuffer valueBuffer) => valueBuffer[122]); nullableUInt16Array.SetPropertyIndexes( - index: 120, - originalValueIndex: 120, + index: 122, + originalValueIndex: 122, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6348,12 +6464,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32.SetAccessors( uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 121), + uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 123), uint? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32), - object (ValueBuffer valueBuffer) => valueBuffer[121]); + object (ValueBuffer valueBuffer) => valueBuffer[123]); nullableUInt32.SetPropertyIndexes( - index: 121, - originalValueIndex: 121, + index: 123, + originalValueIndex: 123, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6392,12 +6508,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32Array.SetAccessors( uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 122), + uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 124), uint? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[122]); + object (ValueBuffer valueBuffer) => valueBuffer[124]); nullableUInt32Array.SetPropertyIndexes( - index: 122, - originalValueIndex: 122, + index: 124, + originalValueIndex: 124, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6451,12 +6567,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64.SetAccessors( ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 123), + ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 125), ulong? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64), - object (ValueBuffer valueBuffer) => valueBuffer[123]); + object (ValueBuffer valueBuffer) => valueBuffer[125]); nullableUInt64.SetPropertyIndexes( - index: 123, - originalValueIndex: 123, + index: 125, + originalValueIndex: 125, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6495,12 +6611,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64Array.SetAccessors( ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 124), + ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 126), ulong? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[124]); + object (ValueBuffer valueBuffer) => valueBuffer[126]); nullableUInt64Array.SetPropertyIndexes( - index: 124, - originalValueIndex: 124, + index: 126, + originalValueIndex: 126, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6554,12 +6670,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8.SetAccessors( byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 125), + byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 127), byte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8), - object (ValueBuffer valueBuffer) => valueBuffer[125]); + object (ValueBuffer valueBuffer) => valueBuffer[127]); nullableUInt8.SetPropertyIndexes( - index: 125, - originalValueIndex: 125, + index: 127, + originalValueIndex: 127, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6598,12 +6714,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8Array.SetAccessors( byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 126), + byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 128), byte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[126]); + object (ValueBuffer valueBuffer) => valueBuffer[128]); nullableUInt8Array.SetPropertyIndexes( - index: 126, - originalValueIndex: 126, + index: 128, + originalValueIndex: 128, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6657,12 +6773,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 127), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 129), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUri), - object (ValueBuffer valueBuffer) => valueBuffer[127]); + object (ValueBuffer valueBuffer) => valueBuffer[129]); nullableUri.SetPropertyIndexes( - index: 127, - originalValueIndex: 127, + index: 129, + originalValueIndex: 129, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6705,12 +6821,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 128), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 130), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[128]); + object (ValueBuffer valueBuffer) => valueBuffer[130]); physicalAddress.SetPropertyIndexes( - index: 128, - originalValueIndex: 128, + index: 130, + originalValueIndex: 130, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6754,12 +6870,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToBytesConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 129), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 131), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[129]); + object (ValueBuffer valueBuffer) => valueBuffer[131]); physicalAddressToBytesConverterProperty.SetPropertyIndexes( - index: 129, - originalValueIndex: 129, + index: 131, + originalValueIndex: 131, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6803,12 +6919,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToStringConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 130), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 132), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[130]); + object (ValueBuffer valueBuffer) => valueBuffer[132]); physicalAddressToStringConverterProperty.SetPropertyIndexes( - index: 130, - originalValueIndex: 130, + index: 132, + originalValueIndex: 132, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6851,12 +6967,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @string.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 131), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 133), string (InternalEntityEntry entry) => entry.GetCurrentValue(@string), - object (ValueBuffer valueBuffer) => valueBuffer[131]); + object (ValueBuffer valueBuffer) => valueBuffer[133]); @string.SetPropertyIndexes( - index: 131, - originalValueIndex: 131, + index: 133, + originalValueIndex: 133, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6893,12 +7009,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringArray.SetAccessors( string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 132), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 134), string[] (InternalEntityEntry entry) => entry.GetCurrentValue(stringArray), - object (ValueBuffer valueBuffer) => valueBuffer[132]); + object (ValueBuffer valueBuffer) => valueBuffer[134]); stringArray.SetPropertyIndexes( - index: 132, - originalValueIndex: 132, + index: 134, + originalValueIndex: 134, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6951,12 +7067,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringNestedCollection.SetAccessors( string[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringNestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringNestedCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringNestedCollection, 133), + string[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringNestedCollection, 135), string[][] (InternalEntityEntry entry) => entry.GetCurrentValue(stringNestedCollection), - object (ValueBuffer valueBuffer) => valueBuffer[133]); + object (ValueBuffer valueBuffer) => valueBuffer[135]); stringNestedCollection.SetPropertyIndexes( - index: 133, - originalValueIndex: 133, + index: 135, + originalValueIndex: 135, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7009,6 +7125,64 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas clrType: typeof(string), jsonValueReaderWriter: JsonStringReaderWriter.Instance))); + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + stringReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null); + stringReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(stringReadOnlyCollection, 136), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(stringReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[136]); + stringReadOnlyCollection.SetPropertyIndexes( + index: 136, + originalValueIndex: 136, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + stringReadOnlyCollection.TypeMapping = CosmosTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + keyComparer: new ValueComparer>( + bool (IReadOnlyCollection v1, IReadOnlyCollection v2) => object.Equals(v1, v2), + int (IReadOnlyCollection v) => ((object)v).GetHashCode(), + IReadOnlyCollection (IReadOnlyCollection v) => v), + providerValueComparer: new ValueComparer>( + bool (IReadOnlyCollection v1, IReadOnlyCollection v2) => object.Equals(v1, v2), + int (IReadOnlyCollection v) => ((object)v).GetHashCode(), + IReadOnlyCollection (IReadOnlyCollection v) => v), + clrType: typeof(IReadOnlyCollection), + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, string>( + JsonStringReaderWriter.Instance), + elementMapping: CosmosTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + keyComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + clrType: typeof(string), + jsonValueReaderWriter: JsonStringReaderWriter.Instance)); + var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", typeof(string), @@ -7027,12 +7201,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBoolConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 134), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 137), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBoolConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[134]); + object (ValueBuffer valueBuffer) => valueBuffer[137]); stringToBoolConverterProperty.SetPropertyIndexes( - index: 134, - originalValueIndex: 134, + index: 137, + originalValueIndex: 137, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7076,12 +7250,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBytesConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 135), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 138), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[135]); + object (ValueBuffer valueBuffer) => valueBuffer[138]); stringToBytesConverterProperty.SetPropertyIndexes( - index: 135, - originalValueIndex: 135, + index: 138, + originalValueIndex: 138, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7125,12 +7299,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToCharConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 136), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 139), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToCharConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[136]); + object (ValueBuffer valueBuffer) => valueBuffer[139]); stringToCharConverterProperty.SetPropertyIndexes( - index: 136, - originalValueIndex: 136, + index: 139, + originalValueIndex: 139, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7174,12 +7348,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 137), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 140), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[137]); + object (ValueBuffer valueBuffer) => valueBuffer[140]); stringToDateOnlyConverterProperty.SetPropertyIndexes( - index: 137, - originalValueIndex: 137, + index: 140, + originalValueIndex: 140, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7223,12 +7397,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 138), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 141), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[138]); + object (ValueBuffer valueBuffer) => valueBuffer[141]); stringToDateTimeConverterProperty.SetPropertyIndexes( - index: 138, - originalValueIndex: 138, + index: 141, + originalValueIndex: 141, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7272,12 +7446,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeOffsetConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 139), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 142), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeOffsetConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[139]); + object (ValueBuffer valueBuffer) => valueBuffer[142]); stringToDateTimeOffsetConverterProperty.SetPropertyIndexes( - index: 139, - originalValueIndex: 139, + index: 142, + originalValueIndex: 142, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7321,12 +7495,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDecimalNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 140), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 143), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDecimalNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[140]); + object (ValueBuffer valueBuffer) => valueBuffer[143]); stringToDecimalNumberConverterProperty.SetPropertyIndexes( - index: 140, - originalValueIndex: 140, + index: 143, + originalValueIndex: 143, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7370,12 +7544,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDoubleNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 141), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 144), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDoubleNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[141]); + object (ValueBuffer valueBuffer) => valueBuffer[144]); stringToDoubleNumberConverterProperty.SetPropertyIndexes( - index: 141, - originalValueIndex: 141, + index: 144, + originalValueIndex: 144, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7419,12 +7593,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToEnumConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 142), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 145), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToEnumConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[142]); + object (ValueBuffer valueBuffer) => valueBuffer[145]); stringToEnumConverterProperty.SetPropertyIndexes( - index: 142, - originalValueIndex: 142, + index: 145, + originalValueIndex: 145, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7467,12 +7641,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToGuidConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 143), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 146), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToGuidConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[143]); + object (ValueBuffer valueBuffer) => valueBuffer[146]); stringToGuidConverterProperty.SetPropertyIndexes( - index: 143, - originalValueIndex: 143, + index: 146, + originalValueIndex: 146, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7510,12 +7684,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToIntNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 144), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 147), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToIntNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[144]); + object (ValueBuffer valueBuffer) => valueBuffer[147]); stringToIntNumberConverterProperty.SetPropertyIndexes( - index: 144, - originalValueIndex: 144, + index: 147, + originalValueIndex: 147, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7559,12 +7733,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 145), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 148), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[145]); + object (ValueBuffer valueBuffer) => valueBuffer[148]); stringToTimeOnlyConverterProperty.SetPropertyIndexes( - index: 145, - originalValueIndex: 145, + index: 148, + originalValueIndex: 148, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7608,12 +7782,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeSpanConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 146), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 149), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeSpanConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[146]); + object (ValueBuffer valueBuffer) => valueBuffer[149]); stringToTimeSpanConverterProperty.SetPropertyIndexes( - index: 146, - originalValueIndex: 146, + index: 149, + originalValueIndex: 149, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7657,12 +7831,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToUriConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 147), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 150), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToUriConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[147]); + object (ValueBuffer valueBuffer) => valueBuffer[150]); stringToUriConverterProperty.SetPropertyIndexes( - index: 147, - originalValueIndex: 147, + index: 150, + originalValueIndex: 150, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7706,12 +7880,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnly.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 148), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 151), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[148]); + object (ValueBuffer valueBuffer) => valueBuffer[151]); timeOnly.SetPropertyIndexes( - index: 148, - originalValueIndex: 148, + index: 151, + originalValueIndex: 151, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7749,12 +7923,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToStringConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 149), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 152), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[149]); + object (ValueBuffer valueBuffer) => valueBuffer[152]); timeOnlyToStringConverterProperty.SetPropertyIndexes( - index: 149, - originalValueIndex: 149, + index: 152, + originalValueIndex: 152, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7799,12 +7973,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToTicksConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 150), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 153), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[150]); + object (ValueBuffer valueBuffer) => valueBuffer[153]); timeOnlyToTicksConverterProperty.SetPropertyIndexes( - index: 150, - originalValueIndex: 150, + index: 153, + originalValueIndex: 153, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7849,12 +8023,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpan.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 151), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 154), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[151]); + object (ValueBuffer valueBuffer) => valueBuffer[154]); timeSpan.SetPropertyIndexes( - index: 151, - originalValueIndex: 151, + index: 154, + originalValueIndex: 154, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7892,12 +8066,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToStringConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 152), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 155), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[152]); + object (ValueBuffer valueBuffer) => valueBuffer[155]); timeSpanToStringConverterProperty.SetPropertyIndexes( - index: 152, - originalValueIndex: 152, + index: 155, + originalValueIndex: 155, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7942,12 +8116,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToTicksConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 153), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 156), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[153]); + object (ValueBuffer valueBuffer) => valueBuffer[156]); timeSpanToTicksConverterProperty.SetPropertyIndexes( - index: 153, - originalValueIndex: 153, + index: 156, + originalValueIndex: 156, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7992,12 +8166,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16.SetAccessors( ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 154), + ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 157), ushort (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16), - object (ValueBuffer valueBuffer) => valueBuffer[154]); + object (ValueBuffer valueBuffer) => valueBuffer[157]); uInt16.SetPropertyIndexes( - index: 154, - originalValueIndex: 154, + index: 157, + originalValueIndex: 157, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8034,12 +8208,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16Array.SetAccessors( ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 155), + ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 158), ushort[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[155]); + object (ValueBuffer valueBuffer) => valueBuffer[158]); uInt16Array.SetPropertyIndexes( - index: 155, - originalValueIndex: 155, + index: 158, + originalValueIndex: 158, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8093,12 +8267,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32.SetAccessors( uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 156), + uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 159), uint (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32), - object (ValueBuffer valueBuffer) => valueBuffer[156]); + object (ValueBuffer valueBuffer) => valueBuffer[159]); uInt32.SetPropertyIndexes( - index: 156, - originalValueIndex: 156, + index: 159, + originalValueIndex: 159, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8135,12 +8309,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32Array.SetAccessors( uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 157), + uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 160), uint[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[157]); + object (ValueBuffer valueBuffer) => valueBuffer[160]); uInt32Array.SetPropertyIndexes( - index: 157, - originalValueIndex: 157, + index: 160, + originalValueIndex: 160, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8194,12 +8368,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64.SetAccessors( ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 158), + ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 161), ulong (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64), - object (ValueBuffer valueBuffer) => valueBuffer[158]); + object (ValueBuffer valueBuffer) => valueBuffer[161]); uInt64.SetPropertyIndexes( - index: 158, - originalValueIndex: 158, + index: 161, + originalValueIndex: 161, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8236,12 +8410,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64Array.SetAccessors( ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 159), + ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 162), ulong[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[159]); + object (ValueBuffer valueBuffer) => valueBuffer[162]); uInt64Array.SetPropertyIndexes( - index: 159, - originalValueIndex: 159, + index: 162, + originalValueIndex: 162, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8295,12 +8469,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8.SetAccessors( byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 160), + byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 163), byte (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8), - object (ValueBuffer valueBuffer) => valueBuffer[160]); + object (ValueBuffer valueBuffer) => valueBuffer[163]); uInt8.SetPropertyIndexes( - index: 160, - originalValueIndex: 160, + index: 163, + originalValueIndex: 163, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8337,12 +8511,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8Array.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 161), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 164), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[161]); + object (ValueBuffer valueBuffer) => valueBuffer[164]); uInt8Array.SetPropertyIndexes( - index: 161, - originalValueIndex: 161, + index: 164, + originalValueIndex: 164, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8368,6 +8542,64 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas string (byte[] v) => Convert.ToBase64String(v), byte[] (string v) => Convert.FromBase64String(v)))); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + uInt8ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null); + uInt8ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(uInt8ReadOnlyCollection, 165), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(uInt8ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[165]); + uInt8ReadOnlyCollection.SetPropertyIndexes( + index: 165, + originalValueIndex: 165, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + uInt8ReadOnlyCollection.TypeMapping = CosmosTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + keyComparer: new ValueComparer>( + bool (IReadOnlyCollection v1, IReadOnlyCollection v2) => object.Equals(v1, v2), + int (IReadOnlyCollection v) => ((object)v).GetHashCode(), + IReadOnlyCollection (IReadOnlyCollection v) => v), + providerValueComparer: new ValueComparer>( + bool (IReadOnlyCollection v1, IReadOnlyCollection v2) => object.Equals(v1, v2), + int (IReadOnlyCollection v) => ((object)v).GetHashCode(), + IReadOnlyCollection (IReadOnlyCollection v) => v), + clrType: typeof(IReadOnlyCollection), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance), + elementMapping: CosmosTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + keyComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + providerValueComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + clrType: typeof(byte), + jsonValueReaderWriter: JsonByteReaderWriter.Instance)); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri), @@ -8385,12 +8617,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 162), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 166), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uri), - object (ValueBuffer valueBuffer) => valueBuffer[162]); + object (ValueBuffer valueBuffer) => valueBuffer[166]); uri.SetPropertyIndexes( - index: 162, - originalValueIndex: 162, + index: 166, + originalValueIndex: 166, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8434,12 +8666,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriToStringConverterProperty.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 163), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 167), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uriToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[163]); + object (ValueBuffer valueBuffer) => valueBuffer[167]); uriToStringConverterProperty.SetPropertyIndexes( - index: 163, - originalValueIndex: 163, + index: 167, + originalValueIndex: 167, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8473,12 +8705,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas __id.SetAccessors( string (InternalEntityEntry entry) => entry.ReadShadowValue(1), string (InternalEntityEntry entry) => entry.ReadShadowValue(1), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(__id, 164), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(__id, 168), string (InternalEntityEntry entry) => entry.GetCurrentValue(__id), - object (ValueBuffer valueBuffer) => valueBuffer[164]); + object (ValueBuffer valueBuffer) => valueBuffer[168]); __id.SetPropertyIndexes( - index: 164, - originalValueIndex: 164, + index: 168, + originalValueIndex: 168, shadowIndex: 1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8507,14 +8739,14 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas beforeSaveBehavior: PropertySaveBehavior.Ignore, afterSaveBehavior: PropertySaveBehavior.Ignore); __jObject.SetAccessors( - JObject (InternalEntityEntry entry) => (entry.FlaggedAsStoreGenerated(165) ? entry.ReadStoreGeneratedValue(1) : (entry.FlaggedAsTemporary(165) && entry.ReadShadowValue(2) == null ? entry.ReadTemporaryValue(1) : entry.ReadShadowValue(2))), + JObject (InternalEntityEntry entry) => (entry.FlaggedAsStoreGenerated(169) ? entry.ReadStoreGeneratedValue(1) : (entry.FlaggedAsTemporary(169) && entry.ReadShadowValue(2) == null ? entry.ReadTemporaryValue(1) : entry.ReadShadowValue(2))), JObject (InternalEntityEntry entry) => entry.ReadShadowValue(2), - JObject (InternalEntityEntry entry) => entry.ReadOriginalValue(__jObject, 165), + JObject (InternalEntityEntry entry) => entry.ReadOriginalValue(__jObject, 169), JObject (InternalEntityEntry entry) => entry.GetCurrentValue(__jObject), - object (ValueBuffer valueBuffer) => valueBuffer[165]); + object (ValueBuffer valueBuffer) => valueBuffer[169]); __jObject.SetPropertyIndexes( - index: 165, - originalValueIndex: 165, + index: 169, + originalValueIndex: 169, shadowIndex: 2, relationshipIndex: -1, storeGenerationIndex: 1); @@ -8548,6 +8780,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var @bool = runtimeEntityType.FindProperty("Bool"); var boolArray = runtimeEntityType.FindProperty("BoolArray"); var boolNestedCollection = runtimeEntityType.FindProperty("BoolNestedCollection"); + var boolReadOnlyCollection = runtimeEntityType.FindProperty("BoolReadOnlyCollection"); var boolToStringConverterProperty = runtimeEntityType.FindProperty("BoolToStringConverterProperty"); var boolToTwoValuesConverterProperty = runtimeEntityType.FindProperty("BoolToTwoValuesConverterProperty"); var boolToZeroOneConverterProperty = runtimeEntityType.FindProperty("BoolToZeroOneConverterProperty"); @@ -8606,6 +8839,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var int32 = runtimeEntityType.FindProperty("Int32"); var int32Array = runtimeEntityType.FindProperty("Int32Array"); var int32NestedCollection = runtimeEntityType.FindProperty("Int32NestedCollection"); + var int32ReadOnlyCollection = runtimeEntityType.FindProperty("Int32ReadOnlyCollection"); var int64 = runtimeEntityType.FindProperty("Int64"); var int64Array = runtimeEntityType.FindProperty("Int64Array"); var int64NestedCollection = runtimeEntityType.FindProperty("Int64NestedCollection"); @@ -8677,6 +8911,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var @string = runtimeEntityType.FindProperty("String"); var stringArray = runtimeEntityType.FindProperty("StringArray"); var stringNestedCollection = runtimeEntityType.FindProperty("StringNestedCollection"); + var stringReadOnlyCollection = runtimeEntityType.FindProperty("StringReadOnlyCollection"); var stringToBoolConverterProperty = runtimeEntityType.FindProperty("StringToBoolConverterProperty"); var stringToBytesConverterProperty = runtimeEntityType.FindProperty("StringToBytesConverterProperty"); var stringToCharConverterProperty = runtimeEntityType.FindProperty("StringToCharConverterProperty"); @@ -8705,6 +8940,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var uInt64Array = runtimeEntityType.FindProperty("UInt64Array"); var uInt8 = runtimeEntityType.FindProperty("UInt8"); var uInt8Array = runtimeEntityType.FindProperty("UInt8Array"); + var uInt8ReadOnlyCollection = runtimeEntityType.FindProperty("UInt8ReadOnlyCollection"); var uri = runtimeEntityType.FindProperty("Uri"); var uriToStringConverterProperty = runtimeEntityType.FindProperty("UriToStringConverterProperty"); var __id = runtimeEntityType.FindProperty("__id"); @@ -8716,17 +8952,17 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) ISnapshot (InternalEntityEntry source) => { var entity = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg = ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), (source.GetCurrentValue(type) == null ? null : ((ValueComparer)(((IProperty)type).GetValueComparer())).Snapshot(source.GetCurrentValue(type))), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), (((object)(source.GetCurrentValue(boolNestedCollection))) == null ? null : ((bool[][])(((ValueComparer)(((IProperty)boolNestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(boolNestedCollection))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), (((object)(source.GetCurrentValue(charNestedCollection))) == null ? null : ((char[][])(((ValueComparer)(((IProperty)charNestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(charNestedCollection))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double)), (((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray)))))))))); + var liftedArg = ((ISnapshot)(new Snapshot, bool, bool, bool, byte[], byte[], int, char, char[], char[][], char, DateOnly, DateOnly, DateTime, DateTimeOffset, DateTimeOffset, DateTimeOffset, DateTime, DateTime, DateTime, decimal, decimal[], decimal, decimal, double>(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), (source.GetCurrentValue(type) == null ? null : ((ValueComparer)(((IProperty)type).GetValueComparer())).Snapshot(source.GetCurrentValue(type))), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), (((object)(source.GetCurrentValue(boolNestedCollection))) == null ? null : ((bool[][])(((ValueComparer)(((IProperty)boolNestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(boolNestedCollection))))))), (((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)boolReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), (((object)(source.GetCurrentValue(charNestedCollection))) == null ? null : ((char[][])(((ValueComparer)(((IProperty)charNestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(charNestedCollection))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double))))); var entity0 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg0 = ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16)), ((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress))), (source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array)))))))))); + var liftedArg0 = ((ISnapshot)(new Snapshot((((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray))))))), ((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16)), ((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress))), (source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16))))); var entity1 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg1 = ((ISnapshot)(new Snapshot[], sbyte, sbyte[], sbyte[][][], int, int, int?, bool?, bool? [], byte[], char?, char? [], DateOnly?, DateTime?, decimal?, decimal? [], double?, double? [], CompiledModelTestBase.Enum16?, CompiledModelTestBase.Enum16?, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum8?>(((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), (((object)(source.GetCurrentValue(int32NestedCollection))) == null ? null : ((int[][])(((ValueComparer)(((IProperty)int32NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(int32NestedCollection))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), (((object)(source.GetCurrentValue[]>(int64NestedCollection))) == null ? null : ((IList[])(((ValueComparer)(((IProperty)int64NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue[]>(int64NestedCollection))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), (((object)(source.GetCurrentValue(int8NestedCollection))) == null ? null : ((sbyte[][][])(((ValueComparer)(((IProperty)int8NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(int8NestedCollection))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))))))), (source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8)))))); + var liftedArg1 = ((ISnapshot)(new Snapshot, long, long[], IList[], sbyte, sbyte[], sbyte[][][], int, int, int?, bool?, bool? [], byte[], char?, char? [], DateOnly?, DateTime?, decimal?, decimal? [], double?, double? [], CompiledModelTestBase.Enum16?, CompiledModelTestBase.Enum16?, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum64?>((((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), (((object)(source.GetCurrentValue(int32NestedCollection))) == null ? null : ((int[][])(((ValueComparer)(((IProperty)int32NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(int32NestedCollection))))))), (((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)int32ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), (((object)(source.GetCurrentValue[]>(int64NestedCollection))) == null ? null : ((IList[])(((ValueComparer)(((IProperty)int64NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue[]>(int64NestedCollection))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), (((object)(source.GetCurrentValue(int8NestedCollection))) == null ? null : ((sbyte[][][])(((ValueComparer)(((IProperty)int8NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(int8NestedCollection))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))))))), (source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64)))))); var entity2 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg2 = ((ISnapshot)(new Snapshot, sbyte?, sbyte? [], PhysicalAddress, string, string[], string[][], TimeOnly?, TimeSpan?, ushort?>((source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (((object)(source.GetCurrentValue(nullableInt32NestedCollection))) == null ? null : ((int? [][])(((ValueComparer)(((IProperty)nullableInt32NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableInt32NestedCollection))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array))))))), (((object)(source.GetCurrentValue>(nullableInt64NestedCollection))) == null ? null : ((List)(((ValueComparer)(((IProperty)nullableInt64NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(nullableInt64NestedCollection))))))), (source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (((object)(source.GetCurrentValue(nullableStringNestedCollection))) == null ? null : ((string[][])(((ValueComparer)(((IProperty)nullableStringNestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringNestedCollection))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16)))))); + var liftedArg2 = ((ISnapshot)(new Snapshot, sbyte?, sbyte? [], PhysicalAddress, string, string[], string[][], TimeOnly?>((source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (((object)(source.GetCurrentValue(nullableInt32NestedCollection))) == null ? null : ((int? [][])(((ValueComparer)(((IProperty)nullableInt32NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableInt32NestedCollection))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array))))))), (((object)(source.GetCurrentValue>(nullableInt64NestedCollection))) == null ? null : ((List)(((ValueComparer)(((IProperty)nullableInt64NestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(nullableInt64NestedCollection))))))), (source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (((object)(source.GetCurrentValue(nullableStringNestedCollection))) == null ? null : ((string[][])(((ValueComparer)(((IProperty)nullableStringNestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringNestedCollection))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly)))))); var entity3 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg3 = ((ISnapshot)(new Snapshot((((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (((object)(source.GetCurrentValue(stringNestedCollection))) == null ? null : ((string[][])(((ValueComparer)(((IProperty)stringNestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringNestedCollection))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty))), (source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty))), (source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty))))); + var liftedArg3 = ((ISnapshot)(new Snapshot, string, string, string, string, string, string, string, string, string, string, string, string, string>((source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (((object)(source.GetCurrentValue(stringNestedCollection))) == null ? null : ((string[][])(((ValueComparer)(((IProperty)stringNestedCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringNestedCollection))))))), (((object)(source.GetCurrentValue>(stringReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)stringReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(stringReadOnlyCollection))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty))), (source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty))), (source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty)))))); var entity4 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty))), (source.GetCurrentValue(__id) == null ? null : ((ValueComparer)(((IProperty)__id).GetValueComparer())).Snapshot(source.GetCurrentValue(__id))), (source.GetCurrentValue(__jObject) == null ? null : ((ValueComparer)(((IProperty)__jObject).GetValueComparer())).Snapshot(source.GetCurrentValue(__jObject)))))) }))); + return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, ((ISnapshot)(new Snapshot, Uri, Uri, string, JObject>((source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)uInt8ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))))))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty))), (source.GetCurrentValue(__id) == null ? null : ((ValueComparer)(((IProperty)__id).GetValueComparer())).Snapshot(source.GetCurrentValue(__id))), (source.GetCurrentValue(__jObject) == null ? null : ((ValueComparer)(((IProperty)__jObject).GetValueComparer())).Snapshot(source.GetCurrentValue(__jObject)))))) }))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( ISnapshot () => ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(default(CompiledModelTestBase.ManyTypesId)), (default(JObject) == null ? null : ((ValueComparer)(((IProperty)__jObject).GetValueComparer())).Snapshot(default(JObject))))))); @@ -8743,10 +8979,10 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))))); }); runtimeEntityType.Counts = new PropertyCounts( - propertyCount: 166, + propertyCount: 170, navigationCount: 0, complexPropertyCount: 0, - originalValueCount: 166, + originalValueCount: 170, shadowCount: 3, relationshipCount: 1, storeGeneratedCount: 2); diff --git a/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs b/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs index b38e2d936e7..5ee3bb48112 100644 --- a/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs +++ b/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs @@ -25,6 +25,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool[][] BoolNestedCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_boolReadOnlyCollection")] + public static extern ref List _boolReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool BoolToStringConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -199,6 +202,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref int[][] Int32NestedCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_int32ReadOnlyCollection")] + public static extern ref List _int32ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref long Int64(CompiledModelTestBase.ManyTypes @this); @@ -412,6 +418,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string[][] StringNestedCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_stringReadOnlyCollection")] + public static extern ref List _stringReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string StringToBoolConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -496,6 +505,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref byte[] UInt8Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_uInt8ReadOnlyCollection")] + public static extern ref List _uInt8ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref Uri Uri(CompiledModelTestBase.ManyTypes @this); diff --git a/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs b/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs index 2d447e1dba5..f0619692a37 100644 --- a/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs +++ b/test/EFCore.Cosmos.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs @@ -32,7 +32,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas baseEntityType, discriminatorProperty: "$type", discriminatorValue: "ManyTypes", - propertyCount: 166, + propertyCount: 170, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -70,6 +70,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolNestedCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -516,6 +522,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32NestedCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -991,6 +1003,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringNestedCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", typeof(string), @@ -1189,6 +1207,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8Array", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri), diff --git a/test/EFCore.Cosmos.FunctionalTests/Scaffolding/CompiledModelCosmosTest.cs b/test/EFCore.Cosmos.FunctionalTests/Scaffolding/CompiledModelCosmosTest.cs index 26eb930ce0c..e38f8fdeb86 100644 --- a/test/EFCore.Cosmos.FunctionalTests/Scaffolding/CompiledModelCosmosTest.cs +++ b/test/EFCore.Cosmos.FunctionalTests/Scaffolding/CompiledModelCosmosTest.cs @@ -331,6 +331,7 @@ protected override void BuildBigModel(ModelBuilder modelBuilder, bool jsonColumn b.Ignore(e => e.NullableGuidNestedCollection); b.Ignore(e => e.UInt8NestedCollection); b.Ignore(e => e.NullableUInt8NestedCollection); + b.Ignore(e => e.IPAddressReadOnlyCollection); }); } diff --git a/test/EFCore.InMemory.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs b/test/EFCore.InMemory.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs index 1af80a9af87..fa1d5745f89 100644 --- a/test/EFCore.InMemory.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs +++ b/test/EFCore.InMemory.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs @@ -27,7 +27,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas "Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase+ManyTypes", typeof(CompiledModelTestBase.ManyTypes), baseEntityType, - propertyCount: 258, + propertyCount: 263, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -59,6 +59,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolNestedCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -711,6 +717,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressArray", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var iPAddressReadOnlyCollection = runtimeEntityType.AddProperty( + "IPAddressReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_ipAddressReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var iPAddressToBytesConverterProperty = runtimeEntityType.AddProperty( "IPAddressToBytesConverterProperty", typeof(IPAddress), @@ -757,6 +769,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32NestedCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -1526,6 +1544,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringNestedCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", typeof(string), @@ -1742,6 +1766,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8NestedCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri), diff --git a/test/EFCore.Specification.Tests/Scaffolding/CompiledModelTestBase.cs b/test/EFCore.Specification.Tests/Scaffolding/CompiledModelTestBase.cs index 29a7f138fb7..cf1241ebfa7 100644 --- a/test/EFCore.Specification.Tests/Scaffolding/CompiledModelTestBase.cs +++ b/test/EFCore.Specification.Tests/Scaffolding/CompiledModelTestBase.cs @@ -221,6 +221,15 @@ protected virtual void BuildBigModel(ModelBuilder modelBuilder, bool jsonColumns b.PrimitiveCollection(e => e.EnumU32AsStringArray).ElementType(b => b.HasConversion()); b.PrimitiveCollection(e => e.EnumU64AsStringArray).ElementType(b => b.HasConversion()); + b.Property(e => e.BoolReadOnlyCollection); + b.Property(e => e.UInt8ReadOnlyCollection).HasField("_uInt8ReadOnlyCollection"); + b.Property(e => e.Int32ReadOnlyCollection); + b.Property(e => e.StringReadOnlyCollection).HasField("_stringReadOnlyCollection"); + + b.PrimitiveCollection(e => e.IPAddressReadOnlyCollection) + .ElementType(b => b.HasConversion()) + .HasField("_ipAddressReadOnlyCollection"); + b.Property(e => e.BoolToStringConverterProperty).HasConversion(new BoolToStringConverter("A", "B")); b.Property(e => e.BoolToTwoValuesConverterProperty).HasConversion(new BoolToTwoValuesConverter(0, 1)); b.Property(e => e.BoolToZeroOneConverterProperty).HasConversion>(); @@ -911,6 +920,27 @@ public class ManyTypes public IPAddress?[] NullableIPAddressArray { get; set; } = null!; public PhysicalAddress?[] NullablePhysicalAddressArray { get; set; } = null!; + private List _boolReadOnlyCollection = []; + private List _uInt8ReadOnlyCollection = []; + private List _int32ReadOnlyCollection = []; + private List _stringReadOnlyCollection = []; + private List _ipAddressReadOnlyCollection = []; + + public IReadOnlyCollection BoolReadOnlyCollection + => _boolReadOnlyCollection.ToList(); + + public IReadOnlyCollection UInt8ReadOnlyCollection + => _uInt8ReadOnlyCollection.ToList(); + + public IReadOnlyCollection Int32ReadOnlyCollection + => _int32ReadOnlyCollection.ToList(); + + public IReadOnlyCollection StringReadOnlyCollection + => _stringReadOnlyCollection.ToList(); + + public IReadOnlyCollection IPAddressReadOnlyCollection + => _ipAddressReadOnlyCollection.ToList(); + public Enum8 Enum8 { get; set; } public Enum16 Enum16 { get; set; } public Enum32 Enum32 { get; set; } diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/DbContextModelBuilder.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/DbContextModelBuilder.cs index 6f51ca35f4f..8faca370257 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/DbContextModelBuilder.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/DbContextModelBuilder.cs @@ -194,6 +194,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Bool", boolColumnBase); var boolArrayColumnBase = new ColumnBase("BoolArray", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolArray", boolArrayColumnBase); + var boolReadOnlyCollectionColumnBase = new ColumnBase("BoolReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolReadOnlyCollection", boolReadOnlyCollectionColumnBase); var boolToStringConverterPropertyColumnBase = new ColumnBase("BoolToStringConverterProperty", "nvarchar(1)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolToStringConverterProperty", boolToStringConverterPropertyColumnBase); var boolToTwoValuesConverterPropertyColumnBase = new ColumnBase("BoolToTwoValuesConverterProperty", "tinyint", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -368,6 +370,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddress", iPAddressColumnBase); var iPAddressArrayColumnBase = new ColumnBase("IPAddressArray", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressArray", iPAddressArrayColumnBase); + var iPAddressReadOnlyCollectionColumnBase = new ColumnBase("IPAddressReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressReadOnlyCollection", iPAddressReadOnlyCollectionColumnBase); var iPAddressToBytesConverterPropertyColumnBase = new ColumnBase("IPAddressToBytesConverterProperty", "varbinary(16)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressToBytesConverterProperty", iPAddressToBytesConverterPropertyColumnBase); var iPAddressToStringConverterPropertyColumnBase = new ColumnBase("IPAddressToStringConverterProperty", "nvarchar(45)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -382,6 +386,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32", int32ColumnBase); var int32ArrayColumnBase = new ColumnBase("Int32Array", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32Array", int32ArrayColumnBase); + var int32ReadOnlyCollectionColumnBase = new ColumnBase("Int32ReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32ReadOnlyCollection", int32ReadOnlyCollectionColumnBase); var int64ColumnBase = new ColumnBase("Int64", "bigint", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int64", int64ColumnBase); var int64ArrayColumnBase = new ColumnBase("Int64Array", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -716,6 +722,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("String", stringColumnBase); var stringArrayColumnBase = new ColumnBase("StringArray", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringArray", stringArrayColumnBase); + var stringReadOnlyCollectionColumnBase = new ColumnBase("StringReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringReadOnlyCollection", stringReadOnlyCollectionColumnBase); var stringToBoolConverterPropertyColumnBase = new ColumnBase("StringToBoolConverterProperty", "bit", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringToBoolConverterProperty", stringToBoolConverterPropertyColumnBase); var stringToBytesConverterPropertyColumnBase = new ColumnBase("StringToBytesConverterProperty", "varbinary(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase) @@ -779,6 +787,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8", uInt8ColumnBase); var uInt8ArrayColumnBase = new ColumnBase("UInt8Array", "varbinary(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8Array", uInt8ArrayColumnBase); + var uInt8ReadOnlyCollectionColumnBase = new ColumnBase("UInt8ReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8ReadOnlyCollection", uInt8ReadOnlyCollectionColumnBase); var uriColumnBase = new ColumnBase("Uri", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Uri", uriColumnBase); var uriArrayColumnBase = new ColumnBase("UriArray", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -792,6 +802,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)idColumnBase0, manyTypes.FindProperty("Id")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolColumnBase, manyTypes.FindProperty("Bool")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolArrayColumnBase, manyTypes.FindProperty("BoolArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)boolReadOnlyCollectionColumnBase, manyTypes.FindProperty("BoolReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToStringConverterPropertyColumnBase, manyTypes.FindProperty("BoolToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToTwoValuesConverterPropertyColumnBase, manyTypes.FindProperty("BoolToTwoValuesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToZeroOneConverterPropertyColumnBase, manyTypes.FindProperty("BoolToZeroOneConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -879,12 +890,14 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)guidToStringConverterPropertyColumnBase, manyTypes.FindProperty("GuidToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressColumnBase, manyTypes.FindProperty("IPAddress")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressArrayColumnBase, manyTypes.FindProperty("IPAddressArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)iPAddressReadOnlyCollectionColumnBase, manyTypes.FindProperty("IPAddressReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressToBytesConverterPropertyColumnBase, manyTypes.FindProperty("IPAddressToBytesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressToStringConverterPropertyColumnBase, manyTypes.FindProperty("IPAddressToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int16ColumnBase, manyTypes.FindProperty("Int16")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int16ArrayColumnBase, manyTypes.FindProperty("Int16Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int32ColumnBase, manyTypes.FindProperty("Int32")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int32ArrayColumnBase, manyTypes.FindProperty("Int32Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)int32ReadOnlyCollectionColumnBase, manyTypes.FindProperty("Int32ReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int64ColumnBase, manyTypes.FindProperty("Int64")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int64ArrayColumnBase, manyTypes.FindProperty("Int64Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int8ColumnBase, manyTypes.FindProperty("Int8")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -992,6 +1005,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)physicalAddressToStringConverterPropertyColumnBase, manyTypes.FindProperty("PhysicalAddressToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringColumnBase, manyTypes.FindProperty("String")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringArrayColumnBase, manyTypes.FindProperty("StringArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)stringReadOnlyCollectionColumnBase, manyTypes.FindProperty("StringReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToBoolConverterPropertyColumnBase, manyTypes.FindProperty("StringToBoolConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToBytesConverterPropertyColumnBase, manyTypes.FindProperty("StringToBytesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToCharConverterPropertyColumnBase, manyTypes.FindProperty("StringToCharConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1022,6 +1036,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)uInt64ArrayColumnBase, manyTypes.FindProperty("UInt64Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uInt8ColumnBase, manyTypes.FindProperty("UInt8")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uInt8ArrayColumnBase, manyTypes.FindProperty("UInt8Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)uInt8ReadOnlyCollectionColumnBase, manyTypes.FindProperty("UInt8ReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriColumnBase, manyTypes.FindProperty("Uri")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriArrayColumnBase, manyTypes.FindProperty("UriArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriToStringConverterPropertyColumnBase, manyTypes.FindProperty("UriToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1038,6 +1053,9 @@ private IRelationalModel CreateRelationalModel() var boolArrayColumn = new Column("BoolArray", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("BoolArray", boolArrayColumn); boolArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolArrayColumn); + var boolReadOnlyCollectionColumn = new Column("BoolReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("BoolReadOnlyCollection", boolReadOnlyCollectionColumn); + boolReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolReadOnlyCollectionColumn); var boolToStringConverterPropertyColumn = new Column("BoolToStringConverterProperty", "nvarchar(1)", manyTypesTable); manyTypesTable.Columns.Add("BoolToStringConverterProperty", boolToStringConverterPropertyColumn); boolToStringConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolToStringConverterPropertyColumn); @@ -1299,6 +1317,9 @@ private IRelationalModel CreateRelationalModel() var iPAddressArrayColumn = new Column("IPAddressArray", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("IPAddressArray", iPAddressArrayColumn); iPAddressArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressArrayColumn); + var iPAddressReadOnlyCollectionColumn = new Column("IPAddressReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("IPAddressReadOnlyCollection", iPAddressReadOnlyCollectionColumn); + iPAddressReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressReadOnlyCollectionColumn); var iPAddressToBytesConverterPropertyColumn = new Column("IPAddressToBytesConverterProperty", "varbinary(16)", manyTypesTable); manyTypesTable.Columns.Add("IPAddressToBytesConverterProperty", iPAddressToBytesConverterPropertyColumn); iPAddressToBytesConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressToBytesConverterPropertyColumn); @@ -1317,6 +1338,9 @@ private IRelationalModel CreateRelationalModel() var int32ArrayColumn = new Column("Int32Array", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("Int32Array", int32ArrayColumn); int32ArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(int32ArrayColumn); + var int32ReadOnlyCollectionColumn = new Column("Int32ReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("Int32ReadOnlyCollection", int32ReadOnlyCollectionColumn); + int32ReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(int32ReadOnlyCollectionColumn); var int64Column = new Column("Int64", "bigint", manyTypesTable); manyTypesTable.Columns.Add("Int64", int64Column); int64Column.Accessors = ColumnAccessorsFactory.CreateGeneric(int64Column); @@ -1758,6 +1782,9 @@ private IRelationalModel CreateRelationalModel() var stringArrayColumn = new Column("StringArray", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("StringArray", stringArrayColumn); stringArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringArrayColumn); + var stringReadOnlyCollectionColumn = new Column("StringReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("StringReadOnlyCollection", stringReadOnlyCollectionColumn); + stringReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringReadOnlyCollectionColumn); var stringToBoolConverterPropertyColumn = new Column("StringToBoolConverterProperty", "bit", manyTypesTable); manyTypesTable.Columns.Add("StringToBoolConverterProperty", stringToBoolConverterPropertyColumn); stringToBoolConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringToBoolConverterPropertyColumn); @@ -1851,6 +1878,9 @@ private IRelationalModel CreateRelationalModel() var uInt8ArrayColumn = new Column("UInt8Array", "varbinary(max)", manyTypesTable); manyTypesTable.Columns.Add("UInt8Array", uInt8ArrayColumn); uInt8ArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uInt8ArrayColumn); + var uInt8ReadOnlyCollectionColumn = new Column("UInt8ReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("UInt8ReadOnlyCollection", uInt8ReadOnlyCollectionColumn); + uInt8ReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uInt8ReadOnlyCollectionColumn); var uriColumn = new Column("Uri", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("Uri", uriColumn); uriColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uriColumn); @@ -1867,6 +1897,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(idColumn0, manyTypes.FindProperty("Id")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolColumn, manyTypes.FindProperty("Bool")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolArrayColumn, manyTypes.FindProperty("BoolArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(boolReadOnlyCollectionColumn, manyTypes.FindProperty("BoolReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToStringConverterPropertyColumn, manyTypes.FindProperty("BoolToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToTwoValuesConverterPropertyColumn, manyTypes.FindProperty("BoolToTwoValuesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToZeroOneConverterPropertyColumn, manyTypes.FindProperty("BoolToZeroOneConverterProperty")!, manyTypesTableMapping); @@ -1954,12 +1985,14 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(guidToStringConverterPropertyColumn, manyTypes.FindProperty("GuidToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressColumn, manyTypes.FindProperty("IPAddress")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressArrayColumn, manyTypes.FindProperty("IPAddressArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(iPAddressReadOnlyCollectionColumn, manyTypes.FindProperty("IPAddressReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressToBytesConverterPropertyColumn, manyTypes.FindProperty("IPAddressToBytesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressToStringConverterPropertyColumn, manyTypes.FindProperty("IPAddressToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int16Column, manyTypes.FindProperty("Int16")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int16ArrayColumn, manyTypes.FindProperty("Int16Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int32Column, manyTypes.FindProperty("Int32")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int32ArrayColumn, manyTypes.FindProperty("Int32Array")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(int32ReadOnlyCollectionColumn, manyTypes.FindProperty("Int32ReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int64Column, manyTypes.FindProperty("Int64")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int64ArrayColumn, manyTypes.FindProperty("Int64Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int8Column, manyTypes.FindProperty("Int8")!, manyTypesTableMapping); @@ -2067,6 +2100,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(physicalAddressToStringConverterPropertyColumn, manyTypes.FindProperty("PhysicalAddressToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringColumn, manyTypes.FindProperty("String")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringArrayColumn, manyTypes.FindProperty("StringArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(stringReadOnlyCollectionColumn, manyTypes.FindProperty("StringReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToBoolConverterPropertyColumn, manyTypes.FindProperty("StringToBoolConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToBytesConverterPropertyColumn, manyTypes.FindProperty("StringToBytesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToCharConverterPropertyColumn, manyTypes.FindProperty("StringToCharConverterProperty")!, manyTypesTableMapping); @@ -2097,6 +2131,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(uInt64ArrayColumn, manyTypes.FindProperty("UInt64Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uInt8Column, manyTypes.FindProperty("UInt8")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uInt8ArrayColumn, manyTypes.FindProperty("UInt8Array")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(uInt8ReadOnlyCollectionColumn, manyTypes.FindProperty("UInt8ReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriColumn, manyTypes.FindProperty("Uri")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriArrayColumn, manyTypes.FindProperty("UriArray")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriToStringConverterPropertyColumn, manyTypes.FindProperty("UriToStringConverterProperty")!, manyTypesTableMapping); diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/DependentDerivedEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/DependentDerivedEntityType.cs index ebd7aee13f6..0da710b64b0 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/DependentDerivedEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/DependentDerivedEntityType.cs @@ -131,7 +131,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); + var entity8 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), ((ValueComparer)(((IProperty)enumDiscriminator).GetValueComparer())).Snapshot(source.GetCurrentValue(enumDiscriminator)), (source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), (source.GetCurrentValue(data) == null ? null : ((ValueComparer)(((IProperty)data).GetValueComparer())).Snapshot(source.GetCurrentValue(data))), ((ValueComparer)(((IProperty)money).GetValueComparer())).Snapshot(source.GetCurrentValue(money))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -145,8 +145,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); - return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), DependentBaseUnsafeAccessors.Principal(entity7)))); + var entity8 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); + return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), DependentBaseUnsafeAccessors.Principal(entity8)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 6, diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs index 7363b3af85d..e36b79214b3 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs @@ -34,7 +34,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas "Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase+ManyTypes", typeof(CompiledModelTestBase.ManyTypes), baseEntityType, - propertyCount: 236, + propertyCount: 241, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -196,6 +196,69 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bool (bool v) => v))); boolArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + boolReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null); + boolReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(boolReadOnlyCollection, 3), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(boolReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[3]); + boolReadOnlyCollection.SetPropertyIndexes( + index: 3, + originalValueIndex: 3, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + boolReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + keyComparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance)), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance), + elementMapping: SqlServerBoolTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + keyComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + providerValueComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v))); + boolReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -213,12 +276,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToStringConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 3), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 4), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[3]); + object (ValueBuffer valueBuffer) => valueBuffer[4]); boolToStringConverterProperty.SetPropertyIndexes( - index: 3, - originalValueIndex: 3, + index: 4, + originalValueIndex: 4, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -268,12 +331,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToTwoValuesConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 4), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 5), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToTwoValuesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[4]); + object (ValueBuffer valueBuffer) => valueBuffer[5]); boolToTwoValuesConverterProperty.SetPropertyIndexes( - index: 4, - originalValueIndex: 4, + index: 5, + originalValueIndex: 5, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -319,12 +382,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToZeroOneConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 5), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 6), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToZeroOneConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[5]); + object (ValueBuffer valueBuffer) => valueBuffer[6]); boolToZeroOneConverterProperty.SetPropertyIndexes( - index: 5, - originalValueIndex: 5, + index: 6, + originalValueIndex: 6, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -369,12 +432,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 6), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 7), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytes), - object (ValueBuffer valueBuffer) => valueBuffer[6]); + object (ValueBuffer valueBuffer) => valueBuffer[7]); bytes.SetPropertyIndexes( - index: 6, - originalValueIndex: 6, + index: 7, + originalValueIndex: 7, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -413,12 +476,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesArray.SetAccessors( byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesArray, 7), + byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesArray, 8), byte[][] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesArray), - object (ValueBuffer valueBuffer) => valueBuffer[7]); + object (ValueBuffer valueBuffer) => valueBuffer[8]); bytesArray.SetPropertyIndexes( - index: 7, - originalValueIndex: 7, + index: 8, + originalValueIndex: 8, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -481,12 +544,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesToStringConverterProperty.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 8), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 9), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[8]); + object (ValueBuffer valueBuffer) => valueBuffer[9]); bytesToStringConverterProperty.SetPropertyIndexes( - index: 8, - originalValueIndex: 8, + index: 9, + originalValueIndex: 9, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -536,12 +599,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas castingConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 9), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 10), int (InternalEntityEntry entry) => entry.GetCurrentValue(castingConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[9]); + object (ValueBuffer valueBuffer) => valueBuffer[10]); castingConverterProperty.SetPropertyIndexes( - index: 9, - originalValueIndex: 9, + index: 10, + originalValueIndex: 10, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -586,12 +649,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @char.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 10), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 11), char (InternalEntityEntry entry) => entry.GetCurrentValue(@char), - object (ValueBuffer valueBuffer) => valueBuffer[10]); + object (ValueBuffer valueBuffer) => valueBuffer[11]); @char.SetPropertyIndexes( - index: 10, - originalValueIndex: 10, + index: 11, + originalValueIndex: 11, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -641,12 +704,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charArray.SetAccessors( char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 11), + char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 12), char[] (InternalEntityEntry entry) => entry.GetCurrentValue(charArray), - object (ValueBuffer valueBuffer) => valueBuffer[11]); + object (ValueBuffer valueBuffer) => valueBuffer[12]); charArray.SetPropertyIndexes( - index: 11, - originalValueIndex: 11, + index: 12, + originalValueIndex: 12, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -726,12 +789,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charToStringConverterProperty.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 12), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 13), char (InternalEntityEntry entry) => entry.GetCurrentValue(charToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[12]); + object (ValueBuffer valueBuffer) => valueBuffer[13]); charToStringConverterProperty.SetPropertyIndexes( - index: 12, - originalValueIndex: 12, + index: 13, + originalValueIndex: 13, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -784,12 +847,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnly.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 13), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 14), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[13]); + object (ValueBuffer valueBuffer) => valueBuffer[14]); dateOnly.SetPropertyIndexes( - index: 13, - originalValueIndex: 13, + index: 14, + originalValueIndex: 14, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -825,12 +888,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyArray.SetAccessors( DateOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyArray, 14), + DateOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyArray, 15), DateOnly[] (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[14]); + object (ValueBuffer valueBuffer) => valueBuffer[15]); dateOnlyArray.SetPropertyIndexes( - index: 14, - originalValueIndex: 14, + index: 15, + originalValueIndex: 15, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -889,12 +952,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyToStringConverterProperty.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 15), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 16), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[15]); + object (ValueBuffer valueBuffer) => valueBuffer[16]); dateOnlyToStringConverterProperty.SetPropertyIndexes( - index: 15, - originalValueIndex: 15, + index: 16, + originalValueIndex: 16, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -945,12 +1008,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTime.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 16), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 17), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTime), - object (ValueBuffer valueBuffer) => valueBuffer[16]); + object (ValueBuffer valueBuffer) => valueBuffer[17]); dateTime.SetPropertyIndexes( - index: 16, - originalValueIndex: 16, + index: 17, + originalValueIndex: 17, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -986,12 +1049,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeArray.SetAccessors( DateTime[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeArray, 17), + DateTime[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeArray, 18), DateTime[] (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeArray), - object (ValueBuffer valueBuffer) => valueBuffer[17]); + object (ValueBuffer valueBuffer) => valueBuffer[18]); dateTimeArray.SetPropertyIndexes( - index: 17, - originalValueIndex: 17, + index: 18, + originalValueIndex: 18, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1050,12 +1113,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBinaryConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 18), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 19), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[18]); + object (ValueBuffer valueBuffer) => valueBuffer[19]); dateTimeOffsetToBinaryConverterProperty.SetPropertyIndexes( - index: 18, - originalValueIndex: 18, + index: 19, + originalValueIndex: 19, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1101,12 +1164,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBytesConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 19), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 20), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[19]); + object (ValueBuffer valueBuffer) => valueBuffer[20]); dateTimeOffsetToBytesConverterProperty.SetPropertyIndexes( - index: 19, - originalValueIndex: 19, + index: 20, + originalValueIndex: 20, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1155,12 +1218,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToStringConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 20), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 21), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[20]); + object (ValueBuffer valueBuffer) => valueBuffer[21]); dateTimeOffsetToStringConverterProperty.SetPropertyIndexes( - index: 20, - originalValueIndex: 20, + index: 21, + originalValueIndex: 21, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1211,12 +1274,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToBinaryConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 21), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 22), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[21]); + object (ValueBuffer valueBuffer) => valueBuffer[22]); dateTimeToBinaryConverterProperty.SetPropertyIndexes( - index: 21, - originalValueIndex: 21, + index: 22, + originalValueIndex: 22, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1262,12 +1325,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToStringConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 22), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 23), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[22]); + object (ValueBuffer valueBuffer) => valueBuffer[23]); dateTimeToStringConverterProperty.SetPropertyIndexes( - index: 22, - originalValueIndex: 22, + index: 23, + originalValueIndex: 23, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1318,12 +1381,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToTicksConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 23), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 24), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[23]); + object (ValueBuffer valueBuffer) => valueBuffer[24]); dateTimeToTicksConverterProperty.SetPropertyIndexes( - index: 23, - originalValueIndex: 23, + index: 24, + originalValueIndex: 24, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1360,12 +1423,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @decimal.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 24), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 25), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(@decimal), - object (ValueBuffer valueBuffer) => valueBuffer[24]); + object (ValueBuffer valueBuffer) => valueBuffer[25]); @decimal.SetPropertyIndexes( - index: 24, - originalValueIndex: 24, + index: 25, + originalValueIndex: 25, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1401,12 +1464,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalArray.SetAccessors( decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 25), + decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 26), decimal[] (InternalEntityEntry entry) => entry.GetCurrentValue(decimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[25]); + object (ValueBuffer valueBuffer) => valueBuffer[26]); decimalArray.SetPropertyIndexes( - index: 25, - originalValueIndex: 25, + index: 26, + originalValueIndex: 26, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1465,12 +1528,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToBytesConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 26), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 27), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[26]); + object (ValueBuffer valueBuffer) => valueBuffer[27]); decimalNumberToBytesConverterProperty.SetPropertyIndexes( - index: 26, - originalValueIndex: 26, + index: 27, + originalValueIndex: 27, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1519,12 +1582,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToStringConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 27), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 28), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[27]); + object (ValueBuffer valueBuffer) => valueBuffer[28]); decimalNumberToStringConverterProperty.SetPropertyIndexes( - index: 27, - originalValueIndex: 27, + index: 28, + originalValueIndex: 28, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1575,12 +1638,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @double.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 28), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 29), double (InternalEntityEntry entry) => entry.GetCurrentValue(@double), - object (ValueBuffer valueBuffer) => valueBuffer[28]); + object (ValueBuffer valueBuffer) => valueBuffer[29]); @double.SetPropertyIndexes( - index: 28, - originalValueIndex: 28, + index: 29, + originalValueIndex: 29, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1616,12 +1679,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleArray.SetAccessors( double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 29), + double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 30), double[] (InternalEntityEntry entry) => entry.GetCurrentValue(doubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[29]); + object (ValueBuffer valueBuffer) => valueBuffer[30]); doubleArray.SetPropertyIndexes( - index: 29, - originalValueIndex: 29, + index: 30, + originalValueIndex: 30, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1680,12 +1743,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToBytesConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 30), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 31), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[30]); + object (ValueBuffer valueBuffer) => valueBuffer[31]); doubleNumberToBytesConverterProperty.SetPropertyIndexes( - index: 30, - originalValueIndex: 30, + index: 31, + originalValueIndex: 31, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1734,12 +1797,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToStringConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 31), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 32), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[31]); + object (ValueBuffer valueBuffer) => valueBuffer[32]); doubleNumberToStringConverterProperty.SetPropertyIndexes( - index: 31, - originalValueIndex: 31, + index: 32, + originalValueIndex: 32, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1789,12 +1852,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 32), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 33), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16), - object (ValueBuffer valueBuffer) => valueBuffer[32]); + object (ValueBuffer valueBuffer) => valueBuffer[33]); enum16.SetPropertyIndexes( - index: 32, - originalValueIndex: 32, + index: 33, + originalValueIndex: 33, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1839,12 +1902,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16Array.SetAccessors( CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16Array, 33), + CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16Array, 34), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum16Array), - object (ValueBuffer valueBuffer) => valueBuffer[33]); + object (ValueBuffer valueBuffer) => valueBuffer[34]); enum16Array.SetPropertyIndexes( - index: 33, - originalValueIndex: 33, + index: 34, + originalValueIndex: 34, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1919,12 +1982,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsString.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 34), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 35), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[34]); + object (ValueBuffer valueBuffer) => valueBuffer[35]); enum16AsString.SetPropertyIndexes( - index: 34, - originalValueIndex: 34, + index: 35, + originalValueIndex: 35, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1974,12 +2037,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsStringArray.SetAccessors( CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsStringArray, 35), + CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsStringArray, 36), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[35]); + object (ValueBuffer valueBuffer) => valueBuffer[36]); enum16AsStringArray.SetPropertyIndexes( - index: 35, - originalValueIndex: 35, + index: 36, + originalValueIndex: 36, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2058,12 +2121,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16AsStringCollection, 36), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16AsStringCollection, 37), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[36]); + object (ValueBuffer valueBuffer) => valueBuffer[37]); enum16AsStringCollection.SetPropertyIndexes( - index: 36, - originalValueIndex: 36, + index: 37, + originalValueIndex: 37, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2142,12 +2205,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16Collection, 37), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16Collection, 38), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[37]); + object (ValueBuffer valueBuffer) => valueBuffer[38]); enum16Collection.SetPropertyIndexes( - index: 37, - originalValueIndex: 37, + index: 38, + originalValueIndex: 38, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2221,12 +2284,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 38), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 39), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32), - object (ValueBuffer valueBuffer) => valueBuffer[38]); + object (ValueBuffer valueBuffer) => valueBuffer[39]); enum32.SetPropertyIndexes( - index: 38, - originalValueIndex: 38, + index: 39, + originalValueIndex: 39, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2271,12 +2334,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32Array.SetAccessors( CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32Array, 39), + CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32Array, 40), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum32Array), - object (ValueBuffer valueBuffer) => valueBuffer[39]); + object (ValueBuffer valueBuffer) => valueBuffer[40]); enum32Array.SetPropertyIndexes( - index: 39, - originalValueIndex: 39, + index: 40, + originalValueIndex: 40, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2351,12 +2414,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsString.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 40), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 41), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[40]); + object (ValueBuffer valueBuffer) => valueBuffer[41]); enum32AsString.SetPropertyIndexes( - index: 40, - originalValueIndex: 40, + index: 41, + originalValueIndex: 41, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2406,12 +2469,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsStringArray.SetAccessors( CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsStringArray, 41), + CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsStringArray, 42), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[41]); + object (ValueBuffer valueBuffer) => valueBuffer[42]); enum32AsStringArray.SetPropertyIndexes( - index: 41, - originalValueIndex: 41, + index: 42, + originalValueIndex: 42, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2490,12 +2553,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32AsStringCollection, 42), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32AsStringCollection, 43), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[42]); + object (ValueBuffer valueBuffer) => valueBuffer[43]); enum32AsStringCollection.SetPropertyIndexes( - index: 42, - originalValueIndex: 42, + index: 43, + originalValueIndex: 43, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2574,12 +2637,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32Collection, 43), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32Collection, 44), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[43]); + object (ValueBuffer valueBuffer) => valueBuffer[44]); enum32Collection.SetPropertyIndexes( - index: 43, - originalValueIndex: 43, + index: 44, + originalValueIndex: 44, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2653,12 +2716,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 44), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 45), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64), - object (ValueBuffer valueBuffer) => valueBuffer[44]); + object (ValueBuffer valueBuffer) => valueBuffer[45]); enum64.SetPropertyIndexes( - index: 44, - originalValueIndex: 44, + index: 45, + originalValueIndex: 45, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2703,12 +2766,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64Array.SetAccessors( CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64Array, 45), + CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64Array, 46), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum64Array), - object (ValueBuffer valueBuffer) => valueBuffer[45]); + object (ValueBuffer valueBuffer) => valueBuffer[46]); enum64Array.SetPropertyIndexes( - index: 45, - originalValueIndex: 45, + index: 46, + originalValueIndex: 46, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2783,12 +2846,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsString.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 46), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 47), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[46]); + object (ValueBuffer valueBuffer) => valueBuffer[47]); enum64AsString.SetPropertyIndexes( - index: 46, - originalValueIndex: 46, + index: 47, + originalValueIndex: 47, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2838,12 +2901,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsStringArray.SetAccessors( CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsStringArray, 47), + CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsStringArray, 48), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[47]); + object (ValueBuffer valueBuffer) => valueBuffer[48]); enum64AsStringArray.SetPropertyIndexes( - index: 47, - originalValueIndex: 47, + index: 48, + originalValueIndex: 48, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2922,12 +2985,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64AsStringCollection, 48), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64AsStringCollection, 49), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[48]); + object (ValueBuffer valueBuffer) => valueBuffer[49]); enum64AsStringCollection.SetPropertyIndexes( - index: 48, - originalValueIndex: 48, + index: 49, + originalValueIndex: 49, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3006,12 +3069,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64Collection, 49), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64Collection, 50), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[49]); + object (ValueBuffer valueBuffer) => valueBuffer[50]); enum64Collection.SetPropertyIndexes( - index: 49, - originalValueIndex: 49, + index: 50, + originalValueIndex: 50, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3085,12 +3148,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 50), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 51), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8), - object (ValueBuffer valueBuffer) => valueBuffer[50]); + object (ValueBuffer valueBuffer) => valueBuffer[51]); enum8.SetPropertyIndexes( - index: 50, - originalValueIndex: 50, + index: 51, + originalValueIndex: 51, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3135,12 +3198,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8Array.SetAccessors( CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8Array, 51), + CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8Array, 52), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum8Array), - object (ValueBuffer valueBuffer) => valueBuffer[51]); + object (ValueBuffer valueBuffer) => valueBuffer[52]); enum8Array.SetPropertyIndexes( - index: 51, - originalValueIndex: 51, + index: 52, + originalValueIndex: 52, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3215,12 +3278,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsString.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 52), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 53), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[52]); + object (ValueBuffer valueBuffer) => valueBuffer[53]); enum8AsString.SetPropertyIndexes( - index: 52, - originalValueIndex: 52, + index: 53, + originalValueIndex: 53, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3270,12 +3333,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsStringArray.SetAccessors( CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsStringArray, 53), + CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsStringArray, 54), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[53]); + object (ValueBuffer valueBuffer) => valueBuffer[54]); enum8AsStringArray.SetPropertyIndexes( - index: 53, - originalValueIndex: 53, + index: 54, + originalValueIndex: 54, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3354,12 +3417,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8AsStringCollection, 54), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8AsStringCollection, 55), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[54]); + object (ValueBuffer valueBuffer) => valueBuffer[55]); enum8AsStringCollection.SetPropertyIndexes( - index: 54, - originalValueIndex: 54, + index: 55, + originalValueIndex: 55, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3438,12 +3501,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8Collection, 55), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8Collection, 56), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[55]); + object (ValueBuffer valueBuffer) => valueBuffer[56]); enum8Collection.SetPropertyIndexes( - index: 55, - originalValueIndex: 55, + index: 56, + originalValueIndex: 56, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3518,12 +3581,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToNumberConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 56), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 57), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[56]); + object (ValueBuffer valueBuffer) => valueBuffer[57]); enumToNumberConverterProperty.SetPropertyIndexes( - index: 56, - originalValueIndex: 56, + index: 57, + originalValueIndex: 57, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3569,12 +3632,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToStringConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 57), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 58), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[57]); + object (ValueBuffer valueBuffer) => valueBuffer[58]); enumToStringConverterProperty.SetPropertyIndexes( - index: 57, - originalValueIndex: 57, + index: 58, + originalValueIndex: 58, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3624,12 +3687,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 58), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 59), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16), - object (ValueBuffer valueBuffer) => valueBuffer[58]); + object (ValueBuffer valueBuffer) => valueBuffer[59]); enumU16.SetPropertyIndexes( - index: 58, - originalValueIndex: 58, + index: 59, + originalValueIndex: 59, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3674,12 +3737,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16Array.SetAccessors( CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16Array, 59), + CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16Array, 60), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16Array), - object (ValueBuffer valueBuffer) => valueBuffer[59]); + object (ValueBuffer valueBuffer) => valueBuffer[60]); enumU16Array.SetPropertyIndexes( - index: 59, - originalValueIndex: 59, + index: 60, + originalValueIndex: 60, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3754,12 +3817,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 60), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 61), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[60]); + object (ValueBuffer valueBuffer) => valueBuffer[61]); enumU16AsString.SetPropertyIndexes( - index: 60, - originalValueIndex: 60, + index: 61, + originalValueIndex: 61, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3809,12 +3872,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsStringArray.SetAccessors( CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsStringArray, 61), + CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsStringArray, 62), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[61]); + object (ValueBuffer valueBuffer) => valueBuffer[62]); enumU16AsStringArray.SetPropertyIndexes( - index: 61, - originalValueIndex: 61, + index: 62, + originalValueIndex: 62, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3893,12 +3956,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16AsStringCollection, 62), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16AsStringCollection, 63), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[62]); + object (ValueBuffer valueBuffer) => valueBuffer[63]); enumU16AsStringCollection.SetPropertyIndexes( - index: 62, - originalValueIndex: 62, + index: 63, + originalValueIndex: 63, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3977,12 +4040,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16Collection, 63), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16Collection, 64), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[63]); + object (ValueBuffer valueBuffer) => valueBuffer[64]); enumU16Collection.SetPropertyIndexes( - index: 63, - originalValueIndex: 63, + index: 64, + originalValueIndex: 64, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4056,12 +4119,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 64), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 65), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32), - object (ValueBuffer valueBuffer) => valueBuffer[64]); + object (ValueBuffer valueBuffer) => valueBuffer[65]); enumU32.SetPropertyIndexes( - index: 64, - originalValueIndex: 64, + index: 65, + originalValueIndex: 65, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4106,12 +4169,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32Array.SetAccessors( CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32Array, 65), + CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32Array, 66), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32Array), - object (ValueBuffer valueBuffer) => valueBuffer[65]); + object (ValueBuffer valueBuffer) => valueBuffer[66]); enumU32Array.SetPropertyIndexes( - index: 65, - originalValueIndex: 65, + index: 66, + originalValueIndex: 66, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4186,12 +4249,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 66), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 67), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[66]); + object (ValueBuffer valueBuffer) => valueBuffer[67]); enumU32AsString.SetPropertyIndexes( - index: 66, - originalValueIndex: 66, + index: 67, + originalValueIndex: 67, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4241,12 +4304,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsStringArray.SetAccessors( CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsStringArray, 67), + CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsStringArray, 68), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[67]); + object (ValueBuffer valueBuffer) => valueBuffer[68]); enumU32AsStringArray.SetPropertyIndexes( - index: 67, - originalValueIndex: 67, + index: 68, + originalValueIndex: 68, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4325,12 +4388,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32AsStringCollection, 68), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32AsStringCollection, 69), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[68]); + object (ValueBuffer valueBuffer) => valueBuffer[69]); enumU32AsStringCollection.SetPropertyIndexes( - index: 68, - originalValueIndex: 68, + index: 69, + originalValueIndex: 69, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4409,12 +4472,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32Collection, 69), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32Collection, 70), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[69]); + object (ValueBuffer valueBuffer) => valueBuffer[70]); enumU32Collection.SetPropertyIndexes( - index: 69, - originalValueIndex: 69, + index: 70, + originalValueIndex: 70, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4488,12 +4551,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 70), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 71), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64), - object (ValueBuffer valueBuffer) => valueBuffer[70]); + object (ValueBuffer valueBuffer) => valueBuffer[71]); enumU64.SetPropertyIndexes( - index: 70, - originalValueIndex: 70, + index: 71, + originalValueIndex: 71, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4542,12 +4605,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64Array.SetAccessors( CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64Array, 71), + CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64Array, 72), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64Array), - object (ValueBuffer valueBuffer) => valueBuffer[71]); + object (ValueBuffer valueBuffer) => valueBuffer[72]); enumU64Array.SetPropertyIndexes( - index: 71, - originalValueIndex: 71, + index: 72, + originalValueIndex: 72, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4626,12 +4689,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 72), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 73), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[72]); + object (ValueBuffer valueBuffer) => valueBuffer[73]); enumU64AsString.SetPropertyIndexes( - index: 72, - originalValueIndex: 72, + index: 73, + originalValueIndex: 73, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4681,12 +4744,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsStringArray.SetAccessors( CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsStringArray, 73), + CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsStringArray, 74), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[73]); + object (ValueBuffer valueBuffer) => valueBuffer[74]); enumU64AsStringArray.SetPropertyIndexes( - index: 73, - originalValueIndex: 73, + index: 74, + originalValueIndex: 74, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4765,12 +4828,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64AsStringCollection, 74), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64AsStringCollection, 75), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[74]); + object (ValueBuffer valueBuffer) => valueBuffer[75]); enumU64AsStringCollection.SetPropertyIndexes( - index: 74, - originalValueIndex: 74, + index: 75, + originalValueIndex: 75, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4849,12 +4912,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64Collection, 75), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64Collection, 76), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[75]); + object (ValueBuffer valueBuffer) => valueBuffer[76]); enumU64Collection.SetPropertyIndexes( - index: 75, - originalValueIndex: 75, + index: 76, + originalValueIndex: 76, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4932,12 +4995,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 76), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 77), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8), - object (ValueBuffer valueBuffer) => valueBuffer[76]); + object (ValueBuffer valueBuffer) => valueBuffer[77]); enumU8.SetPropertyIndexes( - index: 76, - originalValueIndex: 76, + index: 77, + originalValueIndex: 77, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4982,12 +5045,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8Array.SetAccessors( CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8Array, 77), + CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8Array, 78), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8Array), - object (ValueBuffer valueBuffer) => valueBuffer[77]); + object (ValueBuffer valueBuffer) => valueBuffer[78]); enumU8Array.SetPropertyIndexes( - index: 77, - originalValueIndex: 77, + index: 78, + originalValueIndex: 78, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5062,12 +5125,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 78), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 79), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[78]); + object (ValueBuffer valueBuffer) => valueBuffer[79]); enumU8AsString.SetPropertyIndexes( - index: 78, - originalValueIndex: 78, + index: 79, + originalValueIndex: 79, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5117,12 +5180,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsStringArray.SetAccessors( CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsStringArray, 79), + CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsStringArray, 80), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[79]); + object (ValueBuffer valueBuffer) => valueBuffer[80]); enumU8AsStringArray.SetPropertyIndexes( - index: 79, - originalValueIndex: 79, + index: 80, + originalValueIndex: 80, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5201,12 +5264,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8AsStringCollection, 80), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8AsStringCollection, 81), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[80]); + object (ValueBuffer valueBuffer) => valueBuffer[81]); enumU8AsStringCollection.SetPropertyIndexes( - index: 80, - originalValueIndex: 80, + index: 81, + originalValueIndex: 81, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5285,12 +5348,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8Collection, 81), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8Collection, 82), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[81]); + object (ValueBuffer valueBuffer) => valueBuffer[82]); enumU8Collection.SetPropertyIndexes( - index: 81, - originalValueIndex: 81, + index: 82, + originalValueIndex: 82, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5365,12 +5428,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @float.SetAccessors( float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 82), + float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 83), float (InternalEntityEntry entry) => entry.GetCurrentValue(@float), - object (ValueBuffer valueBuffer) => valueBuffer[82]); + object (ValueBuffer valueBuffer) => valueBuffer[83]); @float.SetPropertyIndexes( - index: 82, - originalValueIndex: 82, + index: 83, + originalValueIndex: 83, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5406,12 +5469,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas floatArray.SetAccessors( float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 83), + float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 84), float[] (InternalEntityEntry entry) => entry.GetCurrentValue(floatArray), - object (ValueBuffer valueBuffer) => valueBuffer[83]); + object (ValueBuffer valueBuffer) => valueBuffer[84]); floatArray.SetPropertyIndexes( - index: 83, - originalValueIndex: 83, + index: 84, + originalValueIndex: 84, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5470,12 +5533,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guid.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 84), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 85), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guid), - object (ValueBuffer valueBuffer) => valueBuffer[84]); + object (ValueBuffer valueBuffer) => valueBuffer[85]); guid.SetPropertyIndexes( - index: 84, - originalValueIndex: 84, + index: 85, + originalValueIndex: 85, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5513,12 +5576,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidArray.SetAccessors( Guid[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid[] (InternalEntityEntry entry) => entry.ReadOriginalValue(guidArray, 85), + Guid[] (InternalEntityEntry entry) => entry.ReadOriginalValue(guidArray, 86), Guid[] (InternalEntityEntry entry) => entry.GetCurrentValue(guidArray), - object (ValueBuffer valueBuffer) => valueBuffer[85]); + object (ValueBuffer valueBuffer) => valueBuffer[86]); guidArray.SetPropertyIndexes( - index: 85, - originalValueIndex: 85, + index: 86, + originalValueIndex: 86, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5579,12 +5642,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToBytesConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 86), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 87), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[86]); + object (ValueBuffer valueBuffer) => valueBuffer[87]); guidToBytesConverterProperty.SetPropertyIndexes( - index: 86, - originalValueIndex: 86, + index: 87, + originalValueIndex: 87, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5633,12 +5696,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToStringConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 87), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 88), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[87]); + object (ValueBuffer valueBuffer) => valueBuffer[88]); guidToStringConverterProperty.SetPropertyIndexes( - index: 87, - originalValueIndex: 87, + index: 88, + originalValueIndex: 88, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5688,12 +5751,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 88), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 89), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[88]); + object (ValueBuffer valueBuffer) => valueBuffer[89]); iPAddress.SetPropertyIndexes( - index: 88, - originalValueIndex: 88, + index: 89, + originalValueIndex: 89, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5742,12 +5805,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressArray.SetAccessors( IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressArray, 89), + IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressArray, 90), IPAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[89]); + object (ValueBuffer valueBuffer) => valueBuffer[90]); iPAddressArray.SetPropertyIndexes( - index: 89, - originalValueIndex: 89, + index: 90, + originalValueIndex: 90, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5809,6 +5872,90 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas IPAddress (string v) => IPAddress.Parse(v))))); iPAddressArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var iPAddressReadOnlyCollection = runtimeEntityType.AddProperty( + "IPAddressReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_ipAddressReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + iPAddressReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance) == null); + iPAddressReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) = ((List)(value))); + iPAddressReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) = ((List)(value))); + iPAddressReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(iPAddressReadOnlyCollection, 91), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(iPAddressReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[91]); + iPAddressReadOnlyCollection.SetPropertyIndexes( + index: 91, + originalValueIndex: 91, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + iPAddressReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, IPAddress>(new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v)), + keyComparer: new ListOfReferenceTypesComparer, IPAddress>(new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter, IPAddress>( + new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v))))), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, IPAddress>( + new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v)))), + elementMapping: SqlServerStringTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v), + keyComparer: new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(45)", + size: 45, + unicode: true, + dbType: System.Data.DbType.String), + converter: new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v)), + jsonValueReaderWriter: new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v))))); + iPAddressReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var iPAddressToBytesConverterProperty = runtimeEntityType.AddProperty( "IPAddressToBytesConverterProperty", typeof(IPAddress), @@ -5827,12 +5974,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToBytesConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 90), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 92), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[90]); + object (ValueBuffer valueBuffer) => valueBuffer[92]); iPAddressToBytesConverterProperty.SetPropertyIndexes( - index: 90, - originalValueIndex: 90, + index: 92, + originalValueIndex: 92, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5880,12 +6027,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToStringConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 91), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 93), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[91]); + object (ValueBuffer valueBuffer) => valueBuffer[93]); iPAddressToStringConverterProperty.SetPropertyIndexes( - index: 91, - originalValueIndex: 91, + index: 93, + originalValueIndex: 93, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5935,12 +6082,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16.SetAccessors( short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 92), + short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 94), short (InternalEntityEntry entry) => entry.GetCurrentValue(int16), - object (ValueBuffer valueBuffer) => valueBuffer[92]); + object (ValueBuffer valueBuffer) => valueBuffer[94]); int16.SetPropertyIndexes( - index: 92, - originalValueIndex: 92, + index: 94, + originalValueIndex: 94, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5976,12 +6123,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16Array.SetAccessors( short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 93), + short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 95), short[] (InternalEntityEntry entry) => entry.GetCurrentValue(int16Array), - object (ValueBuffer valueBuffer) => valueBuffer[93]); + object (ValueBuffer valueBuffer) => valueBuffer[95]); int16Array.SetPropertyIndexes( - index: 93, - originalValueIndex: 93, + index: 95, + originalValueIndex: 95, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6040,12 +6187,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 94), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 96), int (InternalEntityEntry entry) => entry.GetCurrentValue(int32), - object (ValueBuffer valueBuffer) => valueBuffer[94]); + object (ValueBuffer valueBuffer) => valueBuffer[96]); int32.SetPropertyIndexes( - index: 94, - originalValueIndex: 94, + index: 96, + originalValueIndex: 96, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6081,12 +6228,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32Array.SetAccessors( int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 95), + int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 97), int[] (InternalEntityEntry entry) => entry.GetCurrentValue(int32Array), - object (ValueBuffer valueBuffer) => valueBuffer[95]); + object (ValueBuffer valueBuffer) => valueBuffer[97]); int32Array.SetPropertyIndexes( - index: 95, - originalValueIndex: 95, + index: 97, + originalValueIndex: 97, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6127,6 +6274,69 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int (int v) => v))); int32Array.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + int32ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null); + int32ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(int32ReadOnlyCollection, 98), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(int32ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[98]); + int32ReadOnlyCollection.SetPropertyIndexes( + index: 98, + originalValueIndex: 98, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + int32ReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + keyComparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance)), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance), + elementMapping: IntTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + keyComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + providerValueComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v))); + int32ReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -6145,12 +6355,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64.SetAccessors( long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 96), + long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 99), long (InternalEntityEntry entry) => entry.GetCurrentValue(int64), - object (ValueBuffer valueBuffer) => valueBuffer[96]); + object (ValueBuffer valueBuffer) => valueBuffer[99]); int64.SetPropertyIndexes( - index: 96, - originalValueIndex: 96, + index: 99, + originalValueIndex: 99, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6186,12 +6396,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64Array.SetAccessors( long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 97), + long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 100), long[] (InternalEntityEntry entry) => entry.GetCurrentValue(int64Array), - object (ValueBuffer valueBuffer) => valueBuffer[97]); + object (ValueBuffer valueBuffer) => valueBuffer[100]); int64Array.SetPropertyIndexes( - index: 97, - originalValueIndex: 97, + index: 100, + originalValueIndex: 100, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6249,12 +6459,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8.SetAccessors( sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 98), + sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 101), sbyte (InternalEntityEntry entry) => entry.GetCurrentValue(int8), - object (ValueBuffer valueBuffer) => valueBuffer[98]); + object (ValueBuffer valueBuffer) => valueBuffer[101]); int8.SetPropertyIndexes( - index: 98, - originalValueIndex: 98, + index: 101, + originalValueIndex: 101, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6299,12 +6509,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8Array.SetAccessors( sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 99), + sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 102), sbyte[] (InternalEntityEntry entry) => entry.GetCurrentValue(int8Array), - object (ValueBuffer valueBuffer) => valueBuffer[99]); + object (ValueBuffer valueBuffer) => valueBuffer[102]); int8Array.SetPropertyIndexes( - index: 99, - originalValueIndex: 99, + index: 102, + originalValueIndex: 102, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6379,12 +6589,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToBytesConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 100), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 103), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[100]); + object (ValueBuffer valueBuffer) => valueBuffer[103]); intNumberToBytesConverterProperty.SetPropertyIndexes( - index: 100, - originalValueIndex: 100, + index: 103, + originalValueIndex: 103, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6433,12 +6643,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToStringConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 101), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 104), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[101]); + object (ValueBuffer valueBuffer) => valueBuffer[104]); intNumberToStringConverterProperty.SetPropertyIndexes( - index: 101, - originalValueIndex: 101, + index: 104, + originalValueIndex: 104, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6490,12 +6700,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullIntToNullStringConverterProperty.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 102), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 105), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullIntToNullStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[102]); + object (ValueBuffer valueBuffer) => valueBuffer[105]); nullIntToNullStringConverterProperty.SetPropertyIndexes( - index: 102, - originalValueIndex: 102, + index: 105, + originalValueIndex: 105, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6547,12 +6757,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBool.SetAccessors( bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 103), + bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 106), bool? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBool), - object (ValueBuffer valueBuffer) => valueBuffer[103]); + object (ValueBuffer valueBuffer) => valueBuffer[106]); nullableBool.SetPropertyIndexes( - index: 103, - originalValueIndex: 103, + index: 106, + originalValueIndex: 106, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6590,12 +6800,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBoolArray.SetAccessors( bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 104), + bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 107), bool? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBoolArray), - object (ValueBuffer valueBuffer) => valueBuffer[104]); + object (ValueBuffer valueBuffer) => valueBuffer[107]); nullableBoolArray.SetPropertyIndexes( - index: 104, - originalValueIndex: 104, + index: 107, + originalValueIndex: 107, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6654,12 +6864,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 105), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 108), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytes), - object (ValueBuffer valueBuffer) => valueBuffer[105]); + object (ValueBuffer valueBuffer) => valueBuffer[108]); nullableBytes.SetPropertyIndexes( - index: 105, - originalValueIndex: 105, + index: 108, + originalValueIndex: 108, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6698,12 +6908,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytesArray.SetAccessors( byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytesArray, 106), + byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytesArray, 109), byte[][] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytesArray), - object (ValueBuffer valueBuffer) => valueBuffer[106]); + object (ValueBuffer valueBuffer) => valueBuffer[109]); nullableBytesArray.SetPropertyIndexes( - index: 106, - originalValueIndex: 106, + index: 109, + originalValueIndex: 109, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6765,12 +6975,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableChar.SetAccessors( char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 107), + char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 110), char? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableChar), - object (ValueBuffer valueBuffer) => valueBuffer[107]); + object (ValueBuffer valueBuffer) => valueBuffer[110]); nullableChar.SetPropertyIndexes( - index: 107, - originalValueIndex: 107, + index: 110, + originalValueIndex: 110, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6821,12 +7031,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableCharArray.SetAccessors( char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 108), + char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 111), char? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableCharArray), - object (ValueBuffer valueBuffer) => valueBuffer[108]); + object (ValueBuffer valueBuffer) => valueBuffer[111]); nullableCharArray.SetPropertyIndexes( - index: 108, - originalValueIndex: 108, + index: 111, + originalValueIndex: 111, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6906,12 +7116,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnly.SetAccessors( DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 109), + DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 112), DateOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[109]); + object (ValueBuffer valueBuffer) => valueBuffer[112]); nullableDateOnly.SetPropertyIndexes( - index: 109, - originalValueIndex: 109, + index: 112, + originalValueIndex: 112, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6949,12 +7159,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnlyArray.SetAccessors( DateOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnlyArray, 110), + DateOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnlyArray, 113), DateOnly? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[110]); + object (ValueBuffer valueBuffer) => valueBuffer[113]); nullableDateOnlyArray.SetPropertyIndexes( - index: 110, - originalValueIndex: 110, + index: 113, + originalValueIndex: 113, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7013,12 +7223,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTime.SetAccessors( DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 111), + DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 114), DateTime? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTime), - object (ValueBuffer valueBuffer) => valueBuffer[111]); + object (ValueBuffer valueBuffer) => valueBuffer[114]); nullableDateTime.SetPropertyIndexes( - index: 111, - originalValueIndex: 111, + index: 114, + originalValueIndex: 114, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7056,12 +7266,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTimeArray.SetAccessors( DateTime? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTimeArray, 112), + DateTime? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTimeArray, 115), DateTime? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTimeArray), - object (ValueBuffer valueBuffer) => valueBuffer[112]); + object (ValueBuffer valueBuffer) => valueBuffer[115]); nullableDateTimeArray.SetPropertyIndexes( - index: 112, - originalValueIndex: 112, + index: 115, + originalValueIndex: 115, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7120,12 +7330,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimal.SetAccessors( decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 113), + decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 116), decimal? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimal), - object (ValueBuffer valueBuffer) => valueBuffer[113]); + object (ValueBuffer valueBuffer) => valueBuffer[116]); nullableDecimal.SetPropertyIndexes( - index: 113, - originalValueIndex: 113, + index: 116, + originalValueIndex: 116, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7163,12 +7373,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimalArray.SetAccessors( decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 114), + decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 117), decimal? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[114]); + object (ValueBuffer valueBuffer) => valueBuffer[117]); nullableDecimalArray.SetPropertyIndexes( - index: 114, - originalValueIndex: 114, + index: 117, + originalValueIndex: 117, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7227,12 +7437,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDouble.SetAccessors( double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 115), + double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 118), double? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDouble), - object (ValueBuffer valueBuffer) => valueBuffer[115]); + object (ValueBuffer valueBuffer) => valueBuffer[118]); nullableDouble.SetPropertyIndexes( - index: 115, - originalValueIndex: 115, + index: 118, + originalValueIndex: 118, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7270,12 +7480,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDoubleArray.SetAccessors( double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 116), + double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 119), double? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDoubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[116]); + object (ValueBuffer valueBuffer) => valueBuffer[119]); nullableDoubleArray.SetPropertyIndexes( - index: 116, - originalValueIndex: 116, + index: 119, + originalValueIndex: 119, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7334,12 +7544,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 117), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 120), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16), - object (ValueBuffer valueBuffer) => valueBuffer[117]); + object (ValueBuffer valueBuffer) => valueBuffer[120]); nullableEnum16.SetPropertyIndexes( - index: 117, - originalValueIndex: 117, + index: 120, + originalValueIndex: 120, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7385,12 +7595,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16Array.SetAccessors( CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16Array, 118), + CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16Array, 121), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16Array), - object (ValueBuffer valueBuffer) => valueBuffer[118]); + object (ValueBuffer valueBuffer) => valueBuffer[121]); nullableEnum16Array.SetPropertyIndexes( - index: 118, - originalValueIndex: 118, + index: 121, + originalValueIndex: 121, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7465,12 +7675,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsString.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 119), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 122), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[119]); + object (ValueBuffer valueBuffer) => valueBuffer[122]); nullableEnum16AsString.SetPropertyIndexes( - index: 119, - originalValueIndex: 119, + index: 122, + originalValueIndex: 122, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7516,12 +7726,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsStringArray.SetAccessors( CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsStringArray, 120), + CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsStringArray, 123), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[120]); + object (ValueBuffer valueBuffer) => valueBuffer[123]); nullableEnum16AsStringArray.SetPropertyIndexes( - index: 120, - originalValueIndex: 120, + index: 123, + originalValueIndex: 123, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7595,12 +7805,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16AsStringCollection, 121), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16AsStringCollection, 124), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[121]); + object (ValueBuffer valueBuffer) => valueBuffer[124]); nullableEnum16AsStringCollection.SetPropertyIndexes( - index: 121, - originalValueIndex: 121, + index: 124, + originalValueIndex: 124, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7674,12 +7884,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16Collection, 122), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16Collection, 125), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[122]); + object (ValueBuffer valueBuffer) => valueBuffer[125]); nullableEnum16Collection.SetPropertyIndexes( - index: 122, - originalValueIndex: 122, + index: 125, + originalValueIndex: 125, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7754,12 +7964,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 123), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 126), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32), - object (ValueBuffer valueBuffer) => valueBuffer[123]); + object (ValueBuffer valueBuffer) => valueBuffer[126]); nullableEnum32.SetPropertyIndexes( - index: 123, - originalValueIndex: 123, + index: 126, + originalValueIndex: 126, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7805,12 +8015,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32Array.SetAccessors( CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32Array, 124), + CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32Array, 127), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32Array), - object (ValueBuffer valueBuffer) => valueBuffer[124]); + object (ValueBuffer valueBuffer) => valueBuffer[127]); nullableEnum32Array.SetPropertyIndexes( - index: 124, - originalValueIndex: 124, + index: 127, + originalValueIndex: 127, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7885,12 +8095,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsString.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 125), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 128), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[125]); + object (ValueBuffer valueBuffer) => valueBuffer[128]); nullableEnum32AsString.SetPropertyIndexes( - index: 125, - originalValueIndex: 125, + index: 128, + originalValueIndex: 128, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7936,12 +8146,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsStringArray.SetAccessors( CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsStringArray, 126), + CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsStringArray, 129), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[126]); - nullableEnum32AsStringArray.SetPropertyIndexes( - index: 126, - originalValueIndex: 126, + object (ValueBuffer valueBuffer) => valueBuffer[129]); + nullableEnum32AsStringArray.SetPropertyIndexes( + index: 129, + originalValueIndex: 129, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8015,12 +8225,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32AsStringCollection, 127), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32AsStringCollection, 130), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[127]); + object (ValueBuffer valueBuffer) => valueBuffer[130]); nullableEnum32AsStringCollection.SetPropertyIndexes( - index: 127, - originalValueIndex: 127, + index: 130, + originalValueIndex: 130, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8094,12 +8304,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32Collection, 128), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32Collection, 131), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[128]); + object (ValueBuffer valueBuffer) => valueBuffer[131]); nullableEnum32Collection.SetPropertyIndexes( - index: 128, - originalValueIndex: 128, + index: 131, + originalValueIndex: 131, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8174,12 +8384,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 129), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 132), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64), - object (ValueBuffer valueBuffer) => valueBuffer[129]); + object (ValueBuffer valueBuffer) => valueBuffer[132]); nullableEnum64.SetPropertyIndexes( - index: 129, - originalValueIndex: 129, + index: 132, + originalValueIndex: 132, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8225,12 +8435,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64Array.SetAccessors( CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64Array, 130), + CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64Array, 133), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64Array), - object (ValueBuffer valueBuffer) => valueBuffer[130]); + object (ValueBuffer valueBuffer) => valueBuffer[133]); nullableEnum64Array.SetPropertyIndexes( - index: 130, - originalValueIndex: 130, + index: 133, + originalValueIndex: 133, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8305,12 +8515,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsString.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 131), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 134), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[131]); + object (ValueBuffer valueBuffer) => valueBuffer[134]); nullableEnum64AsString.SetPropertyIndexes( - index: 131, - originalValueIndex: 131, + index: 134, + originalValueIndex: 134, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8356,12 +8566,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsStringArray.SetAccessors( CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsStringArray, 132), + CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsStringArray, 135), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[132]); + object (ValueBuffer valueBuffer) => valueBuffer[135]); nullableEnum64AsStringArray.SetPropertyIndexes( - index: 132, - originalValueIndex: 132, + index: 135, + originalValueIndex: 135, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8435,12 +8645,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64AsStringCollection, 133), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64AsStringCollection, 136), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[133]); + object (ValueBuffer valueBuffer) => valueBuffer[136]); nullableEnum64AsStringCollection.SetPropertyIndexes( - index: 133, - originalValueIndex: 133, + index: 136, + originalValueIndex: 136, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8514,12 +8724,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64Collection, 134), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64Collection, 137), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[134]); + object (ValueBuffer valueBuffer) => valueBuffer[137]); nullableEnum64Collection.SetPropertyIndexes( - index: 134, - originalValueIndex: 134, + index: 137, + originalValueIndex: 137, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8594,12 +8804,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 135), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 138), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8), - object (ValueBuffer valueBuffer) => valueBuffer[135]); + object (ValueBuffer valueBuffer) => valueBuffer[138]); nullableEnum8.SetPropertyIndexes( - index: 135, - originalValueIndex: 135, + index: 138, + originalValueIndex: 138, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8645,12 +8855,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8Array.SetAccessors( CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8Array, 136), + CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8Array, 139), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8Array), - object (ValueBuffer valueBuffer) => valueBuffer[136]); + object (ValueBuffer valueBuffer) => valueBuffer[139]); nullableEnum8Array.SetPropertyIndexes( - index: 136, - originalValueIndex: 136, + index: 139, + originalValueIndex: 139, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8725,12 +8935,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsString.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 137), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 140), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[137]); + object (ValueBuffer valueBuffer) => valueBuffer[140]); nullableEnum8AsString.SetPropertyIndexes( - index: 137, - originalValueIndex: 137, + index: 140, + originalValueIndex: 140, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8776,12 +8986,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsStringArray.SetAccessors( CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsStringArray, 138), + CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsStringArray, 141), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[138]); + object (ValueBuffer valueBuffer) => valueBuffer[141]); nullableEnum8AsStringArray.SetPropertyIndexes( - index: 138, - originalValueIndex: 138, + index: 141, + originalValueIndex: 141, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8855,12 +9065,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8AsStringCollection, 139), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8AsStringCollection, 142), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[139]); + object (ValueBuffer valueBuffer) => valueBuffer[142]); nullableEnum8AsStringCollection.SetPropertyIndexes( - index: 139, - originalValueIndex: 139, + index: 142, + originalValueIndex: 142, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8934,12 +9144,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8Collection, 140), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8Collection, 143), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[140]); + object (ValueBuffer valueBuffer) => valueBuffer[143]); nullableEnum8Collection.SetPropertyIndexes( - index: 140, - originalValueIndex: 140, + index: 143, + originalValueIndex: 143, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9014,12 +9224,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 141), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 144), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16), - object (ValueBuffer valueBuffer) => valueBuffer[141]); + object (ValueBuffer valueBuffer) => valueBuffer[144]); nullableEnumU16.SetPropertyIndexes( - index: 141, - originalValueIndex: 141, + index: 144, + originalValueIndex: 144, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9065,12 +9275,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16Array.SetAccessors( CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16Array, 142), + CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16Array, 145), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16Array), - object (ValueBuffer valueBuffer) => valueBuffer[142]); + object (ValueBuffer valueBuffer) => valueBuffer[145]); nullableEnumU16Array.SetPropertyIndexes( - index: 142, - originalValueIndex: 142, + index: 145, + originalValueIndex: 145, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9145,12 +9355,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 143), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 146), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[143]); + object (ValueBuffer valueBuffer) => valueBuffer[146]); nullableEnumU16AsString.SetPropertyIndexes( - index: 143, - originalValueIndex: 143, + index: 146, + originalValueIndex: 146, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9196,12 +9406,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsStringArray.SetAccessors( CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsStringArray, 144), + CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsStringArray, 147), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[144]); + object (ValueBuffer valueBuffer) => valueBuffer[147]); nullableEnumU16AsStringArray.SetPropertyIndexes( - index: 144, - originalValueIndex: 144, + index: 147, + originalValueIndex: 147, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9275,12 +9485,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16AsStringCollection, 145), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16AsStringCollection, 148), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[145]); + object (ValueBuffer valueBuffer) => valueBuffer[148]); nullableEnumU16AsStringCollection.SetPropertyIndexes( - index: 145, - originalValueIndex: 145, + index: 148, + originalValueIndex: 148, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9354,12 +9564,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16Collection, 146), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16Collection, 149), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[146]); + object (ValueBuffer valueBuffer) => valueBuffer[149]); nullableEnumU16Collection.SetPropertyIndexes( - index: 146, - originalValueIndex: 146, + index: 149, + originalValueIndex: 149, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9434,12 +9644,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 147), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 150), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32), - object (ValueBuffer valueBuffer) => valueBuffer[147]); + object (ValueBuffer valueBuffer) => valueBuffer[150]); nullableEnumU32.SetPropertyIndexes( - index: 147, - originalValueIndex: 147, + index: 150, + originalValueIndex: 150, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9485,12 +9695,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32Array.SetAccessors( CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32Array, 148), + CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32Array, 151), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32Array), - object (ValueBuffer valueBuffer) => valueBuffer[148]); + object (ValueBuffer valueBuffer) => valueBuffer[151]); nullableEnumU32Array.SetPropertyIndexes( - index: 148, - originalValueIndex: 148, + index: 151, + originalValueIndex: 151, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9565,12 +9775,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 149), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 152), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[149]); + object (ValueBuffer valueBuffer) => valueBuffer[152]); nullableEnumU32AsString.SetPropertyIndexes( - index: 149, - originalValueIndex: 149, + index: 152, + originalValueIndex: 152, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9616,12 +9826,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsStringArray.SetAccessors( CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsStringArray, 150), + CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsStringArray, 153), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[150]); + object (ValueBuffer valueBuffer) => valueBuffer[153]); nullableEnumU32AsStringArray.SetPropertyIndexes( - index: 150, - originalValueIndex: 150, + index: 153, + originalValueIndex: 153, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9695,12 +9905,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32AsStringCollection, 151), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32AsStringCollection, 154), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[151]); + object (ValueBuffer valueBuffer) => valueBuffer[154]); nullableEnumU32AsStringCollection.SetPropertyIndexes( - index: 151, - originalValueIndex: 151, + index: 154, + originalValueIndex: 154, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9774,12 +9984,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32Collection, 152), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32Collection, 155), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[152]); + object (ValueBuffer valueBuffer) => valueBuffer[155]); nullableEnumU32Collection.SetPropertyIndexes( - index: 152, - originalValueIndex: 152, + index: 155, + originalValueIndex: 155, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9854,12 +10064,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 153), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 156), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64), - object (ValueBuffer valueBuffer) => valueBuffer[153]); + object (ValueBuffer valueBuffer) => valueBuffer[156]); nullableEnumU64.SetPropertyIndexes( - index: 153, - originalValueIndex: 153, + index: 156, + originalValueIndex: 156, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9909,12 +10119,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64Array.SetAccessors( CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64Array, 154), + CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64Array, 157), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64Array), - object (ValueBuffer valueBuffer) => valueBuffer[154]); + object (ValueBuffer valueBuffer) => valueBuffer[157]); nullableEnumU64Array.SetPropertyIndexes( - index: 154, - originalValueIndex: 154, + index: 157, + originalValueIndex: 157, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9993,12 +10203,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 155), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 158), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[155]); + object (ValueBuffer valueBuffer) => valueBuffer[158]); nullableEnumU64AsString.SetPropertyIndexes( - index: 155, - originalValueIndex: 155, + index: 158, + originalValueIndex: 158, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10048,12 +10258,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsStringArray.SetAccessors( CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsStringArray, 156), + CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsStringArray, 159), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[156]); + object (ValueBuffer valueBuffer) => valueBuffer[159]); nullableEnumU64AsStringArray.SetPropertyIndexes( - index: 156, - originalValueIndex: 156, + index: 159, + originalValueIndex: 159, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10131,12 +10341,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64AsStringCollection, 157), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64AsStringCollection, 160), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[157]); + object (ValueBuffer valueBuffer) => valueBuffer[160]); nullableEnumU64AsStringCollection.SetPropertyIndexes( - index: 157, - originalValueIndex: 157, + index: 160, + originalValueIndex: 160, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10214,12 +10424,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64Collection, 158), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64Collection, 161), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[158]); + object (ValueBuffer valueBuffer) => valueBuffer[161]); nullableEnumU64Collection.SetPropertyIndexes( - index: 158, - originalValueIndex: 158, + index: 161, + originalValueIndex: 161, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10298,12 +10508,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 159), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 162), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8), - object (ValueBuffer valueBuffer) => valueBuffer[159]); + object (ValueBuffer valueBuffer) => valueBuffer[162]); nullableEnumU8.SetPropertyIndexes( - index: 159, - originalValueIndex: 159, + index: 162, + originalValueIndex: 162, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10349,12 +10559,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8Array.SetAccessors( CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8Array, 160), + CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8Array, 163), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8Array), - object (ValueBuffer valueBuffer) => valueBuffer[160]); + object (ValueBuffer valueBuffer) => valueBuffer[163]); nullableEnumU8Array.SetPropertyIndexes( - index: 160, - originalValueIndex: 160, + index: 163, + originalValueIndex: 163, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10429,12 +10639,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 161), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 164), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[161]); + object (ValueBuffer valueBuffer) => valueBuffer[164]); nullableEnumU8AsString.SetPropertyIndexes( - index: 161, - originalValueIndex: 161, + index: 164, + originalValueIndex: 164, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10480,12 +10690,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsStringArray.SetAccessors( CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsStringArray, 162), + CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsStringArray, 165), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[162]); + object (ValueBuffer valueBuffer) => valueBuffer[165]); nullableEnumU8AsStringArray.SetPropertyIndexes( - index: 162, - originalValueIndex: 162, + index: 165, + originalValueIndex: 165, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10559,12 +10769,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8AsStringCollection, 163), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8AsStringCollection, 166), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[163]); + object (ValueBuffer valueBuffer) => valueBuffer[166]); nullableEnumU8AsStringCollection.SetPropertyIndexes( - index: 163, - originalValueIndex: 163, + index: 166, + originalValueIndex: 166, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10638,12 +10848,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8Collection, 164), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8Collection, 167), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[164]); + object (ValueBuffer valueBuffer) => valueBuffer[167]); nullableEnumU8Collection.SetPropertyIndexes( - index: 164, - originalValueIndex: 164, + index: 167, + originalValueIndex: 167, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10718,12 +10928,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloat.SetAccessors( float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 165), + float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 168), float? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloat), - object (ValueBuffer valueBuffer) => valueBuffer[165]); + object (ValueBuffer valueBuffer) => valueBuffer[168]); nullableFloat.SetPropertyIndexes( - index: 165, - originalValueIndex: 165, + index: 168, + originalValueIndex: 168, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10761,12 +10971,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloatArray.SetAccessors( float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 166), + float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 169), float? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloatArray), - object (ValueBuffer valueBuffer) => valueBuffer[166]); + object (ValueBuffer valueBuffer) => valueBuffer[169]); nullableFloatArray.SetPropertyIndexes( - index: 166, - originalValueIndex: 166, + index: 169, + originalValueIndex: 169, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10825,12 +11035,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuid.SetAccessors( Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 167), + Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 170), Guid? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuid), - object (ValueBuffer valueBuffer) => valueBuffer[167]); + object (ValueBuffer valueBuffer) => valueBuffer[170]); nullableGuid.SetPropertyIndexes( - index: 167, - originalValueIndex: 167, + index: 170, + originalValueIndex: 170, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10870,12 +11080,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuidArray.SetAccessors( Guid? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuidArray, 168), + Guid? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuidArray, 171), Guid? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuidArray), - object (ValueBuffer valueBuffer) => valueBuffer[168]); + object (ValueBuffer valueBuffer) => valueBuffer[171]); nullableGuidArray.SetPropertyIndexes( - index: 168, - originalValueIndex: 168, + index: 171, + originalValueIndex: 171, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10936,12 +11146,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 169), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 172), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[169]); + object (ValueBuffer valueBuffer) => valueBuffer[172]); nullableIPAddress.SetPropertyIndexes( - index: 169, - originalValueIndex: 169, + index: 172, + originalValueIndex: 172, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10990,12 +11200,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddressArray.SetAccessors( IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddressArray, 170), + IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddressArray, 173), IPAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[170]); + object (ValueBuffer valueBuffer) => valueBuffer[173]); nullableIPAddressArray.SetPropertyIndexes( - index: 170, - originalValueIndex: 170, + index: 173, + originalValueIndex: 173, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11075,12 +11285,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16.SetAccessors( short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 171), + short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 174), short? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16), - object (ValueBuffer valueBuffer) => valueBuffer[171]); + object (ValueBuffer valueBuffer) => valueBuffer[174]); nullableInt16.SetPropertyIndexes( - index: 171, - originalValueIndex: 171, + index: 174, + originalValueIndex: 174, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11118,12 +11328,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16Array.SetAccessors( short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 172), + short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 175), short? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[172]); + object (ValueBuffer valueBuffer) => valueBuffer[175]); nullableInt16Array.SetPropertyIndexes( - index: 172, - originalValueIndex: 172, + index: 175, + originalValueIndex: 175, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11182,12 +11392,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 173), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 176), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32), - object (ValueBuffer valueBuffer) => valueBuffer[173]); + object (ValueBuffer valueBuffer) => valueBuffer[176]); nullableInt32.SetPropertyIndexes( - index: 173, - originalValueIndex: 173, + index: 176, + originalValueIndex: 176, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11225,12 +11435,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32Array.SetAccessors( int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 174), + int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 177), int? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[174]); + object (ValueBuffer valueBuffer) => valueBuffer[177]); nullableInt32Array.SetPropertyIndexes( - index: 174, - originalValueIndex: 174, + index: 177, + originalValueIndex: 177, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11289,12 +11499,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64.SetAccessors( long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 175), + long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 178), long? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64), - object (ValueBuffer valueBuffer) => valueBuffer[175]); + object (ValueBuffer valueBuffer) => valueBuffer[178]); nullableInt64.SetPropertyIndexes( - index: 175, - originalValueIndex: 175, + index: 178, + originalValueIndex: 178, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11332,12 +11542,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64Array.SetAccessors( long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 176), + long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 179), long? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[176]); + object (ValueBuffer valueBuffer) => valueBuffer[179]); nullableInt64Array.SetPropertyIndexes( - index: 176, - originalValueIndex: 176, + index: 179, + originalValueIndex: 179, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11396,12 +11606,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8.SetAccessors( sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 177), + sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 180), sbyte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8), - object (ValueBuffer valueBuffer) => valueBuffer[177]); + object (ValueBuffer valueBuffer) => valueBuffer[180]); nullableInt8.SetPropertyIndexes( - index: 177, - originalValueIndex: 177, + index: 180, + originalValueIndex: 180, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11447,12 +11657,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8Array.SetAccessors( sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 178), + sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 181), sbyte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[178]); + object (ValueBuffer valueBuffer) => valueBuffer[181]); nullableInt8Array.SetPropertyIndexes( - index: 178, - originalValueIndex: 178, + index: 181, + originalValueIndex: 181, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11527,12 +11737,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 179), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 182), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[179]); + object (ValueBuffer valueBuffer) => valueBuffer[182]); nullablePhysicalAddress.SetPropertyIndexes( - index: 179, - originalValueIndex: 179, + index: 182, + originalValueIndex: 182, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11581,12 +11791,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddressArray.SetAccessors( PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddressArray, 180), + PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddressArray, 183), PhysicalAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[180]); + object (ValueBuffer valueBuffer) => valueBuffer[183]); nullablePhysicalAddressArray.SetPropertyIndexes( - index: 180, - originalValueIndex: 180, + index: 183, + originalValueIndex: 183, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11666,12 +11876,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableString.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 181), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 184), string (InternalEntityEntry entry) => entry.GetCurrentValue(nullableString), - object (ValueBuffer valueBuffer) => valueBuffer[181]); + object (ValueBuffer valueBuffer) => valueBuffer[184]); nullableString.SetPropertyIndexes( - index: 181, - originalValueIndex: 181, + index: 184, + originalValueIndex: 184, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11712,12 +11922,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableStringArray.SetAccessors( string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 182), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 185), string[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[182]); + object (ValueBuffer valueBuffer) => valueBuffer[185]); nullableStringArray.SetPropertyIndexes( - index: 182, - originalValueIndex: 182, + index: 185, + originalValueIndex: 185, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11781,12 +11991,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnly.SetAccessors( TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 183), + TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 186), TimeOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[183]); + object (ValueBuffer valueBuffer) => valueBuffer[186]); nullableTimeOnly.SetPropertyIndexes( - index: 183, - originalValueIndex: 183, + index: 186, + originalValueIndex: 186, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11824,12 +12034,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnlyArray.SetAccessors( TimeOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnlyArray, 184), + TimeOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnlyArray, 187), TimeOnly? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[184]); + object (ValueBuffer valueBuffer) => valueBuffer[187]); nullableTimeOnlyArray.SetPropertyIndexes( - index: 184, - originalValueIndex: 184, + index: 187, + originalValueIndex: 187, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11888,12 +12098,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpan.SetAccessors( TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 185), + TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 188), TimeSpan? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[185]); + object (ValueBuffer valueBuffer) => valueBuffer[188]); nullableTimeSpan.SetPropertyIndexes( - index: 185, - originalValueIndex: 185, + index: 188, + originalValueIndex: 188, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11931,12 +12141,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpanArray.SetAccessors( TimeSpan? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpanArray, 186), + TimeSpan? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpanArray, 189), TimeSpan? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpanArray), - object (ValueBuffer valueBuffer) => valueBuffer[186]); + object (ValueBuffer valueBuffer) => valueBuffer[189]); nullableTimeSpanArray.SetPropertyIndexes( - index: 186, - originalValueIndex: 186, + index: 189, + originalValueIndex: 189, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11995,12 +12205,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16.SetAccessors( ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 187), + ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 190), ushort? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16), - object (ValueBuffer valueBuffer) => valueBuffer[187]); + object (ValueBuffer valueBuffer) => valueBuffer[190]); nullableUInt16.SetPropertyIndexes( - index: 187, - originalValueIndex: 187, + index: 190, + originalValueIndex: 190, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12046,12 +12256,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16Array.SetAccessors( ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 188), + ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 191), ushort? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[188]); + object (ValueBuffer valueBuffer) => valueBuffer[191]); nullableUInt16Array.SetPropertyIndexes( - index: 188, - originalValueIndex: 188, + index: 191, + originalValueIndex: 191, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12126,12 +12336,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32.SetAccessors( uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 189), + uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 192), uint? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32), - object (ValueBuffer valueBuffer) => valueBuffer[189]); + object (ValueBuffer valueBuffer) => valueBuffer[192]); nullableUInt32.SetPropertyIndexes( - index: 189, - originalValueIndex: 189, + index: 192, + originalValueIndex: 192, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12177,12 +12387,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32Array.SetAccessors( uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 190), + uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 193), uint? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[190]); + object (ValueBuffer valueBuffer) => valueBuffer[193]); nullableUInt32Array.SetPropertyIndexes( - index: 190, - originalValueIndex: 190, + index: 193, + originalValueIndex: 193, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12257,12 +12467,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64.SetAccessors( ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 191), + ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 194), ulong? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64), - object (ValueBuffer valueBuffer) => valueBuffer[191]); + object (ValueBuffer valueBuffer) => valueBuffer[194]); nullableUInt64.SetPropertyIndexes( - index: 191, - originalValueIndex: 191, + index: 194, + originalValueIndex: 194, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12312,12 +12522,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64Array.SetAccessors( ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 192), + ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 195), ulong? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[192]); + object (ValueBuffer valueBuffer) => valueBuffer[195]); nullableUInt64Array.SetPropertyIndexes( - index: 192, - originalValueIndex: 192, + index: 195, + originalValueIndex: 195, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12396,12 +12606,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8.SetAccessors( byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 193), + byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 196), byte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8), - object (ValueBuffer valueBuffer) => valueBuffer[193]); + object (ValueBuffer valueBuffer) => valueBuffer[196]); nullableUInt8.SetPropertyIndexes( - index: 193, - originalValueIndex: 193, + index: 196, + originalValueIndex: 196, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12439,12 +12649,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8Array.SetAccessors( byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 194), + byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 197), byte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[194]); + object (ValueBuffer valueBuffer) => valueBuffer[197]); nullableUInt8Array.SetPropertyIndexes( - index: 194, - originalValueIndex: 194, + index: 197, + originalValueIndex: 197, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12503,12 +12713,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 195), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 198), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUri), - object (ValueBuffer valueBuffer) => valueBuffer[195]); + object (ValueBuffer valueBuffer) => valueBuffer[198]); nullableUri.SetPropertyIndexes( - index: 195, - originalValueIndex: 195, + index: 198, + originalValueIndex: 198, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12557,12 +12767,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUriArray.SetAccessors( Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUriArray, 196), + Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUriArray, 199), Uri[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUriArray), - object (ValueBuffer valueBuffer) => valueBuffer[196]); + object (ValueBuffer valueBuffer) => valueBuffer[199]); nullableUriArray.SetPropertyIndexes( - index: 196, - originalValueIndex: 196, + index: 199, + originalValueIndex: 199, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12641,12 +12851,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 197), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 200), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[197]); + object (ValueBuffer valueBuffer) => valueBuffer[200]); physicalAddress.SetPropertyIndexes( - index: 197, - originalValueIndex: 197, + index: 200, + originalValueIndex: 200, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12695,12 +12905,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressArray.SetAccessors( PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressArray, 198), + PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressArray, 201), PhysicalAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[198]); + object (ValueBuffer valueBuffer) => valueBuffer[201]); physicalAddressArray.SetPropertyIndexes( - index: 198, - originalValueIndex: 198, + index: 201, + originalValueIndex: 201, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12780,12 +12990,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToBytesConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 199), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 202), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[199]); + object (ValueBuffer valueBuffer) => valueBuffer[202]); physicalAddressToBytesConverterProperty.SetPropertyIndexes( - index: 199, - originalValueIndex: 199, + index: 202, + originalValueIndex: 202, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12833,12 +13043,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToStringConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 200), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 203), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[200]); + object (ValueBuffer valueBuffer) => valueBuffer[203]); physicalAddressToStringConverterProperty.SetPropertyIndexes( - index: 200, - originalValueIndex: 200, + index: 203, + originalValueIndex: 203, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12887,12 +13097,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @string.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 201), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 204), string (InternalEntityEntry entry) => entry.GetCurrentValue(@string), - object (ValueBuffer valueBuffer) => valueBuffer[201]); + object (ValueBuffer valueBuffer) => valueBuffer[204]); @string.SetPropertyIndexes( - index: 201, - originalValueIndex: 201, + index: 204, + originalValueIndex: 204, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12916,38 +13126,106 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas storeTypePostfix: StoreTypePostfix.None); @string.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); - var stringArray = runtimeEntityType.AddProperty( - "StringArray", - typeof(string[]), - propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringArray", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), - fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); - stringArray.SetGetter( - string[] (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors.StringArray(entity), - bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors.StringArray(entity) == null, - string[] (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors.StringArray(instance), - bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors.StringArray(instance) == null); - stringArray.SetSetter( - (CompiledModelTestBase.ManyTypes entity, string[] value) => ManyTypesUnsafeAccessors.StringArray(entity) = value); - stringArray.SetMaterializationSetter( - (CompiledModelTestBase.ManyTypes entity, string[] value) => ManyTypesUnsafeAccessors.StringArray(entity) = value); - stringArray.SetAccessors( - string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 202), - string[] (InternalEntityEntry entry) => entry.GetCurrentValue(stringArray), - object (ValueBuffer valueBuffer) => valueBuffer[202]); - stringArray.SetPropertyIndexes( - index: 202, - originalValueIndex: 202, + var stringArray = runtimeEntityType.AddProperty( + "StringArray", + typeof(string[]), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringArray", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + stringArray.SetGetter( + string[] (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors.StringArray(entity), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors.StringArray(entity) == null, + string[] (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors.StringArray(instance), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors.StringArray(instance) == null); + stringArray.SetSetter( + (CompiledModelTestBase.ManyTypes entity, string[] value) => ManyTypesUnsafeAccessors.StringArray(entity) = value); + stringArray.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, string[] value) => ManyTypesUnsafeAccessors.StringArray(entity) = value); + stringArray.SetAccessors( + string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), + string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 205), + string[] (InternalEntityEntry entry) => entry.GetCurrentValue(stringArray), + object (ValueBuffer valueBuffer) => valueBuffer[205]); + stringArray.SetPropertyIndexes( + index: 205, + originalValueIndex: 205, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + stringArray.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + keyComparer: new ListOfReferenceTypesComparer(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter( + JsonStringReaderWriter.Instance)), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter( + JsonStringReaderWriter.Instance), + elementMapping: SqlServerStringTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + keyComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + storeTypePostfix: StoreTypePostfix.None)); + stringArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + stringReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null); + stringReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(stringReadOnlyCollection, 206), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(stringReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[206]); + stringReadOnlyCollection.SetPropertyIndexes( + index: 206, + originalValueIndex: 206, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); - stringArray.TypeMapping = SqlServerStringTypeMapping.Default.Clone( - comparer: new ListOfReferenceTypesComparer(new ValueComparer( + stringReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( bool (string v1, string v2) => v1 == v2, int (string v) => ((object)v).GetHashCode(), string (string v) => v)), - keyComparer: new ListOfReferenceTypesComparer(new ValueComparer( + keyComparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( bool (string v1, string v2) => v1 == v2, int (string v) => ((object)v).GetHashCode(), string (string v) => v)), @@ -12959,10 +13237,10 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas storeTypeName: "nvarchar(max)", unicode: true, dbType: System.Data.DbType.String), - converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter( + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter, string>( JsonStringReaderWriter.Instance)), storeTypePostfix: StoreTypePostfix.None, - jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter( + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, string>( JsonStringReaderWriter.Instance), elementMapping: SqlServerStringTypeMapping.Default.Clone( comparer: new ValueComparer( @@ -12982,7 +13260,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas unicode: true, dbType: System.Data.DbType.String), storeTypePostfix: StoreTypePostfix.None)); - stringArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + stringReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", @@ -13002,12 +13280,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBoolConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 203), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 207), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBoolConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[203]); + object (ValueBuffer valueBuffer) => valueBuffer[207]); stringToBoolConverterProperty.SetPropertyIndexes( - index: 203, - originalValueIndex: 203, + index: 207, + originalValueIndex: 207, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13052,12 +13330,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBytesConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 204), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 208), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[204]); + object (ValueBuffer valueBuffer) => valueBuffer[208]); stringToBytesConverterProperty.SetPropertyIndexes( - index: 204, - originalValueIndex: 204, + index: 208, + originalValueIndex: 208, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13105,12 +13383,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToCharConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 205), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 209), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToCharConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[205]); + object (ValueBuffer valueBuffer) => valueBuffer[209]); stringToCharConverterProperty.SetPropertyIndexes( - index: 205, - originalValueIndex: 205, + index: 209, + originalValueIndex: 209, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13160,12 +13438,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 206), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 210), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[206]); + object (ValueBuffer valueBuffer) => valueBuffer[210]); stringToDateOnlyConverterProperty.SetPropertyIndexes( - index: 206, - originalValueIndex: 206, + index: 210, + originalValueIndex: 210, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13212,12 +13490,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 207), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 211), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[207]); + object (ValueBuffer valueBuffer) => valueBuffer[211]); stringToDateTimeConverterProperty.SetPropertyIndexes( - index: 207, - originalValueIndex: 207, + index: 211, + originalValueIndex: 211, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13264,12 +13542,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeOffsetConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 208), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 212), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeOffsetConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[208]); + object (ValueBuffer valueBuffer) => valueBuffer[212]); stringToDateTimeOffsetConverterProperty.SetPropertyIndexes( - index: 208, - originalValueIndex: 208, + index: 212, + originalValueIndex: 212, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13316,12 +13594,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDecimalNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 209), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 213), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDecimalNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[209]); + object (ValueBuffer valueBuffer) => valueBuffer[213]); stringToDecimalNumberConverterProperty.SetPropertyIndexes( - index: 209, - originalValueIndex: 209, + index: 213, + originalValueIndex: 213, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13368,12 +13646,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDoubleNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 210), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 214), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDoubleNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[210]); + object (ValueBuffer valueBuffer) => valueBuffer[214]); stringToDoubleNumberConverterProperty.SetPropertyIndexes( - index: 210, - originalValueIndex: 210, + index: 214, + originalValueIndex: 214, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13420,12 +13698,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToEnumConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 211), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 215), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToEnumConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[211]); + object (ValueBuffer valueBuffer) => valueBuffer[215]); stringToEnumConverterProperty.SetPropertyIndexes( - index: 211, - originalValueIndex: 211, + index: 215, + originalValueIndex: 215, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13469,12 +13747,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToGuidConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 212), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 216), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToGuidConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[212]); + object (ValueBuffer valueBuffer) => valueBuffer[216]); stringToGuidConverterProperty.SetPropertyIndexes( - index: 212, - originalValueIndex: 212, + index: 216, + originalValueIndex: 216, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13516,12 +13794,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToIntNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 213), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 217), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToIntNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[213]); + object (ValueBuffer valueBuffer) => valueBuffer[217]); stringToIntNumberConverterProperty.SetPropertyIndexes( - index: 213, - originalValueIndex: 213, + index: 217, + originalValueIndex: 217, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13568,12 +13846,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 214), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 218), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[214]); + object (ValueBuffer valueBuffer) => valueBuffer[218]); stringToTimeOnlyConverterProperty.SetPropertyIndexes( - index: 214, - originalValueIndex: 214, + index: 218, + originalValueIndex: 218, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13620,12 +13898,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeSpanConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 215), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 219), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeSpanConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[215]); + object (ValueBuffer valueBuffer) => valueBuffer[219]); stringToTimeSpanConverterProperty.SetPropertyIndexes( - index: 215, - originalValueIndex: 215, + index: 219, + originalValueIndex: 219, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13672,12 +13950,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToUriConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 216), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 220), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToUriConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[216]); + object (ValueBuffer valueBuffer) => valueBuffer[220]); stringToUriConverterProperty.SetPropertyIndexes( - index: 216, - originalValueIndex: 216, + index: 220, + originalValueIndex: 220, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13727,12 +14005,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnly.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 217), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 221), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[217]); + object (ValueBuffer valueBuffer) => valueBuffer[221]); timeOnly.SetPropertyIndexes( - index: 217, - originalValueIndex: 217, + index: 221, + originalValueIndex: 221, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13768,12 +14046,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyArray.SetAccessors( TimeOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyArray, 218), + TimeOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyArray, 222), TimeOnly[] (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[218]); + object (ValueBuffer valueBuffer) => valueBuffer[222]); timeOnlyArray.SetPropertyIndexes( - index: 218, - originalValueIndex: 218, + index: 222, + originalValueIndex: 222, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13832,12 +14110,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToStringConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 219), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 223), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[219]); + object (ValueBuffer valueBuffer) => valueBuffer[223]); timeOnlyToStringConverterProperty.SetPropertyIndexes( - index: 219, - originalValueIndex: 219, + index: 223, + originalValueIndex: 223, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13888,12 +14166,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToTicksConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 220), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 224), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[220]); + object (ValueBuffer valueBuffer) => valueBuffer[224]); timeOnlyToTicksConverterProperty.SetPropertyIndexes( - index: 220, - originalValueIndex: 220, + index: 224, + originalValueIndex: 224, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13939,12 +14217,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpan.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 221), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 225), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[221]); + object (ValueBuffer valueBuffer) => valueBuffer[225]); timeSpan.SetPropertyIndexes( - index: 221, - originalValueIndex: 221, + index: 225, + originalValueIndex: 225, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13980,12 +14258,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanArray.SetAccessors( TimeSpan[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanArray, 222), + TimeSpan[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanArray, 226), TimeSpan[] (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanArray), - object (ValueBuffer valueBuffer) => valueBuffer[222]); + object (ValueBuffer valueBuffer) => valueBuffer[226]); timeSpanArray.SetPropertyIndexes( - index: 222, - originalValueIndex: 222, + index: 226, + originalValueIndex: 226, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14044,12 +14322,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToStringConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 223), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 227), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[223]); + object (ValueBuffer valueBuffer) => valueBuffer[227]); timeSpanToStringConverterProperty.SetPropertyIndexes( - index: 223, - originalValueIndex: 223, + index: 227, + originalValueIndex: 227, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14100,12 +14378,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToTicksConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 224), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 228), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[224]); + object (ValueBuffer valueBuffer) => valueBuffer[228]); timeSpanToTicksConverterProperty.SetPropertyIndexes( - index: 224, - originalValueIndex: 224, + index: 228, + originalValueIndex: 228, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14150,12 +14428,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16.SetAccessors( ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 225), + ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 229), ushort (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16), - object (ValueBuffer valueBuffer) => valueBuffer[225]); + object (ValueBuffer valueBuffer) => valueBuffer[229]); uInt16.SetPropertyIndexes( - index: 225, - originalValueIndex: 225, + index: 229, + originalValueIndex: 229, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14200,12 +14478,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16Array.SetAccessors( ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 226), + ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 230), ushort[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[226]); + object (ValueBuffer valueBuffer) => valueBuffer[230]); uInt16Array.SetPropertyIndexes( - index: 226, - originalValueIndex: 226, + index: 230, + originalValueIndex: 230, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14279,12 +14557,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32.SetAccessors( uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 227), + uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 231), uint (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32), - object (ValueBuffer valueBuffer) => valueBuffer[227]); + object (ValueBuffer valueBuffer) => valueBuffer[231]); uInt32.SetPropertyIndexes( - index: 227, - originalValueIndex: 227, + index: 231, + originalValueIndex: 231, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14329,12 +14607,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32Array.SetAccessors( uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 228), + uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 232), uint[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[228]); + object (ValueBuffer valueBuffer) => valueBuffer[232]); uInt32Array.SetPropertyIndexes( - index: 228, - originalValueIndex: 228, + index: 232, + originalValueIndex: 232, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14408,12 +14686,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64.SetAccessors( ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 229), + ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 233), ulong (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64), - object (ValueBuffer valueBuffer) => valueBuffer[229]); + object (ValueBuffer valueBuffer) => valueBuffer[233]); uInt64.SetPropertyIndexes( - index: 229, - originalValueIndex: 229, + index: 233, + originalValueIndex: 233, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14462,12 +14740,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64Array.SetAccessors( ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 230), + ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 234), ulong[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[230]); + object (ValueBuffer valueBuffer) => valueBuffer[234]); uInt64Array.SetPropertyIndexes( - index: 230, - originalValueIndex: 230, + index: 234, + originalValueIndex: 234, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14546,12 +14824,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8.SetAccessors( byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 231), + byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 235), byte (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8), - object (ValueBuffer valueBuffer) => valueBuffer[231]); + object (ValueBuffer valueBuffer) => valueBuffer[235]); uInt8.SetPropertyIndexes( - index: 231, - originalValueIndex: 231, + index: 235, + originalValueIndex: 235, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14587,12 +14865,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8Array.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 232), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 236), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[232]); + object (ValueBuffer valueBuffer) => valueBuffer[236]); uInt8Array.SetPropertyIndexes( - index: 232, - originalValueIndex: 232, + index: 236, + originalValueIndex: 236, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14614,6 +14892,69 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas storeTypePostfix: StoreTypePostfix.None); uInt8Array.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + uInt8ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null); + uInt8ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(uInt8ReadOnlyCollection, 237), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(uInt8ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[237]); + uInt8ReadOnlyCollection.SetPropertyIndexes( + index: 237, + originalValueIndex: 237, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + uInt8ReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + keyComparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance)), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance), + elementMapping: SqlServerByteTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + keyComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + providerValueComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v))); + uInt8ReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri), @@ -14631,12 +14972,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 233), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 238), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uri), - object (ValueBuffer valueBuffer) => valueBuffer[233]); + object (ValueBuffer valueBuffer) => valueBuffer[238]); uri.SetPropertyIndexes( - index: 233, - originalValueIndex: 233, + index: 238, + originalValueIndex: 238, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14685,12 +15026,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriArray.SetAccessors( Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uriArray, 234), + Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uriArray, 239), Uri[] (InternalEntityEntry entry) => entry.GetCurrentValue(uriArray), - object (ValueBuffer valueBuffer) => valueBuffer[234]); + object (ValueBuffer valueBuffer) => valueBuffer[239]); uriArray.SetPropertyIndexes( - index: 234, - originalValueIndex: 234, + index: 239, + originalValueIndex: 239, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14770,12 +15111,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriToStringConverterProperty.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 235), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 240), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uriToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[235]); + object (ValueBuffer valueBuffer) => valueBuffer[240]); uriToStringConverterProperty.SetPropertyIndexes( - index: 235, - originalValueIndex: 235, + index: 240, + originalValueIndex: 240, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14819,6 +15160,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var id = runtimeEntityType.FindProperty("Id"); var @bool = runtimeEntityType.FindProperty("Bool"); var boolArray = runtimeEntityType.FindProperty("BoolArray"); + var boolReadOnlyCollection = runtimeEntityType.FindProperty("BoolReadOnlyCollection"); var boolToStringConverterProperty = runtimeEntityType.FindProperty("BoolToStringConverterProperty"); var boolToTwoValuesConverterProperty = runtimeEntityType.FindProperty("BoolToTwoValuesConverterProperty"); var boolToZeroOneConverterProperty = runtimeEntityType.FindProperty("BoolToZeroOneConverterProperty"); @@ -14906,12 +15248,14 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var guidToStringConverterProperty = runtimeEntityType.FindProperty("GuidToStringConverterProperty"); var iPAddress = runtimeEntityType.FindProperty("IPAddress"); var iPAddressArray = runtimeEntityType.FindProperty("IPAddressArray"); + var iPAddressReadOnlyCollection = runtimeEntityType.FindProperty("IPAddressReadOnlyCollection"); var iPAddressToBytesConverterProperty = runtimeEntityType.FindProperty("IPAddressToBytesConverterProperty"); var iPAddressToStringConverterProperty = runtimeEntityType.FindProperty("IPAddressToStringConverterProperty"); var int16 = runtimeEntityType.FindProperty("Int16"); var int16Array = runtimeEntityType.FindProperty("Int16Array"); var int32 = runtimeEntityType.FindProperty("Int32"); var int32Array = runtimeEntityType.FindProperty("Int32Array"); + var int32ReadOnlyCollection = runtimeEntityType.FindProperty("Int32ReadOnlyCollection"); var int64 = runtimeEntityType.FindProperty("Int64"); var int64Array = runtimeEntityType.FindProperty("Int64Array"); var int8 = runtimeEntityType.FindProperty("Int8"); @@ -15019,6 +15363,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var physicalAddressToStringConverterProperty = runtimeEntityType.FindProperty("PhysicalAddressToStringConverterProperty"); var @string = runtimeEntityType.FindProperty("String"); var stringArray = runtimeEntityType.FindProperty("StringArray"); + var stringReadOnlyCollection = runtimeEntityType.FindProperty("StringReadOnlyCollection"); var stringToBoolConverterProperty = runtimeEntityType.FindProperty("StringToBoolConverterProperty"); var stringToBytesConverterProperty = runtimeEntityType.FindProperty("StringToBytesConverterProperty"); var stringToCharConverterProperty = runtimeEntityType.FindProperty("StringToCharConverterProperty"); @@ -15049,6 +15394,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var uInt64Array = runtimeEntityType.FindProperty("UInt64Array"); var uInt8 = runtimeEntityType.FindProperty("UInt8"); var uInt8Array = runtimeEntityType.FindProperty("UInt8Array"); + var uInt8ReadOnlyCollection = runtimeEntityType.FindProperty("UInt8ReadOnlyCollection"); var uri = runtimeEntityType.FindProperty("Uri"); var uriArray = runtimeEntityType.FindProperty("UriArray"); var uriToStringConverterProperty = runtimeEntityType.FindProperty("UriToStringConverterProperty"); @@ -15059,21 +15405,23 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) ISnapshot (InternalEntityEntry source) => { var entity = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg = ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (((object)(source.GetCurrentValue(bytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)bytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(bytesArray))))))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), (((IEnumerable)(source.GetCurrentValue(dateOnlyArray))) == null ? null : ((DateOnly[])(((ValueComparer>)(((IProperty)dateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateOnlyArray))))))), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), (((IEnumerable)(source.GetCurrentValue(dateTimeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)dateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateTimeArray))))))), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double)), (((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray)))))))))); + var liftedArg = ((ISnapshot)(new Snapshot, bool, bool, bool, byte[], byte[][], byte[], int, char, char[], char, DateOnly, DateOnly[], DateOnly, DateTime, DateTime[], DateTimeOffset, DateTimeOffset, DateTimeOffset, DateTime, DateTime, DateTime, decimal, decimal[], decimal, decimal, double>(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), (((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)boolReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (((object)(source.GetCurrentValue(bytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)bytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(bytesArray))))))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), (((IEnumerable)(source.GetCurrentValue(dateOnlyArray))) == null ? null : ((DateOnly[])(((ValueComparer>)(((IProperty)dateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateOnlyArray))))))), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), (((IEnumerable)(source.GetCurrentValue(dateTimeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)dateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateTimeArray))))))), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double))))); var entity0 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg0 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], List, List, CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], List, List, CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], List, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32, CompiledModelTestBase.EnumU16, CompiledModelTestBase.EnumU16[]>(((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), (((IEnumerable)(source.GetCurrentValue(enum16Array))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16Array))))))), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), (((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16Collection))))))), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), (((IEnumerable)(source.GetCurrentValue(enum32Array))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32Array))))))), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), (((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32Collection))))))), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), (((IEnumerable)(source.GetCurrentValue(enum64Array))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64Array))))))), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), (((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64Collection))))))), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), (((IEnumerable)(source.GetCurrentValue(enum8Array))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8Array))))))), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), (((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8Collection))))))), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16)), (((IEnumerable)(source.GetCurrentValue(enumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16Array)))))))))); + var liftedArg0 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], List, List, CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], List, List, CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], List, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32, CompiledModelTestBase.EnumU16>((((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray))))))), ((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), (((IEnumerable)(source.GetCurrentValue(enum16Array))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16Array))))))), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), (((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16Collection))))))), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), (((IEnumerable)(source.GetCurrentValue(enum32Array))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32Array))))))), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), (((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32Collection))))))), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), (((IEnumerable)(source.GetCurrentValue(enum64Array))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64Array))))))), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), (((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64Collection))))))), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), (((IEnumerable)(source.GetCurrentValue(enum8Array))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8Array))))))), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), (((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8Collection))))))), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16))))); var entity1 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg1 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], List, List, CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], List, List, CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], List, List, float, float[], Guid, Guid[], Guid, Guid, IPAddress, IPAddress[]>(((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), (((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16Collection))))))), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), (((IEnumerable)(source.GetCurrentValue(enumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32Array))))))), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), (((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32Collection))))))), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), (((IEnumerable)(source.GetCurrentValue(enumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64Array))))))), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), (((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64Collection))))))), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), (((IEnumerable)(source.GetCurrentValue(enumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8Array))))))), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), (((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8Collection))))))), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), (((IEnumerable)(source.GetCurrentValue(guidArray))) == null ? null : ((Guid[])(((ValueComparer>)(((IProperty)guidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(guidArray))))))), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress))), (((object)(source.GetCurrentValue(iPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)iPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(iPAddressArray)))))))))); + var liftedArg1 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], List, List, CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], List, List, CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], List, List, float, float[], Guid, Guid[], Guid, Guid, IPAddress>((((IEnumerable)(source.GetCurrentValue(enumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16Array))))))), ((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), (((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16Collection))))))), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), (((IEnumerable)(source.GetCurrentValue(enumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32Array))))))), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), (((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32Collection))))))), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), (((IEnumerable)(source.GetCurrentValue(enumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64Array))))))), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), (((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64Collection))))))), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), (((IEnumerable)(source.GetCurrentValue(enumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8Array))))))), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), (((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8Collection))))))), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), (((IEnumerable)(source.GetCurrentValue(guidArray))) == null ? null : ((Guid[])(((ValueComparer>)(((IProperty)guidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(guidArray))))))), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress)))))); var entity2 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg2 = ((ISnapshot)(new Snapshot((source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (((object)(source.GetCurrentValue(nullableBytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)nullableBytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableBytesArray))))))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))) == null ? null : ((DateOnly? [])(((ValueComparer>)(((IProperty)nullableDateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))))))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))) == null ? null : ((DateTime? [])(((ValueComparer>)(((IProperty)nullableDateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))))))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))))))), (source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))))))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString)))))); + var liftedArg2 = ((ISnapshot)(new Snapshot, IPAddress, IPAddress, short, short[], int, int[], IReadOnlyCollection, long, long[], sbyte, sbyte[], int, int, int?, bool?, bool? [], byte[], byte[][], char?, char? [], DateOnly?, DateOnly? [], DateTime?, DateTime? [], decimal?, decimal? [], double?, double? []>((((object)(source.GetCurrentValue(iPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)iPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(iPAddressArray))))))), (((object)(source.GetCurrentValue>(iPAddressReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)iPAddressReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(iPAddressReadOnlyCollection))))))), (source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), (((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)int32ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (((object)(source.GetCurrentValue(nullableBytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)nullableBytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableBytesArray))))))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))) == null ? null : ((DateOnly? [])(((ValueComparer>)(((IProperty)nullableDateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))))))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))) == null ? null : ((DateTime? [])(((ValueComparer>)(((IProperty)nullableDateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))))))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray)))))))))); var entity3 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg3 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], List, List, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], List, List, CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], List, List, CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], List, List, CompiledModelTestBase.EnumU32?, CompiledModelTestBase.EnumU32? [], CompiledModelTestBase.EnumU32?>((((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))))))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))))))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))))))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))))))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))))))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))))))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))))))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))))))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))))))), (source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))))))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString)))))); + var liftedArg3 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], List, List, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], List, List, CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], List, List, CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], List, List>((source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))))))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))))))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))))))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))))))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))))))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))))))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))))))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))))))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))))))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection)))))))))); var entity4 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg4 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], List, List, CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], List, List, float?, float? [], Guid?, Guid? [], IPAddress, IPAddress[], short?, short? [], int?, int? [], long?, long? [], sbyte?, sbyte? [], PhysicalAddress>((((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))))))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))))))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))))))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))))))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))))))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (((IEnumerable)(source.GetCurrentValue(nullableGuidArray))) == null ? null : ((Guid? [])(((ValueComparer>)(((IProperty)nullableGuidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableGuidArray))))))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (((object)(source.GetCurrentValue(nullableIPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)nullableIPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableIPAddressArray))))))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array))))))), (source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress)))))); + var liftedArg4 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], List, List, CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], List, List, float?, float? [], Guid?, Guid? [], IPAddress, IPAddress[], short?, short? [], int?, int? [], long?, long? []>((source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))))))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))))))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))))))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))))))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))))))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))))))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (((IEnumerable)(source.GetCurrentValue(nullableGuidArray))) == null ? null : ((Guid? [])(((ValueComparer>)(((IProperty)nullableGuidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableGuidArray))))))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (((object)(source.GetCurrentValue(nullableIPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)nullableIPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableIPAddressArray))))))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array)))))))))); var entity5 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg5 = ((ISnapshot)(new Snapshot((((object)(source.GetCurrentValue(nullablePhysicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)nullablePhysicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullablePhysicalAddressArray))))))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))) == null ? null : ((TimeOnly? [])(((ValueComparer>)(((IProperty)nullableTimeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))))))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))) == null ? null : ((TimeSpan? [])(((ValueComparer>)(((IProperty)nullableTimeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))))))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (((object)(source.GetCurrentValue(nullableUriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)nullableUriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableUriArray))))))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (((object)(source.GetCurrentValue(physicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)physicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(physicalAddressArray))))))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty))), (source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty)))))); + var liftedArg5 = ((ISnapshot)(new Snapshot, string, string, string>((source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress))), (((object)(source.GetCurrentValue(nullablePhysicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)nullablePhysicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullablePhysicalAddressArray))))))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))) == null ? null : ((TimeOnly? [])(((ValueComparer>)(((IProperty)nullableTimeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))))))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))) == null ? null : ((TimeSpan? [])(((ValueComparer>)(((IProperty)nullableTimeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))))))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (((object)(source.GetCurrentValue(nullableUriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)nullableUriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableUriArray))))))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (((object)(source.GetCurrentValue(physicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)physicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(physicalAddressArray))))))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (((object)(source.GetCurrentValue>(stringReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)stringReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(stringReadOnlyCollection))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty)))))); var entity6 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, liftedArg4, liftedArg5, ((ISnapshot)(new Snapshot((source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), (((IEnumerable)(source.GetCurrentValue(timeOnlyArray))) == null ? null : ((TimeOnly[])(((ValueComparer>)(((IProperty)timeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeOnlyArray))))))), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), (((IEnumerable)(source.GetCurrentValue(timeSpanArray))) == null ? null : ((TimeSpan[])(((ValueComparer>)(((IProperty)timeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeSpanArray))))))), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (((object)(source.GetCurrentValue(uriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)uriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(uriArray))))))), (source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty)))))) }))); + var liftedArg6 = ((ISnapshot)(new Snapshot, Uri, Uri[]>((source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty))), (source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), (((IEnumerable)(source.GetCurrentValue(timeOnlyArray))) == null ? null : ((TimeOnly[])(((ValueComparer>)(((IProperty)timeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeOnlyArray))))))), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), (((IEnumerable)(source.GetCurrentValue(timeSpanArray))) == null ? null : ((TimeSpan[])(((ValueComparer>)(((IProperty)timeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeSpanArray))))))), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)uInt8ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))))))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (((object)(source.GetCurrentValue(uriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)uriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(uriArray)))))))))); + var entity7 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); + return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, liftedArg4, liftedArg5, liftedArg6, ((ISnapshot)(new Snapshot((source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty)))))) }))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( ISnapshot () => ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(default(CompiledModelTestBase.ManyTypesId)))))); @@ -15086,14 +15434,14 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); + var entity8 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))))); }); runtimeEntityType.Counts = new PropertyCounts( - propertyCount: 236, + propertyCount: 241, navigationCount: 0, complexPropertyCount: 0, - originalValueCount: 236, + originalValueCount: 241, shadowCount: 0, relationshipCount: 1, storeGeneratedCount: 1); diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs index 8212477912e..48de8dc1ceb 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs @@ -22,6 +22,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool[] BoolArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_boolReadOnlyCollection")] + public static extern ref List _boolReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool BoolToStringConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -283,6 +286,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref IPAddress[] IPAddressArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_ipAddressReadOnlyCollection")] + public static extern ref List _ipAddressReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref IPAddress IPAddressToBytesConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -301,6 +307,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref int[] Int32Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_int32ReadOnlyCollection")] + public static extern ref List _int32ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref long Int64(CompiledModelTestBase.ManyTypes @this); @@ -622,6 +631,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string[] StringArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_stringReadOnlyCollection")] + public static extern ref List _stringReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string StringToBoolConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -712,6 +724,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref byte[] UInt8Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_uInt8ReadOnlyCollection")] + public static extern ref List _uInt8ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref Uri Uri(CompiledModelTestBase.ManyTypes @this); diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedType0EntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedType0EntityType.cs index aecb144873f..35f1e9a00fb 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedType0EntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedType0EntityType.cs @@ -875,7 +875,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>(((ValueComparer)(((IProperty)principalDerivedId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedId)), ((ValueComparer)(((IProperty)principalDerivedAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedAlternateId)), ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), (source.GetCurrentValue(details) == null ? null : ((ValueComparer)(((IProperty)details).GetValueComparer())).Snapshot(source.GetCurrentValue(details))), ((ValueComparer)(((IProperty)number).GetValueComparer())).Snapshot(source.GetCurrentValue(number)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -889,7 +889,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalDerivedId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedId)), ((ValueComparer)(((IProperty)principalDerivedAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedAlternateId)), ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedTypeEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedTypeEntityType.cs index 58454e04fd9..74919604598 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedTypeEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedTypeEntityType.cs @@ -886,7 +886,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>(((ValueComparer)(((IProperty)principalBaseId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalBaseId)), ((ValueComparer)(((IProperty)principalBaseAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalBaseAlternateId)), (source.GetCurrentValue(details) == null ? null : ((ValueComparer)(((IProperty)details).GetValueComparer())).Snapshot(source.GetCurrentValue(details))), ((ValueComparer)(((IProperty)number).GetValueComparer())).Snapshot(source.GetCurrentValue(number)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -900,7 +900,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalBaseId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalBaseId)), ((ValueComparer)(((IProperty)principalBaseAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalBaseAlternateId))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBaseEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBaseEntityType.cs index 59869dd8c15..596ffa47ed6 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBaseEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBaseEntityType.cs @@ -999,7 +999,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); + var entity8 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), ((ValueComparer)(((IProperty)enum1).GetValueComparer())).Snapshot(source.GetCurrentValue(enum1)), (source.GetCurrentValue(enum2) == null ? null : ((ValueComparer)(((IProperty)enum2).GetValueComparer())).Snapshot(source.GetCurrentValue(enum2))), ((ValueComparer)(((IProperty)flagsEnum1).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum1)), ((ValueComparer)(((IProperty)flagsEnum2).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum2)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -1013,8 +1013,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); - return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity7), (object)(null)))); + var entity8 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); + return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity8), (object)(null)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 14, diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs index 762b316cf9a..76042ca6e3b 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs @@ -397,7 +397,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((Dictionary)(source.Entity)); + var entity8 = ((Dictionary)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)derivedsId).GetValueComparer())).Snapshot(source.GetCurrentValue(derivedsId)), ((ValueComparer)(((IProperty)derivedsAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(derivedsAlternateId)), ((ValueComparer)(((IProperty)principalsId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalsId)), ((ValueComparer)(((IProperty)principalsAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalsAlternateId)), (source.GetCurrentValue(rowid) == null ? null : ((ValueComparer)(((IProperty)rowid).GetValueComparer())).Snapshot(source.GetCurrentValue(rowid)))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -411,7 +411,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((Dictionary)(source.Entity)); + var entity8 = ((Dictionary)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)derivedsId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(derivedsId)), ((ValueComparer)(((IProperty)derivedsAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(derivedsAlternateId)), ((ValueComparer)(((IProperty)principalsId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalsId)), ((ValueComparer)(((IProperty)principalsAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalsAlternateId))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalDerivedEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalDerivedEntityType.cs index 5de696ad512..0b92a68d493 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalDerivedEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalDerivedEntityType.cs @@ -120,7 +120,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); + var entity8 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), ((ValueComparer)(((IProperty)enum1).GetValueComparer())).Snapshot(source.GetCurrentValue(enum1)), (source.GetCurrentValue(enum2) == null ? null : ((ValueComparer)(((IProperty)enum2).GetValueComparer())).Snapshot(source.GetCurrentValue(enum2))), ((ValueComparer)(((IProperty)flagsEnum1).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum1)), ((ValueComparer)(((IProperty)flagsEnum2).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum2)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -134,8 +134,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); - return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity7), (object)(null), PrincipalDerivedUnsafeAccessors>.Dependent(entity7), SnapshotFactoryFactory.SnapshotCollection(PrincipalDerivedUnsafeAccessors>.ManyOwned(entity7)), (object)(null)))); + var entity8 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); + return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity8), (object)(null), PrincipalDerivedUnsafeAccessors>.Dependent(entity8), SnapshotFactoryFactory.SnapshotCollection(PrincipalDerivedUnsafeAccessors>.ManyOwned(entity8)), (object)(null)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 14, diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DbContextModelBuilder.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DbContextModelBuilder.cs index 2197085c217..77a88d2d54b 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DbContextModelBuilder.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DbContextModelBuilder.cs @@ -193,6 +193,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Bool", boolColumnBase); var boolArrayColumnBase = new ColumnBase("BoolArray", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolArray", boolArrayColumnBase); + var boolReadOnlyCollectionColumnBase = new ColumnBase("BoolReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolReadOnlyCollection", boolReadOnlyCollectionColumnBase); var boolToStringConverterPropertyColumnBase = new ColumnBase("BoolToStringConverterProperty", "nvarchar(1)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolToStringConverterProperty", boolToStringConverterPropertyColumnBase); var boolToTwoValuesConverterPropertyColumnBase = new ColumnBase("BoolToTwoValuesConverterProperty", "tinyint", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -367,6 +369,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddress", iPAddressColumnBase); var iPAddressArrayColumnBase = new ColumnBase("IPAddressArray", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressArray", iPAddressArrayColumnBase); + var iPAddressReadOnlyCollectionColumnBase = new ColumnBase("IPAddressReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressReadOnlyCollection", iPAddressReadOnlyCollectionColumnBase); var iPAddressToBytesConverterPropertyColumnBase = new ColumnBase("IPAddressToBytesConverterProperty", "varbinary(16)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressToBytesConverterProperty", iPAddressToBytesConverterPropertyColumnBase); var iPAddressToStringConverterPropertyColumnBase = new ColumnBase("IPAddressToStringConverterProperty", "nvarchar(45)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -381,6 +385,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32", int32ColumnBase); var int32ArrayColumnBase = new ColumnBase("Int32Array", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32Array", int32ArrayColumnBase); + var int32ReadOnlyCollectionColumnBase = new ColumnBase("Int32ReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32ReadOnlyCollection", int32ReadOnlyCollectionColumnBase); var int64ColumnBase = new ColumnBase("Int64", "bigint", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int64", int64ColumnBase); var int64ArrayColumnBase = new ColumnBase("Int64Array", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -715,6 +721,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("String", stringColumnBase); var stringArrayColumnBase = new ColumnBase("StringArray", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringArray", stringArrayColumnBase); + var stringReadOnlyCollectionColumnBase = new ColumnBase("StringReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringReadOnlyCollection", stringReadOnlyCollectionColumnBase); var stringToBoolConverterPropertyColumnBase = new ColumnBase("StringToBoolConverterProperty", "bit", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringToBoolConverterProperty", stringToBoolConverterPropertyColumnBase); var stringToBytesConverterPropertyColumnBase = new ColumnBase("StringToBytesConverterProperty", "varbinary(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase) @@ -778,6 +786,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8", uInt8ColumnBase); var uInt8ArrayColumnBase = new ColumnBase("UInt8Array", "varbinary(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8Array", uInt8ArrayColumnBase); + var uInt8ReadOnlyCollectionColumnBase = new ColumnBase("UInt8ReadOnlyCollection", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8ReadOnlyCollection", uInt8ReadOnlyCollectionColumnBase); var uriColumnBase = new ColumnBase("Uri", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Uri", uriColumnBase); var uriArrayColumnBase = new ColumnBase("UriArray", "nvarchar(max)", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -791,6 +801,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)idColumnBase0, manyTypes.FindProperty("Id")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolColumnBase, manyTypes.FindProperty("Bool")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolArrayColumnBase, manyTypes.FindProperty("BoolArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)boolReadOnlyCollectionColumnBase, manyTypes.FindProperty("BoolReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToStringConverterPropertyColumnBase, manyTypes.FindProperty("BoolToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToTwoValuesConverterPropertyColumnBase, manyTypes.FindProperty("BoolToTwoValuesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToZeroOneConverterPropertyColumnBase, manyTypes.FindProperty("BoolToZeroOneConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -878,12 +889,14 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)guidToStringConverterPropertyColumnBase, manyTypes.FindProperty("GuidToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressColumnBase, manyTypes.FindProperty("IPAddress")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressArrayColumnBase, manyTypes.FindProperty("IPAddressArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)iPAddressReadOnlyCollectionColumnBase, manyTypes.FindProperty("IPAddressReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressToBytesConverterPropertyColumnBase, manyTypes.FindProperty("IPAddressToBytesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressToStringConverterPropertyColumnBase, manyTypes.FindProperty("IPAddressToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int16ColumnBase, manyTypes.FindProperty("Int16")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int16ArrayColumnBase, manyTypes.FindProperty("Int16Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int32ColumnBase, manyTypes.FindProperty("Int32")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int32ArrayColumnBase, manyTypes.FindProperty("Int32Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)int32ReadOnlyCollectionColumnBase, manyTypes.FindProperty("Int32ReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int64ColumnBase, manyTypes.FindProperty("Int64")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int64ArrayColumnBase, manyTypes.FindProperty("Int64Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int8ColumnBase, manyTypes.FindProperty("Int8")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -991,6 +1004,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)physicalAddressToStringConverterPropertyColumnBase, manyTypes.FindProperty("PhysicalAddressToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringColumnBase, manyTypes.FindProperty("String")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringArrayColumnBase, manyTypes.FindProperty("StringArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)stringReadOnlyCollectionColumnBase, manyTypes.FindProperty("StringReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToBoolConverterPropertyColumnBase, manyTypes.FindProperty("StringToBoolConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToBytesConverterPropertyColumnBase, manyTypes.FindProperty("StringToBytesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToCharConverterPropertyColumnBase, manyTypes.FindProperty("StringToCharConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1021,6 +1035,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)uInt64ArrayColumnBase, manyTypes.FindProperty("UInt64Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uInt8ColumnBase, manyTypes.FindProperty("UInt8")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uInt8ArrayColumnBase, manyTypes.FindProperty("UInt8Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)uInt8ReadOnlyCollectionColumnBase, manyTypes.FindProperty("UInt8ReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriColumnBase, manyTypes.FindProperty("Uri")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriArrayColumnBase, manyTypes.FindProperty("UriArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriToStringConverterPropertyColumnBase, manyTypes.FindProperty("UriToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1037,6 +1052,9 @@ private IRelationalModel CreateRelationalModel() var boolArrayColumn = new Column("BoolArray", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("BoolArray", boolArrayColumn); boolArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolArrayColumn); + var boolReadOnlyCollectionColumn = new Column("BoolReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("BoolReadOnlyCollection", boolReadOnlyCollectionColumn); + boolReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolReadOnlyCollectionColumn); var boolToStringConverterPropertyColumn = new Column("BoolToStringConverterProperty", "nvarchar(1)", manyTypesTable); manyTypesTable.Columns.Add("BoolToStringConverterProperty", boolToStringConverterPropertyColumn); boolToStringConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolToStringConverterPropertyColumn); @@ -1298,6 +1316,9 @@ private IRelationalModel CreateRelationalModel() var iPAddressArrayColumn = new Column("IPAddressArray", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("IPAddressArray", iPAddressArrayColumn); iPAddressArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressArrayColumn); + var iPAddressReadOnlyCollectionColumn = new Column("IPAddressReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("IPAddressReadOnlyCollection", iPAddressReadOnlyCollectionColumn); + iPAddressReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressReadOnlyCollectionColumn); var iPAddressToBytesConverterPropertyColumn = new Column("IPAddressToBytesConverterProperty", "varbinary(16)", manyTypesTable); manyTypesTable.Columns.Add("IPAddressToBytesConverterProperty", iPAddressToBytesConverterPropertyColumn); iPAddressToBytesConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressToBytesConverterPropertyColumn); @@ -1316,6 +1337,9 @@ private IRelationalModel CreateRelationalModel() var int32ArrayColumn = new Column("Int32Array", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("Int32Array", int32ArrayColumn); int32ArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(int32ArrayColumn); + var int32ReadOnlyCollectionColumn = new Column("Int32ReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("Int32ReadOnlyCollection", int32ReadOnlyCollectionColumn); + int32ReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(int32ReadOnlyCollectionColumn); var int64Column = new Column("Int64", "bigint", manyTypesTable); manyTypesTable.Columns.Add("Int64", int64Column); int64Column.Accessors = ColumnAccessorsFactory.CreateGeneric(int64Column); @@ -1757,6 +1781,9 @@ private IRelationalModel CreateRelationalModel() var stringArrayColumn = new Column("StringArray", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("StringArray", stringArrayColumn); stringArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringArrayColumn); + var stringReadOnlyCollectionColumn = new Column("StringReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("StringReadOnlyCollection", stringReadOnlyCollectionColumn); + stringReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringReadOnlyCollectionColumn); var stringToBoolConverterPropertyColumn = new Column("StringToBoolConverterProperty", "bit", manyTypesTable); manyTypesTable.Columns.Add("StringToBoolConverterProperty", stringToBoolConverterPropertyColumn); stringToBoolConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringToBoolConverterPropertyColumn); @@ -1850,6 +1877,9 @@ private IRelationalModel CreateRelationalModel() var uInt8ArrayColumn = new Column("UInt8Array", "varbinary(max)", manyTypesTable); manyTypesTable.Columns.Add("UInt8Array", uInt8ArrayColumn); uInt8ArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uInt8ArrayColumn); + var uInt8ReadOnlyCollectionColumn = new Column("UInt8ReadOnlyCollection", "nvarchar(max)", manyTypesTable); + manyTypesTable.Columns.Add("UInt8ReadOnlyCollection", uInt8ReadOnlyCollectionColumn); + uInt8ReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uInt8ReadOnlyCollectionColumn); var uriColumn = new Column("Uri", "nvarchar(max)", manyTypesTable); manyTypesTable.Columns.Add("Uri", uriColumn); uriColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uriColumn); @@ -1866,6 +1896,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(idColumn0, manyTypes.FindProperty("Id")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolColumn, manyTypes.FindProperty("Bool")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolArrayColumn, manyTypes.FindProperty("BoolArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(boolReadOnlyCollectionColumn, manyTypes.FindProperty("BoolReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToStringConverterPropertyColumn, manyTypes.FindProperty("BoolToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToTwoValuesConverterPropertyColumn, manyTypes.FindProperty("BoolToTwoValuesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToZeroOneConverterPropertyColumn, manyTypes.FindProperty("BoolToZeroOneConverterProperty")!, manyTypesTableMapping); @@ -1953,12 +1984,14 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(guidToStringConverterPropertyColumn, manyTypes.FindProperty("GuidToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressColumn, manyTypes.FindProperty("IPAddress")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressArrayColumn, manyTypes.FindProperty("IPAddressArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(iPAddressReadOnlyCollectionColumn, manyTypes.FindProperty("IPAddressReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressToBytesConverterPropertyColumn, manyTypes.FindProperty("IPAddressToBytesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressToStringConverterPropertyColumn, manyTypes.FindProperty("IPAddressToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int16Column, manyTypes.FindProperty("Int16")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int16ArrayColumn, manyTypes.FindProperty("Int16Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int32Column, manyTypes.FindProperty("Int32")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int32ArrayColumn, manyTypes.FindProperty("Int32Array")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(int32ReadOnlyCollectionColumn, manyTypes.FindProperty("Int32ReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int64Column, manyTypes.FindProperty("Int64")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int64ArrayColumn, manyTypes.FindProperty("Int64Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int8Column, manyTypes.FindProperty("Int8")!, manyTypesTableMapping); @@ -2066,6 +2099,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(physicalAddressToStringConverterPropertyColumn, manyTypes.FindProperty("PhysicalAddressToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringColumn, manyTypes.FindProperty("String")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringArrayColumn, manyTypes.FindProperty("StringArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(stringReadOnlyCollectionColumn, manyTypes.FindProperty("StringReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToBoolConverterPropertyColumn, manyTypes.FindProperty("StringToBoolConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToBytesConverterPropertyColumn, manyTypes.FindProperty("StringToBytesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToCharConverterPropertyColumn, manyTypes.FindProperty("StringToCharConverterProperty")!, manyTypesTableMapping); @@ -2096,6 +2130,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(uInt64ArrayColumn, manyTypes.FindProperty("UInt64Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uInt8Column, manyTypes.FindProperty("UInt8")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uInt8ArrayColumn, manyTypes.FindProperty("UInt8Array")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(uInt8ReadOnlyCollectionColumn, manyTypes.FindProperty("UInt8ReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriColumn, manyTypes.FindProperty("Uri")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriArrayColumn, manyTypes.FindProperty("UriArray")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriToStringConverterPropertyColumn, manyTypes.FindProperty("UriToStringConverterProperty")!, manyTypesTableMapping); diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DependentDerivedEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DependentDerivedEntityType.cs index ebd7aee13f6..0da710b64b0 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DependentDerivedEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DependentDerivedEntityType.cs @@ -131,7 +131,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); + var entity8 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), ((ValueComparer)(((IProperty)enumDiscriminator).GetValueComparer())).Snapshot(source.GetCurrentValue(enumDiscriminator)), (source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), (source.GetCurrentValue(data) == null ? null : ((ValueComparer)(((IProperty)data).GetValueComparer())).Snapshot(source.GetCurrentValue(data))), ((ValueComparer)(((IProperty)money).GetValueComparer())).Snapshot(source.GetCurrentValue(money))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -145,8 +145,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); - return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), DependentBaseUnsafeAccessors.Principal(entity7)))); + var entity8 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); + return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), DependentBaseUnsafeAccessors.Principal(entity8)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 6, diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesEntityType.cs index 7363b3af85d..e36b79214b3 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesEntityType.cs @@ -34,7 +34,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas "Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase+ManyTypes", typeof(CompiledModelTestBase.ManyTypes), baseEntityType, - propertyCount: 236, + propertyCount: 241, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -196,6 +196,69 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bool (bool v) => v))); boolArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + boolReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null); + boolReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(boolReadOnlyCollection, 3), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(boolReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[3]); + boolReadOnlyCollection.SetPropertyIndexes( + index: 3, + originalValueIndex: 3, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + boolReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + keyComparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance)), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance), + elementMapping: SqlServerBoolTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + keyComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + providerValueComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v))); + boolReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -213,12 +276,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToStringConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 3), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 4), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[3]); + object (ValueBuffer valueBuffer) => valueBuffer[4]); boolToStringConverterProperty.SetPropertyIndexes( - index: 3, - originalValueIndex: 3, + index: 4, + originalValueIndex: 4, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -268,12 +331,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToTwoValuesConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 4), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 5), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToTwoValuesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[4]); + object (ValueBuffer valueBuffer) => valueBuffer[5]); boolToTwoValuesConverterProperty.SetPropertyIndexes( - index: 4, - originalValueIndex: 4, + index: 5, + originalValueIndex: 5, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -319,12 +382,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToZeroOneConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 5), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 6), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToZeroOneConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[5]); + object (ValueBuffer valueBuffer) => valueBuffer[6]); boolToZeroOneConverterProperty.SetPropertyIndexes( - index: 5, - originalValueIndex: 5, + index: 6, + originalValueIndex: 6, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -369,12 +432,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 6), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 7), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytes), - object (ValueBuffer valueBuffer) => valueBuffer[6]); + object (ValueBuffer valueBuffer) => valueBuffer[7]); bytes.SetPropertyIndexes( - index: 6, - originalValueIndex: 6, + index: 7, + originalValueIndex: 7, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -413,12 +476,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesArray.SetAccessors( byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesArray, 7), + byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesArray, 8), byte[][] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesArray), - object (ValueBuffer valueBuffer) => valueBuffer[7]); + object (ValueBuffer valueBuffer) => valueBuffer[8]); bytesArray.SetPropertyIndexes( - index: 7, - originalValueIndex: 7, + index: 8, + originalValueIndex: 8, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -481,12 +544,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesToStringConverterProperty.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 8), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 9), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[8]); + object (ValueBuffer valueBuffer) => valueBuffer[9]); bytesToStringConverterProperty.SetPropertyIndexes( - index: 8, - originalValueIndex: 8, + index: 9, + originalValueIndex: 9, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -536,12 +599,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas castingConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 9), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 10), int (InternalEntityEntry entry) => entry.GetCurrentValue(castingConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[9]); + object (ValueBuffer valueBuffer) => valueBuffer[10]); castingConverterProperty.SetPropertyIndexes( - index: 9, - originalValueIndex: 9, + index: 10, + originalValueIndex: 10, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -586,12 +649,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @char.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 10), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 11), char (InternalEntityEntry entry) => entry.GetCurrentValue(@char), - object (ValueBuffer valueBuffer) => valueBuffer[10]); + object (ValueBuffer valueBuffer) => valueBuffer[11]); @char.SetPropertyIndexes( - index: 10, - originalValueIndex: 10, + index: 11, + originalValueIndex: 11, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -641,12 +704,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charArray.SetAccessors( char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 11), + char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 12), char[] (InternalEntityEntry entry) => entry.GetCurrentValue(charArray), - object (ValueBuffer valueBuffer) => valueBuffer[11]); + object (ValueBuffer valueBuffer) => valueBuffer[12]); charArray.SetPropertyIndexes( - index: 11, - originalValueIndex: 11, + index: 12, + originalValueIndex: 12, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -726,12 +789,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charToStringConverterProperty.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 12), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 13), char (InternalEntityEntry entry) => entry.GetCurrentValue(charToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[12]); + object (ValueBuffer valueBuffer) => valueBuffer[13]); charToStringConverterProperty.SetPropertyIndexes( - index: 12, - originalValueIndex: 12, + index: 13, + originalValueIndex: 13, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -784,12 +847,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnly.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 13), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 14), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[13]); + object (ValueBuffer valueBuffer) => valueBuffer[14]); dateOnly.SetPropertyIndexes( - index: 13, - originalValueIndex: 13, + index: 14, + originalValueIndex: 14, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -825,12 +888,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyArray.SetAccessors( DateOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyArray, 14), + DateOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyArray, 15), DateOnly[] (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[14]); + object (ValueBuffer valueBuffer) => valueBuffer[15]); dateOnlyArray.SetPropertyIndexes( - index: 14, - originalValueIndex: 14, + index: 15, + originalValueIndex: 15, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -889,12 +952,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyToStringConverterProperty.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 15), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 16), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[15]); + object (ValueBuffer valueBuffer) => valueBuffer[16]); dateOnlyToStringConverterProperty.SetPropertyIndexes( - index: 15, - originalValueIndex: 15, + index: 16, + originalValueIndex: 16, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -945,12 +1008,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTime.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 16), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 17), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTime), - object (ValueBuffer valueBuffer) => valueBuffer[16]); + object (ValueBuffer valueBuffer) => valueBuffer[17]); dateTime.SetPropertyIndexes( - index: 16, - originalValueIndex: 16, + index: 17, + originalValueIndex: 17, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -986,12 +1049,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeArray.SetAccessors( DateTime[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeArray, 17), + DateTime[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeArray, 18), DateTime[] (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeArray), - object (ValueBuffer valueBuffer) => valueBuffer[17]); + object (ValueBuffer valueBuffer) => valueBuffer[18]); dateTimeArray.SetPropertyIndexes( - index: 17, - originalValueIndex: 17, + index: 18, + originalValueIndex: 18, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1050,12 +1113,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBinaryConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 18), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 19), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[18]); + object (ValueBuffer valueBuffer) => valueBuffer[19]); dateTimeOffsetToBinaryConverterProperty.SetPropertyIndexes( - index: 18, - originalValueIndex: 18, + index: 19, + originalValueIndex: 19, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1101,12 +1164,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBytesConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 19), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 20), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[19]); + object (ValueBuffer valueBuffer) => valueBuffer[20]); dateTimeOffsetToBytesConverterProperty.SetPropertyIndexes( - index: 19, - originalValueIndex: 19, + index: 20, + originalValueIndex: 20, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1155,12 +1218,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToStringConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 20), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 21), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[20]); + object (ValueBuffer valueBuffer) => valueBuffer[21]); dateTimeOffsetToStringConverterProperty.SetPropertyIndexes( - index: 20, - originalValueIndex: 20, + index: 21, + originalValueIndex: 21, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1211,12 +1274,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToBinaryConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 21), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 22), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[21]); + object (ValueBuffer valueBuffer) => valueBuffer[22]); dateTimeToBinaryConverterProperty.SetPropertyIndexes( - index: 21, - originalValueIndex: 21, + index: 22, + originalValueIndex: 22, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1262,12 +1325,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToStringConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 22), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 23), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[22]); + object (ValueBuffer valueBuffer) => valueBuffer[23]); dateTimeToStringConverterProperty.SetPropertyIndexes( - index: 22, - originalValueIndex: 22, + index: 23, + originalValueIndex: 23, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1318,12 +1381,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToTicksConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 23), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 24), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[23]); + object (ValueBuffer valueBuffer) => valueBuffer[24]); dateTimeToTicksConverterProperty.SetPropertyIndexes( - index: 23, - originalValueIndex: 23, + index: 24, + originalValueIndex: 24, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1360,12 +1423,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @decimal.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 24), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 25), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(@decimal), - object (ValueBuffer valueBuffer) => valueBuffer[24]); + object (ValueBuffer valueBuffer) => valueBuffer[25]); @decimal.SetPropertyIndexes( - index: 24, - originalValueIndex: 24, + index: 25, + originalValueIndex: 25, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1401,12 +1464,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalArray.SetAccessors( decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 25), + decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 26), decimal[] (InternalEntityEntry entry) => entry.GetCurrentValue(decimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[25]); + object (ValueBuffer valueBuffer) => valueBuffer[26]); decimalArray.SetPropertyIndexes( - index: 25, - originalValueIndex: 25, + index: 26, + originalValueIndex: 26, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1465,12 +1528,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToBytesConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 26), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 27), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[26]); + object (ValueBuffer valueBuffer) => valueBuffer[27]); decimalNumberToBytesConverterProperty.SetPropertyIndexes( - index: 26, - originalValueIndex: 26, + index: 27, + originalValueIndex: 27, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1519,12 +1582,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToStringConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 27), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 28), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[27]); + object (ValueBuffer valueBuffer) => valueBuffer[28]); decimalNumberToStringConverterProperty.SetPropertyIndexes( - index: 27, - originalValueIndex: 27, + index: 28, + originalValueIndex: 28, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1575,12 +1638,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @double.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 28), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 29), double (InternalEntityEntry entry) => entry.GetCurrentValue(@double), - object (ValueBuffer valueBuffer) => valueBuffer[28]); + object (ValueBuffer valueBuffer) => valueBuffer[29]); @double.SetPropertyIndexes( - index: 28, - originalValueIndex: 28, + index: 29, + originalValueIndex: 29, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1616,12 +1679,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleArray.SetAccessors( double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 29), + double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 30), double[] (InternalEntityEntry entry) => entry.GetCurrentValue(doubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[29]); + object (ValueBuffer valueBuffer) => valueBuffer[30]); doubleArray.SetPropertyIndexes( - index: 29, - originalValueIndex: 29, + index: 30, + originalValueIndex: 30, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1680,12 +1743,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToBytesConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 30), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 31), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[30]); + object (ValueBuffer valueBuffer) => valueBuffer[31]); doubleNumberToBytesConverterProperty.SetPropertyIndexes( - index: 30, - originalValueIndex: 30, + index: 31, + originalValueIndex: 31, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1734,12 +1797,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToStringConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 31), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 32), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[31]); + object (ValueBuffer valueBuffer) => valueBuffer[32]); doubleNumberToStringConverterProperty.SetPropertyIndexes( - index: 31, - originalValueIndex: 31, + index: 32, + originalValueIndex: 32, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1789,12 +1852,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 32), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 33), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16), - object (ValueBuffer valueBuffer) => valueBuffer[32]); + object (ValueBuffer valueBuffer) => valueBuffer[33]); enum16.SetPropertyIndexes( - index: 32, - originalValueIndex: 32, + index: 33, + originalValueIndex: 33, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1839,12 +1902,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16Array.SetAccessors( CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16Array, 33), + CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16Array, 34), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum16Array), - object (ValueBuffer valueBuffer) => valueBuffer[33]); + object (ValueBuffer valueBuffer) => valueBuffer[34]); enum16Array.SetPropertyIndexes( - index: 33, - originalValueIndex: 33, + index: 34, + originalValueIndex: 34, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1919,12 +1982,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsString.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 34), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 35), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[34]); + object (ValueBuffer valueBuffer) => valueBuffer[35]); enum16AsString.SetPropertyIndexes( - index: 34, - originalValueIndex: 34, + index: 35, + originalValueIndex: 35, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1974,12 +2037,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsStringArray.SetAccessors( CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsStringArray, 35), + CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsStringArray, 36), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[35]); + object (ValueBuffer valueBuffer) => valueBuffer[36]); enum16AsStringArray.SetPropertyIndexes( - index: 35, - originalValueIndex: 35, + index: 36, + originalValueIndex: 36, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2058,12 +2121,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16AsStringCollection, 36), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16AsStringCollection, 37), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[36]); + object (ValueBuffer valueBuffer) => valueBuffer[37]); enum16AsStringCollection.SetPropertyIndexes( - index: 36, - originalValueIndex: 36, + index: 37, + originalValueIndex: 37, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2142,12 +2205,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16Collection, 37), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16Collection, 38), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[37]); + object (ValueBuffer valueBuffer) => valueBuffer[38]); enum16Collection.SetPropertyIndexes( - index: 37, - originalValueIndex: 37, + index: 38, + originalValueIndex: 38, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2221,12 +2284,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 38), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 39), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32), - object (ValueBuffer valueBuffer) => valueBuffer[38]); + object (ValueBuffer valueBuffer) => valueBuffer[39]); enum32.SetPropertyIndexes( - index: 38, - originalValueIndex: 38, + index: 39, + originalValueIndex: 39, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2271,12 +2334,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32Array.SetAccessors( CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32Array, 39), + CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32Array, 40), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum32Array), - object (ValueBuffer valueBuffer) => valueBuffer[39]); + object (ValueBuffer valueBuffer) => valueBuffer[40]); enum32Array.SetPropertyIndexes( - index: 39, - originalValueIndex: 39, + index: 40, + originalValueIndex: 40, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2351,12 +2414,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsString.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 40), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 41), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[40]); + object (ValueBuffer valueBuffer) => valueBuffer[41]); enum32AsString.SetPropertyIndexes( - index: 40, - originalValueIndex: 40, + index: 41, + originalValueIndex: 41, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2406,12 +2469,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsStringArray.SetAccessors( CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsStringArray, 41), + CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsStringArray, 42), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[41]); + object (ValueBuffer valueBuffer) => valueBuffer[42]); enum32AsStringArray.SetPropertyIndexes( - index: 41, - originalValueIndex: 41, + index: 42, + originalValueIndex: 42, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2490,12 +2553,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32AsStringCollection, 42), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32AsStringCollection, 43), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[42]); + object (ValueBuffer valueBuffer) => valueBuffer[43]); enum32AsStringCollection.SetPropertyIndexes( - index: 42, - originalValueIndex: 42, + index: 43, + originalValueIndex: 43, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2574,12 +2637,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32Collection, 43), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32Collection, 44), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[43]); + object (ValueBuffer valueBuffer) => valueBuffer[44]); enum32Collection.SetPropertyIndexes( - index: 43, - originalValueIndex: 43, + index: 44, + originalValueIndex: 44, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2653,12 +2716,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 44), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 45), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64), - object (ValueBuffer valueBuffer) => valueBuffer[44]); + object (ValueBuffer valueBuffer) => valueBuffer[45]); enum64.SetPropertyIndexes( - index: 44, - originalValueIndex: 44, + index: 45, + originalValueIndex: 45, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2703,12 +2766,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64Array.SetAccessors( CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64Array, 45), + CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64Array, 46), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum64Array), - object (ValueBuffer valueBuffer) => valueBuffer[45]); + object (ValueBuffer valueBuffer) => valueBuffer[46]); enum64Array.SetPropertyIndexes( - index: 45, - originalValueIndex: 45, + index: 46, + originalValueIndex: 46, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2783,12 +2846,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsString.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 46), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 47), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[46]); + object (ValueBuffer valueBuffer) => valueBuffer[47]); enum64AsString.SetPropertyIndexes( - index: 46, - originalValueIndex: 46, + index: 47, + originalValueIndex: 47, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2838,12 +2901,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsStringArray.SetAccessors( CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsStringArray, 47), + CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsStringArray, 48), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[47]); + object (ValueBuffer valueBuffer) => valueBuffer[48]); enum64AsStringArray.SetPropertyIndexes( - index: 47, - originalValueIndex: 47, + index: 48, + originalValueIndex: 48, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2922,12 +2985,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64AsStringCollection, 48), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64AsStringCollection, 49), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[48]); + object (ValueBuffer valueBuffer) => valueBuffer[49]); enum64AsStringCollection.SetPropertyIndexes( - index: 48, - originalValueIndex: 48, + index: 49, + originalValueIndex: 49, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3006,12 +3069,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64Collection, 49), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64Collection, 50), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[49]); + object (ValueBuffer valueBuffer) => valueBuffer[50]); enum64Collection.SetPropertyIndexes( - index: 49, - originalValueIndex: 49, + index: 50, + originalValueIndex: 50, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3085,12 +3148,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 50), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 51), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8), - object (ValueBuffer valueBuffer) => valueBuffer[50]); + object (ValueBuffer valueBuffer) => valueBuffer[51]); enum8.SetPropertyIndexes( - index: 50, - originalValueIndex: 50, + index: 51, + originalValueIndex: 51, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3135,12 +3198,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8Array.SetAccessors( CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8Array, 51), + CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8Array, 52), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum8Array), - object (ValueBuffer valueBuffer) => valueBuffer[51]); + object (ValueBuffer valueBuffer) => valueBuffer[52]); enum8Array.SetPropertyIndexes( - index: 51, - originalValueIndex: 51, + index: 52, + originalValueIndex: 52, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3215,12 +3278,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsString.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 52), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 53), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[52]); + object (ValueBuffer valueBuffer) => valueBuffer[53]); enum8AsString.SetPropertyIndexes( - index: 52, - originalValueIndex: 52, + index: 53, + originalValueIndex: 53, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3270,12 +3333,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsStringArray.SetAccessors( CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsStringArray, 53), + CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsStringArray, 54), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[53]); + object (ValueBuffer valueBuffer) => valueBuffer[54]); enum8AsStringArray.SetPropertyIndexes( - index: 53, - originalValueIndex: 53, + index: 54, + originalValueIndex: 54, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3354,12 +3417,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8AsStringCollection, 54), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8AsStringCollection, 55), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[54]); + object (ValueBuffer valueBuffer) => valueBuffer[55]); enum8AsStringCollection.SetPropertyIndexes( - index: 54, - originalValueIndex: 54, + index: 55, + originalValueIndex: 55, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3438,12 +3501,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8Collection, 55), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8Collection, 56), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[55]); + object (ValueBuffer valueBuffer) => valueBuffer[56]); enum8Collection.SetPropertyIndexes( - index: 55, - originalValueIndex: 55, + index: 56, + originalValueIndex: 56, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3518,12 +3581,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToNumberConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 56), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 57), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[56]); + object (ValueBuffer valueBuffer) => valueBuffer[57]); enumToNumberConverterProperty.SetPropertyIndexes( - index: 56, - originalValueIndex: 56, + index: 57, + originalValueIndex: 57, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3569,12 +3632,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToStringConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 57), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 58), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[57]); + object (ValueBuffer valueBuffer) => valueBuffer[58]); enumToStringConverterProperty.SetPropertyIndexes( - index: 57, - originalValueIndex: 57, + index: 58, + originalValueIndex: 58, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3624,12 +3687,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 58), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 59), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16), - object (ValueBuffer valueBuffer) => valueBuffer[58]); + object (ValueBuffer valueBuffer) => valueBuffer[59]); enumU16.SetPropertyIndexes( - index: 58, - originalValueIndex: 58, + index: 59, + originalValueIndex: 59, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3674,12 +3737,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16Array.SetAccessors( CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16Array, 59), + CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16Array, 60), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16Array), - object (ValueBuffer valueBuffer) => valueBuffer[59]); + object (ValueBuffer valueBuffer) => valueBuffer[60]); enumU16Array.SetPropertyIndexes( - index: 59, - originalValueIndex: 59, + index: 60, + originalValueIndex: 60, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3754,12 +3817,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 60), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 61), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[60]); + object (ValueBuffer valueBuffer) => valueBuffer[61]); enumU16AsString.SetPropertyIndexes( - index: 60, - originalValueIndex: 60, + index: 61, + originalValueIndex: 61, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3809,12 +3872,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsStringArray.SetAccessors( CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsStringArray, 61), + CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsStringArray, 62), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[61]); + object (ValueBuffer valueBuffer) => valueBuffer[62]); enumU16AsStringArray.SetPropertyIndexes( - index: 61, - originalValueIndex: 61, + index: 62, + originalValueIndex: 62, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3893,12 +3956,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16AsStringCollection, 62), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16AsStringCollection, 63), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[62]); + object (ValueBuffer valueBuffer) => valueBuffer[63]); enumU16AsStringCollection.SetPropertyIndexes( - index: 62, - originalValueIndex: 62, + index: 63, + originalValueIndex: 63, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3977,12 +4040,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16Collection, 63), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16Collection, 64), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[63]); + object (ValueBuffer valueBuffer) => valueBuffer[64]); enumU16Collection.SetPropertyIndexes( - index: 63, - originalValueIndex: 63, + index: 64, + originalValueIndex: 64, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4056,12 +4119,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 64), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 65), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32), - object (ValueBuffer valueBuffer) => valueBuffer[64]); + object (ValueBuffer valueBuffer) => valueBuffer[65]); enumU32.SetPropertyIndexes( - index: 64, - originalValueIndex: 64, + index: 65, + originalValueIndex: 65, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4106,12 +4169,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32Array.SetAccessors( CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32Array, 65), + CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32Array, 66), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32Array), - object (ValueBuffer valueBuffer) => valueBuffer[65]); + object (ValueBuffer valueBuffer) => valueBuffer[66]); enumU32Array.SetPropertyIndexes( - index: 65, - originalValueIndex: 65, + index: 66, + originalValueIndex: 66, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4186,12 +4249,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 66), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 67), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[66]); + object (ValueBuffer valueBuffer) => valueBuffer[67]); enumU32AsString.SetPropertyIndexes( - index: 66, - originalValueIndex: 66, + index: 67, + originalValueIndex: 67, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4241,12 +4304,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsStringArray.SetAccessors( CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsStringArray, 67), + CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsStringArray, 68), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[67]); + object (ValueBuffer valueBuffer) => valueBuffer[68]); enumU32AsStringArray.SetPropertyIndexes( - index: 67, - originalValueIndex: 67, + index: 68, + originalValueIndex: 68, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4325,12 +4388,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32AsStringCollection, 68), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32AsStringCollection, 69), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[68]); + object (ValueBuffer valueBuffer) => valueBuffer[69]); enumU32AsStringCollection.SetPropertyIndexes( - index: 68, - originalValueIndex: 68, + index: 69, + originalValueIndex: 69, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4409,12 +4472,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32Collection, 69), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32Collection, 70), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[69]); + object (ValueBuffer valueBuffer) => valueBuffer[70]); enumU32Collection.SetPropertyIndexes( - index: 69, - originalValueIndex: 69, + index: 70, + originalValueIndex: 70, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4488,12 +4551,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 70), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 71), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64), - object (ValueBuffer valueBuffer) => valueBuffer[70]); + object (ValueBuffer valueBuffer) => valueBuffer[71]); enumU64.SetPropertyIndexes( - index: 70, - originalValueIndex: 70, + index: 71, + originalValueIndex: 71, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4542,12 +4605,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64Array.SetAccessors( CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64Array, 71), + CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64Array, 72), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64Array), - object (ValueBuffer valueBuffer) => valueBuffer[71]); + object (ValueBuffer valueBuffer) => valueBuffer[72]); enumU64Array.SetPropertyIndexes( - index: 71, - originalValueIndex: 71, + index: 72, + originalValueIndex: 72, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4626,12 +4689,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 72), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 73), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[72]); + object (ValueBuffer valueBuffer) => valueBuffer[73]); enumU64AsString.SetPropertyIndexes( - index: 72, - originalValueIndex: 72, + index: 73, + originalValueIndex: 73, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4681,12 +4744,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsStringArray.SetAccessors( CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsStringArray, 73), + CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsStringArray, 74), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[73]); + object (ValueBuffer valueBuffer) => valueBuffer[74]); enumU64AsStringArray.SetPropertyIndexes( - index: 73, - originalValueIndex: 73, + index: 74, + originalValueIndex: 74, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4765,12 +4828,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64AsStringCollection, 74), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64AsStringCollection, 75), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[74]); + object (ValueBuffer valueBuffer) => valueBuffer[75]); enumU64AsStringCollection.SetPropertyIndexes( - index: 74, - originalValueIndex: 74, + index: 75, + originalValueIndex: 75, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4849,12 +4912,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64Collection, 75), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64Collection, 76), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[75]); + object (ValueBuffer valueBuffer) => valueBuffer[76]); enumU64Collection.SetPropertyIndexes( - index: 75, - originalValueIndex: 75, + index: 76, + originalValueIndex: 76, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4932,12 +4995,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 76), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 77), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8), - object (ValueBuffer valueBuffer) => valueBuffer[76]); + object (ValueBuffer valueBuffer) => valueBuffer[77]); enumU8.SetPropertyIndexes( - index: 76, - originalValueIndex: 76, + index: 77, + originalValueIndex: 77, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4982,12 +5045,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8Array.SetAccessors( CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8Array, 77), + CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8Array, 78), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8Array), - object (ValueBuffer valueBuffer) => valueBuffer[77]); + object (ValueBuffer valueBuffer) => valueBuffer[78]); enumU8Array.SetPropertyIndexes( - index: 77, - originalValueIndex: 77, + index: 78, + originalValueIndex: 78, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5062,12 +5125,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 78), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 79), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[78]); + object (ValueBuffer valueBuffer) => valueBuffer[79]); enumU8AsString.SetPropertyIndexes( - index: 78, - originalValueIndex: 78, + index: 79, + originalValueIndex: 79, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5117,12 +5180,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsStringArray.SetAccessors( CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsStringArray, 79), + CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsStringArray, 80), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[79]); + object (ValueBuffer valueBuffer) => valueBuffer[80]); enumU8AsStringArray.SetPropertyIndexes( - index: 79, - originalValueIndex: 79, + index: 80, + originalValueIndex: 80, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5201,12 +5264,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8AsStringCollection, 80), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8AsStringCollection, 81), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[80]); + object (ValueBuffer valueBuffer) => valueBuffer[81]); enumU8AsStringCollection.SetPropertyIndexes( - index: 80, - originalValueIndex: 80, + index: 81, + originalValueIndex: 81, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5285,12 +5348,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8Collection, 81), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8Collection, 82), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[81]); + object (ValueBuffer valueBuffer) => valueBuffer[82]); enumU8Collection.SetPropertyIndexes( - index: 81, - originalValueIndex: 81, + index: 82, + originalValueIndex: 82, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5365,12 +5428,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @float.SetAccessors( float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 82), + float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 83), float (InternalEntityEntry entry) => entry.GetCurrentValue(@float), - object (ValueBuffer valueBuffer) => valueBuffer[82]); + object (ValueBuffer valueBuffer) => valueBuffer[83]); @float.SetPropertyIndexes( - index: 82, - originalValueIndex: 82, + index: 83, + originalValueIndex: 83, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5406,12 +5469,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas floatArray.SetAccessors( float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 83), + float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 84), float[] (InternalEntityEntry entry) => entry.GetCurrentValue(floatArray), - object (ValueBuffer valueBuffer) => valueBuffer[83]); + object (ValueBuffer valueBuffer) => valueBuffer[84]); floatArray.SetPropertyIndexes( - index: 83, - originalValueIndex: 83, + index: 84, + originalValueIndex: 84, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5470,12 +5533,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guid.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 84), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 85), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guid), - object (ValueBuffer valueBuffer) => valueBuffer[84]); + object (ValueBuffer valueBuffer) => valueBuffer[85]); guid.SetPropertyIndexes( - index: 84, - originalValueIndex: 84, + index: 85, + originalValueIndex: 85, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5513,12 +5576,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidArray.SetAccessors( Guid[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid[] (InternalEntityEntry entry) => entry.ReadOriginalValue(guidArray, 85), + Guid[] (InternalEntityEntry entry) => entry.ReadOriginalValue(guidArray, 86), Guid[] (InternalEntityEntry entry) => entry.GetCurrentValue(guidArray), - object (ValueBuffer valueBuffer) => valueBuffer[85]); + object (ValueBuffer valueBuffer) => valueBuffer[86]); guidArray.SetPropertyIndexes( - index: 85, - originalValueIndex: 85, + index: 86, + originalValueIndex: 86, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5579,12 +5642,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToBytesConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 86), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 87), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[86]); + object (ValueBuffer valueBuffer) => valueBuffer[87]); guidToBytesConverterProperty.SetPropertyIndexes( - index: 86, - originalValueIndex: 86, + index: 87, + originalValueIndex: 87, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5633,12 +5696,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToStringConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 87), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 88), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[87]); + object (ValueBuffer valueBuffer) => valueBuffer[88]); guidToStringConverterProperty.SetPropertyIndexes( - index: 87, - originalValueIndex: 87, + index: 88, + originalValueIndex: 88, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5688,12 +5751,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 88), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 89), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[88]); + object (ValueBuffer valueBuffer) => valueBuffer[89]); iPAddress.SetPropertyIndexes( - index: 88, - originalValueIndex: 88, + index: 89, + originalValueIndex: 89, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5742,12 +5805,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressArray.SetAccessors( IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressArray, 89), + IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressArray, 90), IPAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[89]); + object (ValueBuffer valueBuffer) => valueBuffer[90]); iPAddressArray.SetPropertyIndexes( - index: 89, - originalValueIndex: 89, + index: 90, + originalValueIndex: 90, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5809,6 +5872,90 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas IPAddress (string v) => IPAddress.Parse(v))))); iPAddressArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var iPAddressReadOnlyCollection = runtimeEntityType.AddProperty( + "IPAddressReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_ipAddressReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + iPAddressReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance) == null); + iPAddressReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) = ((List)(value))); + iPAddressReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) = ((List)(value))); + iPAddressReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(iPAddressReadOnlyCollection, 91), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(iPAddressReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[91]); + iPAddressReadOnlyCollection.SetPropertyIndexes( + index: 91, + originalValueIndex: 91, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + iPAddressReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, IPAddress>(new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v)), + keyComparer: new ListOfReferenceTypesComparer, IPAddress>(new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter, IPAddress>( + new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v))))), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, IPAddress>( + new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v)))), + elementMapping: SqlServerStringTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v), + keyComparer: new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(45)", + size: 45, + unicode: true, + dbType: System.Data.DbType.String), + converter: new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v)), + jsonValueReaderWriter: new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v))))); + iPAddressReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var iPAddressToBytesConverterProperty = runtimeEntityType.AddProperty( "IPAddressToBytesConverterProperty", typeof(IPAddress), @@ -5827,12 +5974,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToBytesConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 90), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 92), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[90]); + object (ValueBuffer valueBuffer) => valueBuffer[92]); iPAddressToBytesConverterProperty.SetPropertyIndexes( - index: 90, - originalValueIndex: 90, + index: 92, + originalValueIndex: 92, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5880,12 +6027,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToStringConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 91), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 93), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[91]); + object (ValueBuffer valueBuffer) => valueBuffer[93]); iPAddressToStringConverterProperty.SetPropertyIndexes( - index: 91, - originalValueIndex: 91, + index: 93, + originalValueIndex: 93, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5935,12 +6082,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16.SetAccessors( short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 92), + short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 94), short (InternalEntityEntry entry) => entry.GetCurrentValue(int16), - object (ValueBuffer valueBuffer) => valueBuffer[92]); + object (ValueBuffer valueBuffer) => valueBuffer[94]); int16.SetPropertyIndexes( - index: 92, - originalValueIndex: 92, + index: 94, + originalValueIndex: 94, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5976,12 +6123,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16Array.SetAccessors( short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 93), + short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 95), short[] (InternalEntityEntry entry) => entry.GetCurrentValue(int16Array), - object (ValueBuffer valueBuffer) => valueBuffer[93]); + object (ValueBuffer valueBuffer) => valueBuffer[95]); int16Array.SetPropertyIndexes( - index: 93, - originalValueIndex: 93, + index: 95, + originalValueIndex: 95, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6040,12 +6187,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 94), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 96), int (InternalEntityEntry entry) => entry.GetCurrentValue(int32), - object (ValueBuffer valueBuffer) => valueBuffer[94]); + object (ValueBuffer valueBuffer) => valueBuffer[96]); int32.SetPropertyIndexes( - index: 94, - originalValueIndex: 94, + index: 96, + originalValueIndex: 96, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6081,12 +6228,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32Array.SetAccessors( int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 95), + int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 97), int[] (InternalEntityEntry entry) => entry.GetCurrentValue(int32Array), - object (ValueBuffer valueBuffer) => valueBuffer[95]); + object (ValueBuffer valueBuffer) => valueBuffer[97]); int32Array.SetPropertyIndexes( - index: 95, - originalValueIndex: 95, + index: 97, + originalValueIndex: 97, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6127,6 +6274,69 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int (int v) => v))); int32Array.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + int32ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null); + int32ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(int32ReadOnlyCollection, 98), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(int32ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[98]); + int32ReadOnlyCollection.SetPropertyIndexes( + index: 98, + originalValueIndex: 98, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + int32ReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + keyComparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance)), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance), + elementMapping: IntTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + keyComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + providerValueComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v))); + int32ReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -6145,12 +6355,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64.SetAccessors( long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 96), + long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 99), long (InternalEntityEntry entry) => entry.GetCurrentValue(int64), - object (ValueBuffer valueBuffer) => valueBuffer[96]); + object (ValueBuffer valueBuffer) => valueBuffer[99]); int64.SetPropertyIndexes( - index: 96, - originalValueIndex: 96, + index: 99, + originalValueIndex: 99, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6186,12 +6396,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64Array.SetAccessors( long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 97), + long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 100), long[] (InternalEntityEntry entry) => entry.GetCurrentValue(int64Array), - object (ValueBuffer valueBuffer) => valueBuffer[97]); + object (ValueBuffer valueBuffer) => valueBuffer[100]); int64Array.SetPropertyIndexes( - index: 97, - originalValueIndex: 97, + index: 100, + originalValueIndex: 100, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6249,12 +6459,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8.SetAccessors( sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 98), + sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 101), sbyte (InternalEntityEntry entry) => entry.GetCurrentValue(int8), - object (ValueBuffer valueBuffer) => valueBuffer[98]); + object (ValueBuffer valueBuffer) => valueBuffer[101]); int8.SetPropertyIndexes( - index: 98, - originalValueIndex: 98, + index: 101, + originalValueIndex: 101, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6299,12 +6509,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8Array.SetAccessors( sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 99), + sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 102), sbyte[] (InternalEntityEntry entry) => entry.GetCurrentValue(int8Array), - object (ValueBuffer valueBuffer) => valueBuffer[99]); + object (ValueBuffer valueBuffer) => valueBuffer[102]); int8Array.SetPropertyIndexes( - index: 99, - originalValueIndex: 99, + index: 102, + originalValueIndex: 102, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6379,12 +6589,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToBytesConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 100), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 103), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[100]); + object (ValueBuffer valueBuffer) => valueBuffer[103]); intNumberToBytesConverterProperty.SetPropertyIndexes( - index: 100, - originalValueIndex: 100, + index: 103, + originalValueIndex: 103, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6433,12 +6643,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToStringConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 101), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 104), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[101]); + object (ValueBuffer valueBuffer) => valueBuffer[104]); intNumberToStringConverterProperty.SetPropertyIndexes( - index: 101, - originalValueIndex: 101, + index: 104, + originalValueIndex: 104, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6490,12 +6700,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullIntToNullStringConverterProperty.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 102), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 105), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullIntToNullStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[102]); + object (ValueBuffer valueBuffer) => valueBuffer[105]); nullIntToNullStringConverterProperty.SetPropertyIndexes( - index: 102, - originalValueIndex: 102, + index: 105, + originalValueIndex: 105, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6547,12 +6757,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBool.SetAccessors( bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 103), + bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 106), bool? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBool), - object (ValueBuffer valueBuffer) => valueBuffer[103]); + object (ValueBuffer valueBuffer) => valueBuffer[106]); nullableBool.SetPropertyIndexes( - index: 103, - originalValueIndex: 103, + index: 106, + originalValueIndex: 106, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6590,12 +6800,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBoolArray.SetAccessors( bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 104), + bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 107), bool? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBoolArray), - object (ValueBuffer valueBuffer) => valueBuffer[104]); + object (ValueBuffer valueBuffer) => valueBuffer[107]); nullableBoolArray.SetPropertyIndexes( - index: 104, - originalValueIndex: 104, + index: 107, + originalValueIndex: 107, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6654,12 +6864,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 105), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 108), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytes), - object (ValueBuffer valueBuffer) => valueBuffer[105]); + object (ValueBuffer valueBuffer) => valueBuffer[108]); nullableBytes.SetPropertyIndexes( - index: 105, - originalValueIndex: 105, + index: 108, + originalValueIndex: 108, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6698,12 +6908,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytesArray.SetAccessors( byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytesArray, 106), + byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytesArray, 109), byte[][] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytesArray), - object (ValueBuffer valueBuffer) => valueBuffer[106]); + object (ValueBuffer valueBuffer) => valueBuffer[109]); nullableBytesArray.SetPropertyIndexes( - index: 106, - originalValueIndex: 106, + index: 109, + originalValueIndex: 109, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6765,12 +6975,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableChar.SetAccessors( char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 107), + char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 110), char? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableChar), - object (ValueBuffer valueBuffer) => valueBuffer[107]); + object (ValueBuffer valueBuffer) => valueBuffer[110]); nullableChar.SetPropertyIndexes( - index: 107, - originalValueIndex: 107, + index: 110, + originalValueIndex: 110, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6821,12 +7031,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableCharArray.SetAccessors( char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 108), + char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 111), char? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableCharArray), - object (ValueBuffer valueBuffer) => valueBuffer[108]); + object (ValueBuffer valueBuffer) => valueBuffer[111]); nullableCharArray.SetPropertyIndexes( - index: 108, - originalValueIndex: 108, + index: 111, + originalValueIndex: 111, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6906,12 +7116,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnly.SetAccessors( DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 109), + DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 112), DateOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[109]); + object (ValueBuffer valueBuffer) => valueBuffer[112]); nullableDateOnly.SetPropertyIndexes( - index: 109, - originalValueIndex: 109, + index: 112, + originalValueIndex: 112, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6949,12 +7159,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnlyArray.SetAccessors( DateOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnlyArray, 110), + DateOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnlyArray, 113), DateOnly? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[110]); + object (ValueBuffer valueBuffer) => valueBuffer[113]); nullableDateOnlyArray.SetPropertyIndexes( - index: 110, - originalValueIndex: 110, + index: 113, + originalValueIndex: 113, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7013,12 +7223,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTime.SetAccessors( DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 111), + DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 114), DateTime? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTime), - object (ValueBuffer valueBuffer) => valueBuffer[111]); + object (ValueBuffer valueBuffer) => valueBuffer[114]); nullableDateTime.SetPropertyIndexes( - index: 111, - originalValueIndex: 111, + index: 114, + originalValueIndex: 114, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7056,12 +7266,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTimeArray.SetAccessors( DateTime? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTimeArray, 112), + DateTime? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTimeArray, 115), DateTime? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTimeArray), - object (ValueBuffer valueBuffer) => valueBuffer[112]); + object (ValueBuffer valueBuffer) => valueBuffer[115]); nullableDateTimeArray.SetPropertyIndexes( - index: 112, - originalValueIndex: 112, + index: 115, + originalValueIndex: 115, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7120,12 +7330,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimal.SetAccessors( decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 113), + decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 116), decimal? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimal), - object (ValueBuffer valueBuffer) => valueBuffer[113]); + object (ValueBuffer valueBuffer) => valueBuffer[116]); nullableDecimal.SetPropertyIndexes( - index: 113, - originalValueIndex: 113, + index: 116, + originalValueIndex: 116, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7163,12 +7373,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimalArray.SetAccessors( decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 114), + decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 117), decimal? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[114]); + object (ValueBuffer valueBuffer) => valueBuffer[117]); nullableDecimalArray.SetPropertyIndexes( - index: 114, - originalValueIndex: 114, + index: 117, + originalValueIndex: 117, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7227,12 +7437,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDouble.SetAccessors( double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 115), + double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 118), double? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDouble), - object (ValueBuffer valueBuffer) => valueBuffer[115]); + object (ValueBuffer valueBuffer) => valueBuffer[118]); nullableDouble.SetPropertyIndexes( - index: 115, - originalValueIndex: 115, + index: 118, + originalValueIndex: 118, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7270,12 +7480,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDoubleArray.SetAccessors( double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 116), + double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 119), double? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDoubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[116]); + object (ValueBuffer valueBuffer) => valueBuffer[119]); nullableDoubleArray.SetPropertyIndexes( - index: 116, - originalValueIndex: 116, + index: 119, + originalValueIndex: 119, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7334,12 +7544,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 117), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 120), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16), - object (ValueBuffer valueBuffer) => valueBuffer[117]); + object (ValueBuffer valueBuffer) => valueBuffer[120]); nullableEnum16.SetPropertyIndexes( - index: 117, - originalValueIndex: 117, + index: 120, + originalValueIndex: 120, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7385,12 +7595,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16Array.SetAccessors( CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16Array, 118), + CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16Array, 121), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16Array), - object (ValueBuffer valueBuffer) => valueBuffer[118]); + object (ValueBuffer valueBuffer) => valueBuffer[121]); nullableEnum16Array.SetPropertyIndexes( - index: 118, - originalValueIndex: 118, + index: 121, + originalValueIndex: 121, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7465,12 +7675,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsString.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 119), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 122), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[119]); + object (ValueBuffer valueBuffer) => valueBuffer[122]); nullableEnum16AsString.SetPropertyIndexes( - index: 119, - originalValueIndex: 119, + index: 122, + originalValueIndex: 122, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7516,12 +7726,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsStringArray.SetAccessors( CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsStringArray, 120), + CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsStringArray, 123), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[120]); + object (ValueBuffer valueBuffer) => valueBuffer[123]); nullableEnum16AsStringArray.SetPropertyIndexes( - index: 120, - originalValueIndex: 120, + index: 123, + originalValueIndex: 123, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7595,12 +7805,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16AsStringCollection, 121), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16AsStringCollection, 124), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[121]); + object (ValueBuffer valueBuffer) => valueBuffer[124]); nullableEnum16AsStringCollection.SetPropertyIndexes( - index: 121, - originalValueIndex: 121, + index: 124, + originalValueIndex: 124, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7674,12 +7884,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16Collection, 122), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16Collection, 125), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[122]); + object (ValueBuffer valueBuffer) => valueBuffer[125]); nullableEnum16Collection.SetPropertyIndexes( - index: 122, - originalValueIndex: 122, + index: 125, + originalValueIndex: 125, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7754,12 +7964,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 123), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 126), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32), - object (ValueBuffer valueBuffer) => valueBuffer[123]); + object (ValueBuffer valueBuffer) => valueBuffer[126]); nullableEnum32.SetPropertyIndexes( - index: 123, - originalValueIndex: 123, + index: 126, + originalValueIndex: 126, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7805,12 +8015,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32Array.SetAccessors( CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32Array, 124), + CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32Array, 127), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32Array), - object (ValueBuffer valueBuffer) => valueBuffer[124]); + object (ValueBuffer valueBuffer) => valueBuffer[127]); nullableEnum32Array.SetPropertyIndexes( - index: 124, - originalValueIndex: 124, + index: 127, + originalValueIndex: 127, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7885,12 +8095,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsString.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 125), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 128), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[125]); + object (ValueBuffer valueBuffer) => valueBuffer[128]); nullableEnum32AsString.SetPropertyIndexes( - index: 125, - originalValueIndex: 125, + index: 128, + originalValueIndex: 128, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7936,12 +8146,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsStringArray.SetAccessors( CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsStringArray, 126), + CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsStringArray, 129), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[126]); - nullableEnum32AsStringArray.SetPropertyIndexes( - index: 126, - originalValueIndex: 126, + object (ValueBuffer valueBuffer) => valueBuffer[129]); + nullableEnum32AsStringArray.SetPropertyIndexes( + index: 129, + originalValueIndex: 129, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8015,12 +8225,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32AsStringCollection, 127), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32AsStringCollection, 130), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[127]); + object (ValueBuffer valueBuffer) => valueBuffer[130]); nullableEnum32AsStringCollection.SetPropertyIndexes( - index: 127, - originalValueIndex: 127, + index: 130, + originalValueIndex: 130, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8094,12 +8304,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32Collection, 128), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32Collection, 131), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[128]); + object (ValueBuffer valueBuffer) => valueBuffer[131]); nullableEnum32Collection.SetPropertyIndexes( - index: 128, - originalValueIndex: 128, + index: 131, + originalValueIndex: 131, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8174,12 +8384,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 129), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 132), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64), - object (ValueBuffer valueBuffer) => valueBuffer[129]); + object (ValueBuffer valueBuffer) => valueBuffer[132]); nullableEnum64.SetPropertyIndexes( - index: 129, - originalValueIndex: 129, + index: 132, + originalValueIndex: 132, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8225,12 +8435,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64Array.SetAccessors( CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64Array, 130), + CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64Array, 133), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64Array), - object (ValueBuffer valueBuffer) => valueBuffer[130]); + object (ValueBuffer valueBuffer) => valueBuffer[133]); nullableEnum64Array.SetPropertyIndexes( - index: 130, - originalValueIndex: 130, + index: 133, + originalValueIndex: 133, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8305,12 +8515,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsString.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 131), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 134), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[131]); + object (ValueBuffer valueBuffer) => valueBuffer[134]); nullableEnum64AsString.SetPropertyIndexes( - index: 131, - originalValueIndex: 131, + index: 134, + originalValueIndex: 134, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8356,12 +8566,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsStringArray.SetAccessors( CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsStringArray, 132), + CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsStringArray, 135), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[132]); + object (ValueBuffer valueBuffer) => valueBuffer[135]); nullableEnum64AsStringArray.SetPropertyIndexes( - index: 132, - originalValueIndex: 132, + index: 135, + originalValueIndex: 135, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8435,12 +8645,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64AsStringCollection, 133), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64AsStringCollection, 136), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[133]); + object (ValueBuffer valueBuffer) => valueBuffer[136]); nullableEnum64AsStringCollection.SetPropertyIndexes( - index: 133, - originalValueIndex: 133, + index: 136, + originalValueIndex: 136, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8514,12 +8724,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64Collection, 134), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64Collection, 137), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[134]); + object (ValueBuffer valueBuffer) => valueBuffer[137]); nullableEnum64Collection.SetPropertyIndexes( - index: 134, - originalValueIndex: 134, + index: 137, + originalValueIndex: 137, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8594,12 +8804,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 135), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 138), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8), - object (ValueBuffer valueBuffer) => valueBuffer[135]); + object (ValueBuffer valueBuffer) => valueBuffer[138]); nullableEnum8.SetPropertyIndexes( - index: 135, - originalValueIndex: 135, + index: 138, + originalValueIndex: 138, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8645,12 +8855,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8Array.SetAccessors( CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8Array, 136), + CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8Array, 139), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8Array), - object (ValueBuffer valueBuffer) => valueBuffer[136]); + object (ValueBuffer valueBuffer) => valueBuffer[139]); nullableEnum8Array.SetPropertyIndexes( - index: 136, - originalValueIndex: 136, + index: 139, + originalValueIndex: 139, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8725,12 +8935,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsString.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 137), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 140), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[137]); + object (ValueBuffer valueBuffer) => valueBuffer[140]); nullableEnum8AsString.SetPropertyIndexes( - index: 137, - originalValueIndex: 137, + index: 140, + originalValueIndex: 140, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8776,12 +8986,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsStringArray.SetAccessors( CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsStringArray, 138), + CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsStringArray, 141), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[138]); + object (ValueBuffer valueBuffer) => valueBuffer[141]); nullableEnum8AsStringArray.SetPropertyIndexes( - index: 138, - originalValueIndex: 138, + index: 141, + originalValueIndex: 141, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8855,12 +9065,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8AsStringCollection, 139), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8AsStringCollection, 142), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[139]); + object (ValueBuffer valueBuffer) => valueBuffer[142]); nullableEnum8AsStringCollection.SetPropertyIndexes( - index: 139, - originalValueIndex: 139, + index: 142, + originalValueIndex: 142, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8934,12 +9144,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8Collection, 140), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8Collection, 143), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[140]); + object (ValueBuffer valueBuffer) => valueBuffer[143]); nullableEnum8Collection.SetPropertyIndexes( - index: 140, - originalValueIndex: 140, + index: 143, + originalValueIndex: 143, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9014,12 +9224,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 141), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 144), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16), - object (ValueBuffer valueBuffer) => valueBuffer[141]); + object (ValueBuffer valueBuffer) => valueBuffer[144]); nullableEnumU16.SetPropertyIndexes( - index: 141, - originalValueIndex: 141, + index: 144, + originalValueIndex: 144, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9065,12 +9275,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16Array.SetAccessors( CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16Array, 142), + CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16Array, 145), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16Array), - object (ValueBuffer valueBuffer) => valueBuffer[142]); + object (ValueBuffer valueBuffer) => valueBuffer[145]); nullableEnumU16Array.SetPropertyIndexes( - index: 142, - originalValueIndex: 142, + index: 145, + originalValueIndex: 145, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9145,12 +9355,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 143), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 146), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[143]); + object (ValueBuffer valueBuffer) => valueBuffer[146]); nullableEnumU16AsString.SetPropertyIndexes( - index: 143, - originalValueIndex: 143, + index: 146, + originalValueIndex: 146, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9196,12 +9406,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsStringArray.SetAccessors( CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsStringArray, 144), + CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsStringArray, 147), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[144]); + object (ValueBuffer valueBuffer) => valueBuffer[147]); nullableEnumU16AsStringArray.SetPropertyIndexes( - index: 144, - originalValueIndex: 144, + index: 147, + originalValueIndex: 147, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9275,12 +9485,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16AsStringCollection, 145), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16AsStringCollection, 148), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[145]); + object (ValueBuffer valueBuffer) => valueBuffer[148]); nullableEnumU16AsStringCollection.SetPropertyIndexes( - index: 145, - originalValueIndex: 145, + index: 148, + originalValueIndex: 148, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9354,12 +9564,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16Collection, 146), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16Collection, 149), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[146]); + object (ValueBuffer valueBuffer) => valueBuffer[149]); nullableEnumU16Collection.SetPropertyIndexes( - index: 146, - originalValueIndex: 146, + index: 149, + originalValueIndex: 149, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9434,12 +9644,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 147), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 150), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32), - object (ValueBuffer valueBuffer) => valueBuffer[147]); + object (ValueBuffer valueBuffer) => valueBuffer[150]); nullableEnumU32.SetPropertyIndexes( - index: 147, - originalValueIndex: 147, + index: 150, + originalValueIndex: 150, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9485,12 +9695,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32Array.SetAccessors( CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32Array, 148), + CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32Array, 151), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32Array), - object (ValueBuffer valueBuffer) => valueBuffer[148]); + object (ValueBuffer valueBuffer) => valueBuffer[151]); nullableEnumU32Array.SetPropertyIndexes( - index: 148, - originalValueIndex: 148, + index: 151, + originalValueIndex: 151, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9565,12 +9775,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 149), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 152), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[149]); + object (ValueBuffer valueBuffer) => valueBuffer[152]); nullableEnumU32AsString.SetPropertyIndexes( - index: 149, - originalValueIndex: 149, + index: 152, + originalValueIndex: 152, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9616,12 +9826,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsStringArray.SetAccessors( CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsStringArray, 150), + CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsStringArray, 153), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[150]); + object (ValueBuffer valueBuffer) => valueBuffer[153]); nullableEnumU32AsStringArray.SetPropertyIndexes( - index: 150, - originalValueIndex: 150, + index: 153, + originalValueIndex: 153, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9695,12 +9905,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32AsStringCollection, 151), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32AsStringCollection, 154), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[151]); + object (ValueBuffer valueBuffer) => valueBuffer[154]); nullableEnumU32AsStringCollection.SetPropertyIndexes( - index: 151, - originalValueIndex: 151, + index: 154, + originalValueIndex: 154, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9774,12 +9984,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32Collection, 152), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32Collection, 155), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[152]); + object (ValueBuffer valueBuffer) => valueBuffer[155]); nullableEnumU32Collection.SetPropertyIndexes( - index: 152, - originalValueIndex: 152, + index: 155, + originalValueIndex: 155, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9854,12 +10064,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 153), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 156), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64), - object (ValueBuffer valueBuffer) => valueBuffer[153]); + object (ValueBuffer valueBuffer) => valueBuffer[156]); nullableEnumU64.SetPropertyIndexes( - index: 153, - originalValueIndex: 153, + index: 156, + originalValueIndex: 156, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9909,12 +10119,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64Array.SetAccessors( CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64Array, 154), + CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64Array, 157), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64Array), - object (ValueBuffer valueBuffer) => valueBuffer[154]); + object (ValueBuffer valueBuffer) => valueBuffer[157]); nullableEnumU64Array.SetPropertyIndexes( - index: 154, - originalValueIndex: 154, + index: 157, + originalValueIndex: 157, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9993,12 +10203,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 155), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 158), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[155]); + object (ValueBuffer valueBuffer) => valueBuffer[158]); nullableEnumU64AsString.SetPropertyIndexes( - index: 155, - originalValueIndex: 155, + index: 158, + originalValueIndex: 158, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10048,12 +10258,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsStringArray.SetAccessors( CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsStringArray, 156), + CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsStringArray, 159), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[156]); + object (ValueBuffer valueBuffer) => valueBuffer[159]); nullableEnumU64AsStringArray.SetPropertyIndexes( - index: 156, - originalValueIndex: 156, + index: 159, + originalValueIndex: 159, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10131,12 +10341,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64AsStringCollection, 157), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64AsStringCollection, 160), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[157]); + object (ValueBuffer valueBuffer) => valueBuffer[160]); nullableEnumU64AsStringCollection.SetPropertyIndexes( - index: 157, - originalValueIndex: 157, + index: 160, + originalValueIndex: 160, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10214,12 +10424,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64Collection, 158), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64Collection, 161), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[158]); + object (ValueBuffer valueBuffer) => valueBuffer[161]); nullableEnumU64Collection.SetPropertyIndexes( - index: 158, - originalValueIndex: 158, + index: 161, + originalValueIndex: 161, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10298,12 +10508,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 159), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 162), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8), - object (ValueBuffer valueBuffer) => valueBuffer[159]); + object (ValueBuffer valueBuffer) => valueBuffer[162]); nullableEnumU8.SetPropertyIndexes( - index: 159, - originalValueIndex: 159, + index: 162, + originalValueIndex: 162, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10349,12 +10559,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8Array.SetAccessors( CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8Array, 160), + CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8Array, 163), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8Array), - object (ValueBuffer valueBuffer) => valueBuffer[160]); + object (ValueBuffer valueBuffer) => valueBuffer[163]); nullableEnumU8Array.SetPropertyIndexes( - index: 160, - originalValueIndex: 160, + index: 163, + originalValueIndex: 163, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10429,12 +10639,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 161), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 164), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[161]); + object (ValueBuffer valueBuffer) => valueBuffer[164]); nullableEnumU8AsString.SetPropertyIndexes( - index: 161, - originalValueIndex: 161, + index: 164, + originalValueIndex: 164, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10480,12 +10690,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsStringArray.SetAccessors( CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsStringArray, 162), + CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsStringArray, 165), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[162]); + object (ValueBuffer valueBuffer) => valueBuffer[165]); nullableEnumU8AsStringArray.SetPropertyIndexes( - index: 162, - originalValueIndex: 162, + index: 165, + originalValueIndex: 165, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10559,12 +10769,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8AsStringCollection, 163), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8AsStringCollection, 166), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[163]); + object (ValueBuffer valueBuffer) => valueBuffer[166]); nullableEnumU8AsStringCollection.SetPropertyIndexes( - index: 163, - originalValueIndex: 163, + index: 166, + originalValueIndex: 166, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10638,12 +10848,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8Collection, 164), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8Collection, 167), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[164]); + object (ValueBuffer valueBuffer) => valueBuffer[167]); nullableEnumU8Collection.SetPropertyIndexes( - index: 164, - originalValueIndex: 164, + index: 167, + originalValueIndex: 167, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10718,12 +10928,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloat.SetAccessors( float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 165), + float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 168), float? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloat), - object (ValueBuffer valueBuffer) => valueBuffer[165]); + object (ValueBuffer valueBuffer) => valueBuffer[168]); nullableFloat.SetPropertyIndexes( - index: 165, - originalValueIndex: 165, + index: 168, + originalValueIndex: 168, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10761,12 +10971,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloatArray.SetAccessors( float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 166), + float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 169), float? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloatArray), - object (ValueBuffer valueBuffer) => valueBuffer[166]); + object (ValueBuffer valueBuffer) => valueBuffer[169]); nullableFloatArray.SetPropertyIndexes( - index: 166, - originalValueIndex: 166, + index: 169, + originalValueIndex: 169, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10825,12 +11035,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuid.SetAccessors( Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 167), + Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 170), Guid? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuid), - object (ValueBuffer valueBuffer) => valueBuffer[167]); + object (ValueBuffer valueBuffer) => valueBuffer[170]); nullableGuid.SetPropertyIndexes( - index: 167, - originalValueIndex: 167, + index: 170, + originalValueIndex: 170, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10870,12 +11080,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuidArray.SetAccessors( Guid? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuidArray, 168), + Guid? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuidArray, 171), Guid? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuidArray), - object (ValueBuffer valueBuffer) => valueBuffer[168]); + object (ValueBuffer valueBuffer) => valueBuffer[171]); nullableGuidArray.SetPropertyIndexes( - index: 168, - originalValueIndex: 168, + index: 171, + originalValueIndex: 171, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10936,12 +11146,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 169), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 172), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[169]); + object (ValueBuffer valueBuffer) => valueBuffer[172]); nullableIPAddress.SetPropertyIndexes( - index: 169, - originalValueIndex: 169, + index: 172, + originalValueIndex: 172, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10990,12 +11200,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddressArray.SetAccessors( IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddressArray, 170), + IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddressArray, 173), IPAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[170]); + object (ValueBuffer valueBuffer) => valueBuffer[173]); nullableIPAddressArray.SetPropertyIndexes( - index: 170, - originalValueIndex: 170, + index: 173, + originalValueIndex: 173, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11075,12 +11285,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16.SetAccessors( short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 171), + short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 174), short? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16), - object (ValueBuffer valueBuffer) => valueBuffer[171]); + object (ValueBuffer valueBuffer) => valueBuffer[174]); nullableInt16.SetPropertyIndexes( - index: 171, - originalValueIndex: 171, + index: 174, + originalValueIndex: 174, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11118,12 +11328,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16Array.SetAccessors( short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 172), + short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 175), short? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[172]); + object (ValueBuffer valueBuffer) => valueBuffer[175]); nullableInt16Array.SetPropertyIndexes( - index: 172, - originalValueIndex: 172, + index: 175, + originalValueIndex: 175, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11182,12 +11392,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 173), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 176), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32), - object (ValueBuffer valueBuffer) => valueBuffer[173]); + object (ValueBuffer valueBuffer) => valueBuffer[176]); nullableInt32.SetPropertyIndexes( - index: 173, - originalValueIndex: 173, + index: 176, + originalValueIndex: 176, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11225,12 +11435,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32Array.SetAccessors( int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 174), + int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 177), int? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[174]); + object (ValueBuffer valueBuffer) => valueBuffer[177]); nullableInt32Array.SetPropertyIndexes( - index: 174, - originalValueIndex: 174, + index: 177, + originalValueIndex: 177, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11289,12 +11499,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64.SetAccessors( long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 175), + long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 178), long? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64), - object (ValueBuffer valueBuffer) => valueBuffer[175]); + object (ValueBuffer valueBuffer) => valueBuffer[178]); nullableInt64.SetPropertyIndexes( - index: 175, - originalValueIndex: 175, + index: 178, + originalValueIndex: 178, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11332,12 +11542,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64Array.SetAccessors( long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 176), + long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 179), long? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[176]); + object (ValueBuffer valueBuffer) => valueBuffer[179]); nullableInt64Array.SetPropertyIndexes( - index: 176, - originalValueIndex: 176, + index: 179, + originalValueIndex: 179, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11396,12 +11606,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8.SetAccessors( sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 177), + sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 180), sbyte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8), - object (ValueBuffer valueBuffer) => valueBuffer[177]); + object (ValueBuffer valueBuffer) => valueBuffer[180]); nullableInt8.SetPropertyIndexes( - index: 177, - originalValueIndex: 177, + index: 180, + originalValueIndex: 180, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11447,12 +11657,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8Array.SetAccessors( sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 178), + sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 181), sbyte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[178]); + object (ValueBuffer valueBuffer) => valueBuffer[181]); nullableInt8Array.SetPropertyIndexes( - index: 178, - originalValueIndex: 178, + index: 181, + originalValueIndex: 181, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11527,12 +11737,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 179), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 182), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[179]); + object (ValueBuffer valueBuffer) => valueBuffer[182]); nullablePhysicalAddress.SetPropertyIndexes( - index: 179, - originalValueIndex: 179, + index: 182, + originalValueIndex: 182, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11581,12 +11791,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddressArray.SetAccessors( PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddressArray, 180), + PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddressArray, 183), PhysicalAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[180]); + object (ValueBuffer valueBuffer) => valueBuffer[183]); nullablePhysicalAddressArray.SetPropertyIndexes( - index: 180, - originalValueIndex: 180, + index: 183, + originalValueIndex: 183, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11666,12 +11876,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableString.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 181), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 184), string (InternalEntityEntry entry) => entry.GetCurrentValue(nullableString), - object (ValueBuffer valueBuffer) => valueBuffer[181]); + object (ValueBuffer valueBuffer) => valueBuffer[184]); nullableString.SetPropertyIndexes( - index: 181, - originalValueIndex: 181, + index: 184, + originalValueIndex: 184, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11712,12 +11922,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableStringArray.SetAccessors( string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 182), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 185), string[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[182]); + object (ValueBuffer valueBuffer) => valueBuffer[185]); nullableStringArray.SetPropertyIndexes( - index: 182, - originalValueIndex: 182, + index: 185, + originalValueIndex: 185, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11781,12 +11991,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnly.SetAccessors( TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 183), + TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 186), TimeOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[183]); + object (ValueBuffer valueBuffer) => valueBuffer[186]); nullableTimeOnly.SetPropertyIndexes( - index: 183, - originalValueIndex: 183, + index: 186, + originalValueIndex: 186, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11824,12 +12034,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnlyArray.SetAccessors( TimeOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnlyArray, 184), + TimeOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnlyArray, 187), TimeOnly? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[184]); + object (ValueBuffer valueBuffer) => valueBuffer[187]); nullableTimeOnlyArray.SetPropertyIndexes( - index: 184, - originalValueIndex: 184, + index: 187, + originalValueIndex: 187, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11888,12 +12098,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpan.SetAccessors( TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 185), + TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 188), TimeSpan? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[185]); + object (ValueBuffer valueBuffer) => valueBuffer[188]); nullableTimeSpan.SetPropertyIndexes( - index: 185, - originalValueIndex: 185, + index: 188, + originalValueIndex: 188, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11931,12 +12141,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpanArray.SetAccessors( TimeSpan? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpanArray, 186), + TimeSpan? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpanArray, 189), TimeSpan? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpanArray), - object (ValueBuffer valueBuffer) => valueBuffer[186]); + object (ValueBuffer valueBuffer) => valueBuffer[189]); nullableTimeSpanArray.SetPropertyIndexes( - index: 186, - originalValueIndex: 186, + index: 189, + originalValueIndex: 189, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11995,12 +12205,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16.SetAccessors( ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 187), + ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 190), ushort? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16), - object (ValueBuffer valueBuffer) => valueBuffer[187]); + object (ValueBuffer valueBuffer) => valueBuffer[190]); nullableUInt16.SetPropertyIndexes( - index: 187, - originalValueIndex: 187, + index: 190, + originalValueIndex: 190, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12046,12 +12256,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16Array.SetAccessors( ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 188), + ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 191), ushort? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[188]); + object (ValueBuffer valueBuffer) => valueBuffer[191]); nullableUInt16Array.SetPropertyIndexes( - index: 188, - originalValueIndex: 188, + index: 191, + originalValueIndex: 191, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12126,12 +12336,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32.SetAccessors( uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 189), + uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 192), uint? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32), - object (ValueBuffer valueBuffer) => valueBuffer[189]); + object (ValueBuffer valueBuffer) => valueBuffer[192]); nullableUInt32.SetPropertyIndexes( - index: 189, - originalValueIndex: 189, + index: 192, + originalValueIndex: 192, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12177,12 +12387,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32Array.SetAccessors( uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 190), + uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 193), uint? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[190]); + object (ValueBuffer valueBuffer) => valueBuffer[193]); nullableUInt32Array.SetPropertyIndexes( - index: 190, - originalValueIndex: 190, + index: 193, + originalValueIndex: 193, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12257,12 +12467,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64.SetAccessors( ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 191), + ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 194), ulong? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64), - object (ValueBuffer valueBuffer) => valueBuffer[191]); + object (ValueBuffer valueBuffer) => valueBuffer[194]); nullableUInt64.SetPropertyIndexes( - index: 191, - originalValueIndex: 191, + index: 194, + originalValueIndex: 194, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12312,12 +12522,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64Array.SetAccessors( ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 192), + ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 195), ulong? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[192]); + object (ValueBuffer valueBuffer) => valueBuffer[195]); nullableUInt64Array.SetPropertyIndexes( - index: 192, - originalValueIndex: 192, + index: 195, + originalValueIndex: 195, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12396,12 +12606,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8.SetAccessors( byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 193), + byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 196), byte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8), - object (ValueBuffer valueBuffer) => valueBuffer[193]); + object (ValueBuffer valueBuffer) => valueBuffer[196]); nullableUInt8.SetPropertyIndexes( - index: 193, - originalValueIndex: 193, + index: 196, + originalValueIndex: 196, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12439,12 +12649,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8Array.SetAccessors( byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 194), + byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 197), byte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[194]); + object (ValueBuffer valueBuffer) => valueBuffer[197]); nullableUInt8Array.SetPropertyIndexes( - index: 194, - originalValueIndex: 194, + index: 197, + originalValueIndex: 197, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12503,12 +12713,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 195), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 198), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUri), - object (ValueBuffer valueBuffer) => valueBuffer[195]); + object (ValueBuffer valueBuffer) => valueBuffer[198]); nullableUri.SetPropertyIndexes( - index: 195, - originalValueIndex: 195, + index: 198, + originalValueIndex: 198, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12557,12 +12767,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUriArray.SetAccessors( Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUriArray, 196), + Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUriArray, 199), Uri[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUriArray), - object (ValueBuffer valueBuffer) => valueBuffer[196]); + object (ValueBuffer valueBuffer) => valueBuffer[199]); nullableUriArray.SetPropertyIndexes( - index: 196, - originalValueIndex: 196, + index: 199, + originalValueIndex: 199, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12641,12 +12851,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 197), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 200), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[197]); + object (ValueBuffer valueBuffer) => valueBuffer[200]); physicalAddress.SetPropertyIndexes( - index: 197, - originalValueIndex: 197, + index: 200, + originalValueIndex: 200, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12695,12 +12905,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressArray.SetAccessors( PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressArray, 198), + PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressArray, 201), PhysicalAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[198]); + object (ValueBuffer valueBuffer) => valueBuffer[201]); physicalAddressArray.SetPropertyIndexes( - index: 198, - originalValueIndex: 198, + index: 201, + originalValueIndex: 201, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12780,12 +12990,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToBytesConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 199), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 202), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[199]); + object (ValueBuffer valueBuffer) => valueBuffer[202]); physicalAddressToBytesConverterProperty.SetPropertyIndexes( - index: 199, - originalValueIndex: 199, + index: 202, + originalValueIndex: 202, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12833,12 +13043,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToStringConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 200), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 203), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[200]); + object (ValueBuffer valueBuffer) => valueBuffer[203]); physicalAddressToStringConverterProperty.SetPropertyIndexes( - index: 200, - originalValueIndex: 200, + index: 203, + originalValueIndex: 203, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12887,12 +13097,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @string.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 201), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 204), string (InternalEntityEntry entry) => entry.GetCurrentValue(@string), - object (ValueBuffer valueBuffer) => valueBuffer[201]); + object (ValueBuffer valueBuffer) => valueBuffer[204]); @string.SetPropertyIndexes( - index: 201, - originalValueIndex: 201, + index: 204, + originalValueIndex: 204, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12916,38 +13126,106 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas storeTypePostfix: StoreTypePostfix.None); @string.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); - var stringArray = runtimeEntityType.AddProperty( - "StringArray", - typeof(string[]), - propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringArray", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), - fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); - stringArray.SetGetter( - string[] (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors.StringArray(entity), - bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors.StringArray(entity) == null, - string[] (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors.StringArray(instance), - bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors.StringArray(instance) == null); - stringArray.SetSetter( - (CompiledModelTestBase.ManyTypes entity, string[] value) => ManyTypesUnsafeAccessors.StringArray(entity) = value); - stringArray.SetMaterializationSetter( - (CompiledModelTestBase.ManyTypes entity, string[] value) => ManyTypesUnsafeAccessors.StringArray(entity) = value); - stringArray.SetAccessors( - string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 202), - string[] (InternalEntityEntry entry) => entry.GetCurrentValue(stringArray), - object (ValueBuffer valueBuffer) => valueBuffer[202]); - stringArray.SetPropertyIndexes( - index: 202, - originalValueIndex: 202, + var stringArray = runtimeEntityType.AddProperty( + "StringArray", + typeof(string[]), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringArray", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + stringArray.SetGetter( + string[] (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors.StringArray(entity), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors.StringArray(entity) == null, + string[] (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors.StringArray(instance), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors.StringArray(instance) == null); + stringArray.SetSetter( + (CompiledModelTestBase.ManyTypes entity, string[] value) => ManyTypesUnsafeAccessors.StringArray(entity) = value); + stringArray.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, string[] value) => ManyTypesUnsafeAccessors.StringArray(entity) = value); + stringArray.SetAccessors( + string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), + string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 205), + string[] (InternalEntityEntry entry) => entry.GetCurrentValue(stringArray), + object (ValueBuffer valueBuffer) => valueBuffer[205]); + stringArray.SetPropertyIndexes( + index: 205, + originalValueIndex: 205, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + stringArray.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + keyComparer: new ListOfReferenceTypesComparer(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter( + JsonStringReaderWriter.Instance)), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter( + JsonStringReaderWriter.Instance), + elementMapping: SqlServerStringTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + keyComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + storeTypePostfix: StoreTypePostfix.None)); + stringArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + stringReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null); + stringReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(stringReadOnlyCollection, 206), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(stringReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[206]); + stringReadOnlyCollection.SetPropertyIndexes( + index: 206, + originalValueIndex: 206, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); - stringArray.TypeMapping = SqlServerStringTypeMapping.Default.Clone( - comparer: new ListOfReferenceTypesComparer(new ValueComparer( + stringReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( bool (string v1, string v2) => v1 == v2, int (string v) => ((object)v).GetHashCode(), string (string v) => v)), - keyComparer: new ListOfReferenceTypesComparer(new ValueComparer( + keyComparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( bool (string v1, string v2) => v1 == v2, int (string v) => ((object)v).GetHashCode(), string (string v) => v)), @@ -12959,10 +13237,10 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas storeTypeName: "nvarchar(max)", unicode: true, dbType: System.Data.DbType.String), - converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter( + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter, string>( JsonStringReaderWriter.Instance)), storeTypePostfix: StoreTypePostfix.None, - jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter( + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, string>( JsonStringReaderWriter.Instance), elementMapping: SqlServerStringTypeMapping.Default.Clone( comparer: new ValueComparer( @@ -12982,7 +13260,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas unicode: true, dbType: System.Data.DbType.String), storeTypePostfix: StoreTypePostfix.None)); - stringArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + stringReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", @@ -13002,12 +13280,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBoolConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 203), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 207), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBoolConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[203]); + object (ValueBuffer valueBuffer) => valueBuffer[207]); stringToBoolConverterProperty.SetPropertyIndexes( - index: 203, - originalValueIndex: 203, + index: 207, + originalValueIndex: 207, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13052,12 +13330,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBytesConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 204), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 208), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[204]); + object (ValueBuffer valueBuffer) => valueBuffer[208]); stringToBytesConverterProperty.SetPropertyIndexes( - index: 204, - originalValueIndex: 204, + index: 208, + originalValueIndex: 208, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13105,12 +13383,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToCharConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 205), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 209), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToCharConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[205]); + object (ValueBuffer valueBuffer) => valueBuffer[209]); stringToCharConverterProperty.SetPropertyIndexes( - index: 205, - originalValueIndex: 205, + index: 209, + originalValueIndex: 209, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13160,12 +13438,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 206), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 210), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[206]); + object (ValueBuffer valueBuffer) => valueBuffer[210]); stringToDateOnlyConverterProperty.SetPropertyIndexes( - index: 206, - originalValueIndex: 206, + index: 210, + originalValueIndex: 210, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13212,12 +13490,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 207), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 211), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[207]); + object (ValueBuffer valueBuffer) => valueBuffer[211]); stringToDateTimeConverterProperty.SetPropertyIndexes( - index: 207, - originalValueIndex: 207, + index: 211, + originalValueIndex: 211, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13264,12 +13542,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeOffsetConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 208), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 212), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeOffsetConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[208]); + object (ValueBuffer valueBuffer) => valueBuffer[212]); stringToDateTimeOffsetConverterProperty.SetPropertyIndexes( - index: 208, - originalValueIndex: 208, + index: 212, + originalValueIndex: 212, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13316,12 +13594,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDecimalNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 209), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 213), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDecimalNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[209]); + object (ValueBuffer valueBuffer) => valueBuffer[213]); stringToDecimalNumberConverterProperty.SetPropertyIndexes( - index: 209, - originalValueIndex: 209, + index: 213, + originalValueIndex: 213, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13368,12 +13646,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDoubleNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 210), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 214), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDoubleNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[210]); + object (ValueBuffer valueBuffer) => valueBuffer[214]); stringToDoubleNumberConverterProperty.SetPropertyIndexes( - index: 210, - originalValueIndex: 210, + index: 214, + originalValueIndex: 214, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13420,12 +13698,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToEnumConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 211), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 215), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToEnumConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[211]); + object (ValueBuffer valueBuffer) => valueBuffer[215]); stringToEnumConverterProperty.SetPropertyIndexes( - index: 211, - originalValueIndex: 211, + index: 215, + originalValueIndex: 215, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13469,12 +13747,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToGuidConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 212), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 216), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToGuidConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[212]); + object (ValueBuffer valueBuffer) => valueBuffer[216]); stringToGuidConverterProperty.SetPropertyIndexes( - index: 212, - originalValueIndex: 212, + index: 216, + originalValueIndex: 216, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13516,12 +13794,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToIntNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 213), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 217), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToIntNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[213]); + object (ValueBuffer valueBuffer) => valueBuffer[217]); stringToIntNumberConverterProperty.SetPropertyIndexes( - index: 213, - originalValueIndex: 213, + index: 217, + originalValueIndex: 217, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13568,12 +13846,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 214), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 218), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[214]); + object (ValueBuffer valueBuffer) => valueBuffer[218]); stringToTimeOnlyConverterProperty.SetPropertyIndexes( - index: 214, - originalValueIndex: 214, + index: 218, + originalValueIndex: 218, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13620,12 +13898,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeSpanConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 215), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 219), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeSpanConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[215]); + object (ValueBuffer valueBuffer) => valueBuffer[219]); stringToTimeSpanConverterProperty.SetPropertyIndexes( - index: 215, - originalValueIndex: 215, + index: 219, + originalValueIndex: 219, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13672,12 +13950,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToUriConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 216), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 220), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToUriConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[216]); + object (ValueBuffer valueBuffer) => valueBuffer[220]); stringToUriConverterProperty.SetPropertyIndexes( - index: 216, - originalValueIndex: 216, + index: 220, + originalValueIndex: 220, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13727,12 +14005,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnly.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 217), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 221), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[217]); + object (ValueBuffer valueBuffer) => valueBuffer[221]); timeOnly.SetPropertyIndexes( - index: 217, - originalValueIndex: 217, + index: 221, + originalValueIndex: 221, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13768,12 +14046,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyArray.SetAccessors( TimeOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyArray, 218), + TimeOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyArray, 222), TimeOnly[] (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[218]); + object (ValueBuffer valueBuffer) => valueBuffer[222]); timeOnlyArray.SetPropertyIndexes( - index: 218, - originalValueIndex: 218, + index: 222, + originalValueIndex: 222, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13832,12 +14110,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToStringConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 219), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 223), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[219]); + object (ValueBuffer valueBuffer) => valueBuffer[223]); timeOnlyToStringConverterProperty.SetPropertyIndexes( - index: 219, - originalValueIndex: 219, + index: 223, + originalValueIndex: 223, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13888,12 +14166,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToTicksConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 220), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 224), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[220]); + object (ValueBuffer valueBuffer) => valueBuffer[224]); timeOnlyToTicksConverterProperty.SetPropertyIndexes( - index: 220, - originalValueIndex: 220, + index: 224, + originalValueIndex: 224, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13939,12 +14217,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpan.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 221), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 225), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[221]); + object (ValueBuffer valueBuffer) => valueBuffer[225]); timeSpan.SetPropertyIndexes( - index: 221, - originalValueIndex: 221, + index: 225, + originalValueIndex: 225, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13980,12 +14258,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanArray.SetAccessors( TimeSpan[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanArray, 222), + TimeSpan[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanArray, 226), TimeSpan[] (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanArray), - object (ValueBuffer valueBuffer) => valueBuffer[222]); + object (ValueBuffer valueBuffer) => valueBuffer[226]); timeSpanArray.SetPropertyIndexes( - index: 222, - originalValueIndex: 222, + index: 226, + originalValueIndex: 226, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14044,12 +14322,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToStringConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 223), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 227), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[223]); + object (ValueBuffer valueBuffer) => valueBuffer[227]); timeSpanToStringConverterProperty.SetPropertyIndexes( - index: 223, - originalValueIndex: 223, + index: 227, + originalValueIndex: 227, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14100,12 +14378,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToTicksConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 224), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 228), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[224]); + object (ValueBuffer valueBuffer) => valueBuffer[228]); timeSpanToTicksConverterProperty.SetPropertyIndexes( - index: 224, - originalValueIndex: 224, + index: 228, + originalValueIndex: 228, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14150,12 +14428,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16.SetAccessors( ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 225), + ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 229), ushort (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16), - object (ValueBuffer valueBuffer) => valueBuffer[225]); + object (ValueBuffer valueBuffer) => valueBuffer[229]); uInt16.SetPropertyIndexes( - index: 225, - originalValueIndex: 225, + index: 229, + originalValueIndex: 229, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14200,12 +14478,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16Array.SetAccessors( ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 226), + ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 230), ushort[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[226]); + object (ValueBuffer valueBuffer) => valueBuffer[230]); uInt16Array.SetPropertyIndexes( - index: 226, - originalValueIndex: 226, + index: 230, + originalValueIndex: 230, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14279,12 +14557,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32.SetAccessors( uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 227), + uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 231), uint (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32), - object (ValueBuffer valueBuffer) => valueBuffer[227]); + object (ValueBuffer valueBuffer) => valueBuffer[231]); uInt32.SetPropertyIndexes( - index: 227, - originalValueIndex: 227, + index: 231, + originalValueIndex: 231, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14329,12 +14607,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32Array.SetAccessors( uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 228), + uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 232), uint[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[228]); + object (ValueBuffer valueBuffer) => valueBuffer[232]); uInt32Array.SetPropertyIndexes( - index: 228, - originalValueIndex: 228, + index: 232, + originalValueIndex: 232, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14408,12 +14686,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64.SetAccessors( ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 229), + ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 233), ulong (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64), - object (ValueBuffer valueBuffer) => valueBuffer[229]); + object (ValueBuffer valueBuffer) => valueBuffer[233]); uInt64.SetPropertyIndexes( - index: 229, - originalValueIndex: 229, + index: 233, + originalValueIndex: 233, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14462,12 +14740,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64Array.SetAccessors( ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 230), + ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 234), ulong[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[230]); + object (ValueBuffer valueBuffer) => valueBuffer[234]); uInt64Array.SetPropertyIndexes( - index: 230, - originalValueIndex: 230, + index: 234, + originalValueIndex: 234, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14546,12 +14824,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8.SetAccessors( byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 231), + byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 235), byte (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8), - object (ValueBuffer valueBuffer) => valueBuffer[231]); + object (ValueBuffer valueBuffer) => valueBuffer[235]); uInt8.SetPropertyIndexes( - index: 231, - originalValueIndex: 231, + index: 235, + originalValueIndex: 235, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14587,12 +14865,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8Array.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 232), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 236), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[232]); + object (ValueBuffer valueBuffer) => valueBuffer[236]); uInt8Array.SetPropertyIndexes( - index: 232, - originalValueIndex: 232, + index: 236, + originalValueIndex: 236, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14614,6 +14892,69 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas storeTypePostfix: StoreTypePostfix.None); uInt8Array.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + uInt8ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null); + uInt8ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(uInt8ReadOnlyCollection, 237), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(uInt8ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[237]); + uInt8ReadOnlyCollection.SetPropertyIndexes( + index: 237, + originalValueIndex: 237, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + uInt8ReadOnlyCollection.TypeMapping = SqlServerStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + keyComparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "nvarchar(max)", + unicode: true, + dbType: System.Data.DbType.String), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance)), + storeTypePostfix: StoreTypePostfix.None, + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance), + elementMapping: SqlServerByteTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + keyComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + providerValueComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v))); + uInt8ReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri), @@ -14631,12 +14972,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 233), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 238), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uri), - object (ValueBuffer valueBuffer) => valueBuffer[233]); + object (ValueBuffer valueBuffer) => valueBuffer[238]); uri.SetPropertyIndexes( - index: 233, - originalValueIndex: 233, + index: 238, + originalValueIndex: 238, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14685,12 +15026,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriArray.SetAccessors( Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uriArray, 234), + Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uriArray, 239), Uri[] (InternalEntityEntry entry) => entry.GetCurrentValue(uriArray), - object (ValueBuffer valueBuffer) => valueBuffer[234]); + object (ValueBuffer valueBuffer) => valueBuffer[239]); uriArray.SetPropertyIndexes( - index: 234, - originalValueIndex: 234, + index: 239, + originalValueIndex: 239, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14770,12 +15111,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriToStringConverterProperty.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 235), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 240), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uriToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[235]); + object (ValueBuffer valueBuffer) => valueBuffer[240]); uriToStringConverterProperty.SetPropertyIndexes( - index: 235, - originalValueIndex: 235, + index: 240, + originalValueIndex: 240, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -14819,6 +15160,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var id = runtimeEntityType.FindProperty("Id"); var @bool = runtimeEntityType.FindProperty("Bool"); var boolArray = runtimeEntityType.FindProperty("BoolArray"); + var boolReadOnlyCollection = runtimeEntityType.FindProperty("BoolReadOnlyCollection"); var boolToStringConverterProperty = runtimeEntityType.FindProperty("BoolToStringConverterProperty"); var boolToTwoValuesConverterProperty = runtimeEntityType.FindProperty("BoolToTwoValuesConverterProperty"); var boolToZeroOneConverterProperty = runtimeEntityType.FindProperty("BoolToZeroOneConverterProperty"); @@ -14906,12 +15248,14 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var guidToStringConverterProperty = runtimeEntityType.FindProperty("GuidToStringConverterProperty"); var iPAddress = runtimeEntityType.FindProperty("IPAddress"); var iPAddressArray = runtimeEntityType.FindProperty("IPAddressArray"); + var iPAddressReadOnlyCollection = runtimeEntityType.FindProperty("IPAddressReadOnlyCollection"); var iPAddressToBytesConverterProperty = runtimeEntityType.FindProperty("IPAddressToBytesConverterProperty"); var iPAddressToStringConverterProperty = runtimeEntityType.FindProperty("IPAddressToStringConverterProperty"); var int16 = runtimeEntityType.FindProperty("Int16"); var int16Array = runtimeEntityType.FindProperty("Int16Array"); var int32 = runtimeEntityType.FindProperty("Int32"); var int32Array = runtimeEntityType.FindProperty("Int32Array"); + var int32ReadOnlyCollection = runtimeEntityType.FindProperty("Int32ReadOnlyCollection"); var int64 = runtimeEntityType.FindProperty("Int64"); var int64Array = runtimeEntityType.FindProperty("Int64Array"); var int8 = runtimeEntityType.FindProperty("Int8"); @@ -15019,6 +15363,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var physicalAddressToStringConverterProperty = runtimeEntityType.FindProperty("PhysicalAddressToStringConverterProperty"); var @string = runtimeEntityType.FindProperty("String"); var stringArray = runtimeEntityType.FindProperty("StringArray"); + var stringReadOnlyCollection = runtimeEntityType.FindProperty("StringReadOnlyCollection"); var stringToBoolConverterProperty = runtimeEntityType.FindProperty("StringToBoolConverterProperty"); var stringToBytesConverterProperty = runtimeEntityType.FindProperty("StringToBytesConverterProperty"); var stringToCharConverterProperty = runtimeEntityType.FindProperty("StringToCharConverterProperty"); @@ -15049,6 +15394,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var uInt64Array = runtimeEntityType.FindProperty("UInt64Array"); var uInt8 = runtimeEntityType.FindProperty("UInt8"); var uInt8Array = runtimeEntityType.FindProperty("UInt8Array"); + var uInt8ReadOnlyCollection = runtimeEntityType.FindProperty("UInt8ReadOnlyCollection"); var uri = runtimeEntityType.FindProperty("Uri"); var uriArray = runtimeEntityType.FindProperty("UriArray"); var uriToStringConverterProperty = runtimeEntityType.FindProperty("UriToStringConverterProperty"); @@ -15059,21 +15405,23 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) ISnapshot (InternalEntityEntry source) => { var entity = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg = ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (((object)(source.GetCurrentValue(bytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)bytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(bytesArray))))))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), (((IEnumerable)(source.GetCurrentValue(dateOnlyArray))) == null ? null : ((DateOnly[])(((ValueComparer>)(((IProperty)dateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateOnlyArray))))))), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), (((IEnumerable)(source.GetCurrentValue(dateTimeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)dateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateTimeArray))))))), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double)), (((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray)))))))))); + var liftedArg = ((ISnapshot)(new Snapshot, bool, bool, bool, byte[], byte[][], byte[], int, char, char[], char, DateOnly, DateOnly[], DateOnly, DateTime, DateTime[], DateTimeOffset, DateTimeOffset, DateTimeOffset, DateTime, DateTime, DateTime, decimal, decimal[], decimal, decimal, double>(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), (((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)boolReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (((object)(source.GetCurrentValue(bytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)bytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(bytesArray))))))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), (((IEnumerable)(source.GetCurrentValue(dateOnlyArray))) == null ? null : ((DateOnly[])(((ValueComparer>)(((IProperty)dateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateOnlyArray))))))), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), (((IEnumerable)(source.GetCurrentValue(dateTimeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)dateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateTimeArray))))))), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double))))); var entity0 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg0 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], List, List, CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], List, List, CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], List, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32, CompiledModelTestBase.EnumU16, CompiledModelTestBase.EnumU16[]>(((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), (((IEnumerable)(source.GetCurrentValue(enum16Array))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16Array))))))), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), (((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16Collection))))))), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), (((IEnumerable)(source.GetCurrentValue(enum32Array))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32Array))))))), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), (((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32Collection))))))), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), (((IEnumerable)(source.GetCurrentValue(enum64Array))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64Array))))))), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), (((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64Collection))))))), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), (((IEnumerable)(source.GetCurrentValue(enum8Array))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8Array))))))), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), (((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8Collection))))))), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16)), (((IEnumerable)(source.GetCurrentValue(enumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16Array)))))))))); + var liftedArg0 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], List, List, CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], List, List, CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], List, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32, CompiledModelTestBase.EnumU16>((((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray))))))), ((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), (((IEnumerable)(source.GetCurrentValue(enum16Array))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16Array))))))), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), (((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16Collection))))))), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), (((IEnumerable)(source.GetCurrentValue(enum32Array))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32Array))))))), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), (((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32Collection))))))), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), (((IEnumerable)(source.GetCurrentValue(enum64Array))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64Array))))))), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), (((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64Collection))))))), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), (((IEnumerable)(source.GetCurrentValue(enum8Array))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8Array))))))), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), (((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8Collection))))))), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16))))); var entity1 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg1 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], List, List, CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], List, List, CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], List, List, float, float[], Guid, Guid[], Guid, Guid, IPAddress, IPAddress[]>(((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), (((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16Collection))))))), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), (((IEnumerable)(source.GetCurrentValue(enumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32Array))))))), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), (((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32Collection))))))), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), (((IEnumerable)(source.GetCurrentValue(enumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64Array))))))), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), (((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64Collection))))))), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), (((IEnumerable)(source.GetCurrentValue(enumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8Array))))))), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), (((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8Collection))))))), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), (((IEnumerable)(source.GetCurrentValue(guidArray))) == null ? null : ((Guid[])(((ValueComparer>)(((IProperty)guidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(guidArray))))))), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress))), (((object)(source.GetCurrentValue(iPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)iPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(iPAddressArray)))))))))); + var liftedArg1 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], List, List, CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], List, List, CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], List, List, float, float[], Guid, Guid[], Guid, Guid, IPAddress>((((IEnumerable)(source.GetCurrentValue(enumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16Array))))))), ((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), (((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16Collection))))))), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), (((IEnumerable)(source.GetCurrentValue(enumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32Array))))))), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), (((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32Collection))))))), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), (((IEnumerable)(source.GetCurrentValue(enumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64Array))))))), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), (((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64Collection))))))), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), (((IEnumerable)(source.GetCurrentValue(enumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8Array))))))), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), (((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8Collection))))))), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), (((IEnumerable)(source.GetCurrentValue(guidArray))) == null ? null : ((Guid[])(((ValueComparer>)(((IProperty)guidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(guidArray))))))), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress)))))); var entity2 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg2 = ((ISnapshot)(new Snapshot((source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (((object)(source.GetCurrentValue(nullableBytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)nullableBytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableBytesArray))))))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))) == null ? null : ((DateOnly? [])(((ValueComparer>)(((IProperty)nullableDateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))))))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))) == null ? null : ((DateTime? [])(((ValueComparer>)(((IProperty)nullableDateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))))))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))))))), (source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))))))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString)))))); + var liftedArg2 = ((ISnapshot)(new Snapshot, IPAddress, IPAddress, short, short[], int, int[], IReadOnlyCollection, long, long[], sbyte, sbyte[], int, int, int?, bool?, bool? [], byte[], byte[][], char?, char? [], DateOnly?, DateOnly? [], DateTime?, DateTime? [], decimal?, decimal? [], double?, double? []>((((object)(source.GetCurrentValue(iPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)iPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(iPAddressArray))))))), (((object)(source.GetCurrentValue>(iPAddressReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)iPAddressReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(iPAddressReadOnlyCollection))))))), (source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), (((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)int32ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (((object)(source.GetCurrentValue(nullableBytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)nullableBytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableBytesArray))))))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))) == null ? null : ((DateOnly? [])(((ValueComparer>)(((IProperty)nullableDateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))))))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))) == null ? null : ((DateTime? [])(((ValueComparer>)(((IProperty)nullableDateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))))))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray)))))))))); var entity3 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg3 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], List, List, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], List, List, CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], List, List, CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], List, List, CompiledModelTestBase.EnumU32?, CompiledModelTestBase.EnumU32? [], CompiledModelTestBase.EnumU32?>((((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))))))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))))))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))))))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))))))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))))))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))))))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))))))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))))))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))))))), (source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))))))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString)))))); + var liftedArg3 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], List, List, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], List, List, CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], List, List, CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], List, List>((source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))))))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))))))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))))))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))))))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))))))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))))))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))))))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))))))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))))))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection)))))))))); var entity4 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg4 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], List, List, CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], List, List, float?, float? [], Guid?, Guid? [], IPAddress, IPAddress[], short?, short? [], int?, int? [], long?, long? [], sbyte?, sbyte? [], PhysicalAddress>((((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))))))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))))))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))))))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))))))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))))))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (((IEnumerable)(source.GetCurrentValue(nullableGuidArray))) == null ? null : ((Guid? [])(((ValueComparer>)(((IProperty)nullableGuidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableGuidArray))))))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (((object)(source.GetCurrentValue(nullableIPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)nullableIPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableIPAddressArray))))))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array))))))), (source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress)))))); + var liftedArg4 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], List, List, CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], List, List, float?, float? [], Guid?, Guid? [], IPAddress, IPAddress[], short?, short? [], int?, int? [], long?, long? []>((source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))))))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))))))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))))))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))))))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))))))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))))))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (((IEnumerable)(source.GetCurrentValue(nullableGuidArray))) == null ? null : ((Guid? [])(((ValueComparer>)(((IProperty)nullableGuidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableGuidArray))))))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (((object)(source.GetCurrentValue(nullableIPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)nullableIPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableIPAddressArray))))))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array)))))))))); var entity5 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg5 = ((ISnapshot)(new Snapshot((((object)(source.GetCurrentValue(nullablePhysicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)nullablePhysicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullablePhysicalAddressArray))))))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))) == null ? null : ((TimeOnly? [])(((ValueComparer>)(((IProperty)nullableTimeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))))))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))) == null ? null : ((TimeSpan? [])(((ValueComparer>)(((IProperty)nullableTimeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))))))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (((object)(source.GetCurrentValue(nullableUriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)nullableUriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableUriArray))))))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (((object)(source.GetCurrentValue(physicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)physicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(physicalAddressArray))))))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty))), (source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty)))))); + var liftedArg5 = ((ISnapshot)(new Snapshot, string, string, string>((source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress))), (((object)(source.GetCurrentValue(nullablePhysicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)nullablePhysicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullablePhysicalAddressArray))))))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))) == null ? null : ((TimeOnly? [])(((ValueComparer>)(((IProperty)nullableTimeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))))))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))) == null ? null : ((TimeSpan? [])(((ValueComparer>)(((IProperty)nullableTimeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))))))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (((object)(source.GetCurrentValue(nullableUriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)nullableUriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableUriArray))))))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (((object)(source.GetCurrentValue(physicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)physicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(physicalAddressArray))))))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (((object)(source.GetCurrentValue>(stringReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)stringReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(stringReadOnlyCollection))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty)))))); var entity6 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, liftedArg4, liftedArg5, ((ISnapshot)(new Snapshot((source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), (((IEnumerable)(source.GetCurrentValue(timeOnlyArray))) == null ? null : ((TimeOnly[])(((ValueComparer>)(((IProperty)timeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeOnlyArray))))))), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), (((IEnumerable)(source.GetCurrentValue(timeSpanArray))) == null ? null : ((TimeSpan[])(((ValueComparer>)(((IProperty)timeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeSpanArray))))))), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (((object)(source.GetCurrentValue(uriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)uriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(uriArray))))))), (source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty)))))) }))); + var liftedArg6 = ((ISnapshot)(new Snapshot, Uri, Uri[]>((source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty))), (source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), (((IEnumerable)(source.GetCurrentValue(timeOnlyArray))) == null ? null : ((TimeOnly[])(((ValueComparer>)(((IProperty)timeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeOnlyArray))))))), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), (((IEnumerable)(source.GetCurrentValue(timeSpanArray))) == null ? null : ((TimeSpan[])(((ValueComparer>)(((IProperty)timeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeSpanArray))))))), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)uInt8ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))))))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (((object)(source.GetCurrentValue(uriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)uriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(uriArray)))))))))); + var entity7 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); + return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, liftedArg4, liftedArg5, liftedArg6, ((ISnapshot)(new Snapshot((source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty)))))) }))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( ISnapshot () => ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(default(CompiledModelTestBase.ManyTypesId)))))); @@ -15086,14 +15434,14 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); + var entity8 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))))); }); runtimeEntityType.Counts = new PropertyCounts( - propertyCount: 236, + propertyCount: 241, navigationCount: 0, complexPropertyCount: 0, - originalValueCount: 236, + originalValueCount: 241, shadowCount: 0, relationshipCount: 1, storeGeneratedCount: 1); diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesUnsafeAccessors.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesUnsafeAccessors.cs index 8212477912e..48de8dc1ceb 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesUnsafeAccessors.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesUnsafeAccessors.cs @@ -22,6 +22,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool[] BoolArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_boolReadOnlyCollection")] + public static extern ref List _boolReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool BoolToStringConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -283,6 +286,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref IPAddress[] IPAddressArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_ipAddressReadOnlyCollection")] + public static extern ref List _ipAddressReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref IPAddress IPAddressToBytesConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -301,6 +307,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref int[] Int32Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_int32ReadOnlyCollection")] + public static extern ref List _int32ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref long Int64(CompiledModelTestBase.ManyTypes @this); @@ -622,6 +631,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string[] StringArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_stringReadOnlyCollection")] + public static extern ref List _stringReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string StringToBoolConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -712,6 +724,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref byte[] UInt8Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_uInt8ReadOnlyCollection")] + public static extern ref List _uInt8ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref Uri Uri(CompiledModelTestBase.ManyTypes @this); diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedType0EntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedType0EntityType.cs index e3769f85a94..96d5589d28c 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedType0EntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedType0EntityType.cs @@ -875,7 +875,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>(((ValueComparer)(((IProperty)principalDerivedId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedId)), ((ValueComparer)(((IProperty)principalDerivedAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedAlternateId)), ((ValueComparer)(((IProperty)__synthesizedOrdinal).GetValueComparer())).Snapshot(source.GetCurrentValue(__synthesizedOrdinal)), (source.GetCurrentValue(details) == null ? null : ((ValueComparer)(((IProperty)details).GetValueComparer())).Snapshot(source.GetCurrentValue(details))), ((ValueComparer)(((IProperty)number).GetValueComparer())).Snapshot(source.GetCurrentValue(number)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -889,7 +889,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalDerivedId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedId)), ((ValueComparer)(((IProperty)principalDerivedAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedAlternateId)), ((ValueComparer)(((IProperty)__synthesizedOrdinal).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(__synthesizedOrdinal))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedTypeEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedTypeEntityType.cs index 7d8c447f6c0..e217a59aa8c 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedTypeEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedTypeEntityType.cs @@ -851,7 +851,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>(((ValueComparer)(((IProperty)principalBaseId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalBaseId)), ((ValueComparer)(((IProperty)principalBaseAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalBaseAlternateId)), (source.GetCurrentValue(details) == null ? null : ((ValueComparer)(((IProperty)details).GetValueComparer())).Snapshot(source.GetCurrentValue(details))), ((ValueComparer)(((IProperty)number).GetValueComparer())).Snapshot(source.GetCurrentValue(number)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -865,7 +865,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalBaseId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalBaseId)), ((ValueComparer)(((IProperty)principalBaseAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalBaseAlternateId))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBaseEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBaseEntityType.cs index 670fa352a16..c1485c9b153 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBaseEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBaseEntityType.cs @@ -1029,7 +1029,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); + var entity8 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), (source.GetCurrentValue(discriminator) == null ? null : ((ValueComparer)(((IProperty)discriminator).GetValueComparer())).Snapshot(source.GetCurrentValue(discriminator))), ((ValueComparer)(((IProperty)enum1).GetValueComparer())).Snapshot(source.GetCurrentValue(enum1)), (source.GetCurrentValue(enum2) == null ? null : ((ValueComparer)(((IProperty)enum2).GetValueComparer())).Snapshot(source.GetCurrentValue(enum2))), ((ValueComparer)(((IProperty)flagsEnum1).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum1)), ((ValueComparer)(((IProperty)flagsEnum2).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum2)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -1043,8 +1043,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); - return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity7), (object)(null)))); + var entity8 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); + return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity8), (object)(null)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 15, diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs index 762b316cf9a..76042ca6e3b 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs @@ -397,7 +397,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((Dictionary)(source.Entity)); + var entity8 = ((Dictionary)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)derivedsId).GetValueComparer())).Snapshot(source.GetCurrentValue(derivedsId)), ((ValueComparer)(((IProperty)derivedsAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(derivedsAlternateId)), ((ValueComparer)(((IProperty)principalsId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalsId)), ((ValueComparer)(((IProperty)principalsAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalsAlternateId)), (source.GetCurrentValue(rowid) == null ? null : ((ValueComparer)(((IProperty)rowid).GetValueComparer())).Snapshot(source.GetCurrentValue(rowid)))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -411,7 +411,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((Dictionary)(source.Entity)); + var entity8 = ((Dictionary)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)derivedsId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(derivedsId)), ((ValueComparer)(((IProperty)derivedsAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(derivedsAlternateId)), ((ValueComparer)(((IProperty)principalsId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalsId)), ((ValueComparer)(((IProperty)principalsAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalsAlternateId))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalDerivedEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalDerivedEntityType.cs index c163ccd8002..840cac85e29 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalDerivedEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalDerivedEntityType.cs @@ -108,7 +108,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); + var entity8 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), (source.GetCurrentValue(discriminator) == null ? null : ((ValueComparer)(((IProperty)discriminator).GetValueComparer())).Snapshot(source.GetCurrentValue(discriminator))), ((ValueComparer)(((IProperty)enum1).GetValueComparer())).Snapshot(source.GetCurrentValue(enum1)), (source.GetCurrentValue(enum2) == null ? null : ((ValueComparer)(((IProperty)enum2).GetValueComparer())).Snapshot(source.GetCurrentValue(enum2))), ((ValueComparer)(((IProperty)flagsEnum1).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum1)), ((ValueComparer)(((IProperty)flagsEnum2).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum2)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -122,8 +122,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); - return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity7), (object)(null), PrincipalDerivedUnsafeAccessors>.Dependent(entity7), SnapshotFactoryFactory.SnapshotCollection(PrincipalDerivedUnsafeAccessors>.ManyOwned(entity7)), (object)(null)))); + var entity8 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); + return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity8), (object)(null), PrincipalDerivedUnsafeAccessors>.Dependent(entity8), SnapshotFactoryFactory.SnapshotCollection(PrincipalDerivedUnsafeAccessors>.ManyOwned(entity8)), (object)(null)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 15, diff --git a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs index 037fc1fd1e4..37cadf024c3 100644 --- a/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs +++ b/test/EFCore.SqlServer.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs @@ -28,7 +28,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas "Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase+ManyTypes", typeof(CompiledModelTestBase.ManyTypes), baseEntityType, - propertyCount: 236, + propertyCount: 241, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -57,6 +57,13 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); boolArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + boolReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -766,6 +773,13 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); iPAddressArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var iPAddressReadOnlyCollection = runtimeEntityType.AddProperty( + "IPAddressReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_ipAddressReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + iPAddressReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var iPAddressToBytesConverterProperty = runtimeEntityType.AddProperty( "IPAddressToBytesConverterProperty", typeof(IPAddress), @@ -812,6 +826,13 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); int32Array.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + int32ReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -1610,6 +1631,13 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); stringArray.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + stringReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", typeof(string), @@ -1850,6 +1878,13 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); uInt8Array.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + uInt8ReadOnlyCollection.AddAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.None); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri), diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/DbContextModelBuilder.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/DbContextModelBuilder.cs index 470003d36e4..cb2f945ab8b 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/DbContextModelBuilder.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/DbContextModelBuilder.cs @@ -255,6 +255,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Bool", boolColumnBase); var boolArrayColumnBase = new ColumnBase("BoolArray", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolArray", boolArrayColumnBase); + var boolReadOnlyCollectionColumnBase = new ColumnBase("BoolReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolReadOnlyCollection", boolReadOnlyCollectionColumnBase); var boolToStringConverterPropertyColumnBase = new ColumnBase("BoolToStringConverterProperty", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolToStringConverterProperty", boolToStringConverterPropertyColumnBase); var boolToTwoValuesConverterPropertyColumnBase = new ColumnBase("BoolToTwoValuesConverterProperty", "INTEGER", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -429,6 +431,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddress", iPAddressColumnBase); var iPAddressArrayColumnBase = new ColumnBase("IPAddressArray", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressArray", iPAddressArrayColumnBase); + var iPAddressReadOnlyCollectionColumnBase = new ColumnBase("IPAddressReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressReadOnlyCollection", iPAddressReadOnlyCollectionColumnBase); var iPAddressToBytesConverterPropertyColumnBase = new ColumnBase("IPAddressToBytesConverterProperty", "BLOB", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressToBytesConverterProperty", iPAddressToBytesConverterPropertyColumnBase); var iPAddressToStringConverterPropertyColumnBase = new ColumnBase("IPAddressToStringConverterProperty", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -443,6 +447,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32", int32ColumnBase); var int32ArrayColumnBase = new ColumnBase("Int32Array", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32Array", int32ArrayColumnBase); + var int32ReadOnlyCollectionColumnBase = new ColumnBase("Int32ReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32ReadOnlyCollection", int32ReadOnlyCollectionColumnBase); var int64ColumnBase = new ColumnBase("Int64", "INTEGER", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int64", int64ColumnBase); var int64ArrayColumnBase = new ColumnBase("Int64Array", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -777,6 +783,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("String", stringColumnBase); var stringArrayColumnBase = new ColumnBase("StringArray", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringArray", stringArrayColumnBase); + var stringReadOnlyCollectionColumnBase = new ColumnBase("StringReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringReadOnlyCollection", stringReadOnlyCollectionColumnBase); var stringToBoolConverterPropertyColumnBase = new ColumnBase("StringToBoolConverterProperty", "INTEGER", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringToBoolConverterProperty", stringToBoolConverterPropertyColumnBase); var stringToBytesConverterPropertyColumnBase = new ColumnBase("StringToBytesConverterProperty", "BLOB", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase) @@ -840,6 +848,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8", uInt8ColumnBase); var uInt8ArrayColumnBase = new ColumnBase("UInt8Array", "BLOB", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8Array", uInt8ArrayColumnBase); + var uInt8ReadOnlyCollectionColumnBase = new ColumnBase("UInt8ReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8ReadOnlyCollection", uInt8ReadOnlyCollectionColumnBase); var uriColumnBase = new ColumnBase("Uri", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Uri", uriColumnBase); var uriArrayColumnBase = new ColumnBase("UriArray", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -853,6 +863,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)idColumnBase1, manyTypes.FindProperty("Id")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolColumnBase, manyTypes.FindProperty("Bool")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolArrayColumnBase, manyTypes.FindProperty("BoolArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)boolReadOnlyCollectionColumnBase, manyTypes.FindProperty("BoolReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToStringConverterPropertyColumnBase, manyTypes.FindProperty("BoolToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToTwoValuesConverterPropertyColumnBase, manyTypes.FindProperty("BoolToTwoValuesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToZeroOneConverterPropertyColumnBase, manyTypes.FindProperty("BoolToZeroOneConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -940,12 +951,14 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)guidToStringConverterPropertyColumnBase, manyTypes.FindProperty("GuidToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressColumnBase, manyTypes.FindProperty("IPAddress")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressArrayColumnBase, manyTypes.FindProperty("IPAddressArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)iPAddressReadOnlyCollectionColumnBase, manyTypes.FindProperty("IPAddressReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressToBytesConverterPropertyColumnBase, manyTypes.FindProperty("IPAddressToBytesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressToStringConverterPropertyColumnBase, manyTypes.FindProperty("IPAddressToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int16ColumnBase, manyTypes.FindProperty("Int16")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int16ArrayColumnBase, manyTypes.FindProperty("Int16Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int32ColumnBase, manyTypes.FindProperty("Int32")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int32ArrayColumnBase, manyTypes.FindProperty("Int32Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)int32ReadOnlyCollectionColumnBase, manyTypes.FindProperty("Int32ReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int64ColumnBase, manyTypes.FindProperty("Int64")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int64ArrayColumnBase, manyTypes.FindProperty("Int64Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int8ColumnBase, manyTypes.FindProperty("Int8")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1053,6 +1066,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)physicalAddressToStringConverterPropertyColumnBase, manyTypes.FindProperty("PhysicalAddressToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringColumnBase, manyTypes.FindProperty("String")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringArrayColumnBase, manyTypes.FindProperty("StringArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)stringReadOnlyCollectionColumnBase, manyTypes.FindProperty("StringReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToBoolConverterPropertyColumnBase, manyTypes.FindProperty("StringToBoolConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToBytesConverterPropertyColumnBase, manyTypes.FindProperty("StringToBytesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToCharConverterPropertyColumnBase, manyTypes.FindProperty("StringToCharConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1083,6 +1097,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)uInt64ArrayColumnBase, manyTypes.FindProperty("UInt64Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uInt8ColumnBase, manyTypes.FindProperty("UInt8")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uInt8ArrayColumnBase, manyTypes.FindProperty("UInt8Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)uInt8ReadOnlyCollectionColumnBase, manyTypes.FindProperty("UInt8ReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriColumnBase, manyTypes.FindProperty("Uri")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriArrayColumnBase, manyTypes.FindProperty("UriArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriToStringConverterPropertyColumnBase, manyTypes.FindProperty("UriToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1099,6 +1114,9 @@ private IRelationalModel CreateRelationalModel() var boolArrayColumn = new Column("BoolArray", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("BoolArray", boolArrayColumn); boolArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolArrayColumn); + var boolReadOnlyCollectionColumn = new Column("BoolReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("BoolReadOnlyCollection", boolReadOnlyCollectionColumn); + boolReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolReadOnlyCollectionColumn); var boolToStringConverterPropertyColumn = new Column("BoolToStringConverterProperty", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("BoolToStringConverterProperty", boolToStringConverterPropertyColumn); boolToStringConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolToStringConverterPropertyColumn); @@ -1360,6 +1378,9 @@ private IRelationalModel CreateRelationalModel() var iPAddressArrayColumn = new Column("IPAddressArray", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("IPAddressArray", iPAddressArrayColumn); iPAddressArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressArrayColumn); + var iPAddressReadOnlyCollectionColumn = new Column("IPAddressReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("IPAddressReadOnlyCollection", iPAddressReadOnlyCollectionColumn); + iPAddressReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressReadOnlyCollectionColumn); var iPAddressToBytesConverterPropertyColumn = new Column("IPAddressToBytesConverterProperty", "BLOB", manyTypesTable); manyTypesTable.Columns.Add("IPAddressToBytesConverterProperty", iPAddressToBytesConverterPropertyColumn); iPAddressToBytesConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressToBytesConverterPropertyColumn); @@ -1378,6 +1399,9 @@ private IRelationalModel CreateRelationalModel() var int32ArrayColumn = new Column("Int32Array", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("Int32Array", int32ArrayColumn); int32ArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(int32ArrayColumn); + var int32ReadOnlyCollectionColumn = new Column("Int32ReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("Int32ReadOnlyCollection", int32ReadOnlyCollectionColumn); + int32ReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(int32ReadOnlyCollectionColumn); var int64Column = new Column("Int64", "INTEGER", manyTypesTable); manyTypesTable.Columns.Add("Int64", int64Column); int64Column.Accessors = ColumnAccessorsFactory.CreateGeneric(int64Column); @@ -1819,6 +1843,9 @@ private IRelationalModel CreateRelationalModel() var stringArrayColumn = new Column("StringArray", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("StringArray", stringArrayColumn); stringArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringArrayColumn); + var stringReadOnlyCollectionColumn = new Column("StringReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("StringReadOnlyCollection", stringReadOnlyCollectionColumn); + stringReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringReadOnlyCollectionColumn); var stringToBoolConverterPropertyColumn = new Column("StringToBoolConverterProperty", "INTEGER", manyTypesTable); manyTypesTable.Columns.Add("StringToBoolConverterProperty", stringToBoolConverterPropertyColumn); stringToBoolConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringToBoolConverterPropertyColumn); @@ -1912,6 +1939,9 @@ private IRelationalModel CreateRelationalModel() var uInt8ArrayColumn = new Column("UInt8Array", "BLOB", manyTypesTable); manyTypesTable.Columns.Add("UInt8Array", uInt8ArrayColumn); uInt8ArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uInt8ArrayColumn); + var uInt8ReadOnlyCollectionColumn = new Column("UInt8ReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("UInt8ReadOnlyCollection", uInt8ReadOnlyCollectionColumn); + uInt8ReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uInt8ReadOnlyCollectionColumn); var uriColumn = new Column("Uri", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("Uri", uriColumn); uriColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uriColumn); @@ -1928,6 +1958,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(idColumn1, manyTypes.FindProperty("Id")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolColumn, manyTypes.FindProperty("Bool")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolArrayColumn, manyTypes.FindProperty("BoolArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(boolReadOnlyCollectionColumn, manyTypes.FindProperty("BoolReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToStringConverterPropertyColumn, manyTypes.FindProperty("BoolToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToTwoValuesConverterPropertyColumn, manyTypes.FindProperty("BoolToTwoValuesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToZeroOneConverterPropertyColumn, manyTypes.FindProperty("BoolToZeroOneConverterProperty")!, manyTypesTableMapping); @@ -2015,12 +2046,14 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(guidToStringConverterPropertyColumn, manyTypes.FindProperty("GuidToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressColumn, manyTypes.FindProperty("IPAddress")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressArrayColumn, manyTypes.FindProperty("IPAddressArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(iPAddressReadOnlyCollectionColumn, manyTypes.FindProperty("IPAddressReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressToBytesConverterPropertyColumn, manyTypes.FindProperty("IPAddressToBytesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressToStringConverterPropertyColumn, manyTypes.FindProperty("IPAddressToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int16Column, manyTypes.FindProperty("Int16")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int16ArrayColumn, manyTypes.FindProperty("Int16Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int32Column, manyTypes.FindProperty("Int32")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int32ArrayColumn, manyTypes.FindProperty("Int32Array")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(int32ReadOnlyCollectionColumn, manyTypes.FindProperty("Int32ReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int64Column, manyTypes.FindProperty("Int64")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int64ArrayColumn, manyTypes.FindProperty("Int64Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int8Column, manyTypes.FindProperty("Int8")!, manyTypesTableMapping); @@ -2128,6 +2161,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(physicalAddressToStringConverterPropertyColumn, manyTypes.FindProperty("PhysicalAddressToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringColumn, manyTypes.FindProperty("String")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringArrayColumn, manyTypes.FindProperty("StringArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(stringReadOnlyCollectionColumn, manyTypes.FindProperty("StringReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToBoolConverterPropertyColumn, manyTypes.FindProperty("StringToBoolConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToBytesConverterPropertyColumn, manyTypes.FindProperty("StringToBytesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToCharConverterPropertyColumn, manyTypes.FindProperty("StringToCharConverterProperty")!, manyTypesTableMapping); @@ -2158,6 +2192,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(uInt64ArrayColumn, manyTypes.FindProperty("UInt64Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uInt8Column, manyTypes.FindProperty("UInt8")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uInt8ArrayColumn, manyTypes.FindProperty("UInt8Array")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(uInt8ReadOnlyCollectionColumn, manyTypes.FindProperty("UInt8ReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriColumn, manyTypes.FindProperty("Uri")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriArrayColumn, manyTypes.FindProperty("UriArray")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriToStringConverterPropertyColumn, manyTypes.FindProperty("UriToStringConverterProperty")!, manyTypesTableMapping); diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/DependentDerivedEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/DependentDerivedEntityType.cs index 20abdabdfbd..47a40af869a 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/DependentDerivedEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/DependentDerivedEntityType.cs @@ -96,7 +96,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); + var entity8 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), ((ValueComparer)(((IProperty)enumDiscriminator).GetValueComparer())).Snapshot(source.GetCurrentValue(enumDiscriminator)), (source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), (source.GetCurrentValue(data) == null ? null : ((ValueComparer)(((IProperty)data).GetValueComparer())).Snapshot(source.GetCurrentValue(data))), ((ValueComparer)(((IProperty)money).GetValueComparer())).Snapshot(source.GetCurrentValue(money))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -110,8 +110,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); - return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), DependentBaseUnsafeAccessors.Principal(entity7)))); + var entity8 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); + return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), DependentBaseUnsafeAccessors.Principal(entity8)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 6, diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs index af1a40407f3..2fec0bb509e 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesEntityType.cs @@ -35,7 +35,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas "Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase+ManyTypes", typeof(CompiledModelTestBase.ManyTypes), baseEntityType, - propertyCount: 236, + propertyCount: 241, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -195,6 +195,65 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas mappingInfo: new RelationalTypeMappingInfo( storeTypeName: "INTEGER"))); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + boolReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null); + boolReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(boolReadOnlyCollection, 3), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(boolReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[3]); + boolReadOnlyCollection.SetPropertyIndexes( + index: 3, + originalValueIndex: 3, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + boolReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + keyComparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance)), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance), + elementMapping: BoolTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + keyComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + providerValueComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "INTEGER"))); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -212,12 +271,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToStringConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 3), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 4), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[3]); + object (ValueBuffer valueBuffer) => valueBuffer[4]); boolToStringConverterProperty.SetPropertyIndexes( - index: 3, - originalValueIndex: 3, + index: 4, + originalValueIndex: 4, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -263,12 +322,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToTwoValuesConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 4), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 5), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToTwoValuesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[4]); + object (ValueBuffer valueBuffer) => valueBuffer[5]); boolToTwoValuesConverterProperty.SetPropertyIndexes( - index: 4, - originalValueIndex: 4, + index: 5, + originalValueIndex: 5, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -315,12 +374,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToZeroOneConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 5), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 6), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToZeroOneConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[5]); + object (ValueBuffer valueBuffer) => valueBuffer[6]); boolToZeroOneConverterProperty.SetPropertyIndexes( - index: 5, - originalValueIndex: 5, + index: 6, + originalValueIndex: 6, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -366,12 +425,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 6), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 7), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytes), - object (ValueBuffer valueBuffer) => valueBuffer[6]); + object (ValueBuffer valueBuffer) => valueBuffer[7]); bytes.SetPropertyIndexes( - index: 6, - originalValueIndex: 6, + index: 7, + originalValueIndex: 7, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -406,12 +465,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesArray.SetAccessors( byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesArray, 7), + byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesArray, 8), byte[][] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesArray), - object (ValueBuffer valueBuffer) => valueBuffer[7]); + object (ValueBuffer valueBuffer) => valueBuffer[8]); bytesArray.SetPropertyIndexes( - index: 7, - originalValueIndex: 7, + index: 8, + originalValueIndex: 8, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -465,12 +524,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesToStringConverterProperty.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 8), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 9), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[8]); + object (ValueBuffer valueBuffer) => valueBuffer[9]); bytesToStringConverterProperty.SetPropertyIndexes( - index: 8, - originalValueIndex: 8, + index: 9, + originalValueIndex: 9, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -514,12 +573,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas castingConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 9), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 10), int (InternalEntityEntry entry) => entry.GetCurrentValue(castingConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[9]); + object (ValueBuffer valueBuffer) => valueBuffer[10]); castingConverterProperty.SetPropertyIndexes( - index: 9, - originalValueIndex: 9, + index: 10, + originalValueIndex: 10, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -564,12 +623,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @char.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 10), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 11), char (InternalEntityEntry entry) => entry.GetCurrentValue(@char), - object (ValueBuffer valueBuffer) => valueBuffer[10]); + object (ValueBuffer valueBuffer) => valueBuffer[11]); @char.SetPropertyIndexes( - index: 10, - originalValueIndex: 10, + index: 11, + originalValueIndex: 11, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -606,12 +665,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charArray.SetAccessors( char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 11), + char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 12), char[] (InternalEntityEntry entry) => entry.GetCurrentValue(charArray), - object (ValueBuffer valueBuffer) => valueBuffer[11]); + object (ValueBuffer valueBuffer) => valueBuffer[12]); charArray.SetPropertyIndexes( - index: 11, - originalValueIndex: 11, + index: 12, + originalValueIndex: 12, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -666,12 +725,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charToStringConverterProperty.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 12), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 13), char (InternalEntityEntry entry) => entry.GetCurrentValue(charToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[12]); + object (ValueBuffer valueBuffer) => valueBuffer[13]); charToStringConverterProperty.SetPropertyIndexes( - index: 12, - originalValueIndex: 12, + index: 13, + originalValueIndex: 13, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -718,12 +777,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnly.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 13), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 14), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[13]); + object (ValueBuffer valueBuffer) => valueBuffer[14]); dateOnly.SetPropertyIndexes( - index: 13, - originalValueIndex: 13, + index: 14, + originalValueIndex: 14, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -746,12 +805,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyArray.SetAccessors( DateOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyArray, 14), + DateOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyArray, 15), DateOnly[] (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[14]); + object (ValueBuffer valueBuffer) => valueBuffer[15]); dateOnlyArray.SetPropertyIndexes( - index: 14, - originalValueIndex: 14, + index: 15, + originalValueIndex: 15, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -792,12 +851,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyToStringConverterProperty.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 15), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 16), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[15]); + object (ValueBuffer valueBuffer) => valueBuffer[16]); dateOnlyToStringConverterProperty.SetPropertyIndexes( - index: 15, - originalValueIndex: 15, + index: 16, + originalValueIndex: 16, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -844,12 +903,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTime.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 16), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 17), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTime), - object (ValueBuffer valueBuffer) => valueBuffer[16]); + object (ValueBuffer valueBuffer) => valueBuffer[17]); dateTime.SetPropertyIndexes( - index: 16, - originalValueIndex: 16, + index: 17, + originalValueIndex: 17, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -872,12 +931,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeArray.SetAccessors( DateTime[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeArray, 17), + DateTime[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeArray, 18), DateTime[] (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeArray), - object (ValueBuffer valueBuffer) => valueBuffer[17]); + object (ValueBuffer valueBuffer) => valueBuffer[18]); dateTimeArray.SetPropertyIndexes( - index: 17, - originalValueIndex: 17, + index: 18, + originalValueIndex: 18, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -918,12 +977,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBinaryConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 18), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 19), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[18]); + object (ValueBuffer valueBuffer) => valueBuffer[19]); dateTimeOffsetToBinaryConverterProperty.SetPropertyIndexes( - index: 18, - originalValueIndex: 18, + index: 19, + originalValueIndex: 19, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -970,12 +1029,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBytesConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 19), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 20), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[19]); + object (ValueBuffer valueBuffer) => valueBuffer[20]); dateTimeOffsetToBytesConverterProperty.SetPropertyIndexes( - index: 19, - originalValueIndex: 19, + index: 20, + originalValueIndex: 20, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1022,12 +1081,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToStringConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 20), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 21), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[20]); + object (ValueBuffer valueBuffer) => valueBuffer[21]); dateTimeOffsetToStringConverterProperty.SetPropertyIndexes( - index: 20, - originalValueIndex: 20, + index: 21, + originalValueIndex: 21, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1074,12 +1133,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToBinaryConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 21), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 22), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[21]); + object (ValueBuffer valueBuffer) => valueBuffer[22]); dateTimeToBinaryConverterProperty.SetPropertyIndexes( - index: 21, - originalValueIndex: 21, + index: 22, + originalValueIndex: 22, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1126,12 +1185,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToStringConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 22), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 23), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[22]); + object (ValueBuffer valueBuffer) => valueBuffer[23]); dateTimeToStringConverterProperty.SetPropertyIndexes( - index: 22, - originalValueIndex: 22, + index: 23, + originalValueIndex: 23, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1178,12 +1237,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToTicksConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 23), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 24), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[23]); + object (ValueBuffer valueBuffer) => valueBuffer[24]); dateTimeToTicksConverterProperty.SetPropertyIndexes( - index: 23, - originalValueIndex: 23, + index: 24, + originalValueIndex: 24, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1207,12 +1266,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @decimal.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 24), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 25), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(@decimal), - object (ValueBuffer valueBuffer) => valueBuffer[24]); + object (ValueBuffer valueBuffer) => valueBuffer[25]); @decimal.SetPropertyIndexes( - index: 24, - originalValueIndex: 24, + index: 25, + originalValueIndex: 25, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1235,12 +1294,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalArray.SetAccessors( decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 25), + decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 26), decimal[] (InternalEntityEntry entry) => entry.GetCurrentValue(decimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[25]); + object (ValueBuffer valueBuffer) => valueBuffer[26]); decimalArray.SetPropertyIndexes( - index: 25, - originalValueIndex: 25, + index: 26, + originalValueIndex: 26, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1281,12 +1340,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToBytesConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 26), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 27), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[26]); + object (ValueBuffer valueBuffer) => valueBuffer[27]); decimalNumberToBytesConverterProperty.SetPropertyIndexes( - index: 26, - originalValueIndex: 26, + index: 27, + originalValueIndex: 27, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1333,12 +1392,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToStringConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 27), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 28), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[27]); + object (ValueBuffer valueBuffer) => valueBuffer[28]); decimalNumberToStringConverterProperty.SetPropertyIndexes( - index: 27, - originalValueIndex: 27, + index: 28, + originalValueIndex: 28, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1385,12 +1444,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @double.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 28), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 29), double (InternalEntityEntry entry) => entry.GetCurrentValue(@double), - object (ValueBuffer valueBuffer) => valueBuffer[28]); + object (ValueBuffer valueBuffer) => valueBuffer[29]); @double.SetPropertyIndexes( - index: 28, - originalValueIndex: 28, + index: 29, + originalValueIndex: 29, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1427,12 +1486,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleArray.SetAccessors( double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 29), + double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 30), double[] (InternalEntityEntry entry) => entry.GetCurrentValue(doubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[29]); + object (ValueBuffer valueBuffer) => valueBuffer[30]); doubleArray.SetPropertyIndexes( - index: 29, - originalValueIndex: 29, + index: 30, + originalValueIndex: 30, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1487,12 +1546,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToBytesConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 30), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 31), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[30]); + object (ValueBuffer valueBuffer) => valueBuffer[31]); doubleNumberToBytesConverterProperty.SetPropertyIndexes( - index: 30, - originalValueIndex: 30, + index: 31, + originalValueIndex: 31, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1539,12 +1598,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToStringConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 31), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 32), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[31]); + object (ValueBuffer valueBuffer) => valueBuffer[32]); doubleNumberToStringConverterProperty.SetPropertyIndexes( - index: 31, - originalValueIndex: 31, + index: 32, + originalValueIndex: 32, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1590,12 +1649,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 32), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 33), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16), - object (ValueBuffer valueBuffer) => valueBuffer[32]); + object (ValueBuffer valueBuffer) => valueBuffer[33]); enum16.SetPropertyIndexes( - index: 32, - originalValueIndex: 32, + index: 33, + originalValueIndex: 33, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1641,12 +1700,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16Array.SetAccessors( CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16Array, 33), + CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16Array, 34), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum16Array), - object (ValueBuffer valueBuffer) => valueBuffer[33]); + object (ValueBuffer valueBuffer) => valueBuffer[34]); enum16Array.SetPropertyIndexes( - index: 33, - originalValueIndex: 33, + index: 34, + originalValueIndex: 34, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1717,12 +1776,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsString.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 34), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 35), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[34]); + object (ValueBuffer valueBuffer) => valueBuffer[35]); enum16AsString.SetPropertyIndexes( - index: 34, - originalValueIndex: 34, + index: 35, + originalValueIndex: 35, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1766,12 +1825,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsStringArray.SetAccessors( CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsStringArray, 35), + CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsStringArray, 36), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[35]); + object (ValueBuffer valueBuffer) => valueBuffer[36]); enum16AsStringArray.SetPropertyIndexes( - index: 35, - originalValueIndex: 35, + index: 36, + originalValueIndex: 36, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1839,12 +1898,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16AsStringCollection, 36), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16AsStringCollection, 37), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[36]); + object (ValueBuffer valueBuffer) => valueBuffer[37]); enum16AsStringCollection.SetPropertyIndexes( - index: 36, - originalValueIndex: 36, + index: 37, + originalValueIndex: 37, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1912,12 +1971,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16Collection, 37), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16Collection, 38), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[37]); + object (ValueBuffer valueBuffer) => valueBuffer[38]); enum16Collection.SetPropertyIndexes( - index: 37, - originalValueIndex: 37, + index: 38, + originalValueIndex: 38, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1987,12 +2046,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 38), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 39), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32), - object (ValueBuffer valueBuffer) => valueBuffer[38]); + object (ValueBuffer valueBuffer) => valueBuffer[39]); enum32.SetPropertyIndexes( - index: 38, - originalValueIndex: 38, + index: 39, + originalValueIndex: 39, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2038,12 +2097,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32Array.SetAccessors( CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32Array, 39), + CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32Array, 40), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum32Array), - object (ValueBuffer valueBuffer) => valueBuffer[39]); + object (ValueBuffer valueBuffer) => valueBuffer[40]); enum32Array.SetPropertyIndexes( - index: 39, - originalValueIndex: 39, + index: 40, + originalValueIndex: 40, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2114,12 +2173,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsString.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 40), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 41), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[40]); + object (ValueBuffer valueBuffer) => valueBuffer[41]); enum32AsString.SetPropertyIndexes( - index: 40, - originalValueIndex: 40, + index: 41, + originalValueIndex: 41, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2163,12 +2222,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsStringArray.SetAccessors( CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsStringArray, 41), + CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsStringArray, 42), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[41]); + object (ValueBuffer valueBuffer) => valueBuffer[42]); enum32AsStringArray.SetPropertyIndexes( - index: 41, - originalValueIndex: 41, + index: 42, + originalValueIndex: 42, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2236,12 +2295,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32AsStringCollection, 42), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32AsStringCollection, 43), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[42]); + object (ValueBuffer valueBuffer) => valueBuffer[43]); enum32AsStringCollection.SetPropertyIndexes( - index: 42, - originalValueIndex: 42, + index: 43, + originalValueIndex: 43, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2309,12 +2368,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32Collection, 43), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32Collection, 44), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[43]); + object (ValueBuffer valueBuffer) => valueBuffer[44]); enum32Collection.SetPropertyIndexes( - index: 43, - originalValueIndex: 43, + index: 44, + originalValueIndex: 44, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2384,12 +2443,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 44), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 45), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64), - object (ValueBuffer valueBuffer) => valueBuffer[44]); + object (ValueBuffer valueBuffer) => valueBuffer[45]); enum64.SetPropertyIndexes( - index: 44, - originalValueIndex: 44, + index: 45, + originalValueIndex: 45, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2435,12 +2494,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64Array.SetAccessors( CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64Array, 45), + CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64Array, 46), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum64Array), - object (ValueBuffer valueBuffer) => valueBuffer[45]); + object (ValueBuffer valueBuffer) => valueBuffer[46]); enum64Array.SetPropertyIndexes( - index: 45, - originalValueIndex: 45, + index: 46, + originalValueIndex: 46, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2511,12 +2570,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsString.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 46), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 47), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[46]); + object (ValueBuffer valueBuffer) => valueBuffer[47]); enum64AsString.SetPropertyIndexes( - index: 46, - originalValueIndex: 46, + index: 47, + originalValueIndex: 47, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2560,12 +2619,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsStringArray.SetAccessors( CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsStringArray, 47), + CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsStringArray, 48), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[47]); + object (ValueBuffer valueBuffer) => valueBuffer[48]); enum64AsStringArray.SetPropertyIndexes( - index: 47, - originalValueIndex: 47, + index: 48, + originalValueIndex: 48, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2633,12 +2692,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64AsStringCollection, 48), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64AsStringCollection, 49), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[48]); + object (ValueBuffer valueBuffer) => valueBuffer[49]); enum64AsStringCollection.SetPropertyIndexes( - index: 48, - originalValueIndex: 48, + index: 49, + originalValueIndex: 49, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2706,12 +2765,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64Collection, 49), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64Collection, 50), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[49]); + object (ValueBuffer valueBuffer) => valueBuffer[50]); enum64Collection.SetPropertyIndexes( - index: 49, - originalValueIndex: 49, + index: 50, + originalValueIndex: 50, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2781,12 +2840,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 50), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 51), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8), - object (ValueBuffer valueBuffer) => valueBuffer[50]); + object (ValueBuffer valueBuffer) => valueBuffer[51]); enum8.SetPropertyIndexes( - index: 50, - originalValueIndex: 50, + index: 51, + originalValueIndex: 51, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2832,12 +2891,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8Array.SetAccessors( CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8Array, 51), + CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8Array, 52), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum8Array), - object (ValueBuffer valueBuffer) => valueBuffer[51]); + object (ValueBuffer valueBuffer) => valueBuffer[52]); enum8Array.SetPropertyIndexes( - index: 51, - originalValueIndex: 51, + index: 52, + originalValueIndex: 52, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2908,12 +2967,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsString.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 52), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 53), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[52]); + object (ValueBuffer valueBuffer) => valueBuffer[53]); enum8AsString.SetPropertyIndexes( - index: 52, - originalValueIndex: 52, + index: 53, + originalValueIndex: 53, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2957,12 +3016,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsStringArray.SetAccessors( CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsStringArray, 53), + CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsStringArray, 54), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[53]); + object (ValueBuffer valueBuffer) => valueBuffer[54]); enum8AsStringArray.SetPropertyIndexes( - index: 53, - originalValueIndex: 53, + index: 54, + originalValueIndex: 54, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3030,12 +3089,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8AsStringCollection, 54), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8AsStringCollection, 55), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[54]); + object (ValueBuffer valueBuffer) => valueBuffer[55]); enum8AsStringCollection.SetPropertyIndexes( - index: 54, - originalValueIndex: 54, + index: 55, + originalValueIndex: 55, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3103,12 +3162,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8Collection, 55), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8Collection, 56), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[55]); + object (ValueBuffer valueBuffer) => valueBuffer[56]); enum8Collection.SetPropertyIndexes( - index: 55, - originalValueIndex: 55, + index: 56, + originalValueIndex: 56, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3179,12 +3238,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToNumberConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 56), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 57), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[56]); + object (ValueBuffer valueBuffer) => valueBuffer[57]); enumToNumberConverterProperty.SetPropertyIndexes( - index: 56, - originalValueIndex: 56, + index: 57, + originalValueIndex: 57, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3231,12 +3290,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToStringConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 57), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 58), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[57]); + object (ValueBuffer valueBuffer) => valueBuffer[58]); enumToStringConverterProperty.SetPropertyIndexes( - index: 57, - originalValueIndex: 57, + index: 58, + originalValueIndex: 58, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3280,12 +3339,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 58), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 59), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16), - object (ValueBuffer valueBuffer) => valueBuffer[58]); + object (ValueBuffer valueBuffer) => valueBuffer[59]); enumU16.SetPropertyIndexes( - index: 58, - originalValueIndex: 58, + index: 59, + originalValueIndex: 59, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3331,12 +3390,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16Array.SetAccessors( CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16Array, 59), + CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16Array, 60), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16Array), - object (ValueBuffer valueBuffer) => valueBuffer[59]); + object (ValueBuffer valueBuffer) => valueBuffer[60]); enumU16Array.SetPropertyIndexes( - index: 59, - originalValueIndex: 59, + index: 60, + originalValueIndex: 60, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3407,12 +3466,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 60), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 61), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[60]); + object (ValueBuffer valueBuffer) => valueBuffer[61]); enumU16AsString.SetPropertyIndexes( - index: 60, - originalValueIndex: 60, + index: 61, + originalValueIndex: 61, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3456,12 +3515,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsStringArray.SetAccessors( CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsStringArray, 61), + CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsStringArray, 62), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[61]); + object (ValueBuffer valueBuffer) => valueBuffer[62]); enumU16AsStringArray.SetPropertyIndexes( - index: 61, - originalValueIndex: 61, + index: 62, + originalValueIndex: 62, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3529,12 +3588,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16AsStringCollection, 62), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16AsStringCollection, 63), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[62]); + object (ValueBuffer valueBuffer) => valueBuffer[63]); enumU16AsStringCollection.SetPropertyIndexes( - index: 62, - originalValueIndex: 62, + index: 63, + originalValueIndex: 63, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3602,12 +3661,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16Collection, 63), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16Collection, 64), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[63]); + object (ValueBuffer valueBuffer) => valueBuffer[64]); enumU16Collection.SetPropertyIndexes( - index: 63, - originalValueIndex: 63, + index: 64, + originalValueIndex: 64, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3677,12 +3736,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 64), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 65), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32), - object (ValueBuffer valueBuffer) => valueBuffer[64]); + object (ValueBuffer valueBuffer) => valueBuffer[65]); enumU32.SetPropertyIndexes( - index: 64, - originalValueIndex: 64, + index: 65, + originalValueIndex: 65, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3728,12 +3787,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32Array.SetAccessors( CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32Array, 65), + CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32Array, 66), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32Array), - object (ValueBuffer valueBuffer) => valueBuffer[65]); + object (ValueBuffer valueBuffer) => valueBuffer[66]); enumU32Array.SetPropertyIndexes( - index: 65, - originalValueIndex: 65, + index: 66, + originalValueIndex: 66, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3804,12 +3863,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 66), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 67), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[66]); + object (ValueBuffer valueBuffer) => valueBuffer[67]); enumU32AsString.SetPropertyIndexes( - index: 66, - originalValueIndex: 66, + index: 67, + originalValueIndex: 67, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3853,12 +3912,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsStringArray.SetAccessors( CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsStringArray, 67), + CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsStringArray, 68), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[67]); + object (ValueBuffer valueBuffer) => valueBuffer[68]); enumU32AsStringArray.SetPropertyIndexes( - index: 67, - originalValueIndex: 67, + index: 68, + originalValueIndex: 68, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3926,12 +3985,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32AsStringCollection, 68), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32AsStringCollection, 69), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[68]); + object (ValueBuffer valueBuffer) => valueBuffer[69]); enumU32AsStringCollection.SetPropertyIndexes( - index: 68, - originalValueIndex: 68, + index: 69, + originalValueIndex: 69, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3999,12 +4058,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32Collection, 69), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32Collection, 70), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[69]); + object (ValueBuffer valueBuffer) => valueBuffer[70]); enumU32Collection.SetPropertyIndexes( - index: 69, - originalValueIndex: 69, + index: 70, + originalValueIndex: 70, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4074,12 +4133,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 70), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 71), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64), - object (ValueBuffer valueBuffer) => valueBuffer[70]); + object (ValueBuffer valueBuffer) => valueBuffer[71]); enumU64.SetPropertyIndexes( - index: 70, - originalValueIndex: 70, + index: 71, + originalValueIndex: 71, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4123,12 +4182,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64Array.SetAccessors( CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64Array, 71), + CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64Array, 72), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64Array), - object (ValueBuffer valueBuffer) => valueBuffer[71]); + object (ValueBuffer valueBuffer) => valueBuffer[72]); enumU64Array.SetPropertyIndexes( - index: 71, - originalValueIndex: 71, + index: 72, + originalValueIndex: 72, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4197,12 +4256,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 72), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 73), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[72]); + object (ValueBuffer valueBuffer) => valueBuffer[73]); enumU64AsString.SetPropertyIndexes( - index: 72, - originalValueIndex: 72, + index: 73, + originalValueIndex: 73, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4246,12 +4305,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsStringArray.SetAccessors( CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsStringArray, 73), + CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsStringArray, 74), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[73]); + object (ValueBuffer valueBuffer) => valueBuffer[74]); enumU64AsStringArray.SetPropertyIndexes( - index: 73, - originalValueIndex: 73, + index: 74, + originalValueIndex: 74, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4319,12 +4378,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64AsStringCollection, 74), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64AsStringCollection, 75), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[74]); + object (ValueBuffer valueBuffer) => valueBuffer[75]); enumU64AsStringCollection.SetPropertyIndexes( - index: 74, - originalValueIndex: 74, + index: 75, + originalValueIndex: 75, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4392,12 +4451,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64Collection, 75), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64Collection, 76), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[75]); + object (ValueBuffer valueBuffer) => valueBuffer[76]); enumU64Collection.SetPropertyIndexes( - index: 75, - originalValueIndex: 75, + index: 76, + originalValueIndex: 76, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4465,12 +4524,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 76), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 77), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8), - object (ValueBuffer valueBuffer) => valueBuffer[76]); + object (ValueBuffer valueBuffer) => valueBuffer[77]); enumU8.SetPropertyIndexes( - index: 76, - originalValueIndex: 76, + index: 77, + originalValueIndex: 77, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4516,12 +4575,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8Array.SetAccessors( CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8Array, 77), + CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8Array, 78), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8Array), - object (ValueBuffer valueBuffer) => valueBuffer[77]); + object (ValueBuffer valueBuffer) => valueBuffer[78]); enumU8Array.SetPropertyIndexes( - index: 77, - originalValueIndex: 77, + index: 78, + originalValueIndex: 78, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4592,12 +4651,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 78), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 79), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[78]); + object (ValueBuffer valueBuffer) => valueBuffer[79]); enumU8AsString.SetPropertyIndexes( - index: 78, - originalValueIndex: 78, + index: 79, + originalValueIndex: 79, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4641,12 +4700,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsStringArray.SetAccessors( CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsStringArray, 79), + CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsStringArray, 80), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[79]); + object (ValueBuffer valueBuffer) => valueBuffer[80]); enumU8AsStringArray.SetPropertyIndexes( - index: 79, - originalValueIndex: 79, + index: 80, + originalValueIndex: 80, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4714,12 +4773,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8AsStringCollection, 80), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8AsStringCollection, 81), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[80]); + object (ValueBuffer valueBuffer) => valueBuffer[81]); enumU8AsStringCollection.SetPropertyIndexes( - index: 80, - originalValueIndex: 80, + index: 81, + originalValueIndex: 81, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4787,12 +4846,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8Collection, 81), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8Collection, 82), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[81]); + object (ValueBuffer valueBuffer) => valueBuffer[82]); enumU8Collection.SetPropertyIndexes( - index: 81, - originalValueIndex: 81, + index: 82, + originalValueIndex: 82, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4863,12 +4922,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @float.SetAccessors( float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 82), + float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 83), float (InternalEntityEntry entry) => entry.GetCurrentValue(@float), - object (ValueBuffer valueBuffer) => valueBuffer[82]); + object (ValueBuffer valueBuffer) => valueBuffer[83]); @float.SetPropertyIndexes( - index: 82, - originalValueIndex: 82, + index: 83, + originalValueIndex: 83, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4905,12 +4964,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas floatArray.SetAccessors( float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 83), + float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 84), float[] (InternalEntityEntry entry) => entry.GetCurrentValue(floatArray), - object (ValueBuffer valueBuffer) => valueBuffer[83]); + object (ValueBuffer valueBuffer) => valueBuffer[84]); floatArray.SetPropertyIndexes( - index: 83, - originalValueIndex: 83, + index: 84, + originalValueIndex: 84, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4965,12 +5024,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guid.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 84), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 85), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guid), - object (ValueBuffer valueBuffer) => valueBuffer[84]); + object (ValueBuffer valueBuffer) => valueBuffer[85]); guid.SetPropertyIndexes( - index: 84, - originalValueIndex: 84, + index: 85, + originalValueIndex: 85, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4993,12 +5052,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidArray.SetAccessors( Guid[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid[] (InternalEntityEntry entry) => entry.ReadOriginalValue(guidArray, 85), + Guid[] (InternalEntityEntry entry) => entry.ReadOriginalValue(guidArray, 86), Guid[] (InternalEntityEntry entry) => entry.GetCurrentValue(guidArray), - object (ValueBuffer valueBuffer) => valueBuffer[85]); + object (ValueBuffer valueBuffer) => valueBuffer[86]); guidArray.SetPropertyIndexes( - index: 85, - originalValueIndex: 85, + index: 86, + originalValueIndex: 86, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5039,12 +5098,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToBytesConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 86), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 87), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[86]); + object (ValueBuffer valueBuffer) => valueBuffer[87]); guidToBytesConverterProperty.SetPropertyIndexes( - index: 86, - originalValueIndex: 86, + index: 87, + originalValueIndex: 87, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5091,12 +5150,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToStringConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 87), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 88), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[87]); + object (ValueBuffer valueBuffer) => valueBuffer[88]); guidToStringConverterProperty.SetPropertyIndexes( - index: 87, - originalValueIndex: 87, + index: 88, + originalValueIndex: 88, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5142,12 +5201,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 88), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 89), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[88]); + object (ValueBuffer valueBuffer) => valueBuffer[89]); iPAddress.SetPropertyIndexes( - index: 88, - originalValueIndex: 88, + index: 89, + originalValueIndex: 89, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5192,12 +5251,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressArray.SetAccessors( IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressArray, 89), + IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressArray, 90), IPAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[89]); + object (ValueBuffer valueBuffer) => valueBuffer[90]); iPAddressArray.SetPropertyIndexes( - index: 89, - originalValueIndex: 89, + index: 90, + originalValueIndex: 90, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5250,6 +5309,81 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas string (IPAddress v) => ((object)v).ToString(), IPAddress (string v) => IPAddress.Parse(v))))); + var iPAddressReadOnlyCollection = runtimeEntityType.AddProperty( + "IPAddressReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_ipAddressReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + iPAddressReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance) == null); + iPAddressReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) = ((List)(value))); + iPAddressReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) = ((List)(value))); + iPAddressReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(iPAddressReadOnlyCollection, 91), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(iPAddressReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[91]); + iPAddressReadOnlyCollection.SetPropertyIndexes( + index: 91, + originalValueIndex: 91, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + iPAddressReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, IPAddress>(new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v)), + keyComparer: new ListOfReferenceTypesComparer, IPAddress>(new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter, IPAddress>( + new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v))))), + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, IPAddress>( + new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v)))), + elementMapping: SqliteStringTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v), + keyComparer: new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + size: 45), + converter: new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v)), + jsonValueReaderWriter: new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v))))); + var iPAddressToBytesConverterProperty = runtimeEntityType.AddProperty( "IPAddressToBytesConverterProperty", typeof(IPAddress), @@ -5268,12 +5402,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToBytesConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 90), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 92), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[90]); + object (ValueBuffer valueBuffer) => valueBuffer[92]); iPAddressToBytesConverterProperty.SetPropertyIndexes( - index: 90, - originalValueIndex: 90, + index: 92, + originalValueIndex: 92, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5319,12 +5453,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToStringConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 91), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 93), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[91]); + object (ValueBuffer valueBuffer) => valueBuffer[93]); iPAddressToStringConverterProperty.SetPropertyIndexes( - index: 91, - originalValueIndex: 91, + index: 93, + originalValueIndex: 93, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5370,12 +5504,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16.SetAccessors( short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 92), + short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 94), short (InternalEntityEntry entry) => entry.GetCurrentValue(int16), - object (ValueBuffer valueBuffer) => valueBuffer[92]); + object (ValueBuffer valueBuffer) => valueBuffer[94]); int16.SetPropertyIndexes( - index: 92, - originalValueIndex: 92, + index: 94, + originalValueIndex: 94, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5412,12 +5546,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16Array.SetAccessors( short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 93), + short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 95), short[] (InternalEntityEntry entry) => entry.GetCurrentValue(int16Array), - object (ValueBuffer valueBuffer) => valueBuffer[93]); + object (ValueBuffer valueBuffer) => valueBuffer[95]); int16Array.SetPropertyIndexes( - index: 93, - originalValueIndex: 93, + index: 95, + originalValueIndex: 95, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5472,12 +5606,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 94), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 96), int (InternalEntityEntry entry) => entry.GetCurrentValue(int32), - object (ValueBuffer valueBuffer) => valueBuffer[94]); + object (ValueBuffer valueBuffer) => valueBuffer[96]); int32.SetPropertyIndexes( - index: 94, - originalValueIndex: 94, + index: 96, + originalValueIndex: 96, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5514,12 +5648,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32Array.SetAccessors( int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 95), + int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 97), int[] (InternalEntityEntry entry) => entry.GetCurrentValue(int32Array), - object (ValueBuffer valueBuffer) => valueBuffer[95]); + object (ValueBuffer valueBuffer) => valueBuffer[97]); int32Array.SetPropertyIndexes( - index: 95, - originalValueIndex: 95, + index: 97, + originalValueIndex: 97, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5556,6 +5690,65 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas mappingInfo: new RelationalTypeMappingInfo( storeTypeName: "INTEGER"))); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + int32ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null); + int32ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(int32ReadOnlyCollection, 98), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(int32ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[98]); + int32ReadOnlyCollection.SetPropertyIndexes( + index: 98, + originalValueIndex: 98, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + int32ReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + keyComparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance)), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance), + elementMapping: IntTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + keyComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + providerValueComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "INTEGER"))); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -5574,12 +5767,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64.SetAccessors( long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 96), + long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 99), long (InternalEntityEntry entry) => entry.GetCurrentValue(int64), - object (ValueBuffer valueBuffer) => valueBuffer[96]); + object (ValueBuffer valueBuffer) => valueBuffer[99]); int64.SetPropertyIndexes( - index: 96, - originalValueIndex: 96, + index: 99, + originalValueIndex: 99, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5616,12 +5809,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64Array.SetAccessors( long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 97), + long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 100), long[] (InternalEntityEntry entry) => entry.GetCurrentValue(int64Array), - object (ValueBuffer valueBuffer) => valueBuffer[97]); + object (ValueBuffer valueBuffer) => valueBuffer[100]); int64Array.SetPropertyIndexes( - index: 97, - originalValueIndex: 97, + index: 100, + originalValueIndex: 100, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5676,12 +5869,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8.SetAccessors( sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 98), + sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 101), sbyte (InternalEntityEntry entry) => entry.GetCurrentValue(int8), - object (ValueBuffer valueBuffer) => valueBuffer[98]); + object (ValueBuffer valueBuffer) => valueBuffer[101]); int8.SetPropertyIndexes( - index: 98, - originalValueIndex: 98, + index: 101, + originalValueIndex: 101, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5718,12 +5911,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8Array.SetAccessors( sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 99), + sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 102), sbyte[] (InternalEntityEntry entry) => entry.GetCurrentValue(int8Array), - object (ValueBuffer valueBuffer) => valueBuffer[99]); + object (ValueBuffer valueBuffer) => valueBuffer[102]); int8Array.SetPropertyIndexes( - index: 99, - originalValueIndex: 99, + index: 102, + originalValueIndex: 102, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5778,12 +5971,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToBytesConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 100), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 103), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[100]); + object (ValueBuffer valueBuffer) => valueBuffer[103]); intNumberToBytesConverterProperty.SetPropertyIndexes( - index: 100, - originalValueIndex: 100, + index: 103, + originalValueIndex: 103, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5830,12 +6023,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToStringConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 101), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 104), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[101]); + object (ValueBuffer valueBuffer) => valueBuffer[104]); intNumberToStringConverterProperty.SetPropertyIndexes( - index: 101, - originalValueIndex: 101, + index: 104, + originalValueIndex: 104, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5883,12 +6076,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullIntToNullStringConverterProperty.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 102), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 105), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullIntToNullStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[102]); + object (ValueBuffer valueBuffer) => valueBuffer[105]); nullIntToNullStringConverterProperty.SetPropertyIndexes( - index: 102, - originalValueIndex: 102, + index: 105, + originalValueIndex: 105, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5934,12 +6127,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBool.SetAccessors( bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 103), + bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 106), bool? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBool), - object (ValueBuffer valueBuffer) => valueBuffer[103]); + object (ValueBuffer valueBuffer) => valueBuffer[106]); nullableBool.SetPropertyIndexes( - index: 103, - originalValueIndex: 103, + index: 106, + originalValueIndex: 106, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5978,12 +6171,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBoolArray.SetAccessors( bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 104), + bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 107), bool? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBoolArray), - object (ValueBuffer valueBuffer) => valueBuffer[104]); + object (ValueBuffer valueBuffer) => valueBuffer[107]); nullableBoolArray.SetPropertyIndexes( - index: 104, - originalValueIndex: 104, + index: 107, + originalValueIndex: 107, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6038,12 +6231,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 105), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 108), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytes), - object (ValueBuffer valueBuffer) => valueBuffer[105]); + object (ValueBuffer valueBuffer) => valueBuffer[108]); nullableBytes.SetPropertyIndexes( - index: 105, - originalValueIndex: 105, + index: 108, + originalValueIndex: 108, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6078,12 +6271,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytesArray.SetAccessors( byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytesArray, 106), + byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytesArray, 109), byte[][] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytesArray), - object (ValueBuffer valueBuffer) => valueBuffer[106]); + object (ValueBuffer valueBuffer) => valueBuffer[109]); nullableBytesArray.SetPropertyIndexes( - index: 106, - originalValueIndex: 106, + index: 109, + originalValueIndex: 109, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6136,12 +6329,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableChar.SetAccessors( char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 107), + char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 110), char? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableChar), - object (ValueBuffer valueBuffer) => valueBuffer[107]); + object (ValueBuffer valueBuffer) => valueBuffer[110]); nullableChar.SetPropertyIndexes( - index: 107, - originalValueIndex: 107, + index: 110, + originalValueIndex: 110, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6180,12 +6373,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableCharArray.SetAccessors( char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 108), + char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 111), char? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableCharArray), - object (ValueBuffer valueBuffer) => valueBuffer[108]); + object (ValueBuffer valueBuffer) => valueBuffer[111]); nullableCharArray.SetPropertyIndexes( - index: 108, - originalValueIndex: 108, + index: 111, + originalValueIndex: 111, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6240,12 +6433,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnly.SetAccessors( DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 109), + DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 112), DateOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[109]); + object (ValueBuffer valueBuffer) => valueBuffer[112]); nullableDateOnly.SetPropertyIndexes( - index: 109, - originalValueIndex: 109, + index: 112, + originalValueIndex: 112, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6270,12 +6463,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnlyArray.SetAccessors( DateOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnlyArray, 110), + DateOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnlyArray, 113), DateOnly? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[110]); + object (ValueBuffer valueBuffer) => valueBuffer[113]); nullableDateOnlyArray.SetPropertyIndexes( - index: 110, - originalValueIndex: 110, + index: 113, + originalValueIndex: 113, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6316,12 +6509,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTime.SetAccessors( DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 111), + DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 114), DateTime? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTime), - object (ValueBuffer valueBuffer) => valueBuffer[111]); + object (ValueBuffer valueBuffer) => valueBuffer[114]); nullableDateTime.SetPropertyIndexes( - index: 111, - originalValueIndex: 111, + index: 114, + originalValueIndex: 114, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6346,12 +6539,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTimeArray.SetAccessors( DateTime? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTimeArray, 112), + DateTime? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTimeArray, 115), DateTime? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTimeArray), - object (ValueBuffer valueBuffer) => valueBuffer[112]); + object (ValueBuffer valueBuffer) => valueBuffer[115]); nullableDateTimeArray.SetPropertyIndexes( - index: 112, - originalValueIndex: 112, + index: 115, + originalValueIndex: 115, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6392,12 +6585,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimal.SetAccessors( decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 113), + decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 116), decimal? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimal), - object (ValueBuffer valueBuffer) => valueBuffer[113]); + object (ValueBuffer valueBuffer) => valueBuffer[116]); nullableDecimal.SetPropertyIndexes( - index: 113, - originalValueIndex: 113, + index: 116, + originalValueIndex: 116, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6422,12 +6615,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimalArray.SetAccessors( decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 114), + decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 117), decimal? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[114]); + object (ValueBuffer valueBuffer) => valueBuffer[117]); nullableDecimalArray.SetPropertyIndexes( - index: 114, - originalValueIndex: 114, + index: 117, + originalValueIndex: 117, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6468,12 +6661,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDouble.SetAccessors( double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 115), + double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 118), double? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDouble), - object (ValueBuffer valueBuffer) => valueBuffer[115]); + object (ValueBuffer valueBuffer) => valueBuffer[118]); nullableDouble.SetPropertyIndexes( - index: 115, - originalValueIndex: 115, + index: 118, + originalValueIndex: 118, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6512,12 +6705,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDoubleArray.SetAccessors( double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 116), + double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 119), double? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDoubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[116]); + object (ValueBuffer valueBuffer) => valueBuffer[119]); nullableDoubleArray.SetPropertyIndexes( - index: 116, - originalValueIndex: 116, + index: 119, + originalValueIndex: 119, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6572,12 +6765,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 117), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 120), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16), - object (ValueBuffer valueBuffer) => valueBuffer[117]); + object (ValueBuffer valueBuffer) => valueBuffer[120]); nullableEnum16.SetPropertyIndexes( - index: 117, - originalValueIndex: 117, + index: 120, + originalValueIndex: 120, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6624,12 +6817,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16Array.SetAccessors( CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16Array, 118), + CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16Array, 121), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16Array), - object (ValueBuffer valueBuffer) => valueBuffer[118]); + object (ValueBuffer valueBuffer) => valueBuffer[121]); nullableEnum16Array.SetPropertyIndexes( - index: 118, - originalValueIndex: 118, + index: 121, + originalValueIndex: 121, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6700,12 +6893,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsString.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 119), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 122), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[119]); + object (ValueBuffer valueBuffer) => valueBuffer[122]); nullableEnum16AsString.SetPropertyIndexes( - index: 119, - originalValueIndex: 119, + index: 122, + originalValueIndex: 122, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6752,12 +6945,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsStringArray.SetAccessors( CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsStringArray, 120), + CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsStringArray, 123), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[120]); + object (ValueBuffer valueBuffer) => valueBuffer[123]); nullableEnum16AsStringArray.SetPropertyIndexes( - index: 120, - originalValueIndex: 120, + index: 123, + originalValueIndex: 123, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6827,12 +7020,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16AsStringCollection, 121), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16AsStringCollection, 124), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[121]); + object (ValueBuffer valueBuffer) => valueBuffer[124]); nullableEnum16AsStringCollection.SetPropertyIndexes( - index: 121, - originalValueIndex: 121, + index: 124, + originalValueIndex: 124, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6902,12 +7095,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16Collection, 122), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16Collection, 125), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[122]); + object (ValueBuffer valueBuffer) => valueBuffer[125]); nullableEnum16Collection.SetPropertyIndexes( - index: 122, - originalValueIndex: 122, + index: 125, + originalValueIndex: 125, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6978,12 +7171,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 123), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 126), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32), - object (ValueBuffer valueBuffer) => valueBuffer[123]); + object (ValueBuffer valueBuffer) => valueBuffer[126]); nullableEnum32.SetPropertyIndexes( - index: 123, - originalValueIndex: 123, + index: 126, + originalValueIndex: 126, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7030,12 +7223,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32Array.SetAccessors( CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32Array, 124), + CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32Array, 127), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32Array), - object (ValueBuffer valueBuffer) => valueBuffer[124]); + object (ValueBuffer valueBuffer) => valueBuffer[127]); nullableEnum32Array.SetPropertyIndexes( - index: 124, - originalValueIndex: 124, + index: 127, + originalValueIndex: 127, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7106,12 +7299,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsString.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 125), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 128), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[125]); + object (ValueBuffer valueBuffer) => valueBuffer[128]); nullableEnum32AsString.SetPropertyIndexes( - index: 125, - originalValueIndex: 125, + index: 128, + originalValueIndex: 128, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7158,12 +7351,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsStringArray.SetAccessors( CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsStringArray, 126), + CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsStringArray, 129), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[126]); + object (ValueBuffer valueBuffer) => valueBuffer[129]); nullableEnum32AsStringArray.SetPropertyIndexes( - index: 126, - originalValueIndex: 126, + index: 129, + originalValueIndex: 129, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7233,12 +7426,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32AsStringCollection, 127), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32AsStringCollection, 130), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[127]); + object (ValueBuffer valueBuffer) => valueBuffer[130]); nullableEnum32AsStringCollection.SetPropertyIndexes( - index: 127, - originalValueIndex: 127, + index: 130, + originalValueIndex: 130, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7308,12 +7501,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32Collection, 128), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32Collection, 131), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[128]); + object (ValueBuffer valueBuffer) => valueBuffer[131]); nullableEnum32Collection.SetPropertyIndexes( - index: 128, - originalValueIndex: 128, + index: 131, + originalValueIndex: 131, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7384,12 +7577,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 129), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 132), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64), - object (ValueBuffer valueBuffer) => valueBuffer[129]); + object (ValueBuffer valueBuffer) => valueBuffer[132]); nullableEnum64.SetPropertyIndexes( - index: 129, - originalValueIndex: 129, + index: 132, + originalValueIndex: 132, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7436,12 +7629,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64Array.SetAccessors( CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64Array, 130), + CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64Array, 133), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64Array), - object (ValueBuffer valueBuffer) => valueBuffer[130]); + object (ValueBuffer valueBuffer) => valueBuffer[133]); nullableEnum64Array.SetPropertyIndexes( - index: 130, - originalValueIndex: 130, + index: 133, + originalValueIndex: 133, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7512,12 +7705,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsString.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 131), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 134), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[131]); + object (ValueBuffer valueBuffer) => valueBuffer[134]); nullableEnum64AsString.SetPropertyIndexes( - index: 131, - originalValueIndex: 131, + index: 134, + originalValueIndex: 134, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7564,12 +7757,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsStringArray.SetAccessors( CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsStringArray, 132), + CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsStringArray, 135), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[132]); + object (ValueBuffer valueBuffer) => valueBuffer[135]); nullableEnum64AsStringArray.SetPropertyIndexes( - index: 132, - originalValueIndex: 132, + index: 135, + originalValueIndex: 135, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7639,12 +7832,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64AsStringCollection, 133), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64AsStringCollection, 136), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[133]); + object (ValueBuffer valueBuffer) => valueBuffer[136]); nullableEnum64AsStringCollection.SetPropertyIndexes( - index: 133, - originalValueIndex: 133, + index: 136, + originalValueIndex: 136, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7714,12 +7907,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64Collection, 134), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64Collection, 137), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[134]); + object (ValueBuffer valueBuffer) => valueBuffer[137]); nullableEnum64Collection.SetPropertyIndexes( - index: 134, - originalValueIndex: 134, + index: 137, + originalValueIndex: 137, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7790,12 +7983,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 135), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 138), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8), - object (ValueBuffer valueBuffer) => valueBuffer[135]); + object (ValueBuffer valueBuffer) => valueBuffer[138]); nullableEnum8.SetPropertyIndexes( - index: 135, - originalValueIndex: 135, + index: 138, + originalValueIndex: 138, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7842,12 +8035,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8Array.SetAccessors( CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8Array, 136), + CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8Array, 139), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8Array), - object (ValueBuffer valueBuffer) => valueBuffer[136]); + object (ValueBuffer valueBuffer) => valueBuffer[139]); nullableEnum8Array.SetPropertyIndexes( - index: 136, - originalValueIndex: 136, + index: 139, + originalValueIndex: 139, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7918,12 +8111,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsString.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 137), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 140), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[137]); + object (ValueBuffer valueBuffer) => valueBuffer[140]); nullableEnum8AsString.SetPropertyIndexes( - index: 137, - originalValueIndex: 137, + index: 140, + originalValueIndex: 140, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7970,12 +8163,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsStringArray.SetAccessors( CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsStringArray, 138), + CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsStringArray, 141), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[138]); + object (ValueBuffer valueBuffer) => valueBuffer[141]); nullableEnum8AsStringArray.SetPropertyIndexes( - index: 138, - originalValueIndex: 138, + index: 141, + originalValueIndex: 141, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8045,12 +8238,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8AsStringCollection, 139), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8AsStringCollection, 142), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[139]); + object (ValueBuffer valueBuffer) => valueBuffer[142]); nullableEnum8AsStringCollection.SetPropertyIndexes( - index: 139, - originalValueIndex: 139, + index: 142, + originalValueIndex: 142, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8120,12 +8313,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8Collection, 140), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8Collection, 143), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[140]); + object (ValueBuffer valueBuffer) => valueBuffer[143]); nullableEnum8Collection.SetPropertyIndexes( - index: 140, - originalValueIndex: 140, + index: 143, + originalValueIndex: 143, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8196,12 +8389,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 141), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 144), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16), - object (ValueBuffer valueBuffer) => valueBuffer[141]); + object (ValueBuffer valueBuffer) => valueBuffer[144]); nullableEnumU16.SetPropertyIndexes( - index: 141, - originalValueIndex: 141, + index: 144, + originalValueIndex: 144, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8248,12 +8441,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16Array.SetAccessors( CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16Array, 142), + CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16Array, 145), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16Array), - object (ValueBuffer valueBuffer) => valueBuffer[142]); + object (ValueBuffer valueBuffer) => valueBuffer[145]); nullableEnumU16Array.SetPropertyIndexes( - index: 142, - originalValueIndex: 142, + index: 145, + originalValueIndex: 145, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8324,12 +8517,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 143), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 146), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[143]); + object (ValueBuffer valueBuffer) => valueBuffer[146]); nullableEnumU16AsString.SetPropertyIndexes( - index: 143, - originalValueIndex: 143, + index: 146, + originalValueIndex: 146, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8376,12 +8569,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsStringArray.SetAccessors( CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsStringArray, 144), + CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsStringArray, 147), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[144]); + object (ValueBuffer valueBuffer) => valueBuffer[147]); nullableEnumU16AsStringArray.SetPropertyIndexes( - index: 144, - originalValueIndex: 144, + index: 147, + originalValueIndex: 147, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8451,12 +8644,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16AsStringCollection, 145), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16AsStringCollection, 148), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[145]); + object (ValueBuffer valueBuffer) => valueBuffer[148]); nullableEnumU16AsStringCollection.SetPropertyIndexes( - index: 145, - originalValueIndex: 145, + index: 148, + originalValueIndex: 148, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8526,12 +8719,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16Collection, 146), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16Collection, 149), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[146]); + object (ValueBuffer valueBuffer) => valueBuffer[149]); nullableEnumU16Collection.SetPropertyIndexes( - index: 146, - originalValueIndex: 146, + index: 149, + originalValueIndex: 149, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8602,12 +8795,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 147), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 150), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32), - object (ValueBuffer valueBuffer) => valueBuffer[147]); + object (ValueBuffer valueBuffer) => valueBuffer[150]); nullableEnumU32.SetPropertyIndexes( - index: 147, - originalValueIndex: 147, + index: 150, + originalValueIndex: 150, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8654,12 +8847,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32Array.SetAccessors( CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32Array, 148), + CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32Array, 151), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32Array), - object (ValueBuffer valueBuffer) => valueBuffer[148]); + object (ValueBuffer valueBuffer) => valueBuffer[151]); nullableEnumU32Array.SetPropertyIndexes( - index: 148, - originalValueIndex: 148, + index: 151, + originalValueIndex: 151, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8730,12 +8923,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 149), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 152), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[149]); + object (ValueBuffer valueBuffer) => valueBuffer[152]); nullableEnumU32AsString.SetPropertyIndexes( - index: 149, - originalValueIndex: 149, + index: 152, + originalValueIndex: 152, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8782,12 +8975,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsStringArray.SetAccessors( CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsStringArray, 150), + CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsStringArray, 153), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[150]); + object (ValueBuffer valueBuffer) => valueBuffer[153]); nullableEnumU32AsStringArray.SetPropertyIndexes( - index: 150, - originalValueIndex: 150, + index: 153, + originalValueIndex: 153, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8857,12 +9050,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32AsStringCollection, 151), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32AsStringCollection, 154), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[151]); + object (ValueBuffer valueBuffer) => valueBuffer[154]); nullableEnumU32AsStringCollection.SetPropertyIndexes( - index: 151, - originalValueIndex: 151, + index: 154, + originalValueIndex: 154, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8932,12 +9125,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32Collection, 152), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32Collection, 155), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[152]); + object (ValueBuffer valueBuffer) => valueBuffer[155]); nullableEnumU32Collection.SetPropertyIndexes( - index: 152, - originalValueIndex: 152, + index: 155, + originalValueIndex: 155, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9008,12 +9201,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 153), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 156), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64), - object (ValueBuffer valueBuffer) => valueBuffer[153]); + object (ValueBuffer valueBuffer) => valueBuffer[156]); nullableEnumU64.SetPropertyIndexes( - index: 153, - originalValueIndex: 153, + index: 156, + originalValueIndex: 156, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9058,12 +9251,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64Array.SetAccessors( CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64Array, 154), + CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64Array, 157), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64Array), - object (ValueBuffer valueBuffer) => valueBuffer[154]); + object (ValueBuffer valueBuffer) => valueBuffer[157]); nullableEnumU64Array.SetPropertyIndexes( - index: 154, - originalValueIndex: 154, + index: 157, + originalValueIndex: 157, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9132,12 +9325,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 155), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 158), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[155]); + object (ValueBuffer valueBuffer) => valueBuffer[158]); nullableEnumU64AsString.SetPropertyIndexes( - index: 155, - originalValueIndex: 155, + index: 158, + originalValueIndex: 158, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9182,12 +9375,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsStringArray.SetAccessors( CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsStringArray, 156), + CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsStringArray, 159), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[156]); + object (ValueBuffer valueBuffer) => valueBuffer[159]); nullableEnumU64AsStringArray.SetPropertyIndexes( - index: 156, - originalValueIndex: 156, + index: 159, + originalValueIndex: 159, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9255,12 +9448,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64AsStringCollection, 157), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64AsStringCollection, 160), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[157]); + object (ValueBuffer valueBuffer) => valueBuffer[160]); nullableEnumU64AsStringCollection.SetPropertyIndexes( - index: 157, - originalValueIndex: 157, + index: 160, + originalValueIndex: 160, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9328,12 +9521,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64Collection, 158), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64Collection, 161), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[158]); + object (ValueBuffer valueBuffer) => valueBuffer[161]); nullableEnumU64Collection.SetPropertyIndexes( - index: 158, - originalValueIndex: 158, + index: 161, + originalValueIndex: 161, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9402,12 +9595,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 159), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 162), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8), - object (ValueBuffer valueBuffer) => valueBuffer[159]); + object (ValueBuffer valueBuffer) => valueBuffer[162]); nullableEnumU8.SetPropertyIndexes( - index: 159, - originalValueIndex: 159, + index: 162, + originalValueIndex: 162, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9454,12 +9647,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8Array.SetAccessors( CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8Array, 160), + CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8Array, 163), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8Array), - object (ValueBuffer valueBuffer) => valueBuffer[160]); + object (ValueBuffer valueBuffer) => valueBuffer[163]); nullableEnumU8Array.SetPropertyIndexes( - index: 160, - originalValueIndex: 160, + index: 163, + originalValueIndex: 163, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9530,12 +9723,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 161), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 164), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[161]); + object (ValueBuffer valueBuffer) => valueBuffer[164]); nullableEnumU8AsString.SetPropertyIndexes( - index: 161, - originalValueIndex: 161, + index: 164, + originalValueIndex: 164, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9582,12 +9775,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsStringArray.SetAccessors( CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsStringArray, 162), + CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsStringArray, 165), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[162]); + object (ValueBuffer valueBuffer) => valueBuffer[165]); nullableEnumU8AsStringArray.SetPropertyIndexes( - index: 162, - originalValueIndex: 162, + index: 165, + originalValueIndex: 165, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9657,12 +9850,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8AsStringCollection, 163), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8AsStringCollection, 166), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[163]); + object (ValueBuffer valueBuffer) => valueBuffer[166]); nullableEnumU8AsStringCollection.SetPropertyIndexes( - index: 163, - originalValueIndex: 163, + index: 166, + originalValueIndex: 166, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9732,12 +9925,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8Collection, 164), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8Collection, 167), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[164]); + object (ValueBuffer valueBuffer) => valueBuffer[167]); nullableEnumU8Collection.SetPropertyIndexes( - index: 164, - originalValueIndex: 164, + index: 167, + originalValueIndex: 167, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9808,12 +10001,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloat.SetAccessors( float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 165), + float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 168), float? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloat), - object (ValueBuffer valueBuffer) => valueBuffer[165]); + object (ValueBuffer valueBuffer) => valueBuffer[168]); nullableFloat.SetPropertyIndexes( - index: 165, - originalValueIndex: 165, + index: 168, + originalValueIndex: 168, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9852,12 +10045,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloatArray.SetAccessors( float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 166), + float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 169), float? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloatArray), - object (ValueBuffer valueBuffer) => valueBuffer[166]); + object (ValueBuffer valueBuffer) => valueBuffer[169]); nullableFloatArray.SetPropertyIndexes( - index: 166, - originalValueIndex: 166, + index: 169, + originalValueIndex: 169, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9912,12 +10105,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuid.SetAccessors( Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 167), + Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 170), Guid? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuid), - object (ValueBuffer valueBuffer) => valueBuffer[167]); + object (ValueBuffer valueBuffer) => valueBuffer[170]); nullableGuid.SetPropertyIndexes( - index: 167, - originalValueIndex: 167, + index: 170, + originalValueIndex: 170, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9942,12 +10135,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuidArray.SetAccessors( Guid? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuidArray, 168), + Guid? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuidArray, 171), Guid? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuidArray), - object (ValueBuffer valueBuffer) => valueBuffer[168]); + object (ValueBuffer valueBuffer) => valueBuffer[171]); nullableGuidArray.SetPropertyIndexes( - index: 168, - originalValueIndex: 168, + index: 171, + originalValueIndex: 171, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9988,12 +10181,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 169), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 172), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[169]); + object (ValueBuffer valueBuffer) => valueBuffer[172]); nullableIPAddress.SetPropertyIndexes( - index: 169, - originalValueIndex: 169, + index: 172, + originalValueIndex: 172, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10038,12 +10231,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddressArray.SetAccessors( IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddressArray, 170), + IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddressArray, 173), IPAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[170]); + object (ValueBuffer valueBuffer) => valueBuffer[173]); nullableIPAddressArray.SetPropertyIndexes( - index: 170, - originalValueIndex: 170, + index: 173, + originalValueIndex: 173, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10114,12 +10307,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16.SetAccessors( short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 171), + short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 174), short? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16), - object (ValueBuffer valueBuffer) => valueBuffer[171]); + object (ValueBuffer valueBuffer) => valueBuffer[174]); nullableInt16.SetPropertyIndexes( - index: 171, - originalValueIndex: 171, + index: 174, + originalValueIndex: 174, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10158,12 +10351,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16Array.SetAccessors( short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 172), + short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 175), short? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[172]); + object (ValueBuffer valueBuffer) => valueBuffer[175]); nullableInt16Array.SetPropertyIndexes( - index: 172, - originalValueIndex: 172, + index: 175, + originalValueIndex: 175, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10218,12 +10411,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 173), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 176), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32), - object (ValueBuffer valueBuffer) => valueBuffer[173]); + object (ValueBuffer valueBuffer) => valueBuffer[176]); nullableInt32.SetPropertyIndexes( - index: 173, - originalValueIndex: 173, + index: 176, + originalValueIndex: 176, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10262,12 +10455,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32Array.SetAccessors( int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 174), + int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 177), int? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[174]); + object (ValueBuffer valueBuffer) => valueBuffer[177]); nullableInt32Array.SetPropertyIndexes( - index: 174, - originalValueIndex: 174, + index: 177, + originalValueIndex: 177, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10322,12 +10515,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64.SetAccessors( long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 175), + long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 178), long? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64), - object (ValueBuffer valueBuffer) => valueBuffer[175]); + object (ValueBuffer valueBuffer) => valueBuffer[178]); nullableInt64.SetPropertyIndexes( - index: 175, - originalValueIndex: 175, + index: 178, + originalValueIndex: 178, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10366,12 +10559,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64Array.SetAccessors( long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 176), + long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 179), long? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[176]); + object (ValueBuffer valueBuffer) => valueBuffer[179]); nullableInt64Array.SetPropertyIndexes( - index: 176, - originalValueIndex: 176, + index: 179, + originalValueIndex: 179, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10426,12 +10619,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8.SetAccessors( sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 177), + sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 180), sbyte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8), - object (ValueBuffer valueBuffer) => valueBuffer[177]); + object (ValueBuffer valueBuffer) => valueBuffer[180]); nullableInt8.SetPropertyIndexes( - index: 177, - originalValueIndex: 177, + index: 180, + originalValueIndex: 180, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10470,12 +10663,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8Array.SetAccessors( sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 178), + sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 181), sbyte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[178]); + object (ValueBuffer valueBuffer) => valueBuffer[181]); nullableInt8Array.SetPropertyIndexes( - index: 178, - originalValueIndex: 178, + index: 181, + originalValueIndex: 181, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10530,12 +10723,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 179), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 182), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[179]); + object (ValueBuffer valueBuffer) => valueBuffer[182]); nullablePhysicalAddress.SetPropertyIndexes( - index: 179, - originalValueIndex: 179, + index: 182, + originalValueIndex: 182, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10580,12 +10773,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddressArray.SetAccessors( PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddressArray, 180), + PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddressArray, 183), PhysicalAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[180]); + object (ValueBuffer valueBuffer) => valueBuffer[183]); nullablePhysicalAddressArray.SetPropertyIndexes( - index: 180, - originalValueIndex: 180, + index: 183, + originalValueIndex: 183, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10656,12 +10849,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableString.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 181), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 184), string (InternalEntityEntry entry) => entry.GetCurrentValue(nullableString), - object (ValueBuffer valueBuffer) => valueBuffer[181]); + object (ValueBuffer valueBuffer) => valueBuffer[184]); nullableString.SetPropertyIndexes( - index: 181, - originalValueIndex: 181, + index: 184, + originalValueIndex: 184, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10684,12 +10877,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableStringArray.SetAccessors( string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 182), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 185), string[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[182]); + object (ValueBuffer valueBuffer) => valueBuffer[185]); nullableStringArray.SetPropertyIndexes( - index: 182, - originalValueIndex: 182, + index: 185, + originalValueIndex: 185, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10730,12 +10923,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnly.SetAccessors( TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 183), + TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 186), TimeOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[183]); + object (ValueBuffer valueBuffer) => valueBuffer[186]); nullableTimeOnly.SetPropertyIndexes( - index: 183, - originalValueIndex: 183, + index: 186, + originalValueIndex: 186, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10760,12 +10953,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnlyArray.SetAccessors( TimeOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnlyArray, 184), + TimeOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnlyArray, 187), TimeOnly? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[184]); + object (ValueBuffer valueBuffer) => valueBuffer[187]); nullableTimeOnlyArray.SetPropertyIndexes( - index: 184, - originalValueIndex: 184, + index: 187, + originalValueIndex: 187, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10806,12 +10999,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpan.SetAccessors( TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 185), + TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 188), TimeSpan? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[185]); + object (ValueBuffer valueBuffer) => valueBuffer[188]); nullableTimeSpan.SetPropertyIndexes( - index: 185, - originalValueIndex: 185, + index: 188, + originalValueIndex: 188, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10850,12 +11043,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpanArray.SetAccessors( TimeSpan? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpanArray, 186), + TimeSpan? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpanArray, 189), TimeSpan? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpanArray), - object (ValueBuffer valueBuffer) => valueBuffer[186]); + object (ValueBuffer valueBuffer) => valueBuffer[189]); nullableTimeSpanArray.SetPropertyIndexes( - index: 186, - originalValueIndex: 186, + index: 189, + originalValueIndex: 189, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10910,12 +11103,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16.SetAccessors( ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 187), + ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 190), ushort? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16), - object (ValueBuffer valueBuffer) => valueBuffer[187]); + object (ValueBuffer valueBuffer) => valueBuffer[190]); nullableUInt16.SetPropertyIndexes( - index: 187, - originalValueIndex: 187, + index: 190, + originalValueIndex: 190, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10954,12 +11147,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16Array.SetAccessors( ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 188), + ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 191), ushort? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[188]); + object (ValueBuffer valueBuffer) => valueBuffer[191]); nullableUInt16Array.SetPropertyIndexes( - index: 188, - originalValueIndex: 188, + index: 191, + originalValueIndex: 191, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11014,12 +11207,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32.SetAccessors( uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 189), + uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 192), uint? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32), - object (ValueBuffer valueBuffer) => valueBuffer[189]); + object (ValueBuffer valueBuffer) => valueBuffer[192]); nullableUInt32.SetPropertyIndexes( - index: 189, - originalValueIndex: 189, + index: 192, + originalValueIndex: 192, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11058,12 +11251,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32Array.SetAccessors( uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 190), + uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 193), uint? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[190]); + object (ValueBuffer valueBuffer) => valueBuffer[193]); nullableUInt32Array.SetPropertyIndexes( - index: 190, - originalValueIndex: 190, + index: 193, + originalValueIndex: 193, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11118,12 +11311,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64.SetAccessors( ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 191), + ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 194), ulong? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64), - object (ValueBuffer valueBuffer) => valueBuffer[191]); + object (ValueBuffer valueBuffer) => valueBuffer[194]); nullableUInt64.SetPropertyIndexes( - index: 191, - originalValueIndex: 191, + index: 194, + originalValueIndex: 194, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11148,12 +11341,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64Array.SetAccessors( ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 192), + ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 195), ulong? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[192]); + object (ValueBuffer valueBuffer) => valueBuffer[195]); nullableUInt64Array.SetPropertyIndexes( - index: 192, - originalValueIndex: 192, + index: 195, + originalValueIndex: 195, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11194,12 +11387,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8.SetAccessors( byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 193), + byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 196), byte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8), - object (ValueBuffer valueBuffer) => valueBuffer[193]); + object (ValueBuffer valueBuffer) => valueBuffer[196]); nullableUInt8.SetPropertyIndexes( - index: 193, - originalValueIndex: 193, + index: 196, + originalValueIndex: 196, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11238,12 +11431,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8Array.SetAccessors( byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 194), + byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 197), byte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[194]); + object (ValueBuffer valueBuffer) => valueBuffer[197]); nullableUInt8Array.SetPropertyIndexes( - index: 194, - originalValueIndex: 194, + index: 197, + originalValueIndex: 197, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11298,12 +11491,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 195), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 198), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUri), - object (ValueBuffer valueBuffer) => valueBuffer[195]); + object (ValueBuffer valueBuffer) => valueBuffer[198]); nullableUri.SetPropertyIndexes( - index: 195, - originalValueIndex: 195, + index: 198, + originalValueIndex: 198, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11346,12 +11539,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUriArray.SetAccessors( Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUriArray, 196), + Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUriArray, 199), Uri[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUriArray), - object (ValueBuffer valueBuffer) => valueBuffer[196]); + object (ValueBuffer valueBuffer) => valueBuffer[199]); nullableUriArray.SetPropertyIndexes( - index: 196, - originalValueIndex: 196, + index: 199, + originalValueIndex: 199, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11419,12 +11612,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 197), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 200), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[197]); + object (ValueBuffer valueBuffer) => valueBuffer[200]); physicalAddress.SetPropertyIndexes( - index: 197, - originalValueIndex: 197, + index: 200, + originalValueIndex: 200, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11469,12 +11662,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressArray.SetAccessors( PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressArray, 198), + PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressArray, 201), PhysicalAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[198]); + object (ValueBuffer valueBuffer) => valueBuffer[201]); physicalAddressArray.SetPropertyIndexes( - index: 198, - originalValueIndex: 198, + index: 201, + originalValueIndex: 201, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11545,12 +11738,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToBytesConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 199), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 202), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[199]); + object (ValueBuffer valueBuffer) => valueBuffer[202]); physicalAddressToBytesConverterProperty.SetPropertyIndexes( - index: 199, - originalValueIndex: 199, + index: 202, + originalValueIndex: 202, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11596,12 +11789,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToStringConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 200), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 203), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[200]); + object (ValueBuffer valueBuffer) => valueBuffer[203]); physicalAddressToStringConverterProperty.SetPropertyIndexes( - index: 200, - originalValueIndex: 200, + index: 203, + originalValueIndex: 203, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11646,12 +11839,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @string.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 201), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 204), string (InternalEntityEntry entry) => entry.GetCurrentValue(@string), - object (ValueBuffer valueBuffer) => valueBuffer[201]); + object (ValueBuffer valueBuffer) => valueBuffer[204]); @string.SetPropertyIndexes( - index: 201, - originalValueIndex: 201, + index: 204, + originalValueIndex: 204, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11674,12 +11867,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringArray.SetAccessors( string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 202), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 205), string[] (InternalEntityEntry entry) => entry.GetCurrentValue(stringArray), - object (ValueBuffer valueBuffer) => valueBuffer[202]); + object (ValueBuffer valueBuffer) => valueBuffer[205]); stringArray.SetPropertyIndexes( - index: 202, - originalValueIndex: 202, + index: 205, + originalValueIndex: 205, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11702,6 +11895,51 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas JsonStringReaderWriter.Instance), elementMapping: SqliteStringTypeMapping.Default); + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + stringReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null); + stringReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(stringReadOnlyCollection, 206), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(stringReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[206]); + stringReadOnlyCollection.SetPropertyIndexes( + index: 206, + originalValueIndex: 206, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + stringReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + keyComparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter, string>( + JsonStringReaderWriter.Instance)), + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, string>( + JsonStringReaderWriter.Instance), + elementMapping: SqliteStringTypeMapping.Default); + var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", typeof(string), @@ -11720,12 +11958,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBoolConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 203), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 207), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBoolConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[203]); + object (ValueBuffer valueBuffer) => valueBuffer[207]); stringToBoolConverterProperty.SetPropertyIndexes( - index: 203, - originalValueIndex: 203, + index: 207, + originalValueIndex: 207, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11771,12 +12009,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBytesConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 204), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 208), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[204]); + object (ValueBuffer valueBuffer) => valueBuffer[208]); stringToBytesConverterProperty.SetPropertyIndexes( - index: 204, - originalValueIndex: 204, + index: 208, + originalValueIndex: 208, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11820,12 +12058,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToCharConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 205), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 209), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToCharConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[205]); + object (ValueBuffer valueBuffer) => valueBuffer[209]); stringToCharConverterProperty.SetPropertyIndexes( - index: 205, - originalValueIndex: 205, + index: 209, + originalValueIndex: 209, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11872,12 +12110,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 206), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 210), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[206]); + object (ValueBuffer valueBuffer) => valueBuffer[210]); stringToDateOnlyConverterProperty.SetPropertyIndexes( - index: 206, - originalValueIndex: 206, + index: 210, + originalValueIndex: 210, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11923,12 +12161,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 207), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 211), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[207]); + object (ValueBuffer valueBuffer) => valueBuffer[211]); stringToDateTimeConverterProperty.SetPropertyIndexes( - index: 207, - originalValueIndex: 207, + index: 211, + originalValueIndex: 211, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11974,12 +12212,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeOffsetConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 208), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 212), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeOffsetConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[208]); + object (ValueBuffer valueBuffer) => valueBuffer[212]); stringToDateTimeOffsetConverterProperty.SetPropertyIndexes( - index: 208, - originalValueIndex: 208, + index: 212, + originalValueIndex: 212, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12025,12 +12263,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDecimalNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 209), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 213), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDecimalNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[209]); + object (ValueBuffer valueBuffer) => valueBuffer[213]); stringToDecimalNumberConverterProperty.SetPropertyIndexes( - index: 209, - originalValueIndex: 209, + index: 213, + originalValueIndex: 213, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12076,12 +12314,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDoubleNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 210), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 214), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDoubleNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[210]); + object (ValueBuffer valueBuffer) => valueBuffer[214]); stringToDoubleNumberConverterProperty.SetPropertyIndexes( - index: 210, - originalValueIndex: 210, + index: 214, + originalValueIndex: 214, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12128,12 +12366,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToEnumConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 211), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 215), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToEnumConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[211]); + object (ValueBuffer valueBuffer) => valueBuffer[215]); stringToEnumConverterProperty.SetPropertyIndexes( - index: 211, - originalValueIndex: 211, + index: 215, + originalValueIndex: 215, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12178,12 +12416,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToGuidConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 212), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 216), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToGuidConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[212]); + object (ValueBuffer valueBuffer) => valueBuffer[216]); stringToGuidConverterProperty.SetPropertyIndexes( - index: 212, - originalValueIndex: 212, + index: 216, + originalValueIndex: 216, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12207,12 +12445,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToIntNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 213), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 217), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToIntNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[213]); + object (ValueBuffer valueBuffer) => valueBuffer[217]); stringToIntNumberConverterProperty.SetPropertyIndexes( - index: 213, - originalValueIndex: 213, + index: 217, + originalValueIndex: 217, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12259,12 +12497,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 214), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 218), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[214]); + object (ValueBuffer valueBuffer) => valueBuffer[218]); stringToTimeOnlyConverterProperty.SetPropertyIndexes( - index: 214, - originalValueIndex: 214, + index: 218, + originalValueIndex: 218, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12310,12 +12548,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeSpanConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 215), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 219), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeSpanConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[215]); + object (ValueBuffer valueBuffer) => valueBuffer[219]); stringToTimeSpanConverterProperty.SetPropertyIndexes( - index: 215, - originalValueIndex: 215, + index: 219, + originalValueIndex: 219, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12362,12 +12600,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToUriConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 216), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 220), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToUriConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[216]); + object (ValueBuffer valueBuffer) => valueBuffer[220]); stringToUriConverterProperty.SetPropertyIndexes( - index: 216, - originalValueIndex: 216, + index: 220, + originalValueIndex: 220, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12411,12 +12649,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnly.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 217), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 221), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[217]); + object (ValueBuffer valueBuffer) => valueBuffer[221]); timeOnly.SetPropertyIndexes( - index: 217, - originalValueIndex: 217, + index: 221, + originalValueIndex: 221, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12439,12 +12677,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyArray.SetAccessors( TimeOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyArray, 218), + TimeOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyArray, 222), TimeOnly[] (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[218]); + object (ValueBuffer valueBuffer) => valueBuffer[222]); timeOnlyArray.SetPropertyIndexes( - index: 218, - originalValueIndex: 218, + index: 222, + originalValueIndex: 222, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12485,12 +12723,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToStringConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 219), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 223), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[219]); + object (ValueBuffer valueBuffer) => valueBuffer[223]); timeOnlyToStringConverterProperty.SetPropertyIndexes( - index: 219, - originalValueIndex: 219, + index: 223, + originalValueIndex: 223, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12537,12 +12775,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToTicksConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 220), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 224), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[220]); + object (ValueBuffer valueBuffer) => valueBuffer[224]); timeOnlyToTicksConverterProperty.SetPropertyIndexes( - index: 220, - originalValueIndex: 220, + index: 224, + originalValueIndex: 224, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12589,12 +12827,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpan.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 221), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 225), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[221]); + object (ValueBuffer valueBuffer) => valueBuffer[225]); timeSpan.SetPropertyIndexes( - index: 221, - originalValueIndex: 221, + index: 225, + originalValueIndex: 225, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12631,12 +12869,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanArray.SetAccessors( TimeSpan[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanArray, 222), + TimeSpan[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanArray, 226), TimeSpan[] (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanArray), - object (ValueBuffer valueBuffer) => valueBuffer[222]); + object (ValueBuffer valueBuffer) => valueBuffer[226]); timeSpanArray.SetPropertyIndexes( - index: 222, - originalValueIndex: 222, + index: 226, + originalValueIndex: 226, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12691,12 +12929,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToStringConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 223), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 227), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[223]); + object (ValueBuffer valueBuffer) => valueBuffer[227]); timeSpanToStringConverterProperty.SetPropertyIndexes( - index: 223, - originalValueIndex: 223, + index: 227, + originalValueIndex: 227, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12743,12 +12981,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToTicksConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 224), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 228), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[224]); + object (ValueBuffer valueBuffer) => valueBuffer[228]); timeSpanToTicksConverterProperty.SetPropertyIndexes( - index: 224, - originalValueIndex: 224, + index: 228, + originalValueIndex: 228, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12795,12 +13033,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16.SetAccessors( ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 225), + ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 229), ushort (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16), - object (ValueBuffer valueBuffer) => valueBuffer[225]); + object (ValueBuffer valueBuffer) => valueBuffer[229]); uInt16.SetPropertyIndexes( - index: 225, - originalValueIndex: 225, + index: 229, + originalValueIndex: 229, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12837,12 +13075,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16Array.SetAccessors( ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 226), + ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 230), ushort[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[226]); + object (ValueBuffer valueBuffer) => valueBuffer[230]); uInt16Array.SetPropertyIndexes( - index: 226, - originalValueIndex: 226, + index: 230, + originalValueIndex: 230, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12897,12 +13135,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32.SetAccessors( uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 227), + uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 231), uint (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32), - object (ValueBuffer valueBuffer) => valueBuffer[227]); + object (ValueBuffer valueBuffer) => valueBuffer[231]); uInt32.SetPropertyIndexes( - index: 227, - originalValueIndex: 227, + index: 231, + originalValueIndex: 231, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12939,12 +13177,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32Array.SetAccessors( uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 228), + uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 232), uint[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[228]); + object (ValueBuffer valueBuffer) => valueBuffer[232]); uInt32Array.SetPropertyIndexes( - index: 228, - originalValueIndex: 228, + index: 232, + originalValueIndex: 232, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12999,12 +13237,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64.SetAccessors( ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 229), + ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 233), ulong (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64), - object (ValueBuffer valueBuffer) => valueBuffer[229]); + object (ValueBuffer valueBuffer) => valueBuffer[233]); uInt64.SetPropertyIndexes( - index: 229, - originalValueIndex: 229, + index: 233, + originalValueIndex: 233, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13027,12 +13265,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64Array.SetAccessors( ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 230), + ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 234), ulong[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[230]); + object (ValueBuffer valueBuffer) => valueBuffer[234]); uInt64Array.SetPropertyIndexes( - index: 230, - originalValueIndex: 230, + index: 234, + originalValueIndex: 234, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13073,12 +13311,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8.SetAccessors( byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 231), + byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 235), byte (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8), - object (ValueBuffer valueBuffer) => valueBuffer[231]); + object (ValueBuffer valueBuffer) => valueBuffer[235]); uInt8.SetPropertyIndexes( - index: 231, - originalValueIndex: 231, + index: 235, + originalValueIndex: 235, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13115,12 +13353,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8Array.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 232), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 236), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[232]); + object (ValueBuffer valueBuffer) => valueBuffer[236]); uInt8Array.SetPropertyIndexes( - index: 232, - originalValueIndex: 232, + index: 236, + originalValueIndex: 236, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13138,6 +13376,65 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int (byte[] v) => StructuralComparisons.StructuralEqualityComparer.GetHashCode(((object)(v))), byte[] (byte[] source) => source.ToArray())); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + uInt8ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null); + uInt8ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(uInt8ReadOnlyCollection, 237), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(uInt8ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[237]); + uInt8ReadOnlyCollection.SetPropertyIndexes( + index: 237, + originalValueIndex: 237, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + uInt8ReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + keyComparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance)), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance), + elementMapping: ByteTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + keyComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + providerValueComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "INTEGER"))); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri), @@ -13155,12 +13452,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 233), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 238), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uri), - object (ValueBuffer valueBuffer) => valueBuffer[233]); + object (ValueBuffer valueBuffer) => valueBuffer[238]); uri.SetPropertyIndexes( - index: 233, - originalValueIndex: 233, + index: 238, + originalValueIndex: 238, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13203,12 +13500,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriArray.SetAccessors( Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uriArray, 234), + Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uriArray, 239), Uri[] (InternalEntityEntry entry) => entry.GetCurrentValue(uriArray), - object (ValueBuffer valueBuffer) => valueBuffer[234]); + object (ValueBuffer valueBuffer) => valueBuffer[239]); uriArray.SetPropertyIndexes( - index: 234, - originalValueIndex: 234, + index: 239, + originalValueIndex: 239, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13277,12 +13574,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriToStringConverterProperty.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 235), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 240), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uriToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[235]); + object (ValueBuffer valueBuffer) => valueBuffer[240]); uriToStringConverterProperty.SetPropertyIndexes( - index: 235, - originalValueIndex: 235, + index: 240, + originalValueIndex: 240, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13320,6 +13617,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var id = runtimeEntityType.FindProperty("Id"); var @bool = runtimeEntityType.FindProperty("Bool"); var boolArray = runtimeEntityType.FindProperty("BoolArray"); + var boolReadOnlyCollection = runtimeEntityType.FindProperty("BoolReadOnlyCollection"); var boolToStringConverterProperty = runtimeEntityType.FindProperty("BoolToStringConverterProperty"); var boolToTwoValuesConverterProperty = runtimeEntityType.FindProperty("BoolToTwoValuesConverterProperty"); var boolToZeroOneConverterProperty = runtimeEntityType.FindProperty("BoolToZeroOneConverterProperty"); @@ -13407,12 +13705,14 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var guidToStringConverterProperty = runtimeEntityType.FindProperty("GuidToStringConverterProperty"); var iPAddress = runtimeEntityType.FindProperty("IPAddress"); var iPAddressArray = runtimeEntityType.FindProperty("IPAddressArray"); + var iPAddressReadOnlyCollection = runtimeEntityType.FindProperty("IPAddressReadOnlyCollection"); var iPAddressToBytesConverterProperty = runtimeEntityType.FindProperty("IPAddressToBytesConverterProperty"); var iPAddressToStringConverterProperty = runtimeEntityType.FindProperty("IPAddressToStringConverterProperty"); var int16 = runtimeEntityType.FindProperty("Int16"); var int16Array = runtimeEntityType.FindProperty("Int16Array"); var int32 = runtimeEntityType.FindProperty("Int32"); var int32Array = runtimeEntityType.FindProperty("Int32Array"); + var int32ReadOnlyCollection = runtimeEntityType.FindProperty("Int32ReadOnlyCollection"); var int64 = runtimeEntityType.FindProperty("Int64"); var int64Array = runtimeEntityType.FindProperty("Int64Array"); var int8 = runtimeEntityType.FindProperty("Int8"); @@ -13520,6 +13820,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var physicalAddressToStringConverterProperty = runtimeEntityType.FindProperty("PhysicalAddressToStringConverterProperty"); var @string = runtimeEntityType.FindProperty("String"); var stringArray = runtimeEntityType.FindProperty("StringArray"); + var stringReadOnlyCollection = runtimeEntityType.FindProperty("StringReadOnlyCollection"); var stringToBoolConverterProperty = runtimeEntityType.FindProperty("StringToBoolConverterProperty"); var stringToBytesConverterProperty = runtimeEntityType.FindProperty("StringToBytesConverterProperty"); var stringToCharConverterProperty = runtimeEntityType.FindProperty("StringToCharConverterProperty"); @@ -13550,6 +13851,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var uInt64Array = runtimeEntityType.FindProperty("UInt64Array"); var uInt8 = runtimeEntityType.FindProperty("UInt8"); var uInt8Array = runtimeEntityType.FindProperty("UInt8Array"); + var uInt8ReadOnlyCollection = runtimeEntityType.FindProperty("UInt8ReadOnlyCollection"); var uri = runtimeEntityType.FindProperty("Uri"); var uriArray = runtimeEntityType.FindProperty("UriArray"); var uriToStringConverterProperty = runtimeEntityType.FindProperty("UriToStringConverterProperty"); @@ -13560,21 +13862,23 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) ISnapshot (InternalEntityEntry source) => { var entity = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg = ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (((object)(source.GetCurrentValue(bytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)bytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(bytesArray))))))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), (((IEnumerable)(source.GetCurrentValue(dateOnlyArray))) == null ? null : ((DateOnly[])(((ValueComparer>)(((IProperty)dateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateOnlyArray))))))), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), (((IEnumerable)(source.GetCurrentValue(dateTimeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)dateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateTimeArray))))))), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double)), (((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray)))))))))); + var liftedArg = ((ISnapshot)(new Snapshot, bool, bool, bool, byte[], byte[][], byte[], int, char, char[], char, DateOnly, DateOnly[], DateOnly, DateTime, DateTime[], DateTimeOffset, DateTimeOffset, DateTimeOffset, DateTime, DateTime, DateTime, decimal, decimal[], decimal, decimal, double>(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), (((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)boolReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (((object)(source.GetCurrentValue(bytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)bytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(bytesArray))))))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), (((IEnumerable)(source.GetCurrentValue(dateOnlyArray))) == null ? null : ((DateOnly[])(((ValueComparer>)(((IProperty)dateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateOnlyArray))))))), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), (((IEnumerable)(source.GetCurrentValue(dateTimeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)dateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateTimeArray))))))), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double))))); var entity0 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg0 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], List, List, CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], List, List, CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], List, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32, CompiledModelTestBase.EnumU16, CompiledModelTestBase.EnumU16[]>(((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), (((IEnumerable)(source.GetCurrentValue(enum16Array))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16Array))))))), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), (((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16Collection))))))), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), (((IEnumerable)(source.GetCurrentValue(enum32Array))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32Array))))))), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), (((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32Collection))))))), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), (((IEnumerable)(source.GetCurrentValue(enum64Array))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64Array))))))), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), (((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64Collection))))))), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), (((IEnumerable)(source.GetCurrentValue(enum8Array))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8Array))))))), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), (((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8Collection))))))), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16)), (((IEnumerable)(source.GetCurrentValue(enumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16Array)))))))))); + var liftedArg0 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], List, List, CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], List, List, CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], List, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32, CompiledModelTestBase.EnumU16>((((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray))))))), ((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), (((IEnumerable)(source.GetCurrentValue(enum16Array))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16Array))))))), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), (((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16Collection))))))), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), (((IEnumerable)(source.GetCurrentValue(enum32Array))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32Array))))))), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), (((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32Collection))))))), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), (((IEnumerable)(source.GetCurrentValue(enum64Array))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64Array))))))), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), (((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64Collection))))))), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), (((IEnumerable)(source.GetCurrentValue(enum8Array))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8Array))))))), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), (((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8Collection))))))), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16))))); var entity1 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg1 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], List, List, CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], List, List, CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], List, List, float, float[], Guid, Guid[], Guid, Guid, IPAddress, IPAddress[]>(((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), (((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16Collection))))))), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), (((IEnumerable)(source.GetCurrentValue(enumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32Array))))))), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), (((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32Collection))))))), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), (((IEnumerable)(source.GetCurrentValue(enumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64Array))))))), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), (((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64Collection))))))), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), (((IEnumerable)(source.GetCurrentValue(enumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8Array))))))), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), (((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8Collection))))))), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), (((IEnumerable)(source.GetCurrentValue(guidArray))) == null ? null : ((Guid[])(((ValueComparer>)(((IProperty)guidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(guidArray))))))), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress))), (((object)(source.GetCurrentValue(iPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)iPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(iPAddressArray)))))))))); + var liftedArg1 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], List, List, CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], List, List, CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], List, List, float, float[], Guid, Guid[], Guid, Guid, IPAddress>((((IEnumerable)(source.GetCurrentValue(enumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16Array))))))), ((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), (((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16Collection))))))), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), (((IEnumerable)(source.GetCurrentValue(enumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32Array))))))), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), (((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32Collection))))))), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), (((IEnumerable)(source.GetCurrentValue(enumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64Array))))))), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), (((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64Collection))))))), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), (((IEnumerable)(source.GetCurrentValue(enumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8Array))))))), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), (((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8Collection))))))), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), (((IEnumerable)(source.GetCurrentValue(guidArray))) == null ? null : ((Guid[])(((ValueComparer>)(((IProperty)guidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(guidArray))))))), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress)))))); var entity2 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg2 = ((ISnapshot)(new Snapshot((source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (((object)(source.GetCurrentValue(nullableBytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)nullableBytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableBytesArray))))))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))) == null ? null : ((DateOnly? [])(((ValueComparer>)(((IProperty)nullableDateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))))))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))) == null ? null : ((DateTime? [])(((ValueComparer>)(((IProperty)nullableDateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))))))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))))))), (source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))))))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString)))))); + var liftedArg2 = ((ISnapshot)(new Snapshot, IPAddress, IPAddress, short, short[], int, int[], IReadOnlyCollection, long, long[], sbyte, sbyte[], int, int, int?, bool?, bool? [], byte[], byte[][], char?, char? [], DateOnly?, DateOnly? [], DateTime?, DateTime? [], decimal?, decimal? [], double?, double? []>((((object)(source.GetCurrentValue(iPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)iPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(iPAddressArray))))))), (((object)(source.GetCurrentValue>(iPAddressReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)iPAddressReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(iPAddressReadOnlyCollection))))))), (source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), (((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)int32ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (((object)(source.GetCurrentValue(nullableBytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)nullableBytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableBytesArray))))))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))) == null ? null : ((DateOnly? [])(((ValueComparer>)(((IProperty)nullableDateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))))))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))) == null ? null : ((DateTime? [])(((ValueComparer>)(((IProperty)nullableDateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))))))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray)))))))))); var entity3 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg3 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], List, List, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], List, List, CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], List, List, CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], List, List, CompiledModelTestBase.EnumU32?, CompiledModelTestBase.EnumU32? [], CompiledModelTestBase.EnumU32?>((((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))))))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))))))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))))))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))))))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))))))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))))))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))))))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))))))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))))))), (source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))))))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString)))))); + var liftedArg3 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], List, List, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], List, List, CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], List, List, CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], List, List>((source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))))))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))))))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))))))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))))))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))))))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))))))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))))))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))))))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))))))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection)))))))))); var entity4 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg4 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], List, List, CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], List, List, float?, float? [], Guid?, Guid? [], IPAddress, IPAddress[], short?, short? [], int?, int? [], long?, long? [], sbyte?, sbyte? [], PhysicalAddress>((((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))))))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))))))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))))))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))))))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))))))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (((IEnumerable)(source.GetCurrentValue(nullableGuidArray))) == null ? null : ((Guid? [])(((ValueComparer>)(((IProperty)nullableGuidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableGuidArray))))))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (((object)(source.GetCurrentValue(nullableIPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)nullableIPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableIPAddressArray))))))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array))))))), (source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress)))))); + var liftedArg4 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], List, List, CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], List, List, float?, float? [], Guid?, Guid? [], IPAddress, IPAddress[], short?, short? [], int?, int? [], long?, long? []>((source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))))))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))))))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))))))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))))))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))))))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))))))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (((IEnumerable)(source.GetCurrentValue(nullableGuidArray))) == null ? null : ((Guid? [])(((ValueComparer>)(((IProperty)nullableGuidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableGuidArray))))))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (((object)(source.GetCurrentValue(nullableIPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)nullableIPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableIPAddressArray))))))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array)))))))))); var entity5 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg5 = ((ISnapshot)(new Snapshot((((object)(source.GetCurrentValue(nullablePhysicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)nullablePhysicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullablePhysicalAddressArray))))))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))) == null ? null : ((TimeOnly? [])(((ValueComparer>)(((IProperty)nullableTimeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))))))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))) == null ? null : ((TimeSpan? [])(((ValueComparer>)(((IProperty)nullableTimeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))))))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (((object)(source.GetCurrentValue(nullableUriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)nullableUriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableUriArray))))))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (((object)(source.GetCurrentValue(physicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)physicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(physicalAddressArray))))))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty))), (source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty)))))); + var liftedArg5 = ((ISnapshot)(new Snapshot, string, string, string>((source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress))), (((object)(source.GetCurrentValue(nullablePhysicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)nullablePhysicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullablePhysicalAddressArray))))))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))) == null ? null : ((TimeOnly? [])(((ValueComparer>)(((IProperty)nullableTimeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))))))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))) == null ? null : ((TimeSpan? [])(((ValueComparer>)(((IProperty)nullableTimeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))))))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (((object)(source.GetCurrentValue(nullableUriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)nullableUriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableUriArray))))))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (((object)(source.GetCurrentValue(physicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)physicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(physicalAddressArray))))))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (((object)(source.GetCurrentValue>(stringReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)stringReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(stringReadOnlyCollection))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty)))))); var entity6 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, liftedArg4, liftedArg5, ((ISnapshot)(new Snapshot((source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), (((IEnumerable)(source.GetCurrentValue(timeOnlyArray))) == null ? null : ((TimeOnly[])(((ValueComparer>)(((IProperty)timeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeOnlyArray))))))), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), (((IEnumerable)(source.GetCurrentValue(timeSpanArray))) == null ? null : ((TimeSpan[])(((ValueComparer>)(((IProperty)timeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeSpanArray))))))), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (((object)(source.GetCurrentValue(uriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)uriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(uriArray))))))), (source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty)))))) }))); + var liftedArg6 = ((ISnapshot)(new Snapshot, Uri, Uri[]>((source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty))), (source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), (((IEnumerable)(source.GetCurrentValue(timeOnlyArray))) == null ? null : ((TimeOnly[])(((ValueComparer>)(((IProperty)timeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeOnlyArray))))))), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), (((IEnumerable)(source.GetCurrentValue(timeSpanArray))) == null ? null : ((TimeSpan[])(((ValueComparer>)(((IProperty)timeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeSpanArray))))))), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)uInt8ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))))))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (((object)(source.GetCurrentValue(uriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)uriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(uriArray)))))))))); + var entity7 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); + return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, liftedArg4, liftedArg5, liftedArg6, ((ISnapshot)(new Snapshot((source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty)))))) }))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( ISnapshot () => ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(default(CompiledModelTestBase.ManyTypesId)))))); @@ -13587,14 +13891,14 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); + var entity8 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))))); }); runtimeEntityType.Counts = new PropertyCounts( - propertyCount: 236, + propertyCount: 241, navigationCount: 0, complexPropertyCount: 0, - originalValueCount: 236, + originalValueCount: 241, shadowCount: 0, relationshipCount: 1, storeGeneratedCount: 1); diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs index 8212477912e..48de8dc1ceb 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/ManyTypesUnsafeAccessors.cs @@ -22,6 +22,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool[] BoolArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_boolReadOnlyCollection")] + public static extern ref List _boolReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool BoolToStringConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -283,6 +286,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref IPAddress[] IPAddressArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_ipAddressReadOnlyCollection")] + public static extern ref List _ipAddressReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref IPAddress IPAddressToBytesConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -301,6 +307,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref int[] Int32Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_int32ReadOnlyCollection")] + public static extern ref List _int32ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref long Int64(CompiledModelTestBase.ManyTypes @this); @@ -622,6 +631,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string[] StringArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_stringReadOnlyCollection")] + public static extern ref List _stringReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string StringToBoolConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -712,6 +724,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref byte[] UInt8Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_uInt8ReadOnlyCollection")] + public static extern ref List _uInt8ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref Uri Uri(CompiledModelTestBase.ManyTypes @this); diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedType0EntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedType0EntityType.cs index d63c8493182..79b5b18a799 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedType0EntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedType0EntityType.cs @@ -752,7 +752,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>(((ValueComparer)(((IProperty)principalDerivedId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedId)), ((ValueComparer)(((IProperty)principalDerivedAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedAlternateId)), ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), (source.GetCurrentValue(details) == null ? null : ((ValueComparer)(((IProperty)details).GetValueComparer())).Snapshot(source.GetCurrentValue(details))), ((ValueComparer)(((IProperty)number).GetValueComparer())).Snapshot(source.GetCurrentValue(number)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -766,7 +766,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalDerivedId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedId)), ((ValueComparer)(((IProperty)principalDerivedAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedAlternateId)), ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedTypeEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedTypeEntityType.cs index f12a723509e..24d880519c5 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedTypeEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/OwnedTypeEntityType.cs @@ -760,7 +760,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>(((ValueComparer)(((IProperty)principalBaseId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalBaseId)), ((ValueComparer)(((IProperty)principalBaseAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalBaseAlternateId)), (source.GetCurrentValue(details) == null ? null : ((ValueComparer)(((IProperty)details).GetValueComparer())).Snapshot(source.GetCurrentValue(details))), ((ValueComparer)(((IProperty)number).GetValueComparer())).Snapshot(source.GetCurrentValue(number)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -774,7 +774,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalBaseId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalBaseId)), ((ValueComparer)(((IProperty)principalBaseAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalBaseAlternateId))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBaseEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBaseEntityType.cs index fc198d54d90..536f05b1307 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBaseEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBaseEntityType.cs @@ -921,7 +921,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); + var entity8 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), ((ValueComparer)(((IProperty)enum1).GetValueComparer())).Snapshot(source.GetCurrentValue(enum1)), (source.GetCurrentValue(enum2) == null ? null : ((ValueComparer)(((IProperty)enum2).GetValueComparer())).Snapshot(source.GetCurrentValue(enum2))), ((ValueComparer)(((IProperty)flagsEnum1).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum1)), ((ValueComparer)(((IProperty)flagsEnum2).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum2)), (source.GetCurrentValue(point) == null ? null : ((ValueComparer)(((IProperty)point).GetValueComparer())).Snapshot(source.GetCurrentValue(point))), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -935,8 +935,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); - return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity7), (object)(null)))); + var entity8 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); + return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity8), (object)(null)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 15, diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs index f2b9562ce0d..4220d8c41d7 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs @@ -364,7 +364,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((Dictionary)(source.Entity)); + var entity8 = ((Dictionary)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)derivedsId).GetValueComparer())).Snapshot(source.GetCurrentValue(derivedsId)), ((ValueComparer)(((IProperty)derivedsAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(derivedsAlternateId)), ((ValueComparer)(((IProperty)principalsId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalsId)), ((ValueComparer)(((IProperty)principalsAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalsAlternateId)), (source.GetCurrentValue(rowid) == null ? null : ((ValueComparer)(((IProperty)rowid).GetValueComparer())).Snapshot(source.GetCurrentValue(rowid)))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -378,7 +378,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((Dictionary)(source.Entity)); + var entity8 = ((Dictionary)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)derivedsId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(derivedsId)), ((ValueComparer)(((IProperty)derivedsAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(derivedsAlternateId)), ((ValueComparer)(((IProperty)principalsId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalsId)), ((ValueComparer)(((IProperty)principalsAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalsAlternateId))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalDerivedEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalDerivedEntityType.cs index 7100bcc554a..ad880509d18 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalDerivedEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel/PrincipalDerivedEntityType.cs @@ -122,7 +122,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); + var entity8 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), ((ValueComparer)(((IProperty)enum1).GetValueComparer())).Snapshot(source.GetCurrentValue(enum1)), (source.GetCurrentValue(enum2) == null ? null : ((ValueComparer)(((IProperty)enum2).GetValueComparer())).Snapshot(source.GetCurrentValue(enum2))), ((ValueComparer)(((IProperty)flagsEnum1).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum1)), ((ValueComparer)(((IProperty)flagsEnum2).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum2)), (source.GetCurrentValue(point) == null ? null : ((ValueComparer)(((IProperty)point).GetValueComparer())).Snapshot(source.GetCurrentValue(point))), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -136,8 +136,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); - return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity7), (object)(null), PrincipalDerivedUnsafeAccessors>.Dependent(entity7), SnapshotFactoryFactory.SnapshotCollection(PrincipalDerivedUnsafeAccessors>.ManyOwned(entity7)), (object)(null)))); + var entity8 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); + return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity8), (object)(null), PrincipalDerivedUnsafeAccessors>.Dependent(entity8), SnapshotFactoryFactory.SnapshotCollection(PrincipalDerivedUnsafeAccessors>.ManyOwned(entity8)), (object)(null)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 15, diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DbContextModelBuilder.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DbContextModelBuilder.cs index 51d94698789..358b107b0dd 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DbContextModelBuilder.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DbContextModelBuilder.cs @@ -254,6 +254,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Bool", boolColumnBase); var boolArrayColumnBase = new ColumnBase("BoolArray", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolArray", boolArrayColumnBase); + var boolReadOnlyCollectionColumnBase = new ColumnBase("BoolReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolReadOnlyCollection", boolReadOnlyCollectionColumnBase); var boolToStringConverterPropertyColumnBase = new ColumnBase("BoolToStringConverterProperty", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("BoolToStringConverterProperty", boolToStringConverterPropertyColumnBase); var boolToTwoValuesConverterPropertyColumnBase = new ColumnBase("BoolToTwoValuesConverterProperty", "INTEGER", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -428,6 +430,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddress", iPAddressColumnBase); var iPAddressArrayColumnBase = new ColumnBase("IPAddressArray", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressArray", iPAddressArrayColumnBase); + var iPAddressReadOnlyCollectionColumnBase = new ColumnBase("IPAddressReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressReadOnlyCollection", iPAddressReadOnlyCollectionColumnBase); var iPAddressToBytesConverterPropertyColumnBase = new ColumnBase("IPAddressToBytesConverterProperty", "BLOB", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("IPAddressToBytesConverterProperty", iPAddressToBytesConverterPropertyColumnBase); var iPAddressToStringConverterPropertyColumnBase = new ColumnBase("IPAddressToStringConverterProperty", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -442,6 +446,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32", int32ColumnBase); var int32ArrayColumnBase = new ColumnBase("Int32Array", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32Array", int32ArrayColumnBase); + var int32ReadOnlyCollectionColumnBase = new ColumnBase("Int32ReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int32ReadOnlyCollection", int32ReadOnlyCollectionColumnBase); var int64ColumnBase = new ColumnBase("Int64", "INTEGER", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Int64", int64ColumnBase); var int64ArrayColumnBase = new ColumnBase("Int64Array", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -776,6 +782,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("String", stringColumnBase); var stringArrayColumnBase = new ColumnBase("StringArray", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringArray", stringArrayColumnBase); + var stringReadOnlyCollectionColumnBase = new ColumnBase("StringReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringReadOnlyCollection", stringReadOnlyCollectionColumnBase); var stringToBoolConverterPropertyColumnBase = new ColumnBase("StringToBoolConverterProperty", "INTEGER", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("StringToBoolConverterProperty", stringToBoolConverterPropertyColumnBase); var stringToBytesConverterPropertyColumnBase = new ColumnBase("StringToBytesConverterProperty", "BLOB", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase) @@ -839,6 +847,8 @@ private IRelationalModel CreateRelationalModel() microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8", uInt8ColumnBase); var uInt8ArrayColumnBase = new ColumnBase("UInt8Array", "BLOB", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8Array", uInt8ArrayColumnBase); + var uInt8ReadOnlyCollectionColumnBase = new ColumnBase("UInt8ReadOnlyCollection", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); + microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("UInt8ReadOnlyCollection", uInt8ReadOnlyCollectionColumnBase); var uriColumnBase = new ColumnBase("Uri", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase.Columns.Add("Uri", uriColumnBase); var uriArrayColumnBase = new ColumnBase("UriArray", "TEXT", microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesTableBase); @@ -852,6 +862,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)idColumnBase1, manyTypes.FindProperty("Id")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolColumnBase, manyTypes.FindProperty("Bool")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolArrayColumnBase, manyTypes.FindProperty("BoolArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)boolReadOnlyCollectionColumnBase, manyTypes.FindProperty("BoolReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToStringConverterPropertyColumnBase, manyTypes.FindProperty("BoolToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToTwoValuesConverterPropertyColumnBase, manyTypes.FindProperty("BoolToTwoValuesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)boolToZeroOneConverterPropertyColumnBase, manyTypes.FindProperty("BoolToZeroOneConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -939,12 +950,14 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)guidToStringConverterPropertyColumnBase, manyTypes.FindProperty("GuidToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressColumnBase, manyTypes.FindProperty("IPAddress")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressArrayColumnBase, manyTypes.FindProperty("IPAddressArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)iPAddressReadOnlyCollectionColumnBase, manyTypes.FindProperty("IPAddressReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressToBytesConverterPropertyColumnBase, manyTypes.FindProperty("IPAddressToBytesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)iPAddressToStringConverterPropertyColumnBase, manyTypes.FindProperty("IPAddressToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int16ColumnBase, manyTypes.FindProperty("Int16")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int16ArrayColumnBase, manyTypes.FindProperty("Int16Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int32ColumnBase, manyTypes.FindProperty("Int32")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int32ArrayColumnBase, manyTypes.FindProperty("Int32Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)int32ReadOnlyCollectionColumnBase, manyTypes.FindProperty("Int32ReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int64ColumnBase, manyTypes.FindProperty("Int64")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int64ArrayColumnBase, manyTypes.FindProperty("Int64Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)int8ColumnBase, manyTypes.FindProperty("Int8")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1052,6 +1065,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)physicalAddressToStringConverterPropertyColumnBase, manyTypes.FindProperty("PhysicalAddressToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringColumnBase, manyTypes.FindProperty("String")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringArrayColumnBase, manyTypes.FindProperty("StringArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)stringReadOnlyCollectionColumnBase, manyTypes.FindProperty("StringReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToBoolConverterPropertyColumnBase, manyTypes.FindProperty("StringToBoolConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToBytesConverterPropertyColumnBase, manyTypes.FindProperty("StringToBytesConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)stringToCharConverterPropertyColumnBase, manyTypes.FindProperty("StringToCharConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1082,6 +1096,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping((ColumnBase)uInt64ArrayColumnBase, manyTypes.FindProperty("UInt64Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uInt8ColumnBase, manyTypes.FindProperty("UInt8")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uInt8ArrayColumnBase, manyTypes.FindProperty("UInt8Array")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); + RelationalModel.CreateColumnMapping((ColumnBase)uInt8ReadOnlyCollectionColumnBase, manyTypes.FindProperty("UInt8ReadOnlyCollection")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriColumnBase, manyTypes.FindProperty("Uri")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriArrayColumnBase, manyTypes.FindProperty("UriArray")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); RelationalModel.CreateColumnMapping((ColumnBase)uriToStringConverterPropertyColumnBase, manyTypes.FindProperty("UriToStringConverterProperty")!, microsoftEntityFrameworkCoreScaffoldingCompiledModelTestBaseManyTypesMappingBase); @@ -1098,6 +1113,9 @@ private IRelationalModel CreateRelationalModel() var boolArrayColumn = new Column("BoolArray", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("BoolArray", boolArrayColumn); boolArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolArrayColumn); + var boolReadOnlyCollectionColumn = new Column("BoolReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("BoolReadOnlyCollection", boolReadOnlyCollectionColumn); + boolReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolReadOnlyCollectionColumn); var boolToStringConverterPropertyColumn = new Column("BoolToStringConverterProperty", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("BoolToStringConverterProperty", boolToStringConverterPropertyColumn); boolToStringConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(boolToStringConverterPropertyColumn); @@ -1359,6 +1377,9 @@ private IRelationalModel CreateRelationalModel() var iPAddressArrayColumn = new Column("IPAddressArray", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("IPAddressArray", iPAddressArrayColumn); iPAddressArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressArrayColumn); + var iPAddressReadOnlyCollectionColumn = new Column("IPAddressReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("IPAddressReadOnlyCollection", iPAddressReadOnlyCollectionColumn); + iPAddressReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressReadOnlyCollectionColumn); var iPAddressToBytesConverterPropertyColumn = new Column("IPAddressToBytesConverterProperty", "BLOB", manyTypesTable); manyTypesTable.Columns.Add("IPAddressToBytesConverterProperty", iPAddressToBytesConverterPropertyColumn); iPAddressToBytesConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(iPAddressToBytesConverterPropertyColumn); @@ -1377,6 +1398,9 @@ private IRelationalModel CreateRelationalModel() var int32ArrayColumn = new Column("Int32Array", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("Int32Array", int32ArrayColumn); int32ArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(int32ArrayColumn); + var int32ReadOnlyCollectionColumn = new Column("Int32ReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("Int32ReadOnlyCollection", int32ReadOnlyCollectionColumn); + int32ReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(int32ReadOnlyCollectionColumn); var int64Column = new Column("Int64", "INTEGER", manyTypesTable); manyTypesTable.Columns.Add("Int64", int64Column); int64Column.Accessors = ColumnAccessorsFactory.CreateGeneric(int64Column); @@ -1818,6 +1842,9 @@ private IRelationalModel CreateRelationalModel() var stringArrayColumn = new Column("StringArray", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("StringArray", stringArrayColumn); stringArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringArrayColumn); + var stringReadOnlyCollectionColumn = new Column("StringReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("StringReadOnlyCollection", stringReadOnlyCollectionColumn); + stringReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringReadOnlyCollectionColumn); var stringToBoolConverterPropertyColumn = new Column("StringToBoolConverterProperty", "INTEGER", manyTypesTable); manyTypesTable.Columns.Add("StringToBoolConverterProperty", stringToBoolConverterPropertyColumn); stringToBoolConverterPropertyColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(stringToBoolConverterPropertyColumn); @@ -1911,6 +1938,9 @@ private IRelationalModel CreateRelationalModel() var uInt8ArrayColumn = new Column("UInt8Array", "BLOB", manyTypesTable); manyTypesTable.Columns.Add("UInt8Array", uInt8ArrayColumn); uInt8ArrayColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uInt8ArrayColumn); + var uInt8ReadOnlyCollectionColumn = new Column("UInt8ReadOnlyCollection", "TEXT", manyTypesTable); + manyTypesTable.Columns.Add("UInt8ReadOnlyCollection", uInt8ReadOnlyCollectionColumn); + uInt8ReadOnlyCollectionColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uInt8ReadOnlyCollectionColumn); var uriColumn = new Column("Uri", "TEXT", manyTypesTable); manyTypesTable.Columns.Add("Uri", uriColumn); uriColumn.Accessors = ColumnAccessorsFactory.CreateGeneric(uriColumn); @@ -1927,6 +1957,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(idColumn1, manyTypes.FindProperty("Id")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolColumn, manyTypes.FindProperty("Bool")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolArrayColumn, manyTypes.FindProperty("BoolArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(boolReadOnlyCollectionColumn, manyTypes.FindProperty("BoolReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToStringConverterPropertyColumn, manyTypes.FindProperty("BoolToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToTwoValuesConverterPropertyColumn, manyTypes.FindProperty("BoolToTwoValuesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(boolToZeroOneConverterPropertyColumn, manyTypes.FindProperty("BoolToZeroOneConverterProperty")!, manyTypesTableMapping); @@ -2014,12 +2045,14 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(guidToStringConverterPropertyColumn, manyTypes.FindProperty("GuidToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressColumn, manyTypes.FindProperty("IPAddress")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressArrayColumn, manyTypes.FindProperty("IPAddressArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(iPAddressReadOnlyCollectionColumn, manyTypes.FindProperty("IPAddressReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressToBytesConverterPropertyColumn, manyTypes.FindProperty("IPAddressToBytesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(iPAddressToStringConverterPropertyColumn, manyTypes.FindProperty("IPAddressToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int16Column, manyTypes.FindProperty("Int16")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int16ArrayColumn, manyTypes.FindProperty("Int16Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int32Column, manyTypes.FindProperty("Int32")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int32ArrayColumn, manyTypes.FindProperty("Int32Array")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(int32ReadOnlyCollectionColumn, manyTypes.FindProperty("Int32ReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int64Column, manyTypes.FindProperty("Int64")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int64ArrayColumn, manyTypes.FindProperty("Int64Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(int8Column, manyTypes.FindProperty("Int8")!, manyTypesTableMapping); @@ -2127,6 +2160,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(physicalAddressToStringConverterPropertyColumn, manyTypes.FindProperty("PhysicalAddressToStringConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringColumn, manyTypes.FindProperty("String")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringArrayColumn, manyTypes.FindProperty("StringArray")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(stringReadOnlyCollectionColumn, manyTypes.FindProperty("StringReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToBoolConverterPropertyColumn, manyTypes.FindProperty("StringToBoolConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToBytesConverterPropertyColumn, manyTypes.FindProperty("StringToBytesConverterProperty")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(stringToCharConverterPropertyColumn, manyTypes.FindProperty("StringToCharConverterProperty")!, manyTypesTableMapping); @@ -2157,6 +2191,7 @@ private IRelationalModel CreateRelationalModel() RelationalModel.CreateColumnMapping(uInt64ArrayColumn, manyTypes.FindProperty("UInt64Array")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uInt8Column, manyTypes.FindProperty("UInt8")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uInt8ArrayColumn, manyTypes.FindProperty("UInt8Array")!, manyTypesTableMapping); + RelationalModel.CreateColumnMapping(uInt8ReadOnlyCollectionColumn, manyTypes.FindProperty("UInt8ReadOnlyCollection")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriColumn, manyTypes.FindProperty("Uri")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriArrayColumn, manyTypes.FindProperty("UriArray")!, manyTypesTableMapping); RelationalModel.CreateColumnMapping(uriToStringConverterPropertyColumn, manyTypes.FindProperty("UriToStringConverterProperty")!, manyTypesTableMapping); diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DependentDerivedEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DependentDerivedEntityType.cs index 20abdabdfbd..47a40af869a 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DependentDerivedEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/DependentDerivedEntityType.cs @@ -96,7 +96,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); + var entity8 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), ((ValueComparer)(((IProperty)enumDiscriminator).GetValueComparer())).Snapshot(source.GetCurrentValue(enumDiscriminator)), (source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), (source.GetCurrentValue(data) == null ? null : ((ValueComparer)(((IProperty)data).GetValueComparer())).Snapshot(source.GetCurrentValue(data))), ((ValueComparer)(((IProperty)money).GetValueComparer())).Snapshot(source.GetCurrentValue(money))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -110,8 +110,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); - return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), DependentBaseUnsafeAccessors.Principal(entity7)))); + var entity8 = ((CompiledModelTestBase.DependentDerived)(source.Entity)); + return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalId)), ((ValueComparer)(((IProperty)principalAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalAlternateId)), DependentBaseUnsafeAccessors.Principal(entity8)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 6, diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesEntityType.cs index af1a40407f3..2fec0bb509e 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesEntityType.cs @@ -35,7 +35,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas "Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase+ManyTypes", typeof(CompiledModelTestBase.ManyTypes), baseEntityType, - propertyCount: 236, + propertyCount: 241, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -195,6 +195,65 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas mappingInfo: new RelationalTypeMappingInfo( storeTypeName: "INTEGER"))); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + boolReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(instance) == null); + boolReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._boolReadOnlyCollection(entity) = ((List)(value))); + boolReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._boolReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(boolReadOnlyCollection, 3), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(boolReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[3]); + boolReadOnlyCollection.SetPropertyIndexes( + index: 3, + originalValueIndex: 3, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + boolReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + keyComparer: new ListOfValueTypesComparer, bool>(new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance)), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, bool>( + JsonBoolReaderWriter.Instance), + elementMapping: BoolTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + keyComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + providerValueComparer: new ValueComparer( + bool (bool v1, bool v2) => v1 == v2, + int (bool v) => ((object)v).GetHashCode(), + bool (bool v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "INTEGER"))); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -212,12 +271,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToStringConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 3), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToStringConverterProperty, 4), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[3]); + object (ValueBuffer valueBuffer) => valueBuffer[4]); boolToStringConverterProperty.SetPropertyIndexes( - index: 3, - originalValueIndex: 3, + index: 4, + originalValueIndex: 4, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -263,12 +322,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToTwoValuesConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToTwoValuesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 4), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToTwoValuesConverterProperty, 5), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToTwoValuesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[4]); + object (ValueBuffer valueBuffer) => valueBuffer[5]); boolToTwoValuesConverterProperty.SetPropertyIndexes( - index: 4, - originalValueIndex: 4, + index: 5, + originalValueIndex: 5, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -315,12 +374,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas boolToZeroOneConverterProperty.SetAccessors( bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BoolToZeroOneConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 5), + bool (InternalEntityEntry entry) => entry.ReadOriginalValue(boolToZeroOneConverterProperty, 6), bool (InternalEntityEntry entry) => entry.GetCurrentValue(boolToZeroOneConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[5]); + object (ValueBuffer valueBuffer) => valueBuffer[6]); boolToZeroOneConverterProperty.SetPropertyIndexes( - index: 5, - originalValueIndex: 5, + index: 6, + originalValueIndex: 6, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -366,12 +425,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Bytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 6), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytes, 7), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytes), - object (ValueBuffer valueBuffer) => valueBuffer[6]); + object (ValueBuffer valueBuffer) => valueBuffer[7]); bytes.SetPropertyIndexes( - index: 6, - originalValueIndex: 6, + index: 7, + originalValueIndex: 7, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -406,12 +465,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesArray.SetAccessors( byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesArray, 7), + byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesArray, 8), byte[][] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesArray), - object (ValueBuffer valueBuffer) => valueBuffer[7]); + object (ValueBuffer valueBuffer) => valueBuffer[8]); bytesArray.SetPropertyIndexes( - index: 7, - originalValueIndex: 7, + index: 8, + originalValueIndex: 8, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -465,12 +524,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas bytesToStringConverterProperty.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.BytesToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 8), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(bytesToStringConverterProperty, 9), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(bytesToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[8]); + object (ValueBuffer valueBuffer) => valueBuffer[9]); bytesToStringConverterProperty.SetPropertyIndexes( - index: 8, - originalValueIndex: 8, + index: 9, + originalValueIndex: 9, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -514,12 +573,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas castingConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CastingConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 9), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(castingConverterProperty, 10), int (InternalEntityEntry entry) => entry.GetCurrentValue(castingConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[9]); + object (ValueBuffer valueBuffer) => valueBuffer[10]); castingConverterProperty.SetPropertyIndexes( - index: 9, - originalValueIndex: 9, + index: 10, + originalValueIndex: 10, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -564,12 +623,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @char.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Char(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 10), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(@char, 11), char (InternalEntityEntry entry) => entry.GetCurrentValue(@char), - object (ValueBuffer valueBuffer) => valueBuffer[10]); + object (ValueBuffer valueBuffer) => valueBuffer[11]); @char.SetPropertyIndexes( - index: 10, - originalValueIndex: 10, + index: 11, + originalValueIndex: 11, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -606,12 +665,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charArray.SetAccessors( char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 11), + char[] (InternalEntityEntry entry) => entry.ReadOriginalValue(charArray, 12), char[] (InternalEntityEntry entry) => entry.GetCurrentValue(charArray), - object (ValueBuffer valueBuffer) => valueBuffer[11]); + object (ValueBuffer valueBuffer) => valueBuffer[12]); charArray.SetPropertyIndexes( - index: 11, - originalValueIndex: 11, + index: 12, + originalValueIndex: 12, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -666,12 +725,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas charToStringConverterProperty.SetAccessors( char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.CharToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 12), + char (InternalEntityEntry entry) => entry.ReadOriginalValue(charToStringConverterProperty, 13), char (InternalEntityEntry entry) => entry.GetCurrentValue(charToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[12]); + object (ValueBuffer valueBuffer) => valueBuffer[13]); charToStringConverterProperty.SetPropertyIndexes( - index: 12, - originalValueIndex: 12, + index: 13, + originalValueIndex: 13, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -718,12 +777,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnly.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 13), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnly, 14), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[13]); + object (ValueBuffer valueBuffer) => valueBuffer[14]); dateOnly.SetPropertyIndexes( - index: 13, - originalValueIndex: 13, + index: 14, + originalValueIndex: 14, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -746,12 +805,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyArray.SetAccessors( DateOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyArray, 14), + DateOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyArray, 15), DateOnly[] (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[14]); + object (ValueBuffer valueBuffer) => valueBuffer[15]); dateOnlyArray.SetPropertyIndexes( - index: 14, - originalValueIndex: 14, + index: 15, + originalValueIndex: 15, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -792,12 +851,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateOnlyToStringConverterProperty.SetAccessors( DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 15), + DateOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(dateOnlyToStringConverterProperty, 16), DateOnly (InternalEntityEntry entry) => entry.GetCurrentValue(dateOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[15]); + object (ValueBuffer valueBuffer) => valueBuffer[16]); dateOnlyToStringConverterProperty.SetPropertyIndexes( - index: 15, - originalValueIndex: 15, + index: 16, + originalValueIndex: 16, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -844,12 +903,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTime.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 16), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTime, 17), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTime), - object (ValueBuffer valueBuffer) => valueBuffer[16]); + object (ValueBuffer valueBuffer) => valueBuffer[17]); dateTime.SetPropertyIndexes( - index: 16, - originalValueIndex: 16, + index: 17, + originalValueIndex: 17, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -872,12 +931,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeArray.SetAccessors( DateTime[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeArray, 17), + DateTime[] (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeArray, 18), DateTime[] (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeArray), - object (ValueBuffer valueBuffer) => valueBuffer[17]); + object (ValueBuffer valueBuffer) => valueBuffer[18]); dateTimeArray.SetPropertyIndexes( - index: 17, - originalValueIndex: 17, + index: 18, + originalValueIndex: 18, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -918,12 +977,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBinaryConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 18), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBinaryConverterProperty, 19), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[18]); + object (ValueBuffer valueBuffer) => valueBuffer[19]); dateTimeOffsetToBinaryConverterProperty.SetPropertyIndexes( - index: 18, - originalValueIndex: 18, + index: 19, + originalValueIndex: 19, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -970,12 +1029,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToBytesConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 19), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToBytesConverterProperty, 20), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[19]); + object (ValueBuffer valueBuffer) => valueBuffer[20]); dateTimeOffsetToBytesConverterProperty.SetPropertyIndexes( - index: 19, - originalValueIndex: 19, + index: 20, + originalValueIndex: 20, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1022,12 +1081,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeOffsetToStringConverterProperty.SetAccessors( DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTimeOffset (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeOffsetToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 20), + DateTimeOffset (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeOffsetToStringConverterProperty, 21), DateTimeOffset (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeOffsetToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[20]); + object (ValueBuffer valueBuffer) => valueBuffer[21]); dateTimeOffsetToStringConverterProperty.SetPropertyIndexes( - index: 20, - originalValueIndex: 20, + index: 21, + originalValueIndex: 21, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1074,12 +1133,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToBinaryConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToBinaryConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 21), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToBinaryConverterProperty, 22), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToBinaryConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[21]); + object (ValueBuffer valueBuffer) => valueBuffer[22]); dateTimeToBinaryConverterProperty.SetPropertyIndexes( - index: 21, - originalValueIndex: 21, + index: 22, + originalValueIndex: 22, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1126,12 +1185,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToStringConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 22), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToStringConverterProperty, 23), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[22]); + object (ValueBuffer valueBuffer) => valueBuffer[23]); dateTimeToStringConverterProperty.SetPropertyIndexes( - index: 22, - originalValueIndex: 22, + index: 23, + originalValueIndex: 23, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1178,12 +1237,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas dateTimeToTicksConverterProperty.SetAccessors( DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DateTimeToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 23), + DateTime (InternalEntityEntry entry) => entry.ReadOriginalValue(dateTimeToTicksConverterProperty, 24), DateTime (InternalEntityEntry entry) => entry.GetCurrentValue(dateTimeToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[23]); + object (ValueBuffer valueBuffer) => valueBuffer[24]); dateTimeToTicksConverterProperty.SetPropertyIndexes( - index: 23, - originalValueIndex: 23, + index: 24, + originalValueIndex: 24, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1207,12 +1266,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @decimal.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Decimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 24), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(@decimal, 25), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(@decimal), - object (ValueBuffer valueBuffer) => valueBuffer[24]); + object (ValueBuffer valueBuffer) => valueBuffer[25]); @decimal.SetPropertyIndexes( - index: 24, - originalValueIndex: 24, + index: 25, + originalValueIndex: 25, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1235,12 +1294,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalArray.SetAccessors( decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 25), + decimal[] (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalArray, 26), decimal[] (InternalEntityEntry entry) => entry.GetCurrentValue(decimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[25]); + object (ValueBuffer valueBuffer) => valueBuffer[26]); decimalArray.SetPropertyIndexes( - index: 25, - originalValueIndex: 25, + index: 26, + originalValueIndex: 26, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1281,12 +1340,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToBytesConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 26), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToBytesConverterProperty, 27), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[26]); + object (ValueBuffer valueBuffer) => valueBuffer[27]); decimalNumberToBytesConverterProperty.SetPropertyIndexes( - index: 26, - originalValueIndex: 26, + index: 27, + originalValueIndex: 27, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1333,12 +1392,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas decimalNumberToStringConverterProperty.SetAccessors( decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DecimalNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 27), + decimal (InternalEntityEntry entry) => entry.ReadOriginalValue(decimalNumberToStringConverterProperty, 28), decimal (InternalEntityEntry entry) => entry.GetCurrentValue(decimalNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[27]); + object (ValueBuffer valueBuffer) => valueBuffer[28]); decimalNumberToStringConverterProperty.SetPropertyIndexes( - index: 27, - originalValueIndex: 27, + index: 28, + originalValueIndex: 28, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1385,12 +1444,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @double.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Double(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 28), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(@double, 29), double (InternalEntityEntry entry) => entry.GetCurrentValue(@double), - object (ValueBuffer valueBuffer) => valueBuffer[28]); + object (ValueBuffer valueBuffer) => valueBuffer[29]); @double.SetPropertyIndexes( - index: 28, - originalValueIndex: 28, + index: 29, + originalValueIndex: 29, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1427,12 +1486,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleArray.SetAccessors( double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 29), + double[] (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleArray, 30), double[] (InternalEntityEntry entry) => entry.GetCurrentValue(doubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[29]); + object (ValueBuffer valueBuffer) => valueBuffer[30]); doubleArray.SetPropertyIndexes( - index: 29, - originalValueIndex: 29, + index: 30, + originalValueIndex: 30, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1487,12 +1546,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToBytesConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 30), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToBytesConverterProperty, 31), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[30]); + object (ValueBuffer valueBuffer) => valueBuffer[31]); doubleNumberToBytesConverterProperty.SetPropertyIndexes( - index: 30, - originalValueIndex: 30, + index: 31, + originalValueIndex: 31, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1539,12 +1598,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas doubleNumberToStringConverterProperty.SetAccessors( double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.DoubleNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 31), + double (InternalEntityEntry entry) => entry.ReadOriginalValue(doubleNumberToStringConverterProperty, 32), double (InternalEntityEntry entry) => entry.GetCurrentValue(doubleNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[31]); + object (ValueBuffer valueBuffer) => valueBuffer[32]); doubleNumberToStringConverterProperty.SetPropertyIndexes( - index: 31, - originalValueIndex: 31, + index: 32, + originalValueIndex: 32, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1590,12 +1649,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 32), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16, 33), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16), - object (ValueBuffer valueBuffer) => valueBuffer[32]); + object (ValueBuffer valueBuffer) => valueBuffer[33]); enum16.SetPropertyIndexes( - index: 32, - originalValueIndex: 32, + index: 33, + originalValueIndex: 33, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1641,12 +1700,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16Array.SetAccessors( CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16Array, 33), + CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16Array, 34), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum16Array), - object (ValueBuffer valueBuffer) => valueBuffer[33]); + object (ValueBuffer valueBuffer) => valueBuffer[34]); enum16Array.SetPropertyIndexes( - index: 33, - originalValueIndex: 33, + index: 34, + originalValueIndex: 34, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1717,12 +1776,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsString.SetAccessors( CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 34), + CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsString, 35), CompiledModelTestBase.Enum16 (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[34]); + object (ValueBuffer valueBuffer) => valueBuffer[35]); enum16AsString.SetPropertyIndexes( - index: 34, - originalValueIndex: 34, + index: 35, + originalValueIndex: 35, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1766,12 +1825,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsStringArray.SetAccessors( CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsStringArray, 35), + CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum16AsStringArray, 36), CompiledModelTestBase.Enum16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[35]); + object (ValueBuffer valueBuffer) => valueBuffer[36]); enum16AsStringArray.SetPropertyIndexes( - index: 35, - originalValueIndex: 35, + index: 36, + originalValueIndex: 36, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1839,12 +1898,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16AsStringCollection, 36), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16AsStringCollection, 37), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[36]); + object (ValueBuffer valueBuffer) => valueBuffer[37]); enum16AsStringCollection.SetPropertyIndexes( - index: 36, - originalValueIndex: 36, + index: 37, + originalValueIndex: 37, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1912,12 +1971,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16Collection, 37), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum16Collection, 38), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[37]); + object (ValueBuffer valueBuffer) => valueBuffer[38]); enum16Collection.SetPropertyIndexes( - index: 37, - originalValueIndex: 37, + index: 38, + originalValueIndex: 38, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -1987,12 +2046,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 38), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32, 39), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32), - object (ValueBuffer valueBuffer) => valueBuffer[38]); + object (ValueBuffer valueBuffer) => valueBuffer[39]); enum32.SetPropertyIndexes( - index: 38, - originalValueIndex: 38, + index: 39, + originalValueIndex: 39, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2038,12 +2097,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32Array.SetAccessors( CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32Array, 39), + CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32Array, 40), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum32Array), - object (ValueBuffer valueBuffer) => valueBuffer[39]); + object (ValueBuffer valueBuffer) => valueBuffer[40]); enum32Array.SetPropertyIndexes( - index: 39, - originalValueIndex: 39, + index: 40, + originalValueIndex: 40, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2114,12 +2173,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsString.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 40), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsString, 41), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[40]); + object (ValueBuffer valueBuffer) => valueBuffer[41]); enum32AsString.SetPropertyIndexes( - index: 40, - originalValueIndex: 40, + index: 41, + originalValueIndex: 41, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2163,12 +2222,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsStringArray.SetAccessors( CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsStringArray, 41), + CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum32AsStringArray, 42), CompiledModelTestBase.Enum32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[41]); + object (ValueBuffer valueBuffer) => valueBuffer[42]); enum32AsStringArray.SetPropertyIndexes( - index: 41, - originalValueIndex: 41, + index: 42, + originalValueIndex: 42, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2236,12 +2295,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32AsStringCollection, 42), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32AsStringCollection, 43), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[42]); + object (ValueBuffer valueBuffer) => valueBuffer[43]); enum32AsStringCollection.SetPropertyIndexes( - index: 42, - originalValueIndex: 42, + index: 43, + originalValueIndex: 43, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2309,12 +2368,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32Collection, 43), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum32Collection, 44), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[43]); + object (ValueBuffer valueBuffer) => valueBuffer[44]); enum32Collection.SetPropertyIndexes( - index: 43, - originalValueIndex: 43, + index: 44, + originalValueIndex: 44, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2384,12 +2443,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 44), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64, 45), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64), - object (ValueBuffer valueBuffer) => valueBuffer[44]); + object (ValueBuffer valueBuffer) => valueBuffer[45]); enum64.SetPropertyIndexes( - index: 44, - originalValueIndex: 44, + index: 45, + originalValueIndex: 45, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2435,12 +2494,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64Array.SetAccessors( CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64Array, 45), + CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64Array, 46), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum64Array), - object (ValueBuffer valueBuffer) => valueBuffer[45]); + object (ValueBuffer valueBuffer) => valueBuffer[46]); enum64Array.SetPropertyIndexes( - index: 45, - originalValueIndex: 45, + index: 46, + originalValueIndex: 46, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2511,12 +2570,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsString.SetAccessors( CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 46), + CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsString, 47), CompiledModelTestBase.Enum64 (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[46]); + object (ValueBuffer valueBuffer) => valueBuffer[47]); enum64AsString.SetPropertyIndexes( - index: 46, - originalValueIndex: 46, + index: 47, + originalValueIndex: 47, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2560,12 +2619,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsStringArray.SetAccessors( CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsStringArray, 47), + CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum64AsStringArray, 48), CompiledModelTestBase.Enum64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[47]); + object (ValueBuffer valueBuffer) => valueBuffer[48]); enum64AsStringArray.SetPropertyIndexes( - index: 47, - originalValueIndex: 47, + index: 48, + originalValueIndex: 48, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2633,12 +2692,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64AsStringCollection, 48), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64AsStringCollection, 49), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[48]); + object (ValueBuffer valueBuffer) => valueBuffer[49]); enum64AsStringCollection.SetPropertyIndexes( - index: 48, - originalValueIndex: 48, + index: 49, + originalValueIndex: 49, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2706,12 +2765,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64Collection, 49), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum64Collection, 50), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[49]); + object (ValueBuffer valueBuffer) => valueBuffer[50]); enum64Collection.SetPropertyIndexes( - index: 49, - originalValueIndex: 49, + index: 50, + originalValueIndex: 50, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2781,12 +2840,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 50), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8, 51), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8), - object (ValueBuffer valueBuffer) => valueBuffer[50]); + object (ValueBuffer valueBuffer) => valueBuffer[51]); enum8.SetPropertyIndexes( - index: 50, - originalValueIndex: 50, + index: 51, + originalValueIndex: 51, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2832,12 +2891,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8Array.SetAccessors( CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8Array, 51), + CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8Array, 52), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum8Array), - object (ValueBuffer valueBuffer) => valueBuffer[51]); + object (ValueBuffer valueBuffer) => valueBuffer[52]); enum8Array.SetPropertyIndexes( - index: 51, - originalValueIndex: 51, + index: 52, + originalValueIndex: 52, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2908,12 +2967,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsString.SetAccessors( CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 52), + CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsString, 53), CompiledModelTestBase.Enum8 (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[52]); + object (ValueBuffer valueBuffer) => valueBuffer[53]); enum8AsString.SetPropertyIndexes( - index: 52, - originalValueIndex: 52, + index: 53, + originalValueIndex: 53, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -2957,12 +3016,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsStringArray.SetAccessors( CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsStringArray, 53), + CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enum8AsStringArray, 54), CompiledModelTestBase.Enum8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enum8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[53]); + object (ValueBuffer valueBuffer) => valueBuffer[54]); enum8AsStringArray.SetPropertyIndexes( - index: 53, - originalValueIndex: 53, + index: 54, + originalValueIndex: 54, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3030,12 +3089,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8AsStringCollection, 54), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8AsStringCollection, 55), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[54]); + object (ValueBuffer valueBuffer) => valueBuffer[55]); enum8AsStringCollection.SetPropertyIndexes( - index: 54, - originalValueIndex: 54, + index: 55, + originalValueIndex: 55, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3103,12 +3162,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enum8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Enum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8Collection, 55), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enum8Collection, 56), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enum8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[55]); + object (ValueBuffer valueBuffer) => valueBuffer[56]); enum8Collection.SetPropertyIndexes( - index: 55, - originalValueIndex: 55, + index: 56, + originalValueIndex: 56, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3179,12 +3238,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToNumberConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 56), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToNumberConverterProperty, 57), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[56]); + object (ValueBuffer valueBuffer) => valueBuffer[57]); enumToNumberConverterProperty.SetPropertyIndexes( - index: 56, - originalValueIndex: 56, + index: 57, + originalValueIndex: 57, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3231,12 +3290,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumToStringConverterProperty.SetAccessors( CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 57), + CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumToStringConverterProperty, 58), CompiledModelTestBase.Enum32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[57]); + object (ValueBuffer valueBuffer) => valueBuffer[58]); enumToStringConverterProperty.SetPropertyIndexes( - index: 57, - originalValueIndex: 57, + index: 58, + originalValueIndex: 58, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3280,12 +3339,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 58), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16, 59), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16), - object (ValueBuffer valueBuffer) => valueBuffer[58]); + object (ValueBuffer valueBuffer) => valueBuffer[59]); enumU16.SetPropertyIndexes( - index: 58, - originalValueIndex: 58, + index: 59, + originalValueIndex: 59, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3331,12 +3390,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16Array.SetAccessors( CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16Array, 59), + CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16Array, 60), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16Array), - object (ValueBuffer valueBuffer) => valueBuffer[59]); + object (ValueBuffer valueBuffer) => valueBuffer[60]); enumU16Array.SetPropertyIndexes( - index: 59, - originalValueIndex: 59, + index: 60, + originalValueIndex: 60, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3407,12 +3466,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 60), + CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsString, 61), CompiledModelTestBase.EnumU16 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[60]); + object (ValueBuffer valueBuffer) => valueBuffer[61]); enumU16AsString.SetPropertyIndexes( - index: 60, - originalValueIndex: 60, + index: 61, + originalValueIndex: 61, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3456,12 +3515,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsStringArray.SetAccessors( CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsStringArray, 61), + CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU16AsStringArray, 62), CompiledModelTestBase.EnumU16[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[61]); + object (ValueBuffer valueBuffer) => valueBuffer[62]); enumU16AsStringArray.SetPropertyIndexes( - index: 61, - originalValueIndex: 61, + index: 62, + originalValueIndex: 62, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3529,12 +3588,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16AsStringCollection, 62), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16AsStringCollection, 63), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[62]); + object (ValueBuffer valueBuffer) => valueBuffer[63]); enumU16AsStringCollection.SetPropertyIndexes( - index: 62, - originalValueIndex: 62, + index: 63, + originalValueIndex: 63, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3602,12 +3661,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16Collection, 63), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU16Collection, 64), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[63]); + object (ValueBuffer valueBuffer) => valueBuffer[64]); enumU16Collection.SetPropertyIndexes( - index: 63, - originalValueIndex: 63, + index: 64, + originalValueIndex: 64, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3677,12 +3736,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 64), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32, 65), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32), - object (ValueBuffer valueBuffer) => valueBuffer[64]); + object (ValueBuffer valueBuffer) => valueBuffer[65]); enumU32.SetPropertyIndexes( - index: 64, - originalValueIndex: 64, + index: 65, + originalValueIndex: 65, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3728,12 +3787,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32Array.SetAccessors( CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32Array, 65), + CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32Array, 66), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32Array), - object (ValueBuffer valueBuffer) => valueBuffer[65]); + object (ValueBuffer valueBuffer) => valueBuffer[66]); enumU32Array.SetPropertyIndexes( - index: 65, - originalValueIndex: 65, + index: 66, + originalValueIndex: 66, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3804,12 +3863,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 66), + CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsString, 67), CompiledModelTestBase.EnumU32 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[66]); + object (ValueBuffer valueBuffer) => valueBuffer[67]); enumU32AsString.SetPropertyIndexes( - index: 66, - originalValueIndex: 66, + index: 67, + originalValueIndex: 67, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3853,12 +3912,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsStringArray.SetAccessors( CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsStringArray, 67), + CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU32AsStringArray, 68), CompiledModelTestBase.EnumU32[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[67]); + object (ValueBuffer valueBuffer) => valueBuffer[68]); enumU32AsStringArray.SetPropertyIndexes( - index: 67, - originalValueIndex: 67, + index: 68, + originalValueIndex: 68, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3926,12 +3985,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32AsStringCollection, 68), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32AsStringCollection, 69), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[68]); + object (ValueBuffer valueBuffer) => valueBuffer[69]); enumU32AsStringCollection.SetPropertyIndexes( - index: 68, - originalValueIndex: 68, + index: 69, + originalValueIndex: 69, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -3999,12 +4058,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32Collection, 69), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU32Collection, 70), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[69]); + object (ValueBuffer valueBuffer) => valueBuffer[70]); enumU32Collection.SetPropertyIndexes( - index: 69, - originalValueIndex: 69, + index: 70, + originalValueIndex: 70, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4074,12 +4133,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 70), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64, 71), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64), - object (ValueBuffer valueBuffer) => valueBuffer[70]); + object (ValueBuffer valueBuffer) => valueBuffer[71]); enumU64.SetPropertyIndexes( - index: 70, - originalValueIndex: 70, + index: 71, + originalValueIndex: 71, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4123,12 +4182,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64Array.SetAccessors( CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64Array, 71), + CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64Array, 72), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64Array), - object (ValueBuffer valueBuffer) => valueBuffer[71]); + object (ValueBuffer valueBuffer) => valueBuffer[72]); enumU64Array.SetPropertyIndexes( - index: 71, - originalValueIndex: 71, + index: 72, + originalValueIndex: 72, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4197,12 +4256,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 72), + CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsString, 73), CompiledModelTestBase.EnumU64 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[72]); + object (ValueBuffer valueBuffer) => valueBuffer[73]); enumU64AsString.SetPropertyIndexes( - index: 72, - originalValueIndex: 72, + index: 73, + originalValueIndex: 73, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4246,12 +4305,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsStringArray.SetAccessors( CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsStringArray, 73), + CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU64AsStringArray, 74), CompiledModelTestBase.EnumU64[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[73]); + object (ValueBuffer valueBuffer) => valueBuffer[74]); enumU64AsStringArray.SetPropertyIndexes( - index: 73, - originalValueIndex: 73, + index: 74, + originalValueIndex: 74, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4319,12 +4378,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64AsStringCollection, 74), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64AsStringCollection, 75), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[74]); + object (ValueBuffer valueBuffer) => valueBuffer[75]); enumU64AsStringCollection.SetPropertyIndexes( - index: 74, - originalValueIndex: 74, + index: 75, + originalValueIndex: 75, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4392,12 +4451,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64Collection, 75), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU64Collection, 76), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[75]); + object (ValueBuffer valueBuffer) => valueBuffer[76]); enumU64Collection.SetPropertyIndexes( - index: 75, - originalValueIndex: 75, + index: 76, + originalValueIndex: 76, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4465,12 +4524,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 76), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8, 77), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8), - object (ValueBuffer valueBuffer) => valueBuffer[76]); + object (ValueBuffer valueBuffer) => valueBuffer[77]); enumU8.SetPropertyIndexes( - index: 76, - originalValueIndex: 76, + index: 77, + originalValueIndex: 77, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4516,12 +4575,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8Array.SetAccessors( CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8Array, 77), + CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8Array, 78), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8Array), - object (ValueBuffer valueBuffer) => valueBuffer[77]); + object (ValueBuffer valueBuffer) => valueBuffer[78]); enumU8Array.SetPropertyIndexes( - index: 77, - originalValueIndex: 77, + index: 78, + originalValueIndex: 78, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4592,12 +4651,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 78), + CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsString, 79), CompiledModelTestBase.EnumU8 (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[78]); + object (ValueBuffer valueBuffer) => valueBuffer[79]); enumU8AsString.SetPropertyIndexes( - index: 78, - originalValueIndex: 78, + index: 79, + originalValueIndex: 79, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4641,12 +4700,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsStringArray.SetAccessors( CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsStringArray, 79), + CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.ReadOriginalValue(enumU8AsStringArray, 80), CompiledModelTestBase.EnumU8[] (InternalEntityEntry entry) => entry.GetCurrentValue(enumU8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[79]); + object (ValueBuffer valueBuffer) => valueBuffer[80]); enumU8AsStringArray.SetPropertyIndexes( - index: 79, - originalValueIndex: 79, + index: 80, + originalValueIndex: 80, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4714,12 +4773,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8AsStringCollection, 80), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8AsStringCollection, 81), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[80]); + object (ValueBuffer valueBuffer) => valueBuffer[81]); enumU8AsStringCollection.SetPropertyIndexes( - index: 80, - originalValueIndex: 80, + index: 81, + originalValueIndex: 81, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4787,12 +4846,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas enumU8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.EnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8Collection, 81), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(enumU8Collection, 82), List (InternalEntityEntry entry) => entry.GetCurrentValue>(enumU8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[81]); + object (ValueBuffer valueBuffer) => valueBuffer[82]); enumU8Collection.SetPropertyIndexes( - index: 81, - originalValueIndex: 81, + index: 82, + originalValueIndex: 82, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4863,12 +4922,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @float.SetAccessors( float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Float(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 82), + float (InternalEntityEntry entry) => entry.ReadOriginalValue(@float, 83), float (InternalEntityEntry entry) => entry.GetCurrentValue(@float), - object (ValueBuffer valueBuffer) => valueBuffer[82]); + object (ValueBuffer valueBuffer) => valueBuffer[83]); @float.SetPropertyIndexes( - index: 82, - originalValueIndex: 82, + index: 83, + originalValueIndex: 83, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4905,12 +4964,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas floatArray.SetAccessors( float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.FloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 83), + float[] (InternalEntityEntry entry) => entry.ReadOriginalValue(floatArray, 84), float[] (InternalEntityEntry entry) => entry.GetCurrentValue(floatArray), - object (ValueBuffer valueBuffer) => valueBuffer[83]); + object (ValueBuffer valueBuffer) => valueBuffer[84]); floatArray.SetPropertyIndexes( - index: 83, - originalValueIndex: 83, + index: 84, + originalValueIndex: 84, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4965,12 +5024,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guid.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Guid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 84), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guid, 85), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guid), - object (ValueBuffer valueBuffer) => valueBuffer[84]); + object (ValueBuffer valueBuffer) => valueBuffer[85]); guid.SetPropertyIndexes( - index: 84, - originalValueIndex: 84, + index: 85, + originalValueIndex: 85, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -4993,12 +5052,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidArray.SetAccessors( Guid[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid[] (InternalEntityEntry entry) => entry.ReadOriginalValue(guidArray, 85), + Guid[] (InternalEntityEntry entry) => entry.ReadOriginalValue(guidArray, 86), Guid[] (InternalEntityEntry entry) => entry.GetCurrentValue(guidArray), - object (ValueBuffer valueBuffer) => valueBuffer[85]); + object (ValueBuffer valueBuffer) => valueBuffer[86]); guidArray.SetPropertyIndexes( - index: 85, - originalValueIndex: 85, + index: 86, + originalValueIndex: 86, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5039,12 +5098,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToBytesConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 86), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToBytesConverterProperty, 87), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[86]); + object (ValueBuffer valueBuffer) => valueBuffer[87]); guidToBytesConverterProperty.SetPropertyIndexes( - index: 86, - originalValueIndex: 86, + index: 87, + originalValueIndex: 87, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5091,12 +5150,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas guidToStringConverterProperty.SetAccessors( Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.GuidToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 87), + Guid (InternalEntityEntry entry) => entry.ReadOriginalValue(guidToStringConverterProperty, 88), Guid (InternalEntityEntry entry) => entry.GetCurrentValue(guidToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[87]); + object (ValueBuffer valueBuffer) => valueBuffer[88]); guidToStringConverterProperty.SetPropertyIndexes( - index: 87, - originalValueIndex: 87, + index: 88, + originalValueIndex: 88, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5142,12 +5201,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 88), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddress, 89), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[88]); + object (ValueBuffer valueBuffer) => valueBuffer[89]); iPAddress.SetPropertyIndexes( - index: 88, - originalValueIndex: 88, + index: 89, + originalValueIndex: 89, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5192,12 +5251,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressArray.SetAccessors( IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressArray, 89), + IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressArray, 90), IPAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[89]); + object (ValueBuffer valueBuffer) => valueBuffer[90]); iPAddressArray.SetPropertyIndexes( - index: 89, - originalValueIndex: 89, + index: 90, + originalValueIndex: 90, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5250,6 +5309,81 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas string (IPAddress v) => ((object)v).ToString(), IPAddress (string v) => IPAddress.Parse(v))))); + var iPAddressReadOnlyCollection = runtimeEntityType.AddProperty( + "IPAddressReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_ipAddressReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + iPAddressReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(instance) == null); + iPAddressReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) = ((List)(value))); + iPAddressReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(entity) = ((List)(value))); + iPAddressReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._ipAddressReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(iPAddressReadOnlyCollection, 91), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(iPAddressReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[91]); + iPAddressReadOnlyCollection.SetPropertyIndexes( + index: 91, + originalValueIndex: 91, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + iPAddressReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, IPAddress>(new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v)), + keyComparer: new ListOfReferenceTypesComparer, IPAddress>(new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter, IPAddress>( + new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v))))), + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, IPAddress>( + new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v)))), + elementMapping: SqliteStringTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v), + keyComparer: new ValueComparer( + bool (IPAddress v1, IPAddress v2) => v1 == null && v2 == null || v1 != null && v2 != null && v1.Equals(v2), + int (IPAddress v) => ((object)v).GetHashCode(), + IPAddress (IPAddress v) => v), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + mappingInfo: new RelationalTypeMappingInfo( + size: 45), + converter: new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v)), + jsonValueReaderWriter: new JsonConvertedValueReaderWriter( + JsonStringReaderWriter.Instance, + new ValueConverter( + string (IPAddress v) => ((object)v).ToString(), + IPAddress (string v) => IPAddress.Parse(v))))); + var iPAddressToBytesConverterProperty = runtimeEntityType.AddProperty( "IPAddressToBytesConverterProperty", typeof(IPAddress), @@ -5268,12 +5402,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToBytesConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 90), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToBytesConverterProperty, 92), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[90]); + object (ValueBuffer valueBuffer) => valueBuffer[92]); iPAddressToBytesConverterProperty.SetPropertyIndexes( - index: 90, - originalValueIndex: 90, + index: 92, + originalValueIndex: 92, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5319,12 +5453,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas iPAddressToStringConverterProperty.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IPAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 91), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(iPAddressToStringConverterProperty, 93), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(iPAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[91]); + object (ValueBuffer valueBuffer) => valueBuffer[93]); iPAddressToStringConverterProperty.SetPropertyIndexes( - index: 91, - originalValueIndex: 91, + index: 93, + originalValueIndex: 93, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5370,12 +5504,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16.SetAccessors( short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 92), + short (InternalEntityEntry entry) => entry.ReadOriginalValue(int16, 94), short (InternalEntityEntry entry) => entry.GetCurrentValue(int16), - object (ValueBuffer valueBuffer) => valueBuffer[92]); + object (ValueBuffer valueBuffer) => valueBuffer[94]); int16.SetPropertyIndexes( - index: 92, - originalValueIndex: 92, + index: 94, + originalValueIndex: 94, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5412,12 +5546,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int16Array.SetAccessors( short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 93), + short[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int16Array, 95), short[] (InternalEntityEntry entry) => entry.GetCurrentValue(int16Array), - object (ValueBuffer valueBuffer) => valueBuffer[93]); + object (ValueBuffer valueBuffer) => valueBuffer[95]); int16Array.SetPropertyIndexes( - index: 93, - originalValueIndex: 93, + index: 95, + originalValueIndex: 95, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5472,12 +5606,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 94), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(int32, 96), int (InternalEntityEntry entry) => entry.GetCurrentValue(int32), - object (ValueBuffer valueBuffer) => valueBuffer[94]); + object (ValueBuffer valueBuffer) => valueBuffer[96]); int32.SetPropertyIndexes( - index: 94, - originalValueIndex: 94, + index: 96, + originalValueIndex: 96, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5514,12 +5648,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int32Array.SetAccessors( int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 95), + int[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int32Array, 97), int[] (InternalEntityEntry entry) => entry.GetCurrentValue(int32Array), - object (ValueBuffer valueBuffer) => valueBuffer[95]); + object (ValueBuffer valueBuffer) => valueBuffer[97]); int32Array.SetPropertyIndexes( - index: 95, - originalValueIndex: 95, + index: 97, + originalValueIndex: 97, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5556,6 +5690,65 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas mappingInfo: new RelationalTypeMappingInfo( storeTypeName: "INTEGER"))); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + int32ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(instance) == null); + int32ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._int32ReadOnlyCollection(entity) = ((List)(value))); + int32ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._int32ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(int32ReadOnlyCollection, 98), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(int32ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[98]); + int32ReadOnlyCollection.SetPropertyIndexes( + index: 98, + originalValueIndex: 98, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + int32ReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + keyComparer: new ListOfValueTypesComparer, int>(new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance)), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, int>( + JsonInt32ReaderWriter.Instance), + elementMapping: IntTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + keyComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + providerValueComparer: new ValueComparer( + bool (int v1, int v2) => v1 == v2, + int (int v) => v, + int (int v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "INTEGER"))); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -5574,12 +5767,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64.SetAccessors( long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 96), + long (InternalEntityEntry entry) => entry.ReadOriginalValue(int64, 99), long (InternalEntityEntry entry) => entry.GetCurrentValue(int64), - object (ValueBuffer valueBuffer) => valueBuffer[96]); + object (ValueBuffer valueBuffer) => valueBuffer[99]); int64.SetPropertyIndexes( - index: 96, - originalValueIndex: 96, + index: 99, + originalValueIndex: 99, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5616,12 +5809,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int64Array.SetAccessors( long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 97), + long[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int64Array, 100), long[] (InternalEntityEntry entry) => entry.GetCurrentValue(int64Array), - object (ValueBuffer valueBuffer) => valueBuffer[97]); + object (ValueBuffer valueBuffer) => valueBuffer[100]); int64Array.SetPropertyIndexes( - index: 97, - originalValueIndex: 97, + index: 100, + originalValueIndex: 100, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5676,12 +5869,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8.SetAccessors( sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 98), + sbyte (InternalEntityEntry entry) => entry.ReadOriginalValue(int8, 101), sbyte (InternalEntityEntry entry) => entry.GetCurrentValue(int8), - object (ValueBuffer valueBuffer) => valueBuffer[98]); + object (ValueBuffer valueBuffer) => valueBuffer[101]); int8.SetPropertyIndexes( - index: 98, - originalValueIndex: 98, + index: 101, + originalValueIndex: 101, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5718,12 +5911,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int8Array.SetAccessors( sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Int8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 99), + sbyte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(int8Array, 102), sbyte[] (InternalEntityEntry entry) => entry.GetCurrentValue(int8Array), - object (ValueBuffer valueBuffer) => valueBuffer[99]); + object (ValueBuffer valueBuffer) => valueBuffer[102]); int8Array.SetPropertyIndexes( - index: 99, - originalValueIndex: 99, + index: 102, + originalValueIndex: 102, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5778,12 +5971,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToBytesConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 100), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToBytesConverterProperty, 103), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[100]); + object (ValueBuffer valueBuffer) => valueBuffer[103]); intNumberToBytesConverterProperty.SetPropertyIndexes( - index: 100, - originalValueIndex: 100, + index: 103, + originalValueIndex: 103, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5830,12 +6023,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas intNumberToStringConverterProperty.SetAccessors( int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.IntNumberToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 101), + int (InternalEntityEntry entry) => entry.ReadOriginalValue(intNumberToStringConverterProperty, 104), int (InternalEntityEntry entry) => entry.GetCurrentValue(intNumberToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[101]); + object (ValueBuffer valueBuffer) => valueBuffer[104]); intNumberToStringConverterProperty.SetPropertyIndexes( - index: 101, - originalValueIndex: 101, + index: 104, + originalValueIndex: 104, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5883,12 +6076,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullIntToNullStringConverterProperty.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullIntToNullStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 102), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullIntToNullStringConverterProperty, 105), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullIntToNullStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[102]); + object (ValueBuffer valueBuffer) => valueBuffer[105]); nullIntToNullStringConverterProperty.SetPropertyIndexes( - index: 102, - originalValueIndex: 102, + index: 105, + originalValueIndex: 105, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5934,12 +6127,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBool.SetAccessors( bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBool(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 103), + bool? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBool, 106), bool? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBool), - object (ValueBuffer valueBuffer) => valueBuffer[103]); + object (ValueBuffer valueBuffer) => valueBuffer[106]); nullableBool.SetPropertyIndexes( - index: 103, - originalValueIndex: 103, + index: 106, + originalValueIndex: 106, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -5978,12 +6171,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBoolArray.SetAccessors( bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), bool? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBoolArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 104), + bool? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBoolArray, 107), bool? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBoolArray), - object (ValueBuffer valueBuffer) => valueBuffer[104]); + object (ValueBuffer valueBuffer) => valueBuffer[107]); nullableBoolArray.SetPropertyIndexes( - index: 104, - originalValueIndex: 104, + index: 107, + originalValueIndex: 107, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6038,12 +6231,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytes.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytes(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 105), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytes, 108), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytes), - object (ValueBuffer valueBuffer) => valueBuffer[105]); + object (ValueBuffer valueBuffer) => valueBuffer[108]); nullableBytes.SetPropertyIndexes( - index: 105, - originalValueIndex: 105, + index: 108, + originalValueIndex: 108, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6078,12 +6271,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableBytesArray.SetAccessors( byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[][] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableBytesArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytesArray, 106), + byte[][] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableBytesArray, 109), byte[][] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableBytesArray), - object (ValueBuffer valueBuffer) => valueBuffer[106]); + object (ValueBuffer valueBuffer) => valueBuffer[109]); nullableBytesArray.SetPropertyIndexes( - index: 106, - originalValueIndex: 106, + index: 109, + originalValueIndex: 109, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6136,12 +6329,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableChar.SetAccessors( char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableChar(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 107), + char? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableChar, 110), char? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableChar), - object (ValueBuffer valueBuffer) => valueBuffer[107]); + object (ValueBuffer valueBuffer) => valueBuffer[110]); nullableChar.SetPropertyIndexes( - index: 107, - originalValueIndex: 107, + index: 110, + originalValueIndex: 110, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6180,12 +6373,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableCharArray.SetAccessors( char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), char? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableCharArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 108), + char? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableCharArray, 111), char? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableCharArray), - object (ValueBuffer valueBuffer) => valueBuffer[108]); + object (ValueBuffer valueBuffer) => valueBuffer[111]); nullableCharArray.SetPropertyIndexes( - index: 108, - originalValueIndex: 108, + index: 111, + originalValueIndex: 111, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6240,12 +6433,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnly.SetAccessors( DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 109), + DateOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnly, 112), DateOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnly), - object (ValueBuffer valueBuffer) => valueBuffer[109]); + object (ValueBuffer valueBuffer) => valueBuffer[112]); nullableDateOnly.SetPropertyIndexes( - index: 109, - originalValueIndex: 109, + index: 112, + originalValueIndex: 112, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6270,12 +6463,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateOnlyArray.SetAccessors( DateOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnlyArray, 110), + DateOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateOnlyArray, 113), DateOnly? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[110]); + object (ValueBuffer valueBuffer) => valueBuffer[113]); nullableDateOnlyArray.SetPropertyIndexes( - index: 110, - originalValueIndex: 110, + index: 113, + originalValueIndex: 113, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6316,12 +6509,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTime.SetAccessors( DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTime(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 111), + DateTime? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTime, 114), DateTime? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTime), - object (ValueBuffer valueBuffer) => valueBuffer[111]); + object (ValueBuffer valueBuffer) => valueBuffer[114]); nullableDateTime.SetPropertyIndexes( - index: 111, - originalValueIndex: 111, + index: 114, + originalValueIndex: 114, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6346,12 +6539,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDateTimeArray.SetAccessors( DateTime? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), DateTime? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDateTimeArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - DateTime? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTimeArray, 112), + DateTime? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDateTimeArray, 115), DateTime? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDateTimeArray), - object (ValueBuffer valueBuffer) => valueBuffer[112]); + object (ValueBuffer valueBuffer) => valueBuffer[115]); nullableDateTimeArray.SetPropertyIndexes( - index: 112, - originalValueIndex: 112, + index: 115, + originalValueIndex: 115, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6392,12 +6585,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimal.SetAccessors( decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimal(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 113), + decimal? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimal, 116), decimal? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimal), - object (ValueBuffer valueBuffer) => valueBuffer[113]); + object (ValueBuffer valueBuffer) => valueBuffer[116]); nullableDecimal.SetPropertyIndexes( - index: 113, - originalValueIndex: 113, + index: 116, + originalValueIndex: 116, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6422,12 +6615,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDecimalArray.SetAccessors( decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), decimal? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDecimalArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 114), + decimal? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDecimalArray, 117), decimal? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDecimalArray), - object (ValueBuffer valueBuffer) => valueBuffer[114]); + object (ValueBuffer valueBuffer) => valueBuffer[117]); nullableDecimalArray.SetPropertyIndexes( - index: 114, - originalValueIndex: 114, + index: 117, + originalValueIndex: 117, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6468,12 +6661,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDouble.SetAccessors( double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDouble(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 115), + double? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDouble, 118), double? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDouble), - object (ValueBuffer valueBuffer) => valueBuffer[115]); + object (ValueBuffer valueBuffer) => valueBuffer[118]); nullableDouble.SetPropertyIndexes( - index: 115, - originalValueIndex: 115, + index: 118, + originalValueIndex: 118, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6512,12 +6705,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableDoubleArray.SetAccessors( double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), double? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableDoubleArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 116), + double? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableDoubleArray, 119), double? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableDoubleArray), - object (ValueBuffer valueBuffer) => valueBuffer[116]); + object (ValueBuffer valueBuffer) => valueBuffer[119]); nullableDoubleArray.SetPropertyIndexes( - index: 116, - originalValueIndex: 116, + index: 119, + originalValueIndex: 119, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6572,12 +6765,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 117), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16, 120), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16), - object (ValueBuffer valueBuffer) => valueBuffer[117]); + object (ValueBuffer valueBuffer) => valueBuffer[120]); nullableEnum16.SetPropertyIndexes( - index: 117, - originalValueIndex: 117, + index: 120, + originalValueIndex: 120, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6624,12 +6817,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16Array.SetAccessors( CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16Array, 118), + CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16Array, 121), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16Array), - object (ValueBuffer valueBuffer) => valueBuffer[118]); + object (ValueBuffer valueBuffer) => valueBuffer[121]); nullableEnum16Array.SetPropertyIndexes( - index: 118, - originalValueIndex: 118, + index: 121, + originalValueIndex: 121, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6700,12 +6893,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsString.SetAccessors( CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 119), + CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsString, 122), CompiledModelTestBase.Enum16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[119]); + object (ValueBuffer valueBuffer) => valueBuffer[122]); nullableEnum16AsString.SetPropertyIndexes( - index: 119, - originalValueIndex: 119, + index: 122, + originalValueIndex: 122, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6752,12 +6945,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsStringArray.SetAccessors( CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsStringArray, 120), + CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum16AsStringArray, 123), CompiledModelTestBase.Enum16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[120]); + object (ValueBuffer valueBuffer) => valueBuffer[123]); nullableEnum16AsStringArray.SetPropertyIndexes( - index: 120, - originalValueIndex: 120, + index: 123, + originalValueIndex: 123, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6827,12 +7020,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16AsStringCollection, 121), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16AsStringCollection, 124), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[121]); + object (ValueBuffer valueBuffer) => valueBuffer[124]); nullableEnum16AsStringCollection.SetPropertyIndexes( - index: 121, - originalValueIndex: 121, + index: 124, + originalValueIndex: 124, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6902,12 +7095,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16Collection, 122), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum16Collection, 125), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[122]); + object (ValueBuffer valueBuffer) => valueBuffer[125]); nullableEnum16Collection.SetPropertyIndexes( - index: 122, - originalValueIndex: 122, + index: 125, + originalValueIndex: 125, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -6978,12 +7171,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 123), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32, 126), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32), - object (ValueBuffer valueBuffer) => valueBuffer[123]); + object (ValueBuffer valueBuffer) => valueBuffer[126]); nullableEnum32.SetPropertyIndexes( - index: 123, - originalValueIndex: 123, + index: 126, + originalValueIndex: 126, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7030,12 +7223,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32Array.SetAccessors( CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32Array, 124), + CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32Array, 127), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32Array), - object (ValueBuffer valueBuffer) => valueBuffer[124]); + object (ValueBuffer valueBuffer) => valueBuffer[127]); nullableEnum32Array.SetPropertyIndexes( - index: 124, - originalValueIndex: 124, + index: 127, + originalValueIndex: 127, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7106,12 +7299,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsString.SetAccessors( CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 125), + CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsString, 128), CompiledModelTestBase.Enum32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[125]); + object (ValueBuffer valueBuffer) => valueBuffer[128]); nullableEnum32AsString.SetPropertyIndexes( - index: 125, - originalValueIndex: 125, + index: 128, + originalValueIndex: 128, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7158,12 +7351,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsStringArray.SetAccessors( CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsStringArray, 126), + CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum32AsStringArray, 129), CompiledModelTestBase.Enum32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[126]); + object (ValueBuffer valueBuffer) => valueBuffer[129]); nullableEnum32AsStringArray.SetPropertyIndexes( - index: 126, - originalValueIndex: 126, + index: 129, + originalValueIndex: 129, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7233,12 +7426,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32AsStringCollection, 127), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32AsStringCollection, 130), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[127]); + object (ValueBuffer valueBuffer) => valueBuffer[130]); nullableEnum32AsStringCollection.SetPropertyIndexes( - index: 127, - originalValueIndex: 127, + index: 130, + originalValueIndex: 130, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7308,12 +7501,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32Collection, 128), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum32Collection, 131), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[128]); + object (ValueBuffer valueBuffer) => valueBuffer[131]); nullableEnum32Collection.SetPropertyIndexes( - index: 128, - originalValueIndex: 128, + index: 131, + originalValueIndex: 131, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7384,12 +7577,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 129), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64, 132), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64), - object (ValueBuffer valueBuffer) => valueBuffer[129]); + object (ValueBuffer valueBuffer) => valueBuffer[132]); nullableEnum64.SetPropertyIndexes( - index: 129, - originalValueIndex: 129, + index: 132, + originalValueIndex: 132, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7436,12 +7629,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64Array.SetAccessors( CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64Array, 130), + CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64Array, 133), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64Array), - object (ValueBuffer valueBuffer) => valueBuffer[130]); + object (ValueBuffer valueBuffer) => valueBuffer[133]); nullableEnum64Array.SetPropertyIndexes( - index: 130, - originalValueIndex: 130, + index: 133, + originalValueIndex: 133, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7512,12 +7705,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsString.SetAccessors( CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 131), + CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsString, 134), CompiledModelTestBase.Enum64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[131]); + object (ValueBuffer valueBuffer) => valueBuffer[134]); nullableEnum64AsString.SetPropertyIndexes( - index: 131, - originalValueIndex: 131, + index: 134, + originalValueIndex: 134, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7564,12 +7757,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsStringArray.SetAccessors( CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsStringArray, 132), + CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum64AsStringArray, 135), CompiledModelTestBase.Enum64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[132]); + object (ValueBuffer valueBuffer) => valueBuffer[135]); nullableEnum64AsStringArray.SetPropertyIndexes( - index: 132, - originalValueIndex: 132, + index: 135, + originalValueIndex: 135, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7639,12 +7832,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64AsStringCollection, 133), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64AsStringCollection, 136), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[133]); + object (ValueBuffer valueBuffer) => valueBuffer[136]); nullableEnum64AsStringCollection.SetPropertyIndexes( - index: 133, - originalValueIndex: 133, + index: 136, + originalValueIndex: 136, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7714,12 +7907,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64Collection, 134), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum64Collection, 137), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[134]); + object (ValueBuffer valueBuffer) => valueBuffer[137]); nullableEnum64Collection.SetPropertyIndexes( - index: 134, - originalValueIndex: 134, + index: 137, + originalValueIndex: 137, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7790,12 +7983,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 135), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8, 138), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8), - object (ValueBuffer valueBuffer) => valueBuffer[135]); + object (ValueBuffer valueBuffer) => valueBuffer[138]); nullableEnum8.SetPropertyIndexes( - index: 135, - originalValueIndex: 135, + index: 138, + originalValueIndex: 138, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7842,12 +8035,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8Array.SetAccessors( CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8Array, 136), + CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8Array, 139), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8Array), - object (ValueBuffer valueBuffer) => valueBuffer[136]); + object (ValueBuffer valueBuffer) => valueBuffer[139]); nullableEnum8Array.SetPropertyIndexes( - index: 136, - originalValueIndex: 136, + index: 139, + originalValueIndex: 139, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7918,12 +8111,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsString.SetAccessors( CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 137), + CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsString, 140), CompiledModelTestBase.Enum8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[137]); + object (ValueBuffer valueBuffer) => valueBuffer[140]); nullableEnum8AsString.SetPropertyIndexes( - index: 137, - originalValueIndex: 137, + index: 140, + originalValueIndex: 140, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -7970,12 +8163,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsStringArray.SetAccessors( CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsStringArray, 138), + CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnum8AsStringArray, 141), CompiledModelTestBase.Enum8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnum8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[138]); + object (ValueBuffer valueBuffer) => valueBuffer[141]); nullableEnum8AsStringArray.SetPropertyIndexes( - index: 138, - originalValueIndex: 138, + index: 141, + originalValueIndex: 141, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8045,12 +8238,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8AsStringCollection, 139), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8AsStringCollection, 142), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[139]); + object (ValueBuffer valueBuffer) => valueBuffer[142]); nullableEnum8AsStringCollection.SetPropertyIndexes( - index: 139, - originalValueIndex: 139, + index: 142, + originalValueIndex: 142, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8120,12 +8313,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnum8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnum8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8Collection, 140), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnum8Collection, 143), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnum8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[140]); + object (ValueBuffer valueBuffer) => valueBuffer[143]); nullableEnum8Collection.SetPropertyIndexes( - index: 140, - originalValueIndex: 140, + index: 143, + originalValueIndex: 143, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8196,12 +8389,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 141), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16, 144), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16), - object (ValueBuffer valueBuffer) => valueBuffer[141]); + object (ValueBuffer valueBuffer) => valueBuffer[144]); nullableEnumU16.SetPropertyIndexes( - index: 141, - originalValueIndex: 141, + index: 144, + originalValueIndex: 144, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8248,12 +8441,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16Array.SetAccessors( CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16Array, 142), + CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16Array, 145), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16Array), - object (ValueBuffer valueBuffer) => valueBuffer[142]); + object (ValueBuffer valueBuffer) => valueBuffer[145]); nullableEnumU16Array.SetPropertyIndexes( - index: 142, - originalValueIndex: 142, + index: 145, + originalValueIndex: 145, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8324,12 +8517,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsString.SetAccessors( CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 143), + CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsString, 146), CompiledModelTestBase.EnumU16? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsString), - object (ValueBuffer valueBuffer) => valueBuffer[143]); + object (ValueBuffer valueBuffer) => valueBuffer[146]); nullableEnumU16AsString.SetPropertyIndexes( - index: 143, - originalValueIndex: 143, + index: 146, + originalValueIndex: 146, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8376,12 +8569,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsStringArray.SetAccessors( CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsStringArray, 144), + CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU16AsStringArray, 147), CompiledModelTestBase.EnumU16? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU16AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[144]); + object (ValueBuffer valueBuffer) => valueBuffer[147]); nullableEnumU16AsStringArray.SetPropertyIndexes( - index: 144, - originalValueIndex: 144, + index: 147, + originalValueIndex: 147, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8451,12 +8644,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16AsStringCollection, 145), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16AsStringCollection, 148), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU16AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[145]); + object (ValueBuffer valueBuffer) => valueBuffer[148]); nullableEnumU16AsStringCollection.SetPropertyIndexes( - index: 145, - originalValueIndex: 145, + index: 148, + originalValueIndex: 148, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8526,12 +8719,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU16Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU16Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16Collection, 146), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU16Collection, 149), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU16Collection), - object (ValueBuffer valueBuffer) => valueBuffer[146]); + object (ValueBuffer valueBuffer) => valueBuffer[149]); nullableEnumU16Collection.SetPropertyIndexes( - index: 146, - originalValueIndex: 146, + index: 149, + originalValueIndex: 149, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8602,12 +8795,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 147), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32, 150), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32), - object (ValueBuffer valueBuffer) => valueBuffer[147]); + object (ValueBuffer valueBuffer) => valueBuffer[150]); nullableEnumU32.SetPropertyIndexes( - index: 147, - originalValueIndex: 147, + index: 150, + originalValueIndex: 150, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8654,12 +8847,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32Array.SetAccessors( CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32Array, 148), + CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32Array, 151), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32Array), - object (ValueBuffer valueBuffer) => valueBuffer[148]); + object (ValueBuffer valueBuffer) => valueBuffer[151]); nullableEnumU32Array.SetPropertyIndexes( - index: 148, - originalValueIndex: 148, + index: 151, + originalValueIndex: 151, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8730,12 +8923,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsString.SetAccessors( CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 149), + CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsString, 152), CompiledModelTestBase.EnumU32? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsString), - object (ValueBuffer valueBuffer) => valueBuffer[149]); + object (ValueBuffer valueBuffer) => valueBuffer[152]); nullableEnumU32AsString.SetPropertyIndexes( - index: 149, - originalValueIndex: 149, + index: 152, + originalValueIndex: 152, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8782,12 +8975,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsStringArray.SetAccessors( CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsStringArray, 150), + CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU32AsStringArray, 153), CompiledModelTestBase.EnumU32? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU32AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[150]); + object (ValueBuffer valueBuffer) => valueBuffer[153]); nullableEnumU32AsStringArray.SetPropertyIndexes( - index: 150, - originalValueIndex: 150, + index: 153, + originalValueIndex: 153, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8857,12 +9050,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32AsStringCollection, 151), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32AsStringCollection, 154), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU32AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[151]); + object (ValueBuffer valueBuffer) => valueBuffer[154]); nullableEnumU32AsStringCollection.SetPropertyIndexes( - index: 151, - originalValueIndex: 151, + index: 154, + originalValueIndex: 154, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -8932,12 +9125,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU32Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU32Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32Collection, 152), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU32Collection, 155), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU32Collection), - object (ValueBuffer valueBuffer) => valueBuffer[152]); + object (ValueBuffer valueBuffer) => valueBuffer[155]); nullableEnumU32Collection.SetPropertyIndexes( - index: 152, - originalValueIndex: 152, + index: 155, + originalValueIndex: 155, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9008,12 +9201,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 153), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64, 156), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64), - object (ValueBuffer valueBuffer) => valueBuffer[153]); + object (ValueBuffer valueBuffer) => valueBuffer[156]); nullableEnumU64.SetPropertyIndexes( - index: 153, - originalValueIndex: 153, + index: 156, + originalValueIndex: 156, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9058,12 +9251,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64Array.SetAccessors( CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64Array, 154), + CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64Array, 157), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64Array), - object (ValueBuffer valueBuffer) => valueBuffer[154]); + object (ValueBuffer valueBuffer) => valueBuffer[157]); nullableEnumU64Array.SetPropertyIndexes( - index: 154, - originalValueIndex: 154, + index: 157, + originalValueIndex: 157, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9132,12 +9325,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsString.SetAccessors( CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 155), + CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsString, 158), CompiledModelTestBase.EnumU64? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsString), - object (ValueBuffer valueBuffer) => valueBuffer[155]); + object (ValueBuffer valueBuffer) => valueBuffer[158]); nullableEnumU64AsString.SetPropertyIndexes( - index: 155, - originalValueIndex: 155, + index: 158, + originalValueIndex: 158, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9182,12 +9375,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsStringArray.SetAccessors( CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsStringArray, 156), + CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU64AsStringArray, 159), CompiledModelTestBase.EnumU64? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU64AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[156]); + object (ValueBuffer valueBuffer) => valueBuffer[159]); nullableEnumU64AsStringArray.SetPropertyIndexes( - index: 156, - originalValueIndex: 156, + index: 159, + originalValueIndex: 159, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9255,12 +9448,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64AsStringCollection, 157), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64AsStringCollection, 160), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU64AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[157]); + object (ValueBuffer valueBuffer) => valueBuffer[160]); nullableEnumU64AsStringCollection.SetPropertyIndexes( - index: 157, - originalValueIndex: 157, + index: 160, + originalValueIndex: 160, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9328,12 +9521,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU64Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU64Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64Collection, 158), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU64Collection, 161), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU64Collection), - object (ValueBuffer valueBuffer) => valueBuffer[158]); + object (ValueBuffer valueBuffer) => valueBuffer[161]); nullableEnumU64Collection.SetPropertyIndexes( - index: 158, - originalValueIndex: 158, + index: 161, + originalValueIndex: 161, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9402,12 +9595,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 159), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8, 162), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8), - object (ValueBuffer valueBuffer) => valueBuffer[159]); + object (ValueBuffer valueBuffer) => valueBuffer[162]); nullableEnumU8.SetPropertyIndexes( - index: 159, - originalValueIndex: 159, + index: 162, + originalValueIndex: 162, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9454,12 +9647,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8Array.SetAccessors( CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8Array, 160), + CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8Array, 163), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8Array), - object (ValueBuffer valueBuffer) => valueBuffer[160]); + object (ValueBuffer valueBuffer) => valueBuffer[163]); nullableEnumU8Array.SetPropertyIndexes( - index: 160, - originalValueIndex: 160, + index: 163, + originalValueIndex: 163, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9530,12 +9723,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsString.SetAccessors( CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 161), + CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsString, 164), CompiledModelTestBase.EnumU8? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsString), - object (ValueBuffer valueBuffer) => valueBuffer[161]); + object (ValueBuffer valueBuffer) => valueBuffer[164]); nullableEnumU8AsString.SetPropertyIndexes( - index: 161, - originalValueIndex: 161, + index: 164, + originalValueIndex: 164, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9582,12 +9775,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsStringArray.SetAccessors( CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsStringArray, 162), + CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableEnumU8AsStringArray, 165), CompiledModelTestBase.EnumU8? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableEnumU8AsStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[162]); + object (ValueBuffer valueBuffer) => valueBuffer[165]); nullableEnumU8AsStringArray.SetPropertyIndexes( - index: 162, - originalValueIndex: 162, + index: 165, + originalValueIndex: 165, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9657,12 +9850,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8AsStringCollection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8AsStringCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8AsStringCollection, 163), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8AsStringCollection, 166), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU8AsStringCollection), - object (ValueBuffer valueBuffer) => valueBuffer[163]); + object (ValueBuffer valueBuffer) => valueBuffer[166]); nullableEnumU8AsStringCollection.SetPropertyIndexes( - index: 163, - originalValueIndex: 163, + index: 166, + originalValueIndex: 166, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9732,12 +9925,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableEnumU8Collection.SetAccessors( List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), List (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableEnumU8Collection(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8Collection, 164), + List (InternalEntityEntry entry) => entry.ReadOriginalValue>(nullableEnumU8Collection, 167), List (InternalEntityEntry entry) => entry.GetCurrentValue>(nullableEnumU8Collection), - object (ValueBuffer valueBuffer) => valueBuffer[164]); + object (ValueBuffer valueBuffer) => valueBuffer[167]); nullableEnumU8Collection.SetPropertyIndexes( - index: 164, - originalValueIndex: 164, + index: 167, + originalValueIndex: 167, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9808,12 +10001,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloat.SetAccessors( float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloat(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 165), + float? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloat, 168), float? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloat), - object (ValueBuffer valueBuffer) => valueBuffer[165]); + object (ValueBuffer valueBuffer) => valueBuffer[168]); nullableFloat.SetPropertyIndexes( - index: 165, - originalValueIndex: 165, + index: 168, + originalValueIndex: 168, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9852,12 +10045,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableFloatArray.SetAccessors( float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), float? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableFloatArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 166), + float? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableFloatArray, 169), float? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableFloatArray), - object (ValueBuffer valueBuffer) => valueBuffer[166]); + object (ValueBuffer valueBuffer) => valueBuffer[169]); nullableFloatArray.SetPropertyIndexes( - index: 166, - originalValueIndex: 166, + index: 169, + originalValueIndex: 169, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9912,12 +10105,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuid.SetAccessors( Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuid(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 167), + Guid? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuid, 170), Guid? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuid), - object (ValueBuffer valueBuffer) => valueBuffer[167]); + object (ValueBuffer valueBuffer) => valueBuffer[170]); nullableGuid.SetPropertyIndexes( - index: 167, - originalValueIndex: 167, + index: 170, + originalValueIndex: 170, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9942,12 +10135,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableGuidArray.SetAccessors( Guid? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Guid? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableGuidArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Guid? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuidArray, 168), + Guid? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableGuidArray, 171), Guid? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableGuidArray), - object (ValueBuffer valueBuffer) => valueBuffer[168]); + object (ValueBuffer valueBuffer) => valueBuffer[171]); nullableGuidArray.SetPropertyIndexes( - index: 168, - originalValueIndex: 168, + index: 171, + originalValueIndex: 171, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -9988,12 +10181,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddress.SetAccessors( IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 169), + IPAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddress, 172), IPAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddress), - object (ValueBuffer valueBuffer) => valueBuffer[169]); + object (ValueBuffer valueBuffer) => valueBuffer[172]); nullableIPAddress.SetPropertyIndexes( - index: 169, - originalValueIndex: 169, + index: 172, + originalValueIndex: 172, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10038,12 +10231,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableIPAddressArray.SetAccessors( IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), IPAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableIPAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddressArray, 170), + IPAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableIPAddressArray, 173), IPAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableIPAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[170]); + object (ValueBuffer valueBuffer) => valueBuffer[173]); nullableIPAddressArray.SetPropertyIndexes( - index: 170, - originalValueIndex: 170, + index: 173, + originalValueIndex: 173, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10114,12 +10307,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16.SetAccessors( short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 171), + short? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16, 174), short? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16), - object (ValueBuffer valueBuffer) => valueBuffer[171]); + object (ValueBuffer valueBuffer) => valueBuffer[174]); nullableInt16.SetPropertyIndexes( - index: 171, - originalValueIndex: 171, + index: 174, + originalValueIndex: 174, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10158,12 +10351,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt16Array.SetAccessors( short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), short? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 172), + short? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt16Array, 175), short? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[172]); + object (ValueBuffer valueBuffer) => valueBuffer[175]); nullableInt16Array.SetPropertyIndexes( - index: 172, - originalValueIndex: 172, + index: 175, + originalValueIndex: 175, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10218,12 +10411,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32.SetAccessors( int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 173), + int? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32, 176), int? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32), - object (ValueBuffer valueBuffer) => valueBuffer[173]); + object (ValueBuffer valueBuffer) => valueBuffer[176]); nullableInt32.SetPropertyIndexes( - index: 173, - originalValueIndex: 173, + index: 176, + originalValueIndex: 176, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10262,12 +10455,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt32Array.SetAccessors( int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), int? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 174), + int? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt32Array, 177), int? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[174]); + object (ValueBuffer valueBuffer) => valueBuffer[177]); nullableInt32Array.SetPropertyIndexes( - index: 174, - originalValueIndex: 174, + index: 177, + originalValueIndex: 177, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10322,12 +10515,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64.SetAccessors( long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 175), + long? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64, 178), long? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64), - object (ValueBuffer valueBuffer) => valueBuffer[175]); + object (ValueBuffer valueBuffer) => valueBuffer[178]); nullableInt64.SetPropertyIndexes( - index: 175, - originalValueIndex: 175, + index: 178, + originalValueIndex: 178, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10366,12 +10559,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt64Array.SetAccessors( long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), long? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 176), + long? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt64Array, 179), long? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[176]); + object (ValueBuffer valueBuffer) => valueBuffer[179]); nullableInt64Array.SetPropertyIndexes( - index: 176, - originalValueIndex: 176, + index: 179, + originalValueIndex: 179, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10426,12 +10619,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8.SetAccessors( sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 177), + sbyte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8, 180), sbyte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8), - object (ValueBuffer valueBuffer) => valueBuffer[177]); + object (ValueBuffer valueBuffer) => valueBuffer[180]); nullableInt8.SetPropertyIndexes( - index: 177, - originalValueIndex: 177, + index: 180, + originalValueIndex: 180, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10470,12 +10663,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableInt8Array.SetAccessors( sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), sbyte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 178), + sbyte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableInt8Array, 181), sbyte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[178]); + object (ValueBuffer valueBuffer) => valueBuffer[181]); nullableInt8Array.SetPropertyIndexes( - index: 178, - originalValueIndex: 178, + index: 181, + originalValueIndex: 181, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10530,12 +10723,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 179), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddress, 182), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[179]); + object (ValueBuffer valueBuffer) => valueBuffer[182]); nullablePhysicalAddress.SetPropertyIndexes( - index: 179, - originalValueIndex: 179, + index: 182, + originalValueIndex: 182, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10580,12 +10773,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullablePhysicalAddressArray.SetAccessors( PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullablePhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddressArray, 180), + PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullablePhysicalAddressArray, 183), PhysicalAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullablePhysicalAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[180]); + object (ValueBuffer valueBuffer) => valueBuffer[183]); nullablePhysicalAddressArray.SetPropertyIndexes( - index: 180, - originalValueIndex: 180, + index: 183, + originalValueIndex: 183, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10656,12 +10849,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableString.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableString(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 181), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableString, 184), string (InternalEntityEntry entry) => entry.GetCurrentValue(nullableString), - object (ValueBuffer valueBuffer) => valueBuffer[181]); + object (ValueBuffer valueBuffer) => valueBuffer[184]); nullableString.SetPropertyIndexes( - index: 181, - originalValueIndex: 181, + index: 184, + originalValueIndex: 184, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10684,12 +10877,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableStringArray.SetAccessors( string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableStringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 182), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableStringArray, 185), string[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableStringArray), - object (ValueBuffer valueBuffer) => valueBuffer[182]); + object (ValueBuffer valueBuffer) => valueBuffer[185]); nullableStringArray.SetPropertyIndexes( - index: 182, - originalValueIndex: 182, + index: 185, + originalValueIndex: 185, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10730,12 +10923,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnly.SetAccessors( TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 183), + TimeOnly? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnly, 186), TimeOnly? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[183]); + object (ValueBuffer valueBuffer) => valueBuffer[186]); nullableTimeOnly.SetPropertyIndexes( - index: 183, - originalValueIndex: 183, + index: 186, + originalValueIndex: 186, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10760,12 +10953,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeOnlyArray.SetAccessors( TimeOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnlyArray, 184), + TimeOnly? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeOnlyArray, 187), TimeOnly? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[184]); + object (ValueBuffer valueBuffer) => valueBuffer[187]); nullableTimeOnlyArray.SetPropertyIndexes( - index: 184, - originalValueIndex: 184, + index: 187, + originalValueIndex: 187, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10806,12 +10999,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpan.SetAccessors( TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 185), + TimeSpan? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpan, 188), TimeSpan? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[185]); + object (ValueBuffer valueBuffer) => valueBuffer[188]); nullableTimeSpan.SetPropertyIndexes( - index: 185, - originalValueIndex: 185, + index: 188, + originalValueIndex: 188, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10850,12 +11043,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableTimeSpanArray.SetAccessors( TimeSpan? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableTimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpanArray, 186), + TimeSpan? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableTimeSpanArray, 189), TimeSpan? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableTimeSpanArray), - object (ValueBuffer valueBuffer) => valueBuffer[186]); + object (ValueBuffer valueBuffer) => valueBuffer[189]); nullableTimeSpanArray.SetPropertyIndexes( - index: 186, - originalValueIndex: 186, + index: 189, + originalValueIndex: 189, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10910,12 +11103,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16.SetAccessors( ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 187), + ushort? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16, 190), ushort? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16), - object (ValueBuffer valueBuffer) => valueBuffer[187]); + object (ValueBuffer valueBuffer) => valueBuffer[190]); nullableUInt16.SetPropertyIndexes( - index: 187, - originalValueIndex: 187, + index: 190, + originalValueIndex: 190, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -10954,12 +11147,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt16Array.SetAccessors( ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 188), + ushort? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt16Array, 191), ushort? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[188]); + object (ValueBuffer valueBuffer) => valueBuffer[191]); nullableUInt16Array.SetPropertyIndexes( - index: 188, - originalValueIndex: 188, + index: 191, + originalValueIndex: 191, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11014,12 +11207,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32.SetAccessors( uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 189), + uint? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32, 192), uint? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32), - object (ValueBuffer valueBuffer) => valueBuffer[189]); + object (ValueBuffer valueBuffer) => valueBuffer[192]); nullableUInt32.SetPropertyIndexes( - index: 189, - originalValueIndex: 189, + index: 192, + originalValueIndex: 192, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11058,12 +11251,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt32Array.SetAccessors( uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 190), + uint? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt32Array, 193), uint? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[190]); + object (ValueBuffer valueBuffer) => valueBuffer[193]); nullableUInt32Array.SetPropertyIndexes( - index: 190, - originalValueIndex: 190, + index: 193, + originalValueIndex: 193, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11118,12 +11311,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64.SetAccessors( ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 191), + ulong? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64, 194), ulong? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64), - object (ValueBuffer valueBuffer) => valueBuffer[191]); + object (ValueBuffer valueBuffer) => valueBuffer[194]); nullableUInt64.SetPropertyIndexes( - index: 191, - originalValueIndex: 191, + index: 194, + originalValueIndex: 194, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11148,12 +11341,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt64Array.SetAccessors( ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 192), + ulong? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt64Array, 195), ulong? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[192]); + object (ValueBuffer valueBuffer) => valueBuffer[195]); nullableUInt64Array.SetPropertyIndexes( - index: 192, - originalValueIndex: 192, + index: 195, + originalValueIndex: 195, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11194,12 +11387,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8.SetAccessors( byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 193), + byte? (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8, 196), byte? (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8), - object (ValueBuffer valueBuffer) => valueBuffer[193]); + object (ValueBuffer valueBuffer) => valueBuffer[196]); nullableUInt8.SetPropertyIndexes( - index: 193, - originalValueIndex: 193, + index: 196, + originalValueIndex: 196, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11238,12 +11431,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUInt8Array.SetAccessors( byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte? [] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 194), + byte? [] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUInt8Array, 197), byte? [] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[194]); + object (ValueBuffer valueBuffer) => valueBuffer[197]); nullableUInt8Array.SetPropertyIndexes( - index: 194, - originalValueIndex: 194, + index: 197, + originalValueIndex: 197, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11298,12 +11491,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 195), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUri, 198), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUri), - object (ValueBuffer valueBuffer) => valueBuffer[195]); + object (ValueBuffer valueBuffer) => valueBuffer[198]); nullableUri.SetPropertyIndexes( - index: 195, - originalValueIndex: 195, + index: 198, + originalValueIndex: 198, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11346,12 +11539,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas nullableUriArray.SetAccessors( Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.NullableUriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUriArray, 196), + Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(nullableUriArray, 199), Uri[] (InternalEntityEntry entry) => entry.GetCurrentValue(nullableUriArray), - object (ValueBuffer valueBuffer) => valueBuffer[196]); + object (ValueBuffer valueBuffer) => valueBuffer[199]); nullableUriArray.SetPropertyIndexes( - index: 196, - originalValueIndex: 196, + index: 199, + originalValueIndex: 199, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11419,12 +11612,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddress.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddress(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 197), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddress, 200), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddress), - object (ValueBuffer valueBuffer) => valueBuffer[197]); + object (ValueBuffer valueBuffer) => valueBuffer[200]); physicalAddress.SetPropertyIndexes( - index: 197, - originalValueIndex: 197, + index: 200, + originalValueIndex: 200, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11469,12 +11662,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressArray.SetAccessors( PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressArray, 198), + PhysicalAddress[] (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressArray, 201), PhysicalAddress[] (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressArray), - object (ValueBuffer valueBuffer) => valueBuffer[198]); + object (ValueBuffer valueBuffer) => valueBuffer[201]); physicalAddressArray.SetPropertyIndexes( - index: 198, - originalValueIndex: 198, + index: 201, + originalValueIndex: 201, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11545,12 +11738,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToBytesConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 199), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToBytesConverterProperty, 202), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[199]); + object (ValueBuffer valueBuffer) => valueBuffer[202]); physicalAddressToBytesConverterProperty.SetPropertyIndexes( - index: 199, - originalValueIndex: 199, + index: 202, + originalValueIndex: 202, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11596,12 +11789,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas physicalAddressToStringConverterProperty.SetAccessors( PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), PhysicalAddress (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.PhysicalAddressToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 200), + PhysicalAddress (InternalEntityEntry entry) => entry.ReadOriginalValue(physicalAddressToStringConverterProperty, 203), PhysicalAddress (InternalEntityEntry entry) => entry.GetCurrentValue(physicalAddressToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[200]); + object (ValueBuffer valueBuffer) => valueBuffer[203]); physicalAddressToStringConverterProperty.SetPropertyIndexes( - index: 200, - originalValueIndex: 200, + index: 203, + originalValueIndex: 203, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11646,12 +11839,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas @string.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.String(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 201), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(@string, 204), string (InternalEntityEntry entry) => entry.GetCurrentValue(@string), - object (ValueBuffer valueBuffer) => valueBuffer[201]); + object (ValueBuffer valueBuffer) => valueBuffer[204]); @string.SetPropertyIndexes( - index: 201, - originalValueIndex: 201, + index: 204, + originalValueIndex: 204, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11674,12 +11867,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringArray.SetAccessors( string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 202), + string[] (InternalEntityEntry entry) => entry.ReadOriginalValue(stringArray, 205), string[] (InternalEntityEntry entry) => entry.GetCurrentValue(stringArray), - object (ValueBuffer valueBuffer) => valueBuffer[202]); + object (ValueBuffer valueBuffer) => valueBuffer[205]); stringArray.SetPropertyIndexes( - index: 202, - originalValueIndex: 202, + index: 205, + originalValueIndex: 205, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11702,6 +11895,51 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas JsonStringReaderWriter.Instance), elementMapping: SqliteStringTypeMapping.Default); + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + stringReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(instance) == null); + stringReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._stringReadOnlyCollection(entity) = ((List)(value))); + stringReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._stringReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(stringReadOnlyCollection, 206), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(stringReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[206]); + stringReadOnlyCollection.SetPropertyIndexes( + index: 206, + originalValueIndex: 206, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + stringReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + keyComparer: new ListOfReferenceTypesComparer, string>(new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfReferencesReaderWriter, string>( + JsonStringReaderWriter.Instance)), + jsonValueReaderWriter: new JsonCollectionOfReferencesReaderWriter, string>( + JsonStringReaderWriter.Instance), + elementMapping: SqliteStringTypeMapping.Default); + var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", typeof(string), @@ -11720,12 +11958,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBoolConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBoolConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 203), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBoolConverterProperty, 207), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBoolConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[203]); + object (ValueBuffer valueBuffer) => valueBuffer[207]); stringToBoolConverterProperty.SetPropertyIndexes( - index: 203, - originalValueIndex: 203, + index: 207, + originalValueIndex: 207, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11771,12 +12009,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToBytesConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToBytesConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 204), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToBytesConverterProperty, 208), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToBytesConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[204]); + object (ValueBuffer valueBuffer) => valueBuffer[208]); stringToBytesConverterProperty.SetPropertyIndexes( - index: 204, - originalValueIndex: 204, + index: 208, + originalValueIndex: 208, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11820,12 +12058,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToCharConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToCharConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 205), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToCharConverterProperty, 209), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToCharConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[205]); + object (ValueBuffer valueBuffer) => valueBuffer[209]); stringToCharConverterProperty.SetPropertyIndexes( - index: 205, - originalValueIndex: 205, + index: 209, + originalValueIndex: 209, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11872,12 +12110,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 206), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateOnlyConverterProperty, 210), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[206]); + object (ValueBuffer valueBuffer) => valueBuffer[210]); stringToDateOnlyConverterProperty.SetPropertyIndexes( - index: 206, - originalValueIndex: 206, + index: 210, + originalValueIndex: 210, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11923,12 +12161,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 207), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeConverterProperty, 211), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[207]); + object (ValueBuffer valueBuffer) => valueBuffer[211]); stringToDateTimeConverterProperty.SetPropertyIndexes( - index: 207, - originalValueIndex: 207, + index: 211, + originalValueIndex: 211, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -11974,12 +12212,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDateTimeOffsetConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDateTimeOffsetConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 208), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDateTimeOffsetConverterProperty, 212), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDateTimeOffsetConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[208]); + object (ValueBuffer valueBuffer) => valueBuffer[212]); stringToDateTimeOffsetConverterProperty.SetPropertyIndexes( - index: 208, - originalValueIndex: 208, + index: 212, + originalValueIndex: 212, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12025,12 +12263,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDecimalNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDecimalNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 209), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDecimalNumberConverterProperty, 213), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDecimalNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[209]); + object (ValueBuffer valueBuffer) => valueBuffer[213]); stringToDecimalNumberConverterProperty.SetPropertyIndexes( - index: 209, - originalValueIndex: 209, + index: 213, + originalValueIndex: 213, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12076,12 +12314,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToDoubleNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToDoubleNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 210), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToDoubleNumberConverterProperty, 214), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToDoubleNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[210]); + object (ValueBuffer valueBuffer) => valueBuffer[214]); stringToDoubleNumberConverterProperty.SetPropertyIndexes( - index: 210, - originalValueIndex: 210, + index: 214, + originalValueIndex: 214, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12128,12 +12366,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToEnumConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToEnumConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 211), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToEnumConverterProperty, 215), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToEnumConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[211]); + object (ValueBuffer valueBuffer) => valueBuffer[215]); stringToEnumConverterProperty.SetPropertyIndexes( - index: 211, - originalValueIndex: 211, + index: 215, + originalValueIndex: 215, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12178,12 +12416,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToGuidConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToGuidConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 212), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToGuidConverterProperty, 216), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToGuidConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[212]); + object (ValueBuffer valueBuffer) => valueBuffer[216]); stringToGuidConverterProperty.SetPropertyIndexes( - index: 212, - originalValueIndex: 212, + index: 216, + originalValueIndex: 216, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12207,12 +12445,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToIntNumberConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToIntNumberConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 213), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToIntNumberConverterProperty, 217), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToIntNumberConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[213]); + object (ValueBuffer valueBuffer) => valueBuffer[217]); stringToIntNumberConverterProperty.SetPropertyIndexes( - index: 213, - originalValueIndex: 213, + index: 217, + originalValueIndex: 217, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12259,12 +12497,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeOnlyConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeOnlyConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 214), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeOnlyConverterProperty, 218), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeOnlyConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[214]); + object (ValueBuffer valueBuffer) => valueBuffer[218]); stringToTimeOnlyConverterProperty.SetPropertyIndexes( - index: 214, - originalValueIndex: 214, + index: 218, + originalValueIndex: 218, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12310,12 +12548,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToTimeSpanConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToTimeSpanConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 215), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToTimeSpanConverterProperty, 219), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToTimeSpanConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[215]); + object (ValueBuffer valueBuffer) => valueBuffer[219]); stringToTimeSpanConverterProperty.SetPropertyIndexes( - index: 215, - originalValueIndex: 215, + index: 219, + originalValueIndex: 219, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12362,12 +12600,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas stringToUriConverterProperty.SetAccessors( string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), string (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.StringToUriConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 216), + string (InternalEntityEntry entry) => entry.ReadOriginalValue(stringToUriConverterProperty, 220), string (InternalEntityEntry entry) => entry.GetCurrentValue(stringToUriConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[216]); + object (ValueBuffer valueBuffer) => valueBuffer[220]); stringToUriConverterProperty.SetPropertyIndexes( - index: 216, - originalValueIndex: 216, + index: 220, + originalValueIndex: 220, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12411,12 +12649,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnly.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnly(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 217), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnly, 221), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnly), - object (ValueBuffer valueBuffer) => valueBuffer[217]); + object (ValueBuffer valueBuffer) => valueBuffer[221]); timeOnly.SetPropertyIndexes( - index: 217, - originalValueIndex: 217, + index: 221, + originalValueIndex: 221, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12439,12 +12677,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyArray.SetAccessors( TimeOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyArray, 218), + TimeOnly[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyArray, 222), TimeOnly[] (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyArray), - object (ValueBuffer valueBuffer) => valueBuffer[218]); + object (ValueBuffer valueBuffer) => valueBuffer[222]); timeOnlyArray.SetPropertyIndexes( - index: 218, - originalValueIndex: 218, + index: 222, + originalValueIndex: 222, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12485,12 +12723,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToStringConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 219), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToStringConverterProperty, 223), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[219]); + object (ValueBuffer valueBuffer) => valueBuffer[223]); timeOnlyToStringConverterProperty.SetPropertyIndexes( - index: 219, - originalValueIndex: 219, + index: 223, + originalValueIndex: 223, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12537,12 +12775,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeOnlyToTicksConverterProperty.SetAccessors( TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeOnly (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeOnlyToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 220), + TimeOnly (InternalEntityEntry entry) => entry.ReadOriginalValue(timeOnlyToTicksConverterProperty, 224), TimeOnly (InternalEntityEntry entry) => entry.GetCurrentValue(timeOnlyToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[220]); + object (ValueBuffer valueBuffer) => valueBuffer[224]); timeOnlyToTicksConverterProperty.SetPropertyIndexes( - index: 220, - originalValueIndex: 220, + index: 224, + originalValueIndex: 224, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12589,12 +12827,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpan.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpan(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 221), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpan, 225), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpan), - object (ValueBuffer valueBuffer) => valueBuffer[221]); + object (ValueBuffer valueBuffer) => valueBuffer[225]); timeSpan.SetPropertyIndexes( - index: 221, - originalValueIndex: 221, + index: 225, + originalValueIndex: 225, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12631,12 +12869,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanArray.SetAccessors( TimeSpan[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanArray, 222), + TimeSpan[] (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanArray, 226), TimeSpan[] (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanArray), - object (ValueBuffer valueBuffer) => valueBuffer[222]); + object (ValueBuffer valueBuffer) => valueBuffer[226]); timeSpanArray.SetPropertyIndexes( - index: 222, - originalValueIndex: 222, + index: 226, + originalValueIndex: 226, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12691,12 +12929,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToStringConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 223), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToStringConverterProperty, 227), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[223]); + object (ValueBuffer valueBuffer) => valueBuffer[227]); timeSpanToStringConverterProperty.SetPropertyIndexes( - index: 223, - originalValueIndex: 223, + index: 227, + originalValueIndex: 227, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12743,12 +12981,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas timeSpanToTicksConverterProperty.SetAccessors( TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), TimeSpan (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.TimeSpanToTicksConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 224), + TimeSpan (InternalEntityEntry entry) => entry.ReadOriginalValue(timeSpanToTicksConverterProperty, 228), TimeSpan (InternalEntityEntry entry) => entry.GetCurrentValue(timeSpanToTicksConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[224]); + object (ValueBuffer valueBuffer) => valueBuffer[228]); timeSpanToTicksConverterProperty.SetPropertyIndexes( - index: 224, - originalValueIndex: 224, + index: 228, + originalValueIndex: 228, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12795,12 +13033,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16.SetAccessors( ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 225), + ushort (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16, 229), ushort (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16), - object (ValueBuffer valueBuffer) => valueBuffer[225]); + object (ValueBuffer valueBuffer) => valueBuffer[229]); uInt16.SetPropertyIndexes( - index: 225, - originalValueIndex: 225, + index: 229, + originalValueIndex: 229, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12837,12 +13075,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt16Array.SetAccessors( ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ushort[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt16Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 226), + ushort[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt16Array, 230), ushort[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt16Array), - object (ValueBuffer valueBuffer) => valueBuffer[226]); + object (ValueBuffer valueBuffer) => valueBuffer[230]); uInt16Array.SetPropertyIndexes( - index: 226, - originalValueIndex: 226, + index: 230, + originalValueIndex: 230, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12897,12 +13135,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32.SetAccessors( uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 227), + uint (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32, 231), uint (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32), - object (ValueBuffer valueBuffer) => valueBuffer[227]); + object (ValueBuffer valueBuffer) => valueBuffer[231]); uInt32.SetPropertyIndexes( - index: 227, - originalValueIndex: 227, + index: 231, + originalValueIndex: 231, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12939,12 +13177,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt32Array.SetAccessors( uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), uint[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt32Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 228), + uint[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt32Array, 232), uint[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt32Array), - object (ValueBuffer valueBuffer) => valueBuffer[228]); + object (ValueBuffer valueBuffer) => valueBuffer[232]); uInt32Array.SetPropertyIndexes( - index: 228, - originalValueIndex: 228, + index: 232, + originalValueIndex: 232, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -12999,12 +13237,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64.SetAccessors( ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 229), + ulong (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64, 233), ulong (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64), - object (ValueBuffer valueBuffer) => valueBuffer[229]); + object (ValueBuffer valueBuffer) => valueBuffer[233]); uInt64.SetPropertyIndexes( - index: 229, - originalValueIndex: 229, + index: 233, + originalValueIndex: 233, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13027,12 +13265,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt64Array.SetAccessors( ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), ulong[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt64Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 230), + ulong[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt64Array, 234), ulong[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt64Array), - object (ValueBuffer valueBuffer) => valueBuffer[230]); + object (ValueBuffer valueBuffer) => valueBuffer[234]); uInt64Array.SetPropertyIndexes( - index: 230, - originalValueIndex: 230, + index: 234, + originalValueIndex: 234, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13073,12 +13311,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8.SetAccessors( byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 231), + byte (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8, 235), byte (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8), - object (ValueBuffer valueBuffer) => valueBuffer[231]); + object (ValueBuffer valueBuffer) => valueBuffer[235]); uInt8.SetPropertyIndexes( - index: 231, - originalValueIndex: 231, + index: 235, + originalValueIndex: 235, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13115,12 +13353,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uInt8Array.SetAccessors( byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), byte[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UInt8Array(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 232), + byte[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uInt8Array, 236), byte[] (InternalEntityEntry entry) => entry.GetCurrentValue(uInt8Array), - object (ValueBuffer valueBuffer) => valueBuffer[232]); + object (ValueBuffer valueBuffer) => valueBuffer[236]); uInt8Array.SetPropertyIndexes( - index: 232, - originalValueIndex: 232, + index: 236, + originalValueIndex: 236, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13138,6 +13376,65 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas int (byte[] v) => StructuralComparisons.StructuralEqualityComparer.GetHashCode(((object)(v))), byte[] (byte[] source) => source.ToArray())); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + uInt8ReadOnlyCollection.SetGetter( + IReadOnlyCollection (CompiledModelTestBase.ManyTypes entity) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity)))), + bool (CompiledModelTestBase.ManyTypes entity) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) == null, + IReadOnlyCollection (CompiledModelTestBase.ManyTypes instance) => (ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null ? null : ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance)))), + bool (CompiledModelTestBase.ManyTypes instance) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(instance) == null); + uInt8ReadOnlyCollection.SetSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetMaterializationSetter( + (CompiledModelTestBase.ManyTypes entity, IReadOnlyCollection value) => ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(entity) = ((List)(value))); + uInt8ReadOnlyCollection.SetAccessors( + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => ((IReadOnlyCollection)(ManyTypesUnsafeAccessors._uInt8ReadOnlyCollection(((CompiledModelTestBase.ManyTypes)(entry.Entity))))), + IReadOnlyCollection (InternalEntityEntry entry) => entry.ReadOriginalValue>(uInt8ReadOnlyCollection, 237), + IReadOnlyCollection (InternalEntityEntry entry) => entry.GetCurrentValue>(uInt8ReadOnlyCollection), + object (ValueBuffer valueBuffer) => valueBuffer[237]); + uInt8ReadOnlyCollection.SetPropertyIndexes( + index: 237, + originalValueIndex: 237, + shadowIndex: -1, + relationshipIndex: -1, + storeGenerationIndex: -1); + uInt8ReadOnlyCollection.TypeMapping = SqliteStringTypeMapping.Default.Clone( + comparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + keyComparer: new ListOfValueTypesComparer, byte>(new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v)), + providerValueComparer: new ValueComparer( + bool (string v1, string v2) => v1 == v2, + int (string v) => ((object)v).GetHashCode(), + string (string v) => v), + converter: new CollectionToJsonStringConverter(new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance)), + jsonValueReaderWriter: new JsonCollectionOfStructsReaderWriter, byte>( + JsonByteReaderWriter.Instance), + elementMapping: ByteTypeMapping.Default.Clone( + comparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + keyComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + providerValueComparer: new ValueComparer( + bool (byte v1, byte v2) => v1 == v2, + int (byte v) => ((int)(v)), + byte (byte v) => v), + mappingInfo: new RelationalTypeMappingInfo( + storeTypeName: "INTEGER"))); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri), @@ -13155,12 +13452,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uri.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.Uri(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 233), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uri, 238), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uri), - object (ValueBuffer valueBuffer) => valueBuffer[233]); + object (ValueBuffer valueBuffer) => valueBuffer[238]); uri.SetPropertyIndexes( - index: 233, - originalValueIndex: 233, + index: 238, + originalValueIndex: 238, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13203,12 +13500,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriArray.SetAccessors( Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri[] (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriArray(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uriArray, 234), + Uri[] (InternalEntityEntry entry) => entry.ReadOriginalValue(uriArray, 239), Uri[] (InternalEntityEntry entry) => entry.GetCurrentValue(uriArray), - object (ValueBuffer valueBuffer) => valueBuffer[234]); + object (ValueBuffer valueBuffer) => valueBuffer[239]); uriArray.SetPropertyIndexes( - index: 234, - originalValueIndex: 234, + index: 239, + originalValueIndex: 239, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13277,12 +13574,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas uriToStringConverterProperty.SetAccessors( Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), Uri (InternalEntityEntry entry) => ManyTypesUnsafeAccessors.UriToStringConverterProperty(((CompiledModelTestBase.ManyTypes)(entry.Entity))), - Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 235), + Uri (InternalEntityEntry entry) => entry.ReadOriginalValue(uriToStringConverterProperty, 240), Uri (InternalEntityEntry entry) => entry.GetCurrentValue(uriToStringConverterProperty), - object (ValueBuffer valueBuffer) => valueBuffer[235]); + object (ValueBuffer valueBuffer) => valueBuffer[240]); uriToStringConverterProperty.SetPropertyIndexes( - index: 235, - originalValueIndex: 235, + index: 240, + originalValueIndex: 240, shadowIndex: -1, relationshipIndex: -1, storeGenerationIndex: -1); @@ -13320,6 +13617,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var id = runtimeEntityType.FindProperty("Id"); var @bool = runtimeEntityType.FindProperty("Bool"); var boolArray = runtimeEntityType.FindProperty("BoolArray"); + var boolReadOnlyCollection = runtimeEntityType.FindProperty("BoolReadOnlyCollection"); var boolToStringConverterProperty = runtimeEntityType.FindProperty("BoolToStringConverterProperty"); var boolToTwoValuesConverterProperty = runtimeEntityType.FindProperty("BoolToTwoValuesConverterProperty"); var boolToZeroOneConverterProperty = runtimeEntityType.FindProperty("BoolToZeroOneConverterProperty"); @@ -13407,12 +13705,14 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var guidToStringConverterProperty = runtimeEntityType.FindProperty("GuidToStringConverterProperty"); var iPAddress = runtimeEntityType.FindProperty("IPAddress"); var iPAddressArray = runtimeEntityType.FindProperty("IPAddressArray"); + var iPAddressReadOnlyCollection = runtimeEntityType.FindProperty("IPAddressReadOnlyCollection"); var iPAddressToBytesConverterProperty = runtimeEntityType.FindProperty("IPAddressToBytesConverterProperty"); var iPAddressToStringConverterProperty = runtimeEntityType.FindProperty("IPAddressToStringConverterProperty"); var int16 = runtimeEntityType.FindProperty("Int16"); var int16Array = runtimeEntityType.FindProperty("Int16Array"); var int32 = runtimeEntityType.FindProperty("Int32"); var int32Array = runtimeEntityType.FindProperty("Int32Array"); + var int32ReadOnlyCollection = runtimeEntityType.FindProperty("Int32ReadOnlyCollection"); var int64 = runtimeEntityType.FindProperty("Int64"); var int64Array = runtimeEntityType.FindProperty("Int64Array"); var int8 = runtimeEntityType.FindProperty("Int8"); @@ -13520,6 +13820,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var physicalAddressToStringConverterProperty = runtimeEntityType.FindProperty("PhysicalAddressToStringConverterProperty"); var @string = runtimeEntityType.FindProperty("String"); var stringArray = runtimeEntityType.FindProperty("StringArray"); + var stringReadOnlyCollection = runtimeEntityType.FindProperty("StringReadOnlyCollection"); var stringToBoolConverterProperty = runtimeEntityType.FindProperty("StringToBoolConverterProperty"); var stringToBytesConverterProperty = runtimeEntityType.FindProperty("StringToBytesConverterProperty"); var stringToCharConverterProperty = runtimeEntityType.FindProperty("StringToCharConverterProperty"); @@ -13550,6 +13851,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) var uInt64Array = runtimeEntityType.FindProperty("UInt64Array"); var uInt8 = runtimeEntityType.FindProperty("UInt8"); var uInt8Array = runtimeEntityType.FindProperty("UInt8Array"); + var uInt8ReadOnlyCollection = runtimeEntityType.FindProperty("UInt8ReadOnlyCollection"); var uri = runtimeEntityType.FindProperty("Uri"); var uriArray = runtimeEntityType.FindProperty("UriArray"); var uriToStringConverterProperty = runtimeEntityType.FindProperty("UriToStringConverterProperty"); @@ -13560,21 +13862,23 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) ISnapshot (InternalEntityEntry source) => { var entity = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg = ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (((object)(source.GetCurrentValue(bytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)bytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(bytesArray))))))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), (((IEnumerable)(source.GetCurrentValue(dateOnlyArray))) == null ? null : ((DateOnly[])(((ValueComparer>)(((IProperty)dateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateOnlyArray))))))), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), (((IEnumerable)(source.GetCurrentValue(dateTimeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)dateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateTimeArray))))))), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double)), (((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray)))))))))); + var liftedArg = ((ISnapshot)(new Snapshot, bool, bool, bool, byte[], byte[][], byte[], int, char, char[], char, DateOnly, DateOnly[], DateOnly, DateTime, DateTime[], DateTimeOffset, DateTimeOffset, DateTimeOffset, DateTime, DateTime, DateTime, decimal, decimal[], decimal, decimal, double>(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id)), ((ValueComparer)(((IProperty)@bool).GetValueComparer())).Snapshot(source.GetCurrentValue(@bool)), (((IEnumerable)(source.GetCurrentValue(boolArray))) == null ? null : ((bool[])(((ValueComparer>)(((IProperty)boolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(boolArray))))))), (((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)boolReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(boolReadOnlyCollection))))))), ((ValueComparer)(((IProperty)boolToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToStringConverterProperty)), ((ValueComparer)(((IProperty)boolToTwoValuesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToTwoValuesConverterProperty)), ((ValueComparer)(((IProperty)boolToZeroOneConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(boolToZeroOneConverterProperty)), (source.GetCurrentValue(bytes) == null ? null : ((ValueComparer)(((IProperty)bytes).GetValueComparer())).Snapshot(source.GetCurrentValue(bytes))), (((object)(source.GetCurrentValue(bytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)bytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(bytesArray))))))), (source.GetCurrentValue(bytesToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)bytesToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(bytesToStringConverterProperty))), ((ValueComparer)(((IProperty)castingConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(castingConverterProperty)), ((ValueComparer)(((IProperty)@char).GetValueComparer())).Snapshot(source.GetCurrentValue(@char)), (((IEnumerable)(source.GetCurrentValue(charArray))) == null ? null : ((char[])(((ValueComparer>)(((IProperty)charArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(charArray))))))), ((ValueComparer)(((IProperty)charToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(charToStringConverterProperty)), ((ValueComparer)(((IProperty)dateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnly)), (((IEnumerable)(source.GetCurrentValue(dateOnlyArray))) == null ? null : ((DateOnly[])(((ValueComparer>)(((IProperty)dateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateOnlyArray))))))), ((ValueComparer)(((IProperty)dateOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTime)), (((IEnumerable)(source.GetCurrentValue(dateTimeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)dateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(dateTimeArray))))))), ((ValueComparer)(((IProperty)dateTimeOffsetToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToBytesConverterProperty)), ((ValueComparer)(((IProperty)dateTimeOffsetToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeOffsetToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToBinaryConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToBinaryConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToStringConverterProperty)), ((ValueComparer)(((IProperty)dateTimeToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(dateTimeToTicksConverterProperty)), ((ValueComparer)(((IProperty)@decimal).GetValueComparer())).Snapshot(source.GetCurrentValue(@decimal)), (((IEnumerable)(source.GetCurrentValue(decimalArray))) == null ? null : ((decimal[])(((ValueComparer>)(((IProperty)decimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(decimalArray))))))), ((ValueComparer)(((IProperty)decimalNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)decimalNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(decimalNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)@double).GetValueComparer())).Snapshot(source.GetCurrentValue(@double))))); var entity0 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg0 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], List, List, CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], List, List, CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], List, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32, CompiledModelTestBase.EnumU16, CompiledModelTestBase.EnumU16[]>(((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), (((IEnumerable)(source.GetCurrentValue(enum16Array))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16Array))))))), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), (((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16Collection))))))), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), (((IEnumerable)(source.GetCurrentValue(enum32Array))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32Array))))))), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), (((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32Collection))))))), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), (((IEnumerable)(source.GetCurrentValue(enum64Array))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64Array))))))), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), (((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64Collection))))))), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), (((IEnumerable)(source.GetCurrentValue(enum8Array))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8Array))))))), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), (((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8Collection))))))), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16)), (((IEnumerable)(source.GetCurrentValue(enumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16Array)))))))))); + var liftedArg0 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32[], List, List, CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], CompiledModelTestBase.Enum64, CompiledModelTestBase.Enum64[], List, List, CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], CompiledModelTestBase.Enum8, CompiledModelTestBase.Enum8[], List, List, CompiledModelTestBase.Enum32, CompiledModelTestBase.Enum32, CompiledModelTestBase.EnumU16>((((IEnumerable)(source.GetCurrentValue(doubleArray))) == null ? null : ((double[])(((ValueComparer>)(((IProperty)doubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(doubleArray))))))), ((ValueComparer)(((IProperty)doubleNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)doubleNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(doubleNumberToStringConverterProperty)), ((ValueComparer)(((IProperty)enum16).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16)), (((IEnumerable)(source.GetCurrentValue(enum16Array))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16Array))))))), ((ValueComparer)(((IProperty)enum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum16AsString)), (((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16[])(((ValueComparer>)(((IProperty)enum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum16Collection))))))), ((ValueComparer)(((IProperty)enum32).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32)), (((IEnumerable)(source.GetCurrentValue(enum32Array))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32Array))))))), ((ValueComparer)(((IProperty)enum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum32AsString)), (((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32[])(((ValueComparer>)(((IProperty)enum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum32Collection))))))), ((ValueComparer)(((IProperty)enum64).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64)), (((IEnumerable)(source.GetCurrentValue(enum64Array))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64Array))))))), ((ValueComparer)(((IProperty)enum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum64AsString)), (((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64[])(((ValueComparer>)(((IProperty)enum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum64Collection))))))), ((ValueComparer)(((IProperty)enum8).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8)), (((IEnumerable)(source.GetCurrentValue(enum8Array))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8Array))))))), ((ValueComparer)(((IProperty)enum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enum8AsString)), (((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8[])(((ValueComparer>)(((IProperty)enum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enum8Collection))))))), ((ValueComparer)(((IProperty)enumToNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToNumberConverterProperty)), ((ValueComparer)(((IProperty)enumToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(enumToStringConverterProperty)), ((ValueComparer)(((IProperty)enumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16))))); var entity1 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg1 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], List, List, CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], List, List, CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], List, List, float, float[], Guid, Guid[], Guid, Guid, IPAddress, IPAddress[]>(((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), (((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16Collection))))))), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), (((IEnumerable)(source.GetCurrentValue(enumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32Array))))))), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), (((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32Collection))))))), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), (((IEnumerable)(source.GetCurrentValue(enumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64Array))))))), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), (((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64Collection))))))), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), (((IEnumerable)(source.GetCurrentValue(enumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8Array))))))), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), (((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8Collection))))))), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), (((IEnumerable)(source.GetCurrentValue(guidArray))) == null ? null : ((Guid[])(((ValueComparer>)(((IProperty)guidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(guidArray))))))), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress))), (((object)(source.GetCurrentValue(iPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)iPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(iPAddressArray)))))))))); + var liftedArg1 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], CompiledModelTestBase.EnumU32, CompiledModelTestBase.EnumU32[], List, List, CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], CompiledModelTestBase.EnumU64, CompiledModelTestBase.EnumU64[], List, List, CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], CompiledModelTestBase.EnumU8, CompiledModelTestBase.EnumU8[], List, List, float, float[], Guid, Guid[], Guid, Guid, IPAddress>((((IEnumerable)(source.GetCurrentValue(enumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16Array))))))), ((ValueComparer)(((IProperty)enumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU16AsString)), (((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16[])(((ValueComparer>)(((IProperty)enumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU16Collection))))))), ((ValueComparer)(((IProperty)enumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32)), (((IEnumerable)(source.GetCurrentValue(enumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32Array))))))), ((ValueComparer)(((IProperty)enumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU32AsString)), (((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32[])(((ValueComparer>)(((IProperty)enumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU32Collection))))))), ((ValueComparer)(((IProperty)enumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64)), (((IEnumerable)(source.GetCurrentValue(enumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64Array))))))), ((ValueComparer)(((IProperty)enumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU64AsString)), (((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64[])(((ValueComparer>)(((IProperty)enumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU64Collection))))))), ((ValueComparer)(((IProperty)enumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8)), (((IEnumerable)(source.GetCurrentValue(enumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8Array))))))), ((ValueComparer)(((IProperty)enumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(enumU8AsString)), (((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8[])(((ValueComparer>)(((IProperty)enumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(enumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(enumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)enumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(enumU8Collection))))))), ((ValueComparer)(((IProperty)@float).GetValueComparer())).Snapshot(source.GetCurrentValue(@float)), (((IEnumerable)(source.GetCurrentValue(floatArray))) == null ? null : ((float[])(((ValueComparer>)(((IProperty)floatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(floatArray))))))), ((ValueComparer)(((IProperty)guid).GetValueComparer())).Snapshot(source.GetCurrentValue(guid)), (((IEnumerable)(source.GetCurrentValue(guidArray))) == null ? null : ((Guid[])(((ValueComparer>)(((IProperty)guidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(guidArray))))))), ((ValueComparer)(((IProperty)guidToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToBytesConverterProperty)), ((ValueComparer)(((IProperty)guidToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(guidToStringConverterProperty)), (source.GetCurrentValue(iPAddress) == null ? null : ((ValueComparer)(((IProperty)iPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddress)))))); var entity2 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg2 = ((ISnapshot)(new Snapshot((source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (((object)(source.GetCurrentValue(nullableBytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)nullableBytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableBytesArray))))))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))) == null ? null : ((DateOnly? [])(((ValueComparer>)(((IProperty)nullableDateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))))))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))) == null ? null : ((DateTime? [])(((ValueComparer>)(((IProperty)nullableDateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))))))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))))))), (source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))))))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString)))))); + var liftedArg2 = ((ISnapshot)(new Snapshot, IPAddress, IPAddress, short, short[], int, int[], IReadOnlyCollection, long, long[], sbyte, sbyte[], int, int, int?, bool?, bool? [], byte[], byte[][], char?, char? [], DateOnly?, DateOnly? [], DateTime?, DateTime? [], decimal?, decimal? [], double?, double? []>((((object)(source.GetCurrentValue(iPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)iPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(iPAddressArray))))))), (((object)(source.GetCurrentValue>(iPAddressReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)iPAddressReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(iPAddressReadOnlyCollection))))))), (source.GetCurrentValue(iPAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToBytesConverterProperty))), (source.GetCurrentValue(iPAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)iPAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(iPAddressToStringConverterProperty))), ((ValueComparer)(((IProperty)int16).GetValueComparer())).Snapshot(source.GetCurrentValue(int16)), (((IEnumerable)(source.GetCurrentValue(int16Array))) == null ? null : ((short[])(((ValueComparer>)(((IProperty)int16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int16Array))))))), ((ValueComparer)(((IProperty)int32).GetValueComparer())).Snapshot(source.GetCurrentValue(int32)), (((IEnumerable)(source.GetCurrentValue(int32Array))) == null ? null : ((int[])(((ValueComparer>)(((IProperty)int32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int32Array))))))), (((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)int32ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(int32ReadOnlyCollection))))))), ((ValueComparer)(((IProperty)int64).GetValueComparer())).Snapshot(source.GetCurrentValue(int64)), (((IEnumerable)(source.GetCurrentValue(int64Array))) == null ? null : ((long[])(((ValueComparer>)(((IProperty)int64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int64Array))))))), ((ValueComparer)(((IProperty)int8).GetValueComparer())).Snapshot(source.GetCurrentValue(int8)), (((IEnumerable)(source.GetCurrentValue(int8Array))) == null ? null : ((sbyte[])(((ValueComparer>)(((IProperty)int8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(int8Array))))))), ((ValueComparer)(((IProperty)intNumberToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToBytesConverterProperty)), ((ValueComparer)(((IProperty)intNumberToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(intNumberToStringConverterProperty)), (source.GetCurrentValue(nullIntToNullStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)nullIntToNullStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(nullIntToNullStringConverterProperty))), (source.GetCurrentValue(nullableBool) == null ? null : ((ValueComparer)(((IProperty)nullableBool).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBool))), (((IEnumerable)(source.GetCurrentValue(nullableBoolArray))) == null ? null : ((bool? [])(((ValueComparer>)(((IProperty)nullableBoolArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableBoolArray))))))), (source.GetCurrentValue(nullableBytes) == null ? null : ((ValueComparer)(((IProperty)nullableBytes).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableBytes))), (((object)(source.GetCurrentValue(nullableBytesArray))) == null ? null : ((byte[][])(((ValueComparer)(((IProperty)nullableBytesArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableBytesArray))))))), (source.GetCurrentValue(nullableChar) == null ? null : ((ValueComparer)(((IProperty)nullableChar).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableChar))), (((IEnumerable)(source.GetCurrentValue(nullableCharArray))) == null ? null : ((char? [])(((ValueComparer>)(((IProperty)nullableCharArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableCharArray))))))), (source.GetCurrentValue(nullableDateOnly) == null ? null : ((ValueComparer)(((IProperty)nullableDateOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateOnly))), (((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))) == null ? null : ((DateOnly? [])(((ValueComparer>)(((IProperty)nullableDateOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateOnlyArray))))))), (source.GetCurrentValue(nullableDateTime) == null ? null : ((ValueComparer)(((IProperty)nullableDateTime).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDateTime))), (((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))) == null ? null : ((DateTime? [])(((ValueComparer>)(((IProperty)nullableDateTimeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDateTimeArray))))))), (source.GetCurrentValue(nullableDecimal) == null ? null : ((ValueComparer)(((IProperty)nullableDecimal).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDecimal))), (((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))) == null ? null : ((decimal? [])(((ValueComparer>)(((IProperty)nullableDecimalArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDecimalArray))))))), (source.GetCurrentValue(nullableDouble) == null ? null : ((ValueComparer)(((IProperty)nullableDouble).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableDouble))), (((IEnumerable)(source.GetCurrentValue(nullableDoubleArray))) == null ? null : ((double? [])(((ValueComparer>)(((IProperty)nullableDoubleArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableDoubleArray)))))))))); var entity3 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg3 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], List, List, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], List, List, CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], List, List, CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], List, List, CompiledModelTestBase.EnumU32?, CompiledModelTestBase.EnumU32? [], CompiledModelTestBase.EnumU32?>((((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))))))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))))))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))))))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))))))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))))))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))))))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))))))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))))))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))))))), (source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))))))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString)))))); + var liftedArg3 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], CompiledModelTestBase.Enum32?, CompiledModelTestBase.Enum32? [], List, List, CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], CompiledModelTestBase.Enum64?, CompiledModelTestBase.Enum64? [], List, List, CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], CompiledModelTestBase.Enum8?, CompiledModelTestBase.Enum8? [], List, List, CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], CompiledModelTestBase.EnumU16?, CompiledModelTestBase.EnumU16? [], List, List>((source.GetCurrentValue(nullableEnum16) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16Array))))))), (source.GetCurrentValue(nullableEnum16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum16? [])(((ValueComparer>)(((IProperty)nullableEnum16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum16Collection))))))), (source.GetCurrentValue(nullableEnum32) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32Array))))))), (source.GetCurrentValue(nullableEnum32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum32? [])(((ValueComparer>)(((IProperty)nullableEnum32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum32Collection))))))), (source.GetCurrentValue(nullableEnum64) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64Array))))))), (source.GetCurrentValue(nullableEnum64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum64? [])(((ValueComparer>)(((IProperty)nullableEnum64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum64Collection))))))), (source.GetCurrentValue(nullableEnum8) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8Array))))))), (source.GetCurrentValue(nullableEnum8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnum8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnum8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))) == null ? null : ((CompiledModelTestBase.Enum8? [])(((ValueComparer>)(((IProperty)nullableEnum8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnum8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnum8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnum8Collection))))))), (source.GetCurrentValue(nullableEnumU16) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16Array))))))), (source.GetCurrentValue(nullableEnumU16AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU16AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU16AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU16? [])(((ValueComparer>)(((IProperty)nullableEnumU16AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU16AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU16Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU16Collection)))))))))); var entity4 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg4 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], List, List, CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], List, List, float?, float? [], Guid?, Guid? [], IPAddress, IPAddress[], short?, short? [], int?, int? [], long?, long? [], sbyte?, sbyte? [], PhysicalAddress>((((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))))))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))))))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))))))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))))))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))))))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (((IEnumerable)(source.GetCurrentValue(nullableGuidArray))) == null ? null : ((Guid? [])(((ValueComparer>)(((IProperty)nullableGuidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableGuidArray))))))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (((object)(source.GetCurrentValue(nullableIPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)nullableIPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableIPAddressArray))))))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array))))))), (source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress)))))); + var liftedArg4 = ((ISnapshot)(new Snapshot, List, CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], CompiledModelTestBase.EnumU64?, CompiledModelTestBase.EnumU64? [], List, List, CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], CompiledModelTestBase.EnumU8?, CompiledModelTestBase.EnumU8? [], List, List, float?, float? [], Guid?, Guid? [], IPAddress, IPAddress[], short?, short? [], int?, int? [], long?, long? []>((source.GetCurrentValue(nullableEnumU32) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32Array))))))), (source.GetCurrentValue(nullableEnumU32AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU32AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU32AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU32? [])(((ValueComparer>)(((IProperty)nullableEnumU32AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU32AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU32Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU32Collection))))))), (source.GetCurrentValue(nullableEnumU64) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64Array))))))), (source.GetCurrentValue(nullableEnumU64AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU64AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU64AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU64? [])(((ValueComparer>)(((IProperty)nullableEnumU64AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU64AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU64Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU64Collection))))))), (source.GetCurrentValue(nullableEnumU8) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8Array))))))), (source.GetCurrentValue(nullableEnumU8AsString) == null ? null : ((ValueComparer)(((IProperty)nullableEnumU8AsString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableEnumU8AsString))), (((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))) == null ? null : ((CompiledModelTestBase.EnumU8? [])(((ValueComparer>)(((IProperty)nullableEnumU8AsStringArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableEnumU8AsStringArray))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8AsStringCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8AsStringCollection))))))), (((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))) == null ? null : ((List)(((ValueComparer>)(((IProperty)nullableEnumU8Collection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(nullableEnumU8Collection))))))), (source.GetCurrentValue(nullableFloat) == null ? null : ((ValueComparer)(((IProperty)nullableFloat).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableFloat))), (((IEnumerable)(source.GetCurrentValue(nullableFloatArray))) == null ? null : ((float? [])(((ValueComparer>)(((IProperty)nullableFloatArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableFloatArray))))))), (source.GetCurrentValue(nullableGuid) == null ? null : ((ValueComparer)(((IProperty)nullableGuid).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableGuid))), (((IEnumerable)(source.GetCurrentValue(nullableGuidArray))) == null ? null : ((Guid? [])(((ValueComparer>)(((IProperty)nullableGuidArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableGuidArray))))))), (source.GetCurrentValue(nullableIPAddress) == null ? null : ((ValueComparer)(((IProperty)nullableIPAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableIPAddress))), (((object)(source.GetCurrentValue(nullableIPAddressArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)nullableIPAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableIPAddressArray))))))), (source.GetCurrentValue(nullableInt16) == null ? null : ((ValueComparer)(((IProperty)nullableInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt16))), (((IEnumerable)(source.GetCurrentValue(nullableInt16Array))) == null ? null : ((short? [])(((ValueComparer>)(((IProperty)nullableInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt16Array))))))), (source.GetCurrentValue(nullableInt32) == null ? null : ((ValueComparer)(((IProperty)nullableInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt32))), (((IEnumerable)(source.GetCurrentValue(nullableInt32Array))) == null ? null : ((int? [])(((ValueComparer>)(((IProperty)nullableInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt32Array))))))), (source.GetCurrentValue(nullableInt64) == null ? null : ((ValueComparer)(((IProperty)nullableInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt64))), (((IEnumerable)(source.GetCurrentValue(nullableInt64Array))) == null ? null : ((long? [])(((ValueComparer>)(((IProperty)nullableInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt64Array)))))))))); var entity5 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - var liftedArg5 = ((ISnapshot)(new Snapshot((((object)(source.GetCurrentValue(nullablePhysicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)nullablePhysicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullablePhysicalAddressArray))))))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))) == null ? null : ((TimeOnly? [])(((ValueComparer>)(((IProperty)nullableTimeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))))))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))) == null ? null : ((TimeSpan? [])(((ValueComparer>)(((IProperty)nullableTimeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))))))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (((object)(source.GetCurrentValue(nullableUriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)nullableUriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableUriArray))))))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (((object)(source.GetCurrentValue(physicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)physicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(physicalAddressArray))))))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty))), (source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty)))))); + var liftedArg5 = ((ISnapshot)(new Snapshot, string, string, string>((source.GetCurrentValue(nullableInt8) == null ? null : ((ValueComparer)(((IProperty)nullableInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableInt8))), (((IEnumerable)(source.GetCurrentValue(nullableInt8Array))) == null ? null : ((sbyte? [])(((ValueComparer>)(((IProperty)nullableInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableInt8Array))))))), (source.GetCurrentValue(nullablePhysicalAddress) == null ? null : ((ValueComparer)(((IProperty)nullablePhysicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(nullablePhysicalAddress))), (((object)(source.GetCurrentValue(nullablePhysicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)nullablePhysicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullablePhysicalAddressArray))))))), (source.GetCurrentValue(nullableString) == null ? null : ((ValueComparer)(((IProperty)nullableString).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableString))), (((object)(source.GetCurrentValue(nullableStringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)nullableStringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableStringArray))))))), (source.GetCurrentValue(nullableTimeOnly) == null ? null : ((ValueComparer)(((IProperty)nullableTimeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeOnly))), (((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))) == null ? null : ((TimeOnly? [])(((ValueComparer>)(((IProperty)nullableTimeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeOnlyArray))))))), (source.GetCurrentValue(nullableTimeSpan) == null ? null : ((ValueComparer)(((IProperty)nullableTimeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableTimeSpan))), (((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))) == null ? null : ((TimeSpan? [])(((ValueComparer>)(((IProperty)nullableTimeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableTimeSpanArray))))))), (source.GetCurrentValue(nullableUInt16) == null ? null : ((ValueComparer)(((IProperty)nullableUInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt16))), (((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))) == null ? null : ((ushort? [])(((ValueComparer>)(((IProperty)nullableUInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt16Array))))))), (source.GetCurrentValue(nullableUInt32) == null ? null : ((ValueComparer)(((IProperty)nullableUInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt32))), (((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))) == null ? null : ((uint? [])(((ValueComparer>)(((IProperty)nullableUInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt32Array))))))), (source.GetCurrentValue(nullableUInt64) == null ? null : ((ValueComparer)(((IProperty)nullableUInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt64))), (((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))) == null ? null : ((ulong? [])(((ValueComparer>)(((IProperty)nullableUInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt64Array))))))), (source.GetCurrentValue(nullableUInt8) == null ? null : ((ValueComparer)(((IProperty)nullableUInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUInt8))), (((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))) == null ? null : ((byte? [])(((ValueComparer>)(((IProperty)nullableUInt8Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(nullableUInt8Array))))))), (source.GetCurrentValue(nullableUri) == null ? null : ((ValueComparer)(((IProperty)nullableUri).GetValueComparer())).Snapshot(source.GetCurrentValue(nullableUri))), (((object)(source.GetCurrentValue(nullableUriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)nullableUriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(nullableUriArray))))))), (source.GetCurrentValue(physicalAddress) == null ? null : ((ValueComparer)(((IProperty)physicalAddress).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddress))), (((object)(source.GetCurrentValue(physicalAddressArray))) == null ? null : ((PhysicalAddress[])(((ValueComparer)(((IProperty)physicalAddressArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(physicalAddressArray))))))), (source.GetCurrentValue(physicalAddressToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToBytesConverterProperty))), (source.GetCurrentValue(physicalAddressToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)physicalAddressToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(physicalAddressToStringConverterProperty))), (source.GetCurrentValue(@string) == null ? null : ((ValueComparer)(((IProperty)@string).GetValueComparer())).Snapshot(source.GetCurrentValue(@string))), (((object)(source.GetCurrentValue(stringArray))) == null ? null : ((string[])(((ValueComparer)(((IProperty)stringArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(stringArray))))))), (((object)(source.GetCurrentValue>(stringReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer)(((IProperty)stringReadOnlyCollection).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(stringReadOnlyCollection))))))), (source.GetCurrentValue(stringToBoolConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBoolConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBoolConverterProperty))), (source.GetCurrentValue(stringToBytesConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToBytesConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToBytesConverterProperty))), (source.GetCurrentValue(stringToCharConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToCharConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToCharConverterProperty)))))); var entity6 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); - return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, liftedArg4, liftedArg5, ((ISnapshot)(new Snapshot((source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), (((IEnumerable)(source.GetCurrentValue(timeOnlyArray))) == null ? null : ((TimeOnly[])(((ValueComparer>)(((IProperty)timeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeOnlyArray))))))), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), (((IEnumerable)(source.GetCurrentValue(timeSpanArray))) == null ? null : ((TimeSpan[])(((ValueComparer>)(((IProperty)timeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeSpanArray))))))), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (((object)(source.GetCurrentValue(uriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)uriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(uriArray))))))), (source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty)))))) }))); + var liftedArg6 = ((ISnapshot)(new Snapshot, Uri, Uri[]>((source.GetCurrentValue(stringToDateOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateOnlyConverterProperty))), (source.GetCurrentValue(stringToDateTimeConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeConverterProperty))), (source.GetCurrentValue(stringToDateTimeOffsetConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDateTimeOffsetConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDateTimeOffsetConverterProperty))), (source.GetCurrentValue(stringToDecimalNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDecimalNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDecimalNumberConverterProperty))), (source.GetCurrentValue(stringToDoubleNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToDoubleNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToDoubleNumberConverterProperty))), (source.GetCurrentValue(stringToEnumConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToEnumConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToEnumConverterProperty))), (source.GetCurrentValue(stringToGuidConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToGuidConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToGuidConverterProperty))), (source.GetCurrentValue(stringToIntNumberConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToIntNumberConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToIntNumberConverterProperty))), (source.GetCurrentValue(stringToTimeOnlyConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeOnlyConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeOnlyConverterProperty))), (source.GetCurrentValue(stringToTimeSpanConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToTimeSpanConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToTimeSpanConverterProperty))), (source.GetCurrentValue(stringToUriConverterProperty) == null ? null : ((ValueComparer)(((IProperty)stringToUriConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(stringToUriConverterProperty))), ((ValueComparer)(((IProperty)timeOnly).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnly)), (((IEnumerable)(source.GetCurrentValue(timeOnlyArray))) == null ? null : ((TimeOnly[])(((ValueComparer>)(((IProperty)timeOnlyArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeOnlyArray))))))), ((ValueComparer)(((IProperty)timeOnlyToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToStringConverterProperty)), ((ValueComparer)(((IProperty)timeOnlyToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeOnlyToTicksConverterProperty)), ((ValueComparer)(((IProperty)timeSpan).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpan)), (((IEnumerable)(source.GetCurrentValue(timeSpanArray))) == null ? null : ((TimeSpan[])(((ValueComparer>)(((IProperty)timeSpanArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(timeSpanArray))))))), ((ValueComparer)(((IProperty)timeSpanToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToStringConverterProperty)), ((ValueComparer)(((IProperty)timeSpanToTicksConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(timeSpanToTicksConverterProperty)), ((ValueComparer)(((IProperty)uInt16).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt16)), (((IEnumerable)(source.GetCurrentValue(uInt16Array))) == null ? null : ((ushort[])(((ValueComparer>)(((IProperty)uInt16Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt16Array))))))), ((ValueComparer)(((IProperty)uInt32).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt32)), (((IEnumerable)(source.GetCurrentValue(uInt32Array))) == null ? null : ((uint[])(((ValueComparer>)(((IProperty)uInt32Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt32Array))))))), ((ValueComparer)(((IProperty)uInt64).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt64)), (((IEnumerable)(source.GetCurrentValue(uInt64Array))) == null ? null : ((ulong[])(((ValueComparer>)(((IProperty)uInt64Array).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(uInt64Array))))))), ((ValueComparer)(((IProperty)uInt8).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8)), (source.GetCurrentValue(uInt8Array) == null ? null : ((ValueComparer)(((IProperty)uInt8Array).GetValueComparer())).Snapshot(source.GetCurrentValue(uInt8Array))), (((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))) == null ? null : ((IReadOnlyCollection)(((ValueComparer>)(((IProperty)uInt8ReadOnlyCollection).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(uInt8ReadOnlyCollection))))))), (source.GetCurrentValue(uri) == null ? null : ((ValueComparer)(((IProperty)uri).GetValueComparer())).Snapshot(source.GetCurrentValue(uri))), (((object)(source.GetCurrentValue(uriArray))) == null ? null : ((Uri[])(((ValueComparer)(((IProperty)uriArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(uriArray)))))))))); + var entity7 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); + return ((ISnapshot)(new MultiSnapshot(new ISnapshot[] { liftedArg, liftedArg0, liftedArg1, liftedArg2, liftedArg3, liftedArg4, liftedArg5, liftedArg6, ((ISnapshot)(new Snapshot((source.GetCurrentValue(uriToStringConverterProperty) == null ? null : ((ValueComparer)(((IProperty)uriToStringConverterProperty).GetValueComparer())).Snapshot(source.GetCurrentValue(uriToStringConverterProperty)))))) }))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( ISnapshot () => ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(default(CompiledModelTestBase.ManyTypesId)))))); @@ -13587,14 +13891,14 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); + var entity8 = ((CompiledModelTestBase.ManyTypes)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))))); }); runtimeEntityType.Counts = new PropertyCounts( - propertyCount: 236, + propertyCount: 241, navigationCount: 0, complexPropertyCount: 0, - originalValueCount: 236, + originalValueCount: 241, shadowCount: 0, relationshipCount: 1, storeGeneratedCount: 1); diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesUnsafeAccessors.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesUnsafeAccessors.cs index 8212477912e..48de8dc1ceb 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesUnsafeAccessors.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/ManyTypesUnsafeAccessors.cs @@ -22,6 +22,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool[] BoolArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_boolReadOnlyCollection")] + public static extern ref List _boolReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref bool BoolToStringConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -283,6 +286,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref IPAddress[] IPAddressArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_ipAddressReadOnlyCollection")] + public static extern ref List _ipAddressReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref IPAddress IPAddressToBytesConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -301,6 +307,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref int[] Int32Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_int32ReadOnlyCollection")] + public static extern ref List _int32ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref long Int64(CompiledModelTestBase.ManyTypes @this); @@ -622,6 +631,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string[] StringArray(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_stringReadOnlyCollection")] + public static extern ref List _stringReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref string StringToBoolConverterProperty(CompiledModelTestBase.ManyTypes @this); @@ -712,6 +724,9 @@ public static class ManyTypesUnsafeAccessors [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref byte[] UInt8Array(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_uInt8ReadOnlyCollection")] + public static extern ref List _uInt8ReadOnlyCollection(CompiledModelTestBase.ManyTypes @this); + [UnsafeAccessor(UnsafeAccessorKind.Field, Name = "k__BackingField")] public static extern ref Uri Uri(CompiledModelTestBase.ManyTypes @this); diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedType0EntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedType0EntityType.cs index 4418c95a5e3..ea942c6faa9 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedType0EntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedType0EntityType.cs @@ -753,7 +753,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>(((ValueComparer)(((IProperty)principalDerivedId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedId)), ((ValueComparer)(((IProperty)principalDerivedAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedAlternateId)), ((ValueComparer)(((IProperty)__synthesizedOrdinal).GetValueComparer())).Snapshot(source.GetCurrentValue(__synthesizedOrdinal)), (source.GetCurrentValue(details) == null ? null : ((ValueComparer)(((IProperty)details).GetValueComparer())).Snapshot(source.GetCurrentValue(details))), ((ValueComparer)(((IProperty)number).GetValueComparer())).Snapshot(source.GetCurrentValue(number)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -767,7 +767,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalDerivedId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedId)), ((ValueComparer)(((IProperty)principalDerivedAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalDerivedAlternateId)), ((ValueComparer)(((IProperty)__synthesizedOrdinal).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(__synthesizedOrdinal))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedTypeEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedTypeEntityType.cs index 302a3c48557..0be37f0f609 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedTypeEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/OwnedTypeEntityType.cs @@ -727,7 +727,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>(((ValueComparer)(((IProperty)principalBaseId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalBaseId)), ((ValueComparer)(((IProperty)principalBaseAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalBaseAlternateId)), (source.GetCurrentValue(details) == null ? null : ((ValueComparer)(((IProperty)details).GetValueComparer())).Snapshot(source.GetCurrentValue(details))), ((ValueComparer)(((IProperty)number).GetValueComparer())).Snapshot(source.GetCurrentValue(number)), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -741,7 +741,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.OwnedType)(source.Entity)); + var entity8 = ((CompiledModelTestBase.OwnedType)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)principalBaseId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalBaseId)), ((ValueComparer)(((IProperty)principalBaseAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalBaseAlternateId))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBaseEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBaseEntityType.cs index d16e1bfa60f..8455fd3e24b 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBaseEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBaseEntityType.cs @@ -934,7 +934,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); + var entity8 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), (source.GetCurrentValue(discriminator) == null ? null : ((ValueComparer)(((IProperty)discriminator).GetValueComparer())).Snapshot(source.GetCurrentValue(discriminator))), ((ValueComparer)(((IProperty)enum1).GetValueComparer())).Snapshot(source.GetCurrentValue(enum1)), (source.GetCurrentValue(enum2) == null ? null : ((ValueComparer)(((IProperty)enum2).GetValueComparer())).Snapshot(source.GetCurrentValue(enum2))), ((ValueComparer)(((IProperty)flagsEnum1).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum1)), ((ValueComparer)(((IProperty)flagsEnum2).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum2)), (source.GetCurrentValue(point) == null ? null : ((ValueComparer)(((IProperty)point).GetValueComparer())).Snapshot(source.GetCurrentValue(point))), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -948,8 +948,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); - return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity7), (object)(null)))); + var entity8 = ((CompiledModelTestBase.PrincipalBase)(source.Entity)); + return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity8), (object)(null)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 16, diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs index f2b9562ce0d..4220d8c41d7 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalBasePrincipalDerivedDependentBasebyteEntityType.cs @@ -364,7 +364,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((Dictionary)(source.Entity)); + var entity8 = ((Dictionary)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)derivedsId).GetValueComparer())).Snapshot(source.GetCurrentValue(derivedsId)), ((ValueComparer)(((IProperty)derivedsAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(derivedsAlternateId)), ((ValueComparer)(((IProperty)principalsId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalsId)), ((ValueComparer)(((IProperty)principalsAlternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(principalsAlternateId)), (source.GetCurrentValue(rowid) == null ? null : ((ValueComparer)(((IProperty)rowid).GetValueComparer())).Snapshot(source.GetCurrentValue(rowid)))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -378,7 +378,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((Dictionary)(source.Entity)); + var entity8 = ((Dictionary)(source.Entity)); return ((ISnapshot)(new Snapshot(((ValueComparer)(((IProperty)derivedsId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(derivedsId)), ((ValueComparer)(((IProperty)derivedsAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(derivedsAlternateId)), ((ValueComparer)(((IProperty)principalsId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalsId)), ((ValueComparer)(((IProperty)principalsAlternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(principalsAlternateId))))); }); runtimeEntityType.Counts = new PropertyCounts( diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalDerivedEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalDerivedEntityType.cs index 26073ee6b59..fd655ea1519 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalDerivedEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/BigModel_with_JSON_columns/PrincipalDerivedEntityType.cs @@ -110,7 +110,7 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetOriginalValuesFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); + var entity8 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); return ((ISnapshot)(new Snapshot, IList, List, DateTime[], IEnumerable, IList, List>((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), (source.GetCurrentValue(discriminator) == null ? null : ((ValueComparer)(((IProperty)discriminator).GetValueComparer())).Snapshot(source.GetCurrentValue(discriminator))), ((ValueComparer)(((IProperty)enum1).GetValueComparer())).Snapshot(source.GetCurrentValue(enum1)), (source.GetCurrentValue(enum2) == null ? null : ((ValueComparer)(((IProperty)enum2).GetValueComparer())).Snapshot(source.GetCurrentValue(enum2))), ((ValueComparer)(((IProperty)flagsEnum1).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum1)), ((ValueComparer)(((IProperty)flagsEnum2).GetValueComparer())).Snapshot(source.GetCurrentValue(flagsEnum2)), (source.GetCurrentValue(point) == null ? null : ((ValueComparer)(((IProperty)point).GetValueComparer())).Snapshot(source.GetCurrentValue(point))), (((object)(source.GetCurrentValue(refTypeArray))) == null ? null : ((IPAddress[])(((ValueComparer)(((IProperty)refTypeArray).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue(refTypeArray))))))), (((object)(source.GetCurrentValue>(refTypeEnumerable))) == null ? null : ((IEnumerable)(((ValueComparer)(((IProperty)refTypeEnumerable).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeEnumerable))))))), (((object)(source.GetCurrentValue>(refTypeIList))) == null ? null : ((IList)(((ValueComparer)(((IProperty)refTypeIList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeIList))))))), (((object)(source.GetCurrentValue>(refTypeList))) == null ? null : ((List)(((ValueComparer)(((IProperty)refTypeList).GetValueComparer())).Snapshot(((object)(source.GetCurrentValue>(refTypeList))))))), (((IEnumerable)(source.GetCurrentValue(valueTypeArray))) == null ? null : ((DateTime[])(((ValueComparer>)(((IProperty)valueTypeArray).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue(valueTypeArray))))))), (source.GetCurrentValue>(valueTypeEnumerable) == null ? null : ((ValueComparer>)(((IProperty)valueTypeEnumerable).GetValueComparer())).Snapshot(source.GetCurrentValue>(valueTypeEnumerable))), (((IEnumerable)(source.GetCurrentValue>(valueTypeIList))) == null ? null : ((IList)(((ValueComparer>)(((IProperty)valueTypeIList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeIList))))))), (((IEnumerable)(source.GetCurrentValue>(valueTypeList))) == null ? null : ((List)(((ValueComparer>)(((IProperty)valueTypeList).GetValueComparer())).Snapshot(((IEnumerable)(source.GetCurrentValue>(valueTypeList)))))))))); }); runtimeEntityType.SetStoreGeneratedValuesFactory( @@ -124,8 +124,8 @@ public static void CreateAnnotations(RuntimeEntityType runtimeEntityType) runtimeEntityType.SetRelationshipSnapshotFactory( ISnapshot (InternalEntityEntry source) => { - var entity7 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); - return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity7), (object)(null), PrincipalDerivedUnsafeAccessors>.Dependent(entity7), SnapshotFactoryFactory.SnapshotCollection(PrincipalDerivedUnsafeAccessors>.ManyOwned(entity7)), (object)(null)))); + var entity8 = ((CompiledModelTestBase.PrincipalDerived>)(source.Entity)); + return ((ISnapshot)(new Snapshot((source.GetCurrentValue(id) == null ? null : ((ValueComparer)(((IProperty)id).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(id))), ((ValueComparer)(((IProperty)alternateId).GetKeyValueComparer())).Snapshot(source.GetCurrentValue(alternateId)), PrincipalBaseUnsafeAccessors._ownedField(entity8), (object)(null), PrincipalDerivedUnsafeAccessors>.Dependent(entity8), SnapshotFactoryFactory.SnapshotCollection(PrincipalDerivedUnsafeAccessors>.ManyOwned(entity8)), (object)(null)))); }); runtimeEntityType.Counts = new PropertyCounts( propertyCount: 16, diff --git a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs index ddf70ed1e99..f6777a1fcc7 100644 --- a/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs +++ b/test/EFCore.Sqlite.FunctionalTests/Scaffolding/Baselines/No_NativeAOT/ManyTypesEntityType.cs @@ -28,7 +28,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas "Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelTestBase+ManyTypes", typeof(CompiledModelTestBase.ManyTypes), baseEntityType, - propertyCount: 236, + propertyCount: 241, keyCount: 1); var id = runtimeEntityType.AddProperty( @@ -54,6 +54,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolArray", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var boolReadOnlyCollection = runtimeEntityType.AddProperty( + "BoolReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("BoolReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_boolReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var boolToStringConverterProperty = runtimeEntityType.AddProperty( "BoolToStringConverterProperty", typeof(bool), @@ -672,6 +678,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressArray", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var iPAddressReadOnlyCollection = runtimeEntityType.AddProperty( + "IPAddressReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("IPAddressReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_ipAddressReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var iPAddressToBytesConverterProperty = runtimeEntityType.AddProperty( "IPAddressToBytesConverterProperty", typeof(IPAddress), @@ -712,6 +724,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32Array", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var int32ReadOnlyCollection = runtimeEntityType.AddProperty( + "Int32ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("Int32ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_int32ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var int64 = runtimeEntityType.AddProperty( "Int64", typeof(long), @@ -1403,6 +1421,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringArray", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var stringReadOnlyCollection = runtimeEntityType.AddProperty( + "StringReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("StringReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_stringReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var stringToBoolConverterProperty = runtimeEntityType.AddProperty( "StringToBoolConverterProperty", typeof(string), @@ -1613,6 +1637,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8Array", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("k__BackingField", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var uInt8ReadOnlyCollection = runtimeEntityType.AddProperty( + "UInt8ReadOnlyCollection", + typeof(IReadOnlyCollection), + propertyInfo: typeof(CompiledModelTestBase.ManyTypes).GetProperty("UInt8ReadOnlyCollection", BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly), + fieldInfo: typeof(CompiledModelTestBase.ManyTypes).GetField("_uInt8ReadOnlyCollection", BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.DeclaredOnly)); + var uri = runtimeEntityType.AddProperty( "Uri", typeof(Uri),