PhysicalAddressToBytesConverter 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
转换 PhysicalAddress 到 /从中 Byte转换 。
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 2, 2 })]
public class PhysicalAddressToBytesConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter<System.Net.NetworkInformation.PhysicalAddress,byte[]>
public class PhysicalAddressToBytesConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter<System.Net.NetworkInformation.PhysicalAddress,byte[]>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 2, 2 })>]
type PhysicalAddressToBytesConverter = class
inherit ValueConverter<PhysicalAddress, byte[]>
type PhysicalAddressToBytesConverter = class
inherit ValueConverter<PhysicalAddress, byte[]>
Public Class PhysicalAddressToBytesConverter
Inherits ValueConverter(Of PhysicalAddress, Byte())
- 继承
- 特性
注解
有关详细信息和示例,请参阅 EF Core 值转换器 。
构造函数
| 名称 | 说明 |
|---|---|
| PhysicalAddressToBytesConverter() |
创建此转换器的新实例。 |
| PhysicalAddressToBytesConverter(ConverterMappingHints) |
创建此转换器的新实例。 |
属性
方法
| 名称 | 说明 |
|---|---|
| ComposeWith(ValueConverter) |
使用此实例编写另一个 ValueConverter 实例,以便第一次转换的结果用作第二个转换的输入。 (继承自 ValueConverter) |