Table of Contents

Interface IMutableComplexProperty

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.dll

Represents a complex property of a structural type.

public interface IMutableComplexProperty : IReadOnlyComplexProperty, IMutablePropertyBase, IReadOnlyPropertyBase, IMutableAnnotatable, IReadOnlyAnnotatable
Inherited Members
Extension Methods

Remarks

This interface is used during model creation and allows the metadata to be modified. Once the model is built, IComplexProperty represents a read-only view of the same metadata.

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

Properties

ComplexType

Gets the associated complex type.

IMutableComplexType ComplexType { get; }

Property Value

IMutableComplexType

IsNullable

Gets or sets a value indicating whether this property can contain null.

bool IsNullable { get; set; }

Property Value

bool