문제

DbLinq's DbMetal generates a Main class which inherits DataContext. I don't want it to be Main. How to change that?

도움이 되었습니까?

해결책

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"?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top