DBFlute、SubSonic、MyGenerationはテーブルからソースコードを生成しますが、M言語はモデルから、テーブルとソースコード(T-SQL)を生成できます。 M言語は、以下のようなテキストでモデリングを行います。 // hello_m.m // コメント module MyModule { // モジュール type Person { // エンティティ Id : Integer64 = AutoNumber(); // Identityフィールド Name : Text; // 基本型のフィールド LuckyNumbers : Integer32*; // コレクションのフィールド Size : Size; // カスタムエンティティのフィールド } where identity Id; type Size { Id : Integer64 = AutoNumber();