I am using SqlMetal in ubuntu 10.10 to create code for connecting to
an existing sqlite database.

By default the generated DataContext class name is Main.

This causes problems for obvious reasons (really, I couldn't think of
a default more likely to conflict)

In the Microsoft sqlmetal you use the /Context switch to specify a
custom name, however on the mono one I can't find a switch which will
do this. Also the microsoft one uses the database name as the
DataContext default (which makes much more sense, and would be fine in
my case)

So how do I customize the DataContext name?
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to