Skip to content

Always load primary key #3582

Answered by PascalSenn
ronaldvdv asked this question in Q&A
Apr 23, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@ronaldvdv
You can do

public class Episode 
{
   [IsProjected(true)]
   public Guid Id {get;set;}
}

This will always project the ID

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ronaldvdv
Comment options

Answer selected by ronaldvdv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants