IReadOnlyModel.IsShared(Type) Method

Definition

Gets a value indicating whether the CLR type is used by shared type entities in the model.

C#
public bool IsShared (Type type);

Parameters

type
Type

The CLR type.

Returns

Whether the CLR type is used by shared type entities in the model.

Remarks

See Modeling entity types and relationships for more information and examples.

Applies to

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