共用方式為


ValueConverter.ComposeWith(ValueConverter) 方法

定義

使用此實例撰寫另一個 ValueConverter 實例,讓第一次轉換的結果做為第二個轉換的輸入。

public virtual Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter ComposeWith (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter secondConverter);
public virtual Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter ComposeWith (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? secondConverter);
abstract member ComposeWith : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter
override this.ComposeWith : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter
Public Overridable Function ComposeWith (secondConverter As ValueConverter) As ValueConverter

參數

secondConverter
ValueConverter

第二個轉換器。

傳回

撰寫的轉換器。

備註

如需詳細資訊和範例 ,請參閱 EF Core 值轉換器

適用於