Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectMaterializedEventArgs::Entity Property

.NET Framework (current version)
 

Gets the entity object that was created.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public:
property Object^ Entity {
	Object^ get();
}

Property Value

Type: System::Object^

The entity object that was created.

If an object that has the same key value exists in the context, the Entity Framework will not recreate the object and the ObjectMaterialized event will not be raised.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft