How can I generate database tables from C# classes?

前端 未结 12 1448
谎友^
谎友^ 2020-12-02 05:26

Does anyone know a way to auto-generate database tables for a given class? I\'m not looking for an entire persistence layer - I already have a data access solution I\'m usi

12条回答
  •  时光取名叫无心
    2020-12-02 06:09

    Subsonic is also another option. I often use it to generate entity classes that map to a database. It has a command line utility that lets you specify tables, types, and a host of other useful things

提交回复
热议问题