IRelationalModel.FindTable(String, String) Method

Definition

Gets the table with the given name. Returns null if no table with the given name is defined.

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

Parameters

name
String

The name of the table.

schema
String

The schema of the table.

Returns

The table with a given name or null if no table with the given name is defined.

Applies to