IConventionModel.IsOwned(Type) Method

Definition

Returns a value indicating whether the entity types using the given type should be configured as owned types when discovered.

C#
public virtual bool IsOwned (Type type);

Parameters

type
Type

The type of the entity type that could be owned.

Returns

true if the given type is marked as owned, null otherwise.

Applies to

Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0