Click here to Skip to main content
15,881,882 members
Home / Discussions / Database
   

Database

 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
Ashfield1-Sep-08 8:43
Ashfield1-Sep-08 8:43 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
bfis1081371-Sep-08 8:47
bfis1081371-Sep-08 8:47 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
Ashfield1-Sep-08 19:52
Ashfield1-Sep-08 19:52 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
liron.levi31-Aug-08 10:15
professionalliron.levi31-Aug-08 10:15 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
bfis1081371-Sep-08 6:37
bfis1081371-Sep-08 6:37 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
liron.levi1-Sep-08 7:15
professionalliron.levi1-Sep-08 7:15 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
bfis1081371-Sep-08 7:32
bfis1081371-Sep-08 7:32 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
liron.levi1-Sep-08 7:54
professionalliron.levi1-Sep-08 7:54 
If you have a small number of tables and a simple data model + you don't need to handle client/server interactions or any of that stuff + the amount of data is small + you don't need transaction support or concurrent data access then using serialized data seems like a very good solution to me. I don't exactly know what caused this solution of yours to become a 7000 LOC monster but I bet that using the DB will grow you another one just as easily so be careful.

You may save time using VS data designers but only if you go with their solution and forget about object oriented encapsulation. It can work and it WILL save you time this way. If your application is small and your data requirements are simple it will work out just fine. However - if your application has a complex data schema and is expected to grow (in structure and/or data) than your attempt to save time will actually cost you more, a lot more (as I've already found in the hard way).

The reason that using serialized objects doesn't work in general is that it is not scalable for large amounts of data. You can't search according to specific fields when the data is serialized. You can't update the database every time a single property of some object changes. You can't handle concurrent access well and you don't have transaction support. If the file is small (<=1MB) this may work OK but it fails when the amount of data grows beyond this point due to excessive disk trashing etc.

Liron
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? [modified] Pin
bfis1081372-Sep-08 6:47
bfis1081372-Sep-08 6:47 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
liron.levi3-Sep-08 9:00
professionalliron.levi3-Sep-08 9:00 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
bfis1081374-Sep-08 3:53
bfis1081374-Sep-08 3:53 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
liron.levi4-Sep-08 9:32
professionalliron.levi4-Sep-08 9:32 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
bfis1081374-Sep-08 10:19
bfis1081374-Sep-08 10:19 
GeneralRe: what's your opinion on the Visual Studion 2005 data designer? Pin
liron.levi4-Sep-08 10:41
professionalliron.levi4-Sep-08 10:41 
QuestionFinding a certain character Pin
Ballita28-Aug-08 22:02
Ballita28-Aug-08 22:02 
AnswerRe: Finding a certain character Pin
Manas Bhardwaj28-Aug-08 22:55
professionalManas Bhardwaj28-Aug-08 22:55 
AnswerRe: Finding a certain character Pin
Syed Mehroz Alam28-Aug-08 23:35
Syed Mehroz Alam28-Aug-08 23:35 
QuestionMDX query iif condition Pin
annu0828-Aug-08 20:18
annu0828-Aug-08 20:18 
AnswerRe: MDX query iif condition[Ignore repost] Pin
Manas Bhardwaj28-Aug-08 22:44
professionalManas Bhardwaj28-Aug-08 22:44 
Questioncomparing data in SQL with an XML file [modified] Pin
ONeil Tomlinson28-Aug-08 5:36
ONeil Tomlinson28-Aug-08 5:36 
AnswerRead XML file Pin
David Mujica28-Aug-08 6:34
David Mujica28-Aug-08 6:34 
QuestionSave Image in SQL Database Pin
bapu288928-Aug-08 3:12
bapu288928-Aug-08 3:12 
AnswerRe: Save Image in SQL Database Pin
Wendelius28-Aug-08 4:11
mentorWendelius28-Aug-08 4:11 
GeneralRe: Save Image in SQL Database Pin
bapu288928-Aug-08 5:37
bapu288928-Aug-08 5:37 
GeneralRe: Save Image in SQL Database Pin
Wendelius28-Aug-08 7:49
mentorWendelius28-Aug-08 7:49 

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.