-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SqlException on V1_2/Capture Endpoint (Capture Masterdata) #470
Comments
louisaxel-ambroise
pushed a commit
that referenced
this issue
Feb 12, 2024
louisaxel-ambroise
added a commit
that referenced
this issue
Feb 12, 2024
…-configuration #470 Fix fields names in EF Core model configuration
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: