Click here to Skip to main content
15,922,015 members
Home / Discussions / Database
   

Database

 
GeneralRe: Automate registering a DSN Pin
Alexander Kojevnikov22-Dec-02 2:07
Alexander Kojevnikov22-Dec-02 2:07 
GeneralRe: Automate registering a DSN Pin
mwilliamson23-Dec-02 9:44
mwilliamson23-Dec-02 9:44 
GeneralTo wrap or not to wrap... that´s the question... Pin
Mauricio Ritter19-Dec-02 0:17
Mauricio Ritter19-Dec-02 0:17 
GeneralRe: To wrap or not to wrap... that´s the question... Pin
Michael P Butler19-Dec-02 0:44
Michael P Butler19-Dec-02 0:44 
GeneralRe: To wrap or not to wrap... that´s the question... Pin
SimonS19-Dec-02 1:41
SimonS19-Dec-02 1:41 
GeneralRe: To wrap or not to wrap... that´s the question... Pin
Alexander Kojevnikov19-Dec-02 5:32
Alexander Kojevnikov19-Dec-02 5:32 
GeneralRe: To wrap or not to wrap... that´s the question... Pin
leppie19-Dec-02 7:13
leppie19-Dec-02 7:13 
GeneralRe: To wrap or not to wrap... that´s the question... Pin
Tatham26-Dec-02 7:14
Tatham26-Dec-02 7:14 
I run several wbsites where I have wrapped all of the data into classes.

I have a base class which is defined as MustInherit. I can then create say a SQL, or XML class which inherits of this.

Then within my code I have a variable to hold the class defined assembly wide.

The advantage of this is that say I can no longer afford my SQL hosting in the future and wish to move to XML, I create a new class DataXML which inherits from Data. Then in my web application I call:

DataCenter = New DataXML("../data.xml")

instead of:

DataCenter = New DataSQL("data.play47.net")

After that my whole application is using XML instead of SQL.

Theother advantage I find is that if I want to add a business rules layer down the track I can simplywrap it around the data project and there are no chanegs to the actual web application.

Tatham Oddie (VB.NET/C#/ASP.NET/VB6/ASP/JavaScript)
tatham@e-oddie.com
+61 414 275 989
Generalconcurrency Pin
Jeremy Pullicino18-Dec-02 1:37
Jeremy Pullicino18-Dec-02 1:37 
GeneralRe: concurrency Pin
Mark Conger18-Dec-02 3:52
Mark Conger18-Dec-02 3:52 
GeneralRe: concurrency Pin
Jeremy Pullicino19-Dec-02 1:24
Jeremy Pullicino19-Dec-02 1:24 
GeneralDealing with Duplicate Records Pin
xdavidx16-Dec-02 19:38
xdavidx16-Dec-02 19:38 
GeneralRe: Dealing with Duplicate Records Pin
Christian Graus16-Dec-02 19:52
protectorChristian Graus16-Dec-02 19:52 
GeneralRe: Dealing with Duplicate Records Pin
leppie17-Dec-02 6:22
leppie17-Dec-02 6:22 
GeneralRe: Dealing with Duplicate Records Pin
mwilliamson23-Dec-02 9:48
mwilliamson23-Dec-02 9:48 
GeneralRe: Dealing with Duplicate Records Pin
Tatham26-Dec-02 7:19
Tatham26-Dec-02 7:19 
GeneralRe: Dealing with Duplicate Records Pin
Rein Hillmann26-Dec-02 17:59
Rein Hillmann26-Dec-02 17:59 
GeneralRe: Dealing with Duplicate Records Pin
Tatham26-Dec-02 18:19
Tatham26-Dec-02 18:19 
GeneralA SQL query Pin
Shamoon15-Dec-02 19:40
Shamoon15-Dec-02 19:40 
GeneralRe: A SQL query Pin
Nick Parker16-Dec-02 8:19
protectorNick Parker16-Dec-02 8:19 
GeneralRe: A SQL query Pin
Rob Graham16-Dec-02 8:36
Rob Graham16-Dec-02 8:36 
GeneralMSDE vs Access Advice Needed Pin
Roger Wright14-Dec-02 20:04
professionalRoger Wright14-Dec-02 20:04 
GeneralRe: MSDE vs Access Advice Needed Pin
leppie14-Dec-02 20:20
leppie14-Dec-02 20:20 
GeneralRe: MSDE vs Access Advice Needed Pin
Roger Wright16-Dec-02 9:06
professionalRoger Wright16-Dec-02 9:06 
GeneralRe: MSDE vs Access Advice Needed Pin
Rob Graham16-Dec-02 8:04
Rob Graham16-Dec-02 8:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.