Why does DbMetal Generate Table Attribute with “main”?

前端 未结 1 1743
长发绾君心
长发绾君心 2021-01-24 03:56

I\'m a newbie with DBLink and Sqlite. When DbMetal generates Nortwind.cs (C#) it marks some methods with a Table attribute:

[Table(Name=\"main.Categories\")]             


        
1条回答
  •  借酒劲吻你
    2021-01-24 04:04

    DbMetal generates "main" by default. It can be changed by specifying the --database argument when in the "generate .dbml file" mode. However, as of this time, the class name can be changed using --database but it still writes "main" in the Table attribute so back to square one until it's fixed.

    http://code.google.com/p/dblinq2007/wiki/DbMetal

    0 讨论(0)
提交回复
热议问题