Share via


DatabaseModelFactory.Create Method

Definition

Overloads

Create(DbConnection, DatabaseModelFactoryOptions)

Connects to the database using the given connection and creates a DatabaseModel for the database.

Create(String, DatabaseModelFactoryOptions)

Connects to the database using the given connection string and creates a DatabaseModel for the database.

Create(DbConnection, DatabaseModelFactoryOptions)

Source:
DatabaseModelFactory.cs
Source:
DatabaseModelFactory.cs
Source:
DatabaseModelFactory.cs

Connects to the database using the given connection and creates a DatabaseModel for the database.

public abstract Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel Create (System.Data.Common.DbConnection connection, Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions options);
abstract member Create : System.Data.Common.DbConnection * Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions -> Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel
Public MustOverride Function Create (connection As DbConnection, options As DatabaseModelFactoryOptions) As DatabaseModel

Parameters

connection
DbConnection

The connection to the database to reverse engineer.

options
DatabaseModelFactoryOptions

The options specifying which metadata to read.

Returns

The database model.

Implements

Applies to

Create(String, DatabaseModelFactoryOptions)

Source:
DatabaseModelFactory.cs
Source:
DatabaseModelFactory.cs
Source:
DatabaseModelFactory.cs

Connects to the database using the given connection string and creates a DatabaseModel for the database.

public abstract Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel Create (string connectionString, Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions options);
abstract member Create : string * Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions -> Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel
Public MustOverride Function Create (connectionString As String, options As DatabaseModelFactoryOptions) As DatabaseModel

Parameters

connectionString
String

The connection string for the database to reverse engineer.

options
DatabaseModelFactoryOptions

The options specifying which metadata to read.

Returns

The database model.

Implements

Applies to