lazy loading - How to disable lazyload in subsonic programmatically? -
By default there is an FK in the table, subsonic also receives the data of the FK table, is it possible?
If you ask for rows of data from a particular table, then the subsonic rows only you from that table Provide, even if it has foreign tables in other tables eg
Employee Compiling Staff = New Employee Collection (). Load ();
If you want data from a related table (via a foreign key), then you have to follow the references of the other tables, the database must be visited. E.g.
foreach (employee and employee) {Debug.Print (e.Department.DepartmentName); }
Where the department is the related foreign key table and the department name is a column in that table.
Comments
Post a Comment