Delen via


PrimitiveCollectionBuilder.ValueGeneratedNever Method

Definition

Configures a property to never have a value generated by the database when an instance of this entity type is saved.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder ValueGeneratedNever ();
abstract member ValueGeneratedNever : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder
override this.ValueGeneratedNever : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder
Public Overridable Function ValueGeneratedNever () As PrimitiveCollectionBuilder

Returns

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

Remarks

Note that values may still be generated by a client-side value generator, if one is set explicitly or by a convention.

Applies to