語言

ITableBase.FindColumn 方法

定義

多載

名稱 Description
FindColumn(IProperty)

讓欄位映射到給定的屬性。 若沒有欄位映射到該屬性,則回傳 null 。

FindColumn(IPropertyBase)

讓欄位映射到給定的屬性。 若沒有欄位映射到該屬性,則回傳 null 。

FindColumn(String)

取得帶有名字的欄位。 若未定義帶有該名稱的欄位,則返回 null 。

FindColumn(IProperty)

來源:
ITableBase.cs
來源:
ITableBase.cs
來源:
ITableBase.cs
來源:
ITableBase.cs

讓欄位映射到給定的屬性。 若沒有欄位映射到該屬性,則回傳 null 。

public Microsoft.EntityFrameworkCore.Metadata.IColumnBase? FindColumn(Microsoft.EntityFrameworkCore.Metadata.IProperty property);
public Microsoft.EntityFrameworkCore.Metadata.IColumnBase FindColumn(Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member FindColumn : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.IColumnBase
Public Function FindColumn (property As IProperty) As IColumnBase

參數

property
IProperty

傳回

適用於

FindColumn(IPropertyBase)

來源:
ITableBase.cs

讓欄位映射到給定的屬性。 若沒有欄位映射到該屬性,則回傳 null 。

public Microsoft.EntityFrameworkCore.Metadata.IColumnBase? FindColumn(Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
abstract member FindColumn : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.IColumnBase
Public Function FindColumn (propertyBase As IPropertyBase) As IColumnBase

參數

propertyBase
IPropertyBase

傳回

適用於

FindColumn(String)

來源:
ITableBase.cs
來源:
ITableBase.cs
來源:
ITableBase.cs
來源:
ITableBase.cs
來源:
ITableBase.cs

取得帶有名字的欄位。 若未定義帶有該名稱的欄位,則返回 null 。

public Microsoft.EntityFrameworkCore.Metadata.IColumnBase? FindColumn(string name);
public Microsoft.EntityFrameworkCore.Metadata.IColumnBase FindColumn(string name);
abstract member FindColumn : string -> Microsoft.EntityFrameworkCore.Metadata.IColumnBase
Public Function FindColumn (name As String) As IColumnBase

參數

name
String

傳回

適用於