KeylessAttribute Class

Definition

Marks a type as keyless entity.

C#
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class KeylessAttribute : Attribute
Inheritance
KeylessAttribute
Attributes

Remarks

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

Constructors

Applies to

Proizvod Verzije
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0