473,322 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

DbConnection, DbDataReader and DbCommand

Hi all,

I have a datasource and I want to connect to it like ADO.Net and build my
own DbConnection and stuff. But I don't want to build my own SQL-parser.
Does someone have a good idea to use SQL and implement it with my own
DataReader? Or are there some good tutorials to build your own ADO.Net
implementation? I cannot find it with Google.

Thanks.
Jelle

Mar 9 '08 #1
2 4570
Has nobody ever implemented IDbConnection, etc.? Hopefully someone can help
me.

Thanks.


"Jelle de Jong" <je***@nospam.hoest.nlwrote in message
news:47***********************@news.kpnplanet.nl.. .
Hi all,

I have a datasource and I want to connect to it like ADO.Net and build my
own DbConnection and stuff. But I don't want to build my own SQL-parser.
Does someone have a good idea to use SQL and implement it with my own
DataReader? Or are there some good tutorials to build your own ADO.Net
implementation? I cannot find it with Google.

Thanks.
Jelle
Mar 10 '08 #2
Jelle de Jong wrote:
I have a datasource and I want to connect to it like ADO.Net and build
my own DbConnection and stuff. But I don't want to build my own
SQL-parser. Does someone have a good idea to use SQL and implement it
with my own DataReader? Or are there some good tutorials to build your
own ADO.Net implementation? I cannot find it with Google.
I would suggest you find an open source (preferable Apache/BSD license)
ADO.NET provider and look at how they do it.

Arne
Mar 11 '08 #3

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

Similar topics

5
by: ashley.ward | last post by:
I am attempting to write a program with VB 2005 Express Edition which accesses an Oracle 9 database and dumps the results of three SELECT queries into a spreadsheet file once every hour. ...
4
by: arak123 | last post by:
consider the following oversimplified and fictional code public void CreateInvoices(Invoice invoices) { IDbCommand command=Util.CreateDbCommand(); foreach(Invoice invoice in invoices) //lets...
2
by: Roy | last post by:
I created my own DbConnection class using System; using System.Data; using System.Data.Common; using System.Xml; namespace MyNS { public sealed class MyConnection : DbConnection, ICloneable
1
by: arthy | last post by:
Hi, Is it possible to execute multiple statements on to the database using a single dbconnection object.what is the drawback in using .If not possible ,then how can the execution of multiple...
0
by: Jschraepf | last post by:
I am creating a fairly simple web app but I am having some trouble with the database access at this point. I need to select a single row which is the most current (has the highest record...
2
by: RSH | last post by:
I have a data access layer that needs to handle multiple Database types. I have seen genecric references being made to a DBConnection, DBCommand etc. What namespace are they in? Ron
4
by: =?Utf-8?B?cmJEZXZlbG9wZXI=?= | last post by:
In the code below, I'm setting a watch on the variable dbCon. When I expand the watch on dbCon, one of the visible items under dbCon is "ServerVersion." When the dbCon.Close() executes, I see the...
3
by: =?Utf-8?B?VHJlY2l1cw==?= | last post by:
Hello, Newsgroupians: I've created a class that wraps DbConnection. public class CSQL { protected System.Data.Common.DbConnection m_conn; public CSQL {
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.