Compare Database container and class container
Posted
by Mohit Deshpande
on Stack Overflow
See other posts from Stack Overflow
or by Mohit Deshpande
Published on 2010-03-13T17:55:57Z
Indexed on
2010/03/13
18:05 UTC
Read the original article
Hit count: 294
I am using a SQL Server database in my current project. I was watching the MVC Storefront videos (specifically the repository pattern) and I noticed that Rob (the creator of MVC Storefront) used a class called Category and Product, instead of a database and I have notice that using LINQ-SQL or ADO.NET, that a class is generated. Is there an advantage to using a class over a database to store information? Or is it the other way around? Or are they even comparable?
© Stack Overflow or respective owner