StoredProcedureBuilder.CreatePropertyBuilder 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| CreatePropertyBuilder(String) |
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。 |
| CreatePropertyBuilder<TDerivedEntity,TProperty>(Expression<Func<TDerivedEntity,TProperty>>) |
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。 |
CreatePropertyBuilder(String)
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 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>>)
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 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>>
傳回
- 屬性