私は自分のSQLを持っています
Connection.db.FetchOneToMany<Project, CustomerProject>(x => x.ID, string.Format(@"
SELECT *
FROM Project
left join customerProject on customerProject.ProjectID = project.id
where customerProject.CustomerID = @0 ORDER BY project.Name", customerID));
これは私にエラーを与えています
タイプ ICollection`1 のプロパティが見つからないタイプのオブジェクト: Project
顧客プロジェクトの定義
ID CustomerID ProjectID
プロジェクト定義
ID名
クエリの何が問題になっていますか?