You need to ensure that the DAL entity objects are updated when the database schema changes

You are designing a Windows Presentation Foundation (WPF) application by using
Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server
2008. You have designed the application to use the ADO.NET Entity Framework for the
Data Access Layer (DAL). You have designed the user interface (UI) of the application by
using the Model-View-ViewModel (M-V-VM) pattern. The middle tier of the application is
designed by using Windows Communication Foundation (WCF). The database schema
changes often. The DAL entity objects are required to be referenced from the middle tier
and the ViewModel layer of the UI. You need to ensure that the DAL entity objects are
updated when the database schema changes. What should you do?

You are designing a Windows Presentation Foundation (WPF) application by using
Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server
2008. You have designed the application to use the ADO.NET Entity Framework for the
Data Access Layer (DAL). You have designed the user interface (UI) of the application by
using the Model-View-ViewModel (M-V-VM) pattern. The middle tier of the application is
designed by using Windows Communication Foundation (WCF). The database schema
changes often. The DAL entity objects are required to be referenced from the middle tier
and the ViewModel layer of the UI. You need to ensure that the DAL entity objects are
updated when the database schema changes. What should you do?

A.
Create persistent-ignorant objects.

B.
Create persistent-aware objects.

C.
Create an observable collection of objects.

D.
Create typed DataSets.



Leave a Reply 0

Your email address will not be published. Required fields are marked *