PropertyBuilder 建構函式

定義

多載

PropertyBuilder(IMutableProperty)

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

PropertyBuilder(InternalPropertyBuilder)

此 API 支援 Entity Framework Core 基礎結構,並不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

PropertyBuilder(IMutableProperty)

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

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public PropertyBuilder (Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
Public Sub New (property As IMutableProperty)

參數

property
IMutableProperty
屬性

適用於

PropertyBuilder(InternalPropertyBuilder)

此 API 支援 Entity Framework Core 基礎結構,並不適合直接從您的程式碼使用。 此 API 可能會在未來的版本中變更或移除。

public PropertyBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.InternalPropertyBuilder builder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder : Microsoft.EntityFrameworkCore.Metadata.Internal.InternalPropertyBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
Public Sub New (builder As InternalPropertyBuilder)

參數

builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalPropertyBuilder

適用於