Megosztás a következőn keresztül:


ComplexTypePrimitiveCollectionBuilder<TProperty>.ElementType Method

Definition

Configures the elements of this collection.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<TProperty> ElementType (Action<Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder> builderAction);
override this.ElementType : Action<Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder> -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<'Property>
Public Overridable Function ElementType (builderAction As Action(Of ElementTypeBuilder)) As ComplexTypePrimitiveCollectionBuilder(Of TProperty)

Parameters

builderAction
Action<ElementTypeBuilder>

An action that performs configuration of the collection element type.

Returns

The same builder instance so that multiple configuration calls can be chained.

Applies to