473,624 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ODB's and C#

Are there any ODBMS's that work well with C#?

eg storing Uri as a database type (CustUri Type(Uri)) and then queries
such as select CustUri.Absolut ePath should be used).

I would find this useful. I know Oracle software has some object
functions, but it would be nice if something exists to handle C#
objects naturally.
Aug 25 '08 #1
8 4468
www.db4o.com - I ruled it out due to the runtime license costs and went for
an object->rdbms mapper (and more) at www.capableobjects.com instead.

Pete

Aug 25 '08 #2
On Aug 25, 5:17 pm, "Peter Morris" <mrpmorri...@SP AMgmail.comwrot e:
www.db4o.com- I ruled it out due to the runtime license costs and went for
an object->rdbms mapper (and more) atwww.capableob jects.cominstea d.

Pete
I'll try this.
Aug 25 '08 #3
Logician wrote:
Are there any ODBMS's that work well with C#?

eg storing Uri as a database type (CustUri Type(Uri)) and then queries
such as select CustUri.Absolut ePath should be used).

I would find this useful. I know Oracle software has some object
functions, but it would be nice if something exists to handle C#
objects naturally.
You would need a OODBMS for that. db4o is apparently good (I've not used
it though).

Otherwise, you're going to hit the object relational impedance mismatch.

An ORM (such as NHibernate) is the other option...

Alun Harford
Aug 25 '08 #4
On Aug 25, 7:17 pm, Alun Harford <devn...@alunha rford.co.ukwrot e:
Logician wrote:
Are there any ODBMS's that work well with C#?
eg storing Uri as a database type (CustUri Type(Uri)) and then queries
such as select CustUri.Absolut ePath should be used).
I would find this useful. I know Oracle software has some object
functions, but it would be nice if something exists to handle C#
objects naturally.

You would need a OODBMS for that. db4o is apparently good (I've not used
it though).

Otherwise, you're going to hit the object relational impedance mismatch.

An ORM (such as NHibernate) is the other option...

Alun Harford
I am thinking of using Java for the OO work since there is a lot of
support for Java OO and OODBMS, eg with ORACLE. It is just a let down
that the IDE's for Java are so bad. I think the online interaction for
C# is good and also the IDE which are all pros for c#.

I really want a fully OO type of database so that I store a type of
data by meaning, eg a type Price which has attributes bargain, low,
high, budget etc. This will lead into semantics which I want as one
aspect but also easier processing of complex objects. Relational
models are really old now, and I think the web of data (Web 3) will
really strain relational models. I know LINQ is touted by MSFT as the
next best thing, but I am not convinced so far.

Aug 25 '08 #5
On Aug 25, 11:06*pm, Logician <sa...@logician s.comwrote:
I really want a fully OO type of database so that I store a type of
data by meaning, eg a type Price which has attributes bargain, low,
high, budget etc. This will lead into semantics which I want as one
aspect but also easier processing of complex objects. Relational
models are really old now, and I think the web of data (Web 3) will
really strain relational models. I know LINQ is touted by MSFT as the
next best thing, but I am not convinced so far.
LINQ is absolutely orthogonal to the whole relational / object
dichotomy - if anything, the fact that you can do LINQ queries against
in-memory collections of plain .NET objects should be proof enough.
db4o supports LINQ queries, by the way; see
http://www.codeproject.com/KB/databa..._for_db4o.aspx for an
example.

If you rather mean ADO.NET Entity Framework (aka LINQ to Entities),
then it is, indeed, just another ORM, and not particularly powerful
one at that.
Aug 26 '08 #6
On Aug 26, 3:17*pm, Pavel Minaev <int...@gmail.c omwrote:
On Aug 25, 11:06*pm, Logician <sa...@logician s.comwrote:
I really want a fully OO type of database so that I store a type of
data by meaning, eg a type Price which has attributes bargain, low,
high, budget etc. This will lead into semantics which I want as one
aspect but also easier processing of complex objects. Relational
models are really old now, and I think the web of data (Web 3) will
really strain relational models. I know LINQ is touted by MSFT as the
next best thing, but I am not convinced so far.

LINQ is absolutely orthogonal to the whole relational / object
dichotomy - if anything, the fact that you can do LINQ queries against
in-memory collections of plain .NET objects should be proof enough.
db4o supports LINQ queries, by the way; seehttp://www.codeproject .com/KB/database/LINQ_for_db4o.a spxfor an
example.

If you rather mean ADO.NET Entity Framework (aka LINQ to Entities),
then it is, indeed, just another ORM, and not particularly powerful
one at that.
I am using db4o (or trying to) and it apparently stores whole objects
without any further defintion, eg

IObjectContaine r db = Db4oFactory.Ope nFile( ...)

db.Store(myObje ct)

Which is what I want.

I am still wondering why 90% of all dbms access is relational, when
that technology is very old (at least 30 years old). Is this just the
commercial influence of Oracle, Microsoft and others who have
financial interests in keeping systems working in rdbms technologies?
Sep 6 '08 #7
"Logician" <sa***@logician s.comwrote in message
news:f7******** *************** ***********@59g 2000hsb.googleg roups.com...
I am using db4o (or trying to) and it apparently stores whole objects
without any further defintion, eg

IObjectContaine r db = Db4oFactory.Ope nFile( ...)

db.Store(myObje ct)

Which is what I want.
It's all well and good, but db4o is positioned as a solution for embedded
and other low-footprint projects. What are its scalability properties? What
about concurrent access - how many active connections to the database can it
sustain? What happens if I start hitting it with 100 queries/second? 1000?
I am still wondering why 90% of all dbms access is relational, when
that technology is very old (at least 30 years old). Is this just the
commercial influence of Oracle, Microsoft and others who have
financial interests in keeping systems working in rdbms technologies?
To my knowledge, there are still no fully OODBMS solutions that match the
raw performance and scalability of RDBMS solutions. The reason is simple -
relational model is very well understood, and existing products have built
upon the old, mature, proven solutions (if you ask the vendors, you'll find
out that the core of their query analyzers is often still based around the
code of a few original RDBMS pioneers of 1970s).
Sep 6 '08 #8
On Sep 6, 2:02 pm, "Pavel Minaev" <int...@gmail.c omwrote:
"Logician" <sa...@logician s.comwrote in message

news:f7******** *************** ***********@59g 2000hsb.googleg roups.com...
I am using db4o (or trying to) and it apparently stores whole objects
without any further defintion, eg
IObjectContaine r db = Db4oFactory.Ope nFile( ...)
db.Store(myObje ct)
Which is what I want.

It's all well and good, but db4o is positioned as a solution for embedded
and other low-footprint projects. What are its scalability properties? What
about concurrent access - how many active connections to the database can it
sustain? What happens if I start hitting it with 100 queries/second? 1000?
I do not know. I am still trying to get it work with one query.
>
I am still wondering why 90% of all dbms access is relational, when
that technology is very old (at least 30 years old). Is this just the
commercial influence of Oracle, Microsoft and others who have
financial interests in keeping systems working in rdbms technologies?

To my knowledge, there are still no fully OODBMS solutions that match the
raw performance and scalability of RDBMS solutions. The reason is simple -
relational model is very well understood, and existing products have built
upon the old, mature, proven solutions (if you ask the vendors, you'll find
out that the core of their query analyzers is often still based around the
code of a few original RDBMS pioneers of 1970s).
You make a good point.

However with RDF about to be mainstream, we need Object databases.

Sep 6 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1634
by: Sjaakie | last post by:
Hi, I have this little problem I just can't figure out... Code snippet: <? include('../_include/database.inc.php'); // db-class include('functions.inc.php'); // has genContactList() $oDb = new db;
0
941
by: joseph | last post by:
If I have the following data file c:\mydata\Toyota Quarterly Q3-2003-customers.xls c:\mydata\Toyota Quarterly Q3-2003-All.xls c:\mydata\Toyota Quarterly Q3-2003-Errors.xls c:\mydata\Ford Quarterly Q3-2003-customers.xls c:\mydata\Ford Quarterly Q3-2003-All.xls c:\mydata\Ford Quarterly Q3-2003-Errors.xls and also If I have c:\cust\master_customer) that contain name of customer name and there e_mail address for example
5
2063
by: Wayne Wengert | last post by:
I am getting an error that "object no longer valid" at the point indicated in the code below - I am trying to build a table in an Access 2000 database using ADOX. Any thoughts on what might cause this? ==================== code ================= Sub CreateADOUnitsTable(ByVal sTablename As String) Dim oDB As ADOX.Catalog Dim oUnits As ADOX.Table
10
1900
by: amirmira | last post by:
I have a Windows Service developed in VB.NET that attempts to connect to a database as soon as the service starts. I have no problem when I start the service manually - but when I restart the computer that hosts the service, I get a Null Reference Exception when I try to connect to the database (I have set the service to start automatically). Any ideas why this is happening? Thanks in advance. Ajay Mirmira
10
1205
by: Pedro | last post by:
Hi all, Why this does'nt work: switch(strExtenscao) { case ((".odo") || (".odo").ToUpper()): //CODE case ((".odb") || (".odb").ToUpper()): //CODE
2
2496
by: CJM | last post by:
I'm using OO4O via ASP to manipulate an Oracle 10g database (v10.1.0.4). At the start of each vbScript section I'm starting off the transaction as follows: oDB.AutoCommit = False oDB.BeginTrans And at the end of the section, I have the following:
1
4324
by: Muhammad Intikhab Qaiser | last post by:
Hi i want to connect to oracle 9i from .Net using oracle ODP.NET.But when i download and install ODP.NET it stops all my oracle services.Now i even cannot logon to the oracle SQL*Plus engine. How i can install ODP.NET properly and use it. Thanks
1
1280
by: bouanane26 | last post by:
hi I want to have a value for my table in access database which name Biomed I use this code Public Sub test9() Dim orst As DAO.Recordset Dim odb As DAO.Database
8
2450
by: Alan Bak | last post by:
Hi I have written a number of perl scripts that access data in an Windows built Access data base. I now need to run the perl scripts from an Apple. When I run get the error that ODB/ODBC.pm was not found. How do I go about installing the apropriate modules on the mac? I have used ppm from the command line to load modules on my windows machines what is the proceedure with apple? Thanks for your help Alan
0
8680
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8624
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7164
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4082
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1485
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.