MG2:Unity How To Use Scaffolds
前回までModel-Glue:UnityのGDMを紹介してきましたが、今回からScaffoldsを紹介していきます。
(原文:How To Use Scaffolds)
■Scaffoldsの使用方法
・Scaffoldsは、データベースアクセス用基本ユーザインタフェースをとても簡単に作成できるツールです。
*Display a "master list" of records in a table
テーブルのマスターリストレコードの表示
*Display an editing form capable of editing both a record's data and its relations to other tables (one-to-many and many-to-many)
レコードデータと他のテーブルとのリレーションシップ(1対多、多対多)を編集可能な編集フォームの表示
*Display a read-only view of a record
レコードの読み出し専用ビューの表示
*Update a record's data
レコードデータを更新
*Delete a record
レコードの削除
Scaffoldsを使用し、Scaffoldsが生み出すコードの修正することを適切に学習することによって、データベース制御タスクの開発時間を大幅に削減できます。
コメント