SubSonic 3 - Simple repository - One to many relations
问题 It's the first time I use Subsonic. Let say I have those classes : public class Store { public int Id { get; set; } public String Name { get; set; } } public class Employee { public int Id { get; set; } public String Name { get; set; } } An employee is related to a store with is hired date. This means that in the database I will have a middle table With StoreId, EmployeeId, StartDate, EndDate UPDATE An employee can work to the StoreA from 2009-01-01 to 2009-04-04 and work for StoreB from 2009