<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0-preview.4.20251.6" />

System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute

public class NotMappedAttribute : Attribute
Denotes that a property or class should be excluded from database mapping.
namespace System.ComponentModel.DataAnnotations.Schema { public class NotMappedAttribute : Attribute { public NotMappedAttribute(); } }