Share via


TableExistenceChecker Class

Definition

Implemented by Entity Framework providers and used to check whether or not tables exist in a given database. This is used by database initializers when determining whether or not to treat an existing database as empty such that tables should be created.

public abstract class TableExistenceChecker
type TableExistenceChecker = class
Public MustInherit Class TableExistenceChecker
Inheritance
TableExistenceChecker

Constructors

TableExistenceChecker()

Methods

AnyModelTableExistsInDatabase(ObjectContext, DbConnection, IEnumerable<EntitySet>, String)

When overridden in a derived class checks where the given tables exist in the database for the given connection.

GetTableName(EntitySet)

Helper method to get the table name for the given s-space EntitySet.

Applies to