IRelationalModel.FindTable(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
拿到有名字的表格。 若未定義包含該名稱的表格,則返回 null 。
public Microsoft.EntityFrameworkCore.Metadata.ITable? FindTable(string name, string? schema);
public Microsoft.EntityFrameworkCore.Metadata.ITable FindTable(string name, string schema);
abstract member FindTable : string * string -> Microsoft.EntityFrameworkCore.Metadata.ITable
Public Function FindTable (name As String, schema As String) As ITable
參數
- name
- String
數據表的名稱。
- schema
- String
表格的結構。
傳回
定義為帶有名字的表格,若 null 無該名稱表格則定義。