KeylessAttributeConvention Class

Definition

A convention that ignores entity types that have the KeylessAttribute.

C#
public class KeylessAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<Microsoft.EntityFrameworkCore.KeylessAttribute>
Inheritance

Remarks

See Model building conventions for more information and examples.

Constructors

Properties

Dependencies

Dependencies for this service.

(Inherited from TypeAttributeConventionBase<TAttribute>)

Methods

Applies to

Proizvod Verzije
Entity Framework Core 8.0, 9.0