Embedded Database for .net that can run off a network

后端 未结 11 1484
轮回少年
轮回少年 2020-12-28 12:57

I was (and still am) looking for an embedded database to be used in a .net (c#) application. The caveat: The Application (or at least the database) is stored on a Network dr

11条回答
  •  一生所求
    2020-12-28 13:06

    It sounds like ADO/Access is perfect for your needs. It's baked into the MS stack, well seasoned, and multi-user.

    You can programatically create a DB like so:

    Dim catalog as New ADOX.Catalog
    Catalog.Create("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\server\path\to\db.mdb")
    

    You can then use standard ADO.NET methods to interact with the database.

提交回复
热议问题