This question is locked. New answers and comments are not allowed.
Hello.
Is it possible to set the exact constraint name?
My code:
configuration.HasAssociation(job => job.TriggerAgent)
.HasFieldName(
"_aK_Agent"
)
.WithOpposite(agent => agent.AK_RecognitionJobs)
.HasConstraint((job, agent) => job.TriggerAgentId == agent.Id);