Click here to Skip to main content
15,907,183 members
Home / Discussions / Database
   

Database

 
AnswerRe: Another solution Pin
Dinuj Nath16-May-06 2:07
Dinuj Nath16-May-06 2:07 
GeneralRe: Another solution Pin
Paul Conrad16-May-06 6:38
professionalPaul Conrad16-May-06 6:38 
GeneralRe: Another solution Pin
Dinuj Nath16-May-06 17:55
Dinuj Nath16-May-06 17:55 
QuestionConnecting a database with vb.net Pin
ADY00715-May-06 0:24
ADY00715-May-06 0:24 
AnswerRe: Connecting a database with vb.net Pin
Mohammed Amine15-May-06 13:21
Mohammed Amine15-May-06 13:21 
GeneralRe: Connecting a database with vb.net Pin
User 171649215-May-06 13:28
professionalUser 171649215-May-06 13:28 
Questionstatic method??? Pin
WDI13-May-06 20:56
WDI13-May-06 20:56 
AnswerRe: static method??? Pin
Colin Angus Mackay14-May-06 0:34
Colin Angus Mackay14-May-06 0:34 
WDI wrote:
i dont know when use a static method and when a non-static method in the data access layer


You didn't say what you want to do with the data access layer.

If you use static methods then everything in the applicatio will route through the static methods which will be using the same set of static fields in the class. If your application is single threaded then you probably don't have anything to worry about. If your application is multi-threaded (e.g. An ASP.NET application - all the sessions are running in the same application) then static methods will be a bottleneck because you'll only be able to allow one query to run at a time.

Does this help?


"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)

My: Website | Blog
GeneralRe: static method??? Pin
WDI14-May-06 19:23
WDI14-May-06 19:23 
GeneralRe: static method??? Pin
Colin Angus Mackay14-May-06 20:58
Colin Angus Mackay14-May-06 20:58 
QuestionCreating database from xml Pin
w3Nima13-May-06 20:13
w3Nima13-May-06 20:13 
AnswerRe: Creating database from xml Pin
TheEagle14-May-06 8:00
TheEagle14-May-06 8:00 
GeneralRe: Creating database from xml Pin
w3Nima14-May-06 21:05
w3Nima14-May-06 21:05 
GeneralRe: Creating database from xml Pin
TheEagle17-May-06 8:09
TheEagle17-May-06 8:09 
QuestionFREETEXTTABLE Pin
TheEagle13-May-06 16:16
TheEagle13-May-06 16:16 
QuestionHow to create a new database in Borland Builder Pin
Sniper23413-May-06 9:41
Sniper23413-May-06 9:41 
Questionimages in SQL database Pin
abdelhameed8113-May-06 9:09
abdelhameed8113-May-06 9:09 
AnswerRe: images in SQL database Pin
Jon Sagara13-May-06 9:17
Jon Sagara13-May-06 9:17 
AnswerRe: images in SQL database Pin
Mohammed Amine15-May-06 13:23
Mohammed Amine15-May-06 13:23 
QuestionServer Application Unavailable Pin
aaru24x713-May-06 5:00
aaru24x713-May-06 5:00 
AnswerRe: Server Application Unavailable Pin
Colin Angus Mackay13-May-06 10:39
Colin Angus Mackay13-May-06 10:39 
QuestionCONNECT TO SQLSERVER Pin
malak nour13-May-06 4:00
malak nour13-May-06 4:00 
AnswerRe: CONNECT TO SQLSERVER Pin
Colin Angus Mackay13-May-06 10:34
Colin Angus Mackay13-May-06 10:34 
QuestionThe fastest Normal ADO.NET or Microsoft Best Practise EnterpriseLibrary Pin
Albert Pascual12-May-06 9:12
sitebuilderAlbert Pascual12-May-06 9:12 
AnswerRe: The fastest Normal ADO.NET or Microsoft Best Practise EnterpriseLibrary Pin
Albert Pascual12-May-06 13:06
sitebuilderAlbert Pascual12-May-06 13:06 

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.