Delen via


RelationalDatabaseFacadeExtensions.IsRelational(DatabaseFacade) Method

Definition

Returns true if the database provider currently in use is a relational database.

public static bool IsRelational (this Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade databaseFacade);
static member IsRelational : Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade -> bool
<Extension()>
Public Function IsRelational (databaseFacade As DatabaseFacade) As Boolean

Parameters

databaseFacade
DatabaseFacade

The facade from Database.

Returns

true if a relational database provider is being used; false otherwise.

Applies to