OwnershipBuilder
OwnershipBuilder(IMutableEntityType, IMutableEntityType, IMutableForeignKey)
OwnershipBuilder(InternalForeignKeyBuilder, OwnershipBuilder, Boolean, Boolean, Boolean)
HasAnnotation(String, Object)
HasForeignKey(String[])
HasPrincipalKey(String[])
ExcludeForeignKeyFromMigrations(OwnershipBuilder, Boolean)
HasConstraintName(OwnershipBuilder, String)
net11.0
namespace Microsoft.EntityFrameworkCore
{
public static class RelationalForeignKeyBuilderExtensions
{
public static OwnershipBuilder! ExcludeForeignKeyFromMigrations(this OwnershipBuilder! ownershipBuilder, bool excluded = true);
}
}
| .NET | 11.0 |
|---|---|
Information specific to net11.0 | |
| Assembly | Microsoft.EntityFrameworkCore.Relational , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational (11.0.0-preview.3.26207.106) net11.0 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API