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: