Can you create a 1-to-1 relationship between two query types?

asp.net-core entity-framework-core entity-framework-core-2.1

Question

Say I have two query types, they both have a key column (as it happens, I'm querying an SCCM database by its views) called ResourceID.

The way I read the documentation this may not be possible since a Query Type cannot be the principal end of a relationship.

Can anyone confirm/deny this?

I don't think specifics are required for this question, but if you feel they are I can add some.

1
1
2/26/2019 2:53:16 AM

Accepted Answer

Yes! You cannot create one-to-one between two query types because query type cannot be principal end of a relationship whereas in between one-to-one principal end of a relationship is a must.

1
2/26/2019 3:16:54 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow