Skip to content Skip to sidebar Skip to footer

Why Does Dbmetal Generate Table Attribute With "main"?

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')] // C# After I used Db

Solution 1:

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

Post a Comment for "Why Does Dbmetal Generate Table Attribute With "main"?"