共用方式為


StoredProcedureBuilder.CreatePropertyBuilder 方法

定義

多載

CreatePropertyBuilder(String)

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

CreatePropertyBuilder<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,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<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,TProperty>>)

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

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

類型參數

TDerivedEntity
TProperty

參數

propertyExpression
Expression<Func<TDerivedEntity,TProperty>>

傳回

屬性

適用於