DbLinq's DbMetal generates a Main
class which inherits DataContext
. I don't want it to be Main
. How to change that?
相关问题
- Generic Generics in Managed C++
- How to Debug/Register a Permanent WMI Event Which
- 'System.Threading.ThreadAbortException' in
- Bulk update SQL Server C#
- Should I use static function in c# where many call
DbMetal will always generate a class called
Main
by default. However, you can use the --database option when generating the .dbml.Oops: found this here in SO: Why does DbMetal Generate Table Attribute with "main"?