OwnershipBuilder<TEntity,TDependentEntity> 构造函数

定义

重载

OwnershipBuilder<TEntity,TDependentEntity>(IMutableEntityType, IMutableEntityType, IMutableForeignKey)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

OwnershipBuilder<TEntity,TDependentEntity>(InternalForeignKeyBuilder, OwnershipBuilder, Boolean, Boolean, Boolean)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

OwnershipBuilder<TEntity,TDependentEntity>(InternalRelationshipBuilder, OwnershipBuilder, Boolean, Boolean, Boolean)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

OwnershipBuilder<TEntity,TDependentEntity>(IMutableEntityType, IMutableEntityType, IMutableForeignKey)

Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public OwnershipBuilder (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType principalEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType dependentEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
Public Sub New (principalEntityType As IMutableEntityType, dependentEntityType As IMutableEntityType, foreignKey As IMutableForeignKey)

参数

principalEntityType
IMutableEntityType
dependentEntityType
IMutableEntityType
foreignKey
IMutableForeignKey
属性

适用于

OwnershipBuilder<TEntity,TDependentEntity>(InternalForeignKeyBuilder, OwnershipBuilder, Boolean, Boolean, Boolean)

Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected OwnershipBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder builder, Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder oldBuilder, bool foreignKeySet = false, bool principalKeySet = false, bool requiredSet = false);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder * bool * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
Protected Sub New (builder As InternalForeignKeyBuilder, oldBuilder As OwnershipBuilder, Optional foreignKeySet As Boolean = false, Optional principalKeySet As Boolean = false, Optional requiredSet As Boolean = false)

参数

builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
oldBuilder
OwnershipBuilder
foreignKeySet
Boolean
principalKeySet
Boolean
requiredSet
Boolean
属性

适用于

OwnershipBuilder<TEntity,TDependentEntity>(InternalRelationshipBuilder, OwnershipBuilder, Boolean, Boolean, Boolean)

Source:
OwnershipBuilder%60.cs
Source:
OwnershipBuilder%60.cs

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,恕不另行通知。 应仅在代码中直接使用它,并且非常谨慎,并且知道在更新到新的 Entity Framework Core 版本时,这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected OwnershipBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder, Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder oldBuilder, bool foreignKeySet = false, bool principalKeySet = false, bool requiredSet = false);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder * bool * bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnershipBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
Protected Sub New (builder As InternalRelationshipBuilder, oldBuilder As OwnershipBuilder, Optional foreignKeySet As Boolean = false, Optional principalKeySet As Boolean = false, Optional requiredSet As Boolean = false)

参数

builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
oldBuilder
OwnershipBuilder
foreignKeySet
Boolean
principalKeySet
Boolean
requiredSet
Boolean
属性

适用于