OwnedNavigationStoredProcedureBuilder.CreatePropertyBuilder 方法

定义

重载

CreatePropertyBuilder(String)

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

CreatePropertyBuilder<TDependentEntity,TProperty>(Expression<Func<TDependentEntity,TProperty>>)

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

CreatePropertyBuilder(String)

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

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder CreatePropertyBuilder (string propertyName);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member CreatePropertyBuilder : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
override this.CreatePropertyBuilder : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
Protected Overridable Function CreatePropertyBuilder (propertyName As String) As PropertyBuilder

参数

propertyName
String

返回

属性

适用于

CreatePropertyBuilder<TDependentEntity,TProperty>(Expression<Func<TDependentEntity,TProperty>>)

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

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder CreatePropertyBuilder<TDependentEntity,TProperty> (System.Linq.Expressions.Expression<Func<TDependentEntity,TProperty>> propertyExpression);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member CreatePropertyBuilder : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
override this.CreatePropertyBuilder : System.Linq.Expressions.Expression<Func<'DependentEntity, 'Property>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
Protected Overridable Function CreatePropertyBuilder(Of TDependentEntity, TProperty) (propertyExpression As Expression(Of Func(Of TDependentEntity, TProperty))) As PropertyBuilder

类型参数

TDependentEntity
TProperty

参数

propertyExpression
Expression<Func<TDependentEntity,TProperty>>

返回

属性

适用于