@@ -142,7 +142,6 @@ public async Task EfCoreDataStore_ShouldRaiseDomainEventsAndDehydrateEventsToSto
142142
143143 var sut5 = await sut4 . GetByIdAsync ( id ) ;
144144
145-
146145 Assert . Equal ( id , sp . GetRequiredService < ITestStore < IDomainEvent > > ( ) . QueryFor < TracedAccountInitiated > ( ) . Single ( ) . Id ) ;
147146 Assert . Equal ( providerId , sp . GetRequiredService < ITestStore < IDomainEvent > > ( ) . QueryFor < TracedAccountInitiated > ( ) . Single ( ) . PlatformProviderId ) ;
148147 Assert . Equal ( name , sp . GetRequiredService < ITestStore < IDomainEvent > > ( ) . QueryFor < TracedAccountInitiated > ( ) . Single ( ) . FullName ) ;
@@ -154,42 +153,6 @@ public async Task EfCoreDataStore_ShouldRaiseDomainEventsAndDehydrateEventsToSto
154153 Assert . Equal ( name , sut5 . FullName ) ;
155154 Assert . Equal ( "[email protected] " , sut5 . EmailAddress ) ; 156155
157- #if NET8_0
158- Assert . True ( Match ( @"Model:
159- EntityType: EfCoreTracedAggregateEntity<TracedAccount, Guid>
160- Properties:
161- Id (_id, Guid) Required PK AfterSave:Throw
162- Annotations:
163- Relational:ColumnName: id
164- Relational:ColumnType: uniqueidentifier
165- Version (_version, long) Required PK AfterSave:Throw
166- Annotations:
167- Relational:ColumnName: version
168- Relational:ColumnType: int
169- Payload (_payload, byte[])
170- Annotations:
171- Relational:ColumnName: payload
172- Relational:ColumnType: varchar(max)
173- Timestamp (_timestamp, DateTime) Required
174- Annotations:
175- Relational:ColumnName: timestamp
176- Relational:ColumnType: datetime
177- Type (_type, string)
178- Annotations:
179- Relational:ColumnName: clrtype
180- Relational:ColumnType: varchar(1024)
181- Keys:
182- Id, Version PK
183- Annotations:
184- Relational:Schema:
185- Relational:TableName: TracedAccount_DomainEvents
186- RelationshipDiscoveryConvention:NavigationCandidates: System.Collections.Immutable.ImmutableSortedDictionary`2[System.Reflection.PropertyInfo,System.ValueTuple`2[System.Type,System.Nullable`1[System.Boolean]]]
187- Annotations:
188- BaseTypeDiscoveryConvention:DerivedTypes: System.Collections.Generic.Dictionary`2[System.Type,System.Collections.Generic.List`1[Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType]]
189- NonNullableConventionState: System.Reflection.NullabilityInfoContext
190- ProductVersion: 8.0.??
191- RelationshipDiscoveryConvention:InverseNavigationCandidates: System.Collections.Generic.Dictionary`2[System.Type,System.Collections.Generic.SortedSet`1[System.Type]]" . ReplaceLineEndings ( ) , schema . ReplaceLineEndings ( ) , o => o . ThrowOnNoMatch = true ) ) ;
192- #else
193156 Assert . True ( Match ( @"Model:
194157 EntityType: EfCoreTracedAggregateEntity<TracedAccount, Guid>
195158 Properties:
@@ -224,7 +187,6 @@ public async Task EfCoreDataStore_ShouldRaiseDomainEventsAndDehydrateEventsToSto
224187 InversePropertyAttributeConvention:InverseNavigations: System.Collections.Generic.Dictionary`2[System.Type,System.Collections.Generic.SortedSet`1[System.Type]]
225188 NonNullableConventionState: System.Reflection.NullabilityInfoContext
226189 ProductVersion: *" . ReplaceLineEndings ( ) , schema . ReplaceLineEndings ( ) , o => o . ThrowOnNoMatch = true ) ) ;
227- #endif
228190 }
229191
230192 [ Fact ]
0 commit comments