What is the best way to connect and use a sqlite database from C#

前端 未结 9 1002
执笔经年
执笔经年 2020-11-29 19:24

I\'ve done this before in C++ by including sqlite.h but is there a similarly easy way in C#?

9条回答
  •  星月不相逢
    2020-11-29 20:02

    Another way of using SQLite database in NET Framework is to use Fluent-NHibernate.
    [It is NET module which wraps around NHibernate (ORM module - Object Relational Mapping) and allows to configure NHibernate programmatically (without XML files) with the fluent pattern.]

    Here is the brief 'Getting started' description how to do this in C# step by step:

    https://github.com/jagregory/fluent-nhibernate/wiki/Getting-started

    It includes a source code as an Visual Studio project.

提交回复
热议问题