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

  • SEARCH
  • Home
  • 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 8770237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:31:22+00:00 2026-06-13T17:31:22+00:00

In a mono project I want to create a database and use that, and

  • 0

In a mono project I want to create a database and use that, and Sqlite-Net is optimzied for mono so would go with that. But I cant find any documentation how to create a database with it. So I just try to connect to it and hope it will say “Database dont exists, I will create one” but I get an exception so that approch dont work

readonly string _pathToDatabase = "Meter_db.db3";
public InstallMeterRepository()
{
    if(!File.Exists(_pathToDatabase))
    {                
        using (var conn = new SQLite.SQLiteConnection(_pathToDatabase))
        {                   
            conn.CreateTable<InstalledMeter>();
        }
    }
}
  • 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-13T17:31:23+00:00Added an answer on June 13, 2026 at 5:31 pm

    If you want to create a new database, you need the driver:
    http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

    You can check here too:
    http:// sqlite.phxsoftware.com/

    And with this FREEWARE manager, you can do whatever you want with your database: (Recomended!)
    SQLite2009 Pro Enterprise Manager
    http://osenxpsuite.net/?xp=3&uid=managementtools

    Happy develop!

    Fear

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

Sidebar

Related Questions

Heya, I'm trying to use Mono's SIMD to handle coordinates(X,Y,Z) in my project, but
So I'm trying to build a C# project in Mono. I want to include
Official Mono project website says that Mono works successfully on Windows, Linux and Mac
I have a mono android project. I can use monodevelop to build the apk
We have a .NET project that uses WMI and are interested in porting it
I can't find anything about this in the Mono Project Coding Guidelines . Which
I know Mono has no EF implementation, and no plans to create one. Would
I hear the mono project (for allowing .net apps to run on many O/Ss)
I want to create projects for multiple platforms (Windows, Xbox 360, Mono, etc.) which
I've got a relatively small ASP.NET project that was written using C# 4.0. I

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.