How to use dbml file for postgresql

552 views
Skip to first unread message

HowitZer

unread,
Mar 6, 2011, 6:44:24 PM3/6/11
to DbLinq
I have a database with one table which has two columns and have
generated the dbml file using dbmetal. I have a C# console application
with references to npgsql, dblinq and dblinq.PostreSql. What is the
next step in using dblinq to actually do something useful like query
the database? What do you do with the dbml file?

Thanks,
Adam

HowitZer

unread,
Mar 6, 2011, 6:57:19 PM3/6/11
to DbLinq
I missed this part in the doc:

2. Generating source code containing entities contained in a .dbml
file, for example:
DbMetal /code:File.cs File.dbml

I was able to generate a source file from my dbml and should be good
now as long as I can figure out how to use the class.

Thanks for this great product. I'm really excited to learn linq and
use dblinq.
-Adam
Reply all
Reply to author
Forward
0 new messages