File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed
Async/NHSpecificTest/GH2043 Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,6 @@ public async Task UpdateEntityWithInterfaceLookupAsync()
173
173
. FirstAsync ( e => e . Id == _entityWithInterfaceLookupId ) ) ;
174
174
175
175
entityToUpdate . EntityLookup = ( IEntityProxy ) await ( session . LoadAsync ( typeof ( EntityWithInterfaceProxyDefinition ) , _entityWithInterfaceProxy2Id ) ) ;
176
- entityToUpdate . EntityLookup . Id = Guid . Empty ;
177
176
178
177
await ( session . UpdateAsync ( entityToUpdate ) ) ;
179
178
await ( session . FlushAsync ( ) ) ;
Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ public void UpdateEntityWithInterfaceLookup()
161
161
. First ( e => e . Id == _entityWithInterfaceLookupId ) ;
162
162
163
163
entityToUpdate . EntityLookup = ( IEntityProxy ) session . Load ( typeof ( EntityWithInterfaceProxyDefinition ) , _entityWithInterfaceProxy2Id ) ;
164
- entityToUpdate . EntityLookup . Id = Guid . Empty ;
165
164
166
165
session . Update ( entityToUpdate ) ;
167
166
session . Flush ( ) ;
You can’t perform that action at this time.
0 commit comments