OwnershipBuilder<TEntity, TDependentEntity>
OwnershipBuilder(IMutableEntityType, IMutableEntityType, IMutableForeignKey)
OwnershipBuilder(InternalForeignKeyBuilder, OwnershipBuilder, Boolean, Boolean, Boolean)
HasAnnotation(String, Object)
HasForeignKey(String[])
HasForeignKey(Expression<Func<TDependentEntity, Object>>)
HasPrincipalKey(String[])
HasPrincipalKey(Expression<Func<TEntity, Object>>)
HasConstraintName<TEntity, TDependentEntity>(OwnershipBuilder<TEntity, TDependentEntity>, String)
net11.0
namespace Microsoft.EntityFrameworkCore
{
public static class RelationalForeignKeyBuilderExtensions
{
public static OwnershipBuilder<TEntity!, TDependentEntity!>! HasConstraintName<TEntity, TDependentEntity>(this OwnershipBuilder<TEntity!, TDependentEntity!>! ownershipBuilder, string? name)
where TEntity, class
where TDependentEntity, class;
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 10.011.0 |
Information specific to net11.0 | |
| Assemblies | Microsoft.EntityFrameworkCore.Relational , Version=10.0.5.0, PublicKeyToken=adb9793829ddae60 Microsoft.EntityFrameworkCore.Relational , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational (10.0.5) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API