This question is locked. New answers and comments are not allowed.
I want to extend my partial class to have an extension or a static method for .Exists or something like that so I can know if it's already in the database before trying an insert
Do I have to make and dispose a new context in the partial or can it leverage anything?....does this functionality already exist somewhere? I just want to check .Exists on the PK
Do I have to make and dispose a new context in the partial or can it leverage anything?....does this functionality already exist somewhere? I just want to check .Exists on the PK