Using xsd or write my own data access layer?

Ok, i've found lots of example over the net that use "xsd" to access the database information.

Why should i use "xsd" to access my database information instead of writing my own database access inside my DAL (Data access layer, using sqlconnection)?

I'm working with "Connection Pool" and large amount of data.

Performance is really important in my application.
Time to develop custom code is not a concern.

What should i do?
Thanks

LVL 10
jabcocoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gyanendra SinghArchitectCommented:
0
prairiedogCommented:
>>>Why should i use "xsd" to access my database information instead of writing my own database access inside my DAL (Data access layer, using sqlconnection)?
No one says you have to use "xsd". Of course you can write your own DAL with different means. One of the advantages of using 'xsd" is that it creates strong-typed datasets, which is recommeded than general datasets.

>>>Time to develop custom code is not a concern.
Then you can write your own, and it helps you understand more about multi-tiered application development.
>>>Performance is really important in my application.
I don't know if using 'xsd' will have lower performance than using your own DAL, it depends on lots of factors.
There are also several tools that builds DAL and BAL for you automatically, such as Code Smith, and SubSonic. You can check them out if you are interested.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jabcocoAuthor Commented:
After reading more article on the net I've finally decide to write my own "Business Objects".

Prairiedog: Yes.. writing my own code will help me understand more about multi-tiered and having controls over what i'm doing.

Articles:
Ref #1 http://aspnet.4guysfromrolla.com/demos/printPage.aspx?path=/articles/050405-1.aspx
Ref #2 http://richnewman.wordpress.com/2007/04/22/reasons-not-to-use-tableadapters-in-net-20/
Ref #3 http://forums.asp.net/t/1231450.aspx

Thanks guys!
0
jabcocoAuthor Commented:
Thanks experts! :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.