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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για