共用方式為


ValueGeneratorSelector 建構函式

定義

多載

ValueGeneratorSelector(IValueGeneratorCache)

初始化 ValueGeneratorSelector 類別的新執行個體。

ValueGeneratorSelector(ValueGeneratorSelectorDependencies)

初始化 ValueGeneratorSelector 類別的新執行個體。

ValueGeneratorSelector(IValueGeneratorCache)

初始化 ValueGeneratorSelector 類別的新執行個體。

public ValueGeneratorSelector (Microsoft.EntityFrameworkCore.ValueGeneration.IValueGeneratorCache cache);
new Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorSelector : Microsoft.EntityFrameworkCore.ValueGeneration.IValueGeneratorCache -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorSelector
Public Sub New (cache As IValueGeneratorCache)

參數

cache
IValueGeneratorCache

要用來儲存值產生器實例的快取。

適用於

ValueGeneratorSelector(ValueGeneratorSelectorDependencies)

初始化 ValueGeneratorSelector 類別的新執行個體。

public ValueGeneratorSelector (Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorSelectorDependencies dependencies);
new Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorSelector : Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorSelectorDependencies -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGeneratorSelector
Public Sub New (dependencies As ValueGeneratorSelectorDependencies)

參數

dependencies
ValueGeneratorSelectorDependencies

包含此服務相依性的參數物件。

適用於