in cakephp一緒にリンクされたモデルをセットアップできます。たとえば、関連するテーブルを持つデータベースを次のように作成できます。.netモデル
テーブル:Peoples(id、name、owesMeMoneyFlag)
テーブル:Cars(id、people_id、brand、color)
私は、コード
$person = Peoples::findByName("theTod");
// this will only grab the cars that belond to "theTod"
// the join is done automatically
$cars = $person->Cars->find('All');
// this will only grab the blue cars that belong to "theTod"
// findByColor method is made automatically
$cars = $person->Cars->findByColor("blue");
私の質問があることができます(私はASP MVC3 C#を使用されます).NETでこのようなものはありますか?インテリセンスのサポートがあれば、きちんとしているはずです。
あなたは本当に答えをマークしなければならない...と私は私を好む...しかし、私たちはあなたを助けるために時間がかかる、あなたが最も役立ったと思うものにポイントを与えてください。 – CrazyDart