Click here to Skip to main content
15,914,452 members
Home / Discussions / Database
   

Database

 
AnswerRe: Procedure with multiple parameters and multiple Select Statements Pin
M.H.1.2.314-Jan-07 21:46
M.H.1.2.314-Jan-07 21:46 
QuestionWhat is "N" in OBJECTPROPERTY(id, N'IsUserTable') = 1) Pin
Nick1977_209-Jan-07 3:06
Nick1977_209-Jan-07 3:06 
AnswerRe: What is "N" in OBJECTPROPERTY(id, N'IsUserTable') = 1) Pin
Pete O'Hanlon9-Jan-07 3:36
mvePete O'Hanlon9-Jan-07 3:36 
GeneralRe: What is "N" in OBJECTPROPERTY(id, N'IsUserTable') = 1) Pin
Rob Graham9-Jan-07 3:46
Rob Graham9-Jan-07 3:46 
GeneralRe: What is "N" in OBJECTPROPERTY(id, N'IsUserTable') = 1) Pin
Pete O'Hanlon9-Jan-07 4:11
mvePete O'Hanlon9-Jan-07 4:11 
GeneralRe: What is "N" in OBJECTPROPERTY(id, N'IsUserTable') = 1) Pin
Rob Graham9-Jan-07 6:45
Rob Graham9-Jan-07 6:45 
GeneralRe: What is "N" in OBJECTPROPERTY(id, N'IsUserTable') = 1) Pin
Nick1977_209-Jan-07 17:39
Nick1977_209-Jan-07 17:39 
Question.Net 2.0 Table Adapter best practice Pin
Adam Crawford9-Jan-07 0:58
Adam Crawford9-Jan-07 0:58 
Hello,

I was hoping someone could give me a bit of information on the way I should be creating / handling my table adapters.
I have a persistant business object that is managing a number of database calls using a lot of different table adapters. The question I have is what the best practice is for creation of these table adapters. Is it better to persist a reference to each of my different table adapters over the life of my business object (i.e. create them all once, store them in class variables, then dispose of them all at the end) or is it better to create them as they are required (i.e a new table adapter created for each function call).
If someone could give a bit of an insight into what a table adapter is doing in terms of the connections created for it during instantiation that would be most helpful in helping me decide the most efficient approach.

Thanks for your help,
Adam
AnswerRe: .Net 2.0 Table Adapter best practice Pin
Rob Graham9-Jan-07 3:52
Rob Graham9-Jan-07 3:52 
GeneralRe: .Net 2.0 Table Adapter best practice Pin
Adam Crawford9-Jan-07 4:22
Adam Crawford9-Jan-07 4:22 
GeneralRe: .Net 2.0 Table Adapter best practice Pin
Pete O'Hanlon9-Jan-07 4:36
mvePete O'Hanlon9-Jan-07 4:36 
GeneralRe: .Net 2.0 Table Adapter best practice Pin
Rob Graham9-Jan-07 6:58
Rob Graham9-Jan-07 6:58 
QuestionFine Tuning of Query Pin
Sasmi9-Jan-07 0:56
Sasmi9-Jan-07 0:56 
AnswerRe: Fine Tuning of Query Pin
Pete O'Hanlon9-Jan-07 1:30
mvePete O'Hanlon9-Jan-07 1:30 
Questionretrieving data from sql database Pin
rahulpasupuleti8-Jan-07 23:53
rahulpasupuleti8-Jan-07 23:53 
AnswerRe: retrieving data from sql database Pin
Colin Angus Mackay9-Jan-07 0:30
Colin Angus Mackay9-Jan-07 0:30 
QuestionIntegrating SQL server 2005 Reporting Services into asp.net Application Pin
Sarath Vellampalli Babu8-Jan-07 20:28
Sarath Vellampalli Babu8-Jan-07 20:28 
Questionconnected and unconnected layer Pin
groundzero1118-Jan-07 20:27
groundzero1118-Jan-07 20:27 
AnswerRe: connected and unconnected layer Pin
Pete O'Hanlon8-Jan-07 22:39
mvePete O'Hanlon8-Jan-07 22:39 
QuestionDespair :( - ODBC Behaves differently in COM+ Application [modified] Pin
BillyGoatGruff8-Jan-07 4:12
BillyGoatGruff8-Jan-07 4:12 
AnswerRe: JOY (: - ODBC Behaves differently in COM+ Application Pin
BillyGoatGruff10-Jan-07 0:27
BillyGoatGruff10-Jan-07 0:27 
QuestionSame Username Pin
Dayekh8-Jan-07 4:12
Dayekh8-Jan-07 4:12 
AnswerRe: Same Username Pin
Mark J. Miller8-Jan-07 6:10
Mark J. Miller8-Jan-07 6:10 
Questionsaving dynamically Pin
mohd imran abdul aziz8-Jan-07 3:10
mohd imran abdul aziz8-Jan-07 3:10 
AnswerRe: saving dynamically Pin
Colin Angus Mackay8-Jan-07 3:23
Colin Angus Mackay8-Jan-07 3:23 

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.