I'm using code first in my Models and trying to add 2 properties to an assessment class which will be foreign keys back to my Provider Class.
... In Assessment Class ...
public class Assessment
{
public int AssessmentID { get; set; }
public int createdByProviderID { get; set; } // this will container a providerID
public int closedByProviderID { get; set; } // this will container a providerID
}
...
... Provider ...
public class Provider
{
public int ProviderID { get; set; }
}
...
I can't figure out how to do this because they don't follow the standard naming convention that EF looks for.