IRelationalModel.FindTable(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework