PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are an enterprise application developer. You are creating a component that processes loan requests. Your component will be used inside Microsoft Windows Forms client applications. The loan request form is complex and time consuming to complete. Loan data is saved to a Microsoft SQL Server 2005 database. You need to ensure that in case of a system failure the loan officer does not need to re-enter any loan data. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Implement a private Save method that saves all property values to the database. Call the Save method from inside your components finalizer.

B.
Implement code inside the Set accessor for each property that saves the property value to the database.

C.
Implement a public Save method that saves all property values to a static variable.

D.
Implement code inside the Set accessor that saves the property value to a static variable.


Leave a Reply