Which of the following events can you use to invoke custom business logic in generated data classes?

You work as Web Developer in PassGuide.com. The company uses Microsoft .NET Framework 4
as its application development platform. You want to invoke custom business logic during changes
to properties of data classes generated by the Entity Data Model tools. Which of the following
events can you use to invoke custom business logic in generated data classes?
Each correct answer represents a complete solution. Choose two.

You work as Web Developer in PassGuide.com. The company uses Microsoft .NET Framework 4
as its application development platform. You want to invoke custom business logic during changes
to properties of data classes generated by the Entity Data Model tools. Which of the following
events can you use to invoke custom business logic in generated data classes?
Each correct answer represents a complete solution. Choose two.

A.
AssociationChanged

B.
ObjectMaterialized

C.
SavingChanges

D.
ObjectStateManagerChanged

Explanation:



Leave a Reply 2

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


John Galt

John Galt

SavingChanges event is raised prior to writing data out to the database once SaveChanges() is called.

AssociationChanged event gets raised whenever EF becomes aware that an object has been added or removed from a navigation property.