PrimitiveCollectionBuilder<TProperty>.ValueGeneratedNever Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures a property to never have a value generated when an instance of this entity type is saved.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<TProperty> ValueGeneratedNever ();
override this.ValueGeneratedNever : unit -> Microsoft.EntityFrameworkCore.Metadata.Builders.PrimitiveCollectionBuilder<'Property>
Public Overridable Function ValueGeneratedNever () As PrimitiveCollectionBuilder(Of TProperty)
The same builder instance so that multiple configuration calls can be chained.
Note that temporary values may still be generated for use internally before a new entity is saved.
Продукт | Версии |
---|---|
Entity Framework Core | 8.0, 9.0 |
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: