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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za