Fedora Linux Support Community & Resources Center
  #1  
Old 2nd November 2008, 04:23 PM
spector00's Avatar
spector00 Offline
Registered User
 
Join Date: Jun 2007
Posts: 33
Question embedded Databases in mono?

Is there any embedded databases that can run in .net and basicaly just do a copy paste of that application and being able to run in mono 2.0 with no problems?
Reply With Quote
  #2  
Old 2nd November 2008, 05:17 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
This is MS's .net framework here we are talking about so probably not
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #3  
Old 2nd November 2008, 05:43 PM
mndar's Avatar
mndar Offline
Registered User
 
Join Date: Feb 2005
Posts: 1,100
Quote:
Is there any embedded databases that can run in .net and basicaly just do a copy paste of that application and being able to run in mono 2.0 with no problems?
I think that'll depend on whether you are using a data provider to connect to the database or whether you are using a odbc connection kinda thing. The application itself might run without any changes
Reply With Quote
  #4  
Old 2nd November 2008, 06:08 PM
Reisswolf's Avatar
Reisswolf Offline
Registered User
 
Join Date: May 2006
Posts: 333
This is a problem in whose solution I have a great deal of interest.

I believe that once Mono starts supporting the (excellent) LINQ extensions, the solution to your problem will become much easier. I can imagine Mono's LINQ extensions directly mapping MySQL or PostgreSQL tables much like how the .NET LINQ extensions now work with tables in Microsoft SQL Server. When that starts to happen, porting projects and data models will become a breeze.

I never thought I would say this, but I have become a big fan of .NET and the functional programming capabilities of LINQ in C#. Not quite Haskell--but don't bet against Microsoft bringing LINQ much closer to Haskell by the time .NET 4.0 or .NET 5.0 is released.
__________________
Registered user # 441814

Last edited by Reisswolf; 2nd November 2008 at 06:16 PM.
Reply With Quote
  #5  
Old 3rd November 2008, 04:50 AM
spector00's Avatar
spector00 Offline
Registered User
 
Join Date: Jun 2007
Posts: 33
the idea would be using data provider

i was considering in doing something odd, to use the monos data provider in .net and see if it ran. or at least if it will let me at least compile. then i could use a branch in the code. if the platform is windows use .net libs if linux or mac use monos.

all though its still a theory i would like some opinion on this or other theorys to see if it works.
Reply With Quote
  #6  
Old 11th November 2008, 10:45 PM
spector00's Avatar
spector00 Offline
Registered User
 
Join Date: Jun 2007
Posts: 33
Thumbs up sorta right

Turns out that sqlite is a nice DB that can be run using mono's dll on .net and run in Linux with no change at all.

Sqlite aint the best and it isnt fully functional YET. But for storing data and reading from its DB it works. Foreign keys dont work but you can emulate them if necesary by triggers or by code.

Over it seems like a good way to move.
Reply With Quote
Reply

Tags
databases, embedded, mono

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mono Novell vs mono Fedora deadkenny Using Fedora 0 1st October 2007 02:56 AM
yum - different databases? rob2000007 Using Fedora 1 29th September 2005 01:24 AM
Databases in Linux kumarannair Using Fedora 2 4th December 2004 05:04 PM


Current GMT-time: 14:09 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat