Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. Microsoft.EntityFrameworkCore.Metadata.Conventions
  3. KeyAttributeConvention
  4. KeyAttributeConvention(ProviderConventionSetBuilderDependencies)
  • KeyAttributeConvention
    • KeyAttributeConvention(ProviderConventionSetBuilderDependencies)
    • ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)
    • ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)
    • ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
    • ProcessPropertyAdded(IConventionComplexPropertyBuilder, KeyAttribute, MemberInfo, IConventionContext)
    • ProcessPropertyAdded(IConventionPropertyBuilder, KeyAttribute, MemberInfo, IConventionContext)
net10.0
namespace Microsoft.EntityFrameworkCore.Metadata.Conventions
{
    public class KeyAttributeConvention : PropertyAttributeConventionBase<KeyAttribute!>, IComplexPropertyAddedConvention, IConvention, IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IModelFinalizingConvention
    {
        public KeyAttributeConvention(ProviderConventionSetBuilderDependencies! dependencies);
    }
}
.NET
10.0
Information specific to net10.0
Assembly

Microsoft.EntityFrameworkCore , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.EntityFrameworkCore.

Package Microsoft.EntityFrameworkCore (10.0.1) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/13/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙