Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8341111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:22:24+00:00 2026-06-09T05:22:24+00:00

So I found a tutorial on how to generate a class for my database.

  • 0

So I found a tutorial on how to generate a class for my database. I installed Mono for windows, I got DbLinq and Npgsql, but i’m having a slight problem understanding how to generate the class.

The tutorial says I should use this in mono

mono DbMetal.exe /conn:"server=localhost;user id=user;\
password=password; database=db" /provider=PostgreSQL \
/code:db.cs /pluralize

If I write that into Mono i get this message

Reading schema from DBML file '\'
DbMetal : Access to the Path '\' is denied

What path should be there? The tutorial doesn’t specify.

Here is the tutorial : http://romain.blogreen.org/blog/2009/07/linq-postgresql-and-mono/

What should I do to fix this?

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:22:26+00:00Added an answer on June 9, 2026 at 5:22 am

    On Windows/.NET, you are supposed to use SqlMetal,

    http://msdn.microsoft.com/en-us/library/bb386987.aspx

    According to DbMetal’s page, it is an equivalent of SqlMetal,

    http://code.google.com/p/dblinq2007/wiki/DbMetal

    The article you followed was written from Mono/Linux, so it may not demonstrate what are the parameters you should use on Windows.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have found a tutorial that copies the database to a folder as backup
I found a tutorial on css tricks to make a simple accordion. http://css-tricks.com/snippets/jquery/simple-jquery-accordion/ I
I found this tutorial and am trying to implement it in my project http://www.androiddevblog.net/android/playing-audio-in-android
I found a tutorial online that extends that Apple QuickStart Application which is the
I found This tutorial for resize background of button . i change this for
I found this tutorial which pretty much does exactly what I want: http://webstutorial.com/jquery-popup-jquery-slide-popup/jquery Except
I have found a Tutorial here on how to implement drag and drop in
I followed the tutorial found here and added my own flare to it: tutorial
I am modifying the tutorial found here: http://www.w3schools.com/ajax/ajax_aspphp.asp so that the library of autocomplete
I'm running through this tutorial found here: http://vb.net-informations.com/crystal-report/vb.net_crystal_report_from_multiple_tables.htm which teaches how to pass a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.