How do you set context class name?

12 views
Skip to first unread message

macias

unread,
Feb 8, 2011, 12:43:27 PM2/8/11
to DbLinq
Hello,

With SQLMetal you could pass argument "context" to set name for
"main" class of generated source. In DBMetal by default the name is
equal to database, I checked the DBMetal page but there is no such
option visible, there is even small discussion about this topic but
with no definitive conclusion.

My reasons for having something else than regular database name are
twofold:
a) more strict compatibility with SQLMetal
b) making class name more relevant for programming

After all context class name is an abstraction of the underlying
data, while database name is name of given _instance_.

Thank you very much in advance for comments on this issue.
Reply all
Reply to author
Forward
0 new messages