ObjectContext.ObjectMaterialized Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a new entity object is created from data in the data source as part of a query or load operation.
public:
event System::Data::Objects::ObjectMaterializedEventHandler ^ ObjectMaterialized;
public event System.Data.Objects.ObjectMaterializedEventHandler ObjectMaterialized;
member this.ObjectMaterialized : System.Data.Objects.ObjectMaterializedEventHandler
Public Custom Event ObjectMaterialized As ObjectMaterializedEventHandler
Event Type
Remarks
This event is raised after all scalar, complex, and reference properties have been set on an object, but before collections are loaded. If an object with the same key value exists in the object context, the Entity Framework will not recreate the object and this event will not be raised.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.