You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When interacting with the V1_2/Capture endpoint there appears to be a SqlException getting triggered with the Masterdata XML example (from the Postman Sandbox). Upon dumping the contents of the SaveChangesAsync() call embedded in the StoreAsync(Request request, CancellationToken cancellationToken) : CaptureHandler.cs method, SQL Profiler showed us that it's attempting to insert this query.
The insert manages to have values for the first three properties of the insert statement, but the latter two do not - instead defaulting to null. From looking around I was not able to find a relationship linking the MasterdataId and MasterdataType properties to the MasterDataChildren table. Those appear to only be properties referenced within the MasterDataAttribute table. I did notice that the MasterDataChildren has a link to MasterData which contains a list of MasterDataAttribute's, potentially creating a link between the two?
All that being said, I was hoping you could provide any insight on how the DbContext is suggesting those two properties - MasterdataId and MasterdataType - belong to the MasterDataChildren type within the insert statement.
Thanks!
The text was updated successfully, but these errors were encountered:
Environment
SqlServer
.net8
Issue
When interacting with the
V1_2/Capture
endpoint there appears to be a SqlException getting triggered with the Masterdata XML example (from the Postman Sandbox). Upon dumping the contents of theSaveChangesAsync()
call embedded in theStoreAsync(Request request, CancellationToken cancellationToken) : CaptureHandler.cs
method, SQL Profiler showed us that it's attempting to insert this query.The insert manages to have values for the first three properties of the insert statement, but the latter two do not - instead defaulting to
null
. From looking around I was not able to find a relationship linking theMasterdataId
andMasterdataType
properties to theMasterDataChildren
table. Those appear to only be properties referenced within theMasterDataAttribute
table. I did notice that theMasterDataChildren
has a link toMasterData
which contains a list ofMasterDataAttribute
's, potentially creating a link between the two?All that being said, I was hoping you could provide any insight on how the
DbContext
is suggesting those two properties -MasterdataId
andMasterdataType
- belong to theMasterDataChildren
type within the insert statement.Thanks!
The text was updated successfully, but these errors were encountered: