dbTalk Databases Forums  

Berkeley / ADO.Net / Storage

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Berkeley / ADO.Net / Storage in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vivien Parlat
 
Posts: n/a

Default Berkeley / ADO.Net / Storage - 10-12-2006 , 07:55 AM






Hello,

I'm coming from a MS-database world, using Access with VB, and SQL
Server with C#. I'd like to try an opensource database instead of SQL
Server one, but couldn't find answers to some basic questions:
- can Berkeley DB database be stored in a single file, such as Access'
mdb ones ?
- if the answer is negative, in computers which use a program using
Berkeley DB, how is stored the database and is it easily moveable ?
- is there a DbProvider in ADO.Net 2 which works fine with Berkeley DB
? Or a separate one ? I'd like to use the database with C# and benefit
of DB fonctionality of it.

Thanks in advancefor any answer.


Reply With Quote
  #2  
Old   
Michael Cahill
 
Posts: n/a

Default Re: Berkeley / ADO.Net / Storage - 10-12-2006 , 09:48 PM






Hi Vivien,

Quote:
I'm coming from a MS-database world, using Access with VB, and SQL
Server with C#. I'd like to try an opensource database instead of SQL
Server one, but couldn't find answers to some basic questions:
- can Berkeley DB database be stored in a single file, such as Access'
mdb ones ?
Yes.

Quote:
- is there a DbProvider in ADO.Net 2 which works fine with Berkeley DB
? Or a separate one ? I'd like to use the database with C# and benefit
of DB fonctionality of it.
Berkeley DB does not support SQL, and so I don't believe that ADO.NET
compatibility is achievable directly. It might be worth investigating
the Berkeley DB for .NET project at
http://sourceforge.net/projects/libdb-dotnet, which provides a .NET
wrapper around the Berkeley DB API.

Regards,
Michael.



Reply With Quote
  #3  
Old   
Vivien Parlat
 
Posts: n/a

Default Re: Berkeley / ADO.Net / Storage - 10-13-2006 , 07:41 AM



Quote:
- is there a DbProvider in ADO.Net 2 which works fine with Berkeley DB
? Or a separate one ? I'd like to use the database with C# and benefit
of DB fonctionality of it.

Berkeley DB does not support SQL, and so I don't believe that ADO.NET
compatibility is achievable directly. It might be worth investigating
the Berkeley DB for .NET project at
http://sourceforge.net/projects/libdb-dotnet, which provides a .NET
wrapper around the Berkeley DB API.
Thank you very much. I did not know such a spread database could not
support SQL.
One of the goals of my project being to go into detail of my ADO.Net
knowledge, I think I will give a try to Berkeley Db with smaller
projects, under unmanaged C++, or non-GUI C# app (to use portable DB)...



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.