Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.EntityFrameworkCore.Metadata.Builders
  3. ReferenceReferenceBuilder<TEntity, TRelatedEntity>
  4. OnDelete(DeleteBehavior)
  • ReferenceReferenceBuilder<TEntity, TRelatedEntity>
    • ReferenceReferenceBuilder(EntityType, EntityType, InternalRelationshipBuilder)
    • ReferenceReferenceBuilder(InternalRelationshipBuilder, ReferenceReferenceBuilder, Boolean, Boolean, Boolean, Boolean)
    • HasAnnotation(String, Object)
    • HasForeignKey(String, String[])
    • HasForeignKey(Type, String[])
    • HasForeignKey<TDependentEntity>(String[])
    • HasForeignKey<TDependentEntity>(Expression<Func<TDependentEntity, Object>>)
    • HasPrincipalKey(String, String[])
    • HasPrincipalKey(Type, String[])
    • HasPrincipalKey<TPrincipalEntity>(String[])
    • HasPrincipalKey<TPrincipalEntity>(Expression<Func<TPrincipalEntity, Object>>)
    • IsRequired(Boolean)
    • OnDelete(DeleteBehavior)
    • HasConstraintName<TEntity, TRelatedEntity>(ReferenceReferenceBuilder<TEntity, TRelatedEntity>, String)
netcoreapp2.2
namespace Microsoft.EntityFrameworkCore.Metadata.Builders
{
    public class ReferenceReferenceBuilder<TEntity, TRelatedEntity> : ReferenceReferenceBuilder
        where TEntity, class
        where TRelatedEntity, class
    {
        public virtual ReferenceReferenceBuilder<TEntity, TRelatedEntity> OnDelete(DeleteBehavior deleteBehavior);
    }
}
.NET Core
2.02.12.2
Information specific to netcoreapp2.2
Assembly

Microsoft.EntityFrameworkCore , Version=2.2.6.0, PublicKeyToken=adb9793829ddae60

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/25/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙