Share via


IRelationalModel.FindView(String, String) Method

Definition

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

public Microsoft.EntityFrameworkCore.Metadata.IView FindView (string name, string schema);
public Microsoft.EntityFrameworkCore.Metadata.IView? FindView (string name, string? schema);
abstract member FindView : string * string -> Microsoft.EntityFrameworkCore.Metadata.IView
Public Function FindView (name As String, schema As String) As IView

Parameters

name
String

The name of the view.

schema
String

The schema of the view.

Returns

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

Applies to