Representing a Junction Table in Entity Framework
问题 I am creating a schema where the following logic applies: A String can belong to multiple locations. Multiple Locations can have multiple String , or no String . The DateTime (As DateScraped ) at which the relationship between Location and String was formed must be recorded. Basically, I've mapped the relationship as a many-to-many relationship using a junction table like so: In mapping the chart in Code First EF6 (Using SQLite), I have the following objects: public class Location { [Key,