Is DAL class required for database connection?

0

Do I need to create a file for bank connection? According to a professor of a colleague of mine it is necessary to have this DAL class to make the connection with the bank. But the book I'm basing on does not say anything. Is the mdf file not responsible for this?

    
asked by anonymous 05.09.2014 / 22:35

1 answer

2

Do I need to create a file for bank connection?

No. The context + connection strings defined in your Web.config file already does this.

Is the mdf file not responsible for this?

MDF ( Master Data File ) is a complete database, not a DAL. It is used when there is no database server installed on your machine, but is rather limited and not recommended for extensive application development.

    
05.09.2014 / 23:20