@@ -44,7 +44,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas
4444 int ( IInternalEntry entry ) => entry . ReadShadowValue < int > ( 0 ) ,
4545 int ( IInternalEntry entry ) => entry . ReadShadowValue < int > ( 0 ) ,
4646 int ( IInternalEntry entry ) => entry . ReadOriginalValue < int > ( id , 0 ) ,
47- int ( IInternalEntry entry ) => ( ( InternalEntityEntry ) ( entry ) ) . ReadRelationshipSnapshotValue < int > ( id , 0 ) ) ;
47+ int ( IInternalEntry entry ) => ( ( InternalEntityEntry ) entry ) . ReadRelationshipSnapshotValue < int > ( id , 0 ) ) ;
4848 id . SetPropertyIndexes (
4949 index : 0 ,
5050 originalValueIndex : 0 ,
@@ -77,7 +77,7 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas
7777 long ? ( IInternalEntry entry ) => entry . ReadShadowValue < long ? > ( 1 ) ,
7878 long ? ( IInternalEntry entry ) => entry . ReadShadowValue < long ? > ( 1 ) ,
7979 long ? ( IInternalEntry entry ) => entry . ReadOriginalValue < long ? > ( partitionId , 1 ) ,
80- long ? ( IInternalEntry entry ) => ( ( InternalEntityEntry ) ( entry ) ) . ReadRelationshipSnapshotValue < long ? > ( partitionId , 1 ) ) ;
80+ long ? ( IInternalEntry entry ) => ( ( InternalEntityEntry ) entry ) . ReadRelationshipSnapshotValue < long ? > ( partitionId , 1 ) ) ;
8181 partitionId . SetPropertyIndexes (
8282 index : 1 ,
8383 originalValueIndex : 1 ,
@@ -98,12 +98,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas
9898 int ( string v ) => ( ( object ) v ) . GetHashCode ( ) ,
9999 string ( string v ) => v ) ,
100100 converter : new ValueConverter < long , string > (
101- string ( long v ) => string . Format ( CultureInfo . InvariantCulture , "{0}" , ( ( object ) ( v ) ) ) ,
101+ string ( long v ) => string . Format ( CultureInfo . InvariantCulture , "{0}" , ( ( object ) v ) ) ,
102102 long ( string v ) => long . Parse ( v , NumberStyles . Any , CultureInfo . InvariantCulture ) ) ,
103103 jsonValueReaderWriter : new JsonConvertedValueReaderWriter < long , string > (
104104 JsonStringReaderWriter . Instance ,
105105 new ValueConverter < long , string > (
106- string ( long v ) => string . Format ( CultureInfo . InvariantCulture , "{0}" , ( ( object ) ( v ) ) ) ,
106+ string ( long v ) => string . Format ( CultureInfo . InvariantCulture , "{0}" , ( ( object ) v ) ) ,
107107 long ( string v ) => long . Parse ( v , NumberStyles . Any , CultureInfo . InvariantCulture ) ) ) ) ;
108108 partitionId . SetCurrentValueComparer ( new EntryCurrentValueComparer < long ? > ( partitionId ) ) ;
109109 partitionId . SetComparer ( new NullableValueComparer < long > ( partitionId . TypeMapping . Comparer ) ) ;
@@ -143,12 +143,12 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas
143143 storeGenerationIndex : - 1 ) ;
144144 blob . TypeMapping = CosmosTypeMapping . Default . Clone (
145145 comparer : new ValueComparer < byte [ ] > (
146- bool ( byte [ ] v1 , byte [ ] v2 ) => StructuralComparisons . StructuralEqualityComparer . Equals ( ( ( object ) ( v1 ) ) , ( ( object ) ( v2 ) ) ) ,
146+ bool ( byte [ ] v1 , byte [ ] v2 ) => StructuralComparisons . StructuralEqualityComparer . Equals ( ( ( object ) v1 ) , ( ( object ) v2 ) ) ,
147147 int ( byte [ ] v ) => ( ( object ) v ) . GetHashCode ( ) ,
148148 byte [ ] ( byte [ ] v ) => v ) ,
149149 keyComparer : new ValueComparer < byte [ ] > (
150- bool ( byte [ ] v1 , byte [ ] v2 ) => StructuralComparisons . StructuralEqualityComparer . Equals ( ( ( object ) ( v1 ) ) , ( ( object ) ( v2 ) ) ) ,
151- int ( byte [ ] v ) => StructuralComparisons . StructuralEqualityComparer . GetHashCode ( ( ( object ) ( v ) ) ) ,
150+ bool ( byte [ ] v1 , byte [ ] v2 ) => StructuralComparisons . StructuralEqualityComparer . Equals ( ( ( object ) v1 ) , ( ( object ) v2 ) ) ,
151+ int ( byte [ ] v ) => StructuralComparisons . StructuralEqualityComparer . GetHashCode ( ( ( object ) v ) ) ,
152152 byte [ ] ( byte [ ] source ) => source . ToArray ( ) ) ,
153153 providerValueComparer : new ValueComparer < string > (
154154 bool ( string v1 , string v2 ) => v1 == v2 ,
@@ -188,8 +188,8 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas
188188 int ( ReadOnlyMemory < byte > v ) => ( ( object ) v ) . GetHashCode ( ) ,
189189 ReadOnlyMemory < byte > ( ReadOnlyMemory < byte > v ) => v ) ,
190190 providerValueComparer : new ValueComparer < byte [ ] > (
191- bool ( byte [ ] v1 , byte [ ] v2 ) => StructuralComparisons . StructuralEqualityComparer . Equals ( ( ( object ) ( v1 ) ) , ( ( object ) ( v2 ) ) ) ,
192- int ( byte [ ] v ) => StructuralComparisons . StructuralEqualityComparer . GetHashCode ( ( ( object ) ( v ) ) ) ,
191+ bool ( byte [ ] v1 , byte [ ] v2 ) => StructuralComparisons . StructuralEqualityComparer . Equals ( ( ( object ) v1 ) , ( ( object ) v2 ) ) ,
192+ int ( byte [ ] v ) => StructuralComparisons . StructuralEqualityComparer . GetHashCode ( ( ( object ) v ) ) ,
193193 byte [ ] ( byte [ ] source ) => source . ToArray ( ) ) ,
194194 converter : new ValueConverter < ReadOnlyMemory < byte > , byte [ ] > (
195195 byte [ ] ( ReadOnlyMemory < byte > v ) => ReadOnlyMemoryConverter < byte > . ToArray ( v ) ,
0 commit comments