RelationalPropertyExtensions.GetDefaultColumnMappings 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GetDefaultColumnMappings(IProperty) |
返回属性要映射到的默认列。 |
| GetDefaultColumnMappings(IPropertyBase) |
返回属性要映射到的默认列。 |
GetDefaultColumnMappings(IProperty)
返回属性要映射到的默认列。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IColumnMappingBase> GetDefaultColumnMappings(this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetDefaultColumnMappings : Microsoft.EntityFrameworkCore.Metadata.IProperty -> seq<Microsoft.EntityFrameworkCore.Metadata.IColumnMappingBase>
<Extension()>
Public Function GetDefaultColumnMappings (property As IProperty) As IEnumerable(Of IColumnMappingBase)
参数
- property
- IProperty
属性。
返回
属性要映射到的默认列。
适用于
GetDefaultColumnMappings(IPropertyBase)
返回属性要映射到的默认列。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IColumnMappingBase> GetDefaultColumnMappings(this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
static member GetDefaultColumnMappings : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> seq<Microsoft.EntityFrameworkCore.Metadata.IColumnMappingBase>
<Extension()>
Public Function GetDefaultColumnMappings (propertyBase As IPropertyBase) As IEnumerable(Of IColumnMappingBase)
参数
- propertyBase
- IPropertyBase
属性。
返回
属性要映射到的默认列。