Click here to Skip to main content
15,914,111 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Reverse Name Assignment Pin
Dave Kreskowiak31-Mar-06 6:59
mveDave Kreskowiak31-Mar-06 6:59 
GeneralRe: Reverse Name Assignment Pin
Shadow Sprite1-Apr-06 13:52
Shadow Sprite1-Apr-06 13:52 
QuestionHow to create a new certificate file using .net? Pin
superSYNC30-Mar-06 17:17
superSYNC30-Mar-06 17:17 
QuestionEnterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
Mr Brown Shoes30-Mar-06 14:05
Mr Brown Shoes30-Mar-06 14:05 
AnswerRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
AhClem31-Mar-06 9:49
AhClem31-Mar-06 9:49 
QuestionRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
Mr Brown Shoes31-Mar-06 14:52
Mr Brown Shoes31-Mar-06 14:52 
AnswerRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
AhClem1-Apr-06 5:35
AhClem1-Apr-06 5:35 
QuestionRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
Mr Brown Shoes2-Apr-06 14:25
Mr Brown Shoes2-Apr-06 14:25 
K, I had a similar architecture to what you’re advocating before I moved to use the DAAB. I'm looking for advice more specific to the DAAB. For example, putting the Database object in the session will not put the connection in the session, the database object provides a method to create and return a connection based on settings in the web config file. And when you call a method on the Database object, such as ExecuteNonQuery, you don't explicitly give a connection. I assume that it creates one internally based on the config file.

So given the examples on using the DAAB that I have seen, there's no way to share a single connection between multiple queries without the use of a transaction or additional verbose code. Based on this I guess the best thing to do is put the database object in the session and then call methods such as LoadData and ExecuteNonQuery where necessary, Let the DAAB handle the connections completely.

AnswerRe: Enterprise Library, Data Access Application Block (DAAB), Best Practicises Question Pin
AhClem2-Apr-06 19:36
AhClem2-Apr-06 19:36 
QuestionGeneric collections databinding question Pin
Stan Shannon30-Mar-06 5:31
Stan Shannon30-Mar-06 5:31 
QuestionSystem.Reflection and COM object Pin
doudou3130-Mar-06 5:18
doudou3130-Mar-06 5:18 
QuestionTargeting .net version Pin
Abdd0n30-Mar-06 1:53
Abdd0n30-Mar-06 1:53 
AnswerRe: Targeting .net version Pin
Vasudevan Deepak Kumar30-Mar-06 20:38
Vasudevan Deepak Kumar30-Mar-06 20:38 
QuestionHelp me to use NHibernate Pin
Balavardhan28-Mar-06 18:39
Balavardhan28-Mar-06 18:39 
QuestionStarting a console application within a windows service application Pin
Walter Vanhimbeeck28-Mar-06 3:43
Walter Vanhimbeeck28-Mar-06 3:43 
AnswerRe: Starting a console application within a windows service application Pin
Walter Vanhimbeeck28-Mar-06 22:10
Walter Vanhimbeeck28-Mar-06 22:10 
QuestionWorking directory of another process? Pin
blitr28-Mar-06 3:23
blitr28-Mar-06 3:23 
QuestionStop installation using script program Pin
monakolanji28-Mar-06 1:04
monakolanji28-Mar-06 1:04 
Questionweb cam motion detection Pin
mrbhp27-Mar-06 10:22
mrbhp27-Mar-06 10:22 
AnswerRe: web cam motion detection Pin
CWIZO27-Mar-06 21:05
CWIZO27-Mar-06 21:05 
QuestionNET Framework Version 2.0 on windows 2000 professionnal edition Pin
ss200627-Mar-06 8:30
ss200627-Mar-06 8:30 
AnswerRe: NET Framework Version 2.0 on windows 2000 professionnal edition Pin
Dave Kreskowiak27-Mar-06 10:30
mveDave Kreskowiak27-Mar-06 10:30 
GeneralRe: NET Framework Version 2.0 on windows 2000 professionnal edition Pin
Kevin McFarlane27-Mar-06 10:37
Kevin McFarlane27-Mar-06 10:37 
GeneralRe: NET Framework Version 2.0 on windows 2000 professionnal edition Pin
Dave Kreskowiak27-Mar-06 17:08
mveDave Kreskowiak27-Mar-06 17:08 
Question.net framework and hardware identify Pin
ss200627-Mar-06 1:58
ss200627-Mar-06 1:58 

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.