Szerkesztés

Megosztás a következőn keresztül:


EntityStoreSchemaGenerator.CreateStoreSchemaConnection Method

Definition

Creates an EntityConnection loaded with the providers metadata for the store schema.

Overloads

CreateStoreSchemaConnection(String, String)

Creates an EntityConnection loaded with the providers metadata for the store schema.

CreateStoreSchemaConnection(String, String, Version)

Creates an EntityConnection loaded with the providers metadata for the store schema. Note that the targetEntityFrameworkVersion parameter uses internal EntityFramework version numbers as described in the EntityFrameworkVersions class.

CreateStoreSchemaConnection(String, String)

Creates an EntityConnection loaded with the providers metadata for the store schema.

public:
 static System::Data::EntityClient::EntityConnection ^ CreateStoreSchemaConnection(System::String ^ providerInvariantName, System::String ^ connectionString);
public static System.Data.EntityClient.EntityConnection CreateStoreSchemaConnection (string providerInvariantName, string connectionString);
static member CreateStoreSchemaConnection : string * string -> System.Data.EntityClient.EntityConnection
Public Shared Function CreateStoreSchemaConnection (providerInvariantName As String, connectionString As String) As EntityConnection

Parameters

providerInvariantName
String

The invariant name of a provider.

connectionString
String

The connection for the providers connection.

Returns

An EntityConnection that can query the ConceptualSchemaDefinition for the provider.

Applies to

CreateStoreSchemaConnection(String, String, Version)

Creates an EntityConnection loaded with the providers metadata for the store schema. Note that the targetEntityFrameworkVersion parameter uses internal EntityFramework version numbers as described in the EntityFrameworkVersions class.

public:
 static System::Data::EntityClient::EntityConnection ^ CreateStoreSchemaConnection(System::String ^ providerInvariantName, System::String ^ connectionString, Version ^ targetEntityFrameworkVersion);
public static System.Data.EntityClient.EntityConnection CreateStoreSchemaConnection (string providerInvariantName, string connectionString, Version targetEntityFrameworkVersion);
static member CreateStoreSchemaConnection : string * string * Version -> System.Data.EntityClient.EntityConnection
Public Shared Function CreateStoreSchemaConnection (providerInvariantName As String, connectionString As String, targetEntityFrameworkVersion As Version) As EntityConnection

Parameters

providerInvariantName
String

The provider invariant name.

connectionString
String

The connection for the providers connection.

targetEntityFrameworkVersion
Version

The internal Entity Framework version that is being targeted.

Returns

An EntityConnection that can query the ConceptualSchemaDefinition for the provider.

Applies to