Inserting of foreign key object inserts new object – Asp.net
When I insert a new MaskField model into my database using Entity Framework Core it also inserts a Restriction model which is referenced inside the MaskField model. I am trying to get it to only reference a Restriction object as…