Skip to main content

EFDataConnection Members

A connection to an Entity Framework data source.

Constructors

Name Description
EFDataConnection(String, EFConnectionParameters) Initializes a new instance of the EFDataConnection class with the specified connection name and parameters.

Properties

Name Description
ConnectionParameters Specifies parameters used to establish a connection.
ConnectionString Specifies a connection string used to connect to data.
ConnectionStringsProvider Specifies the connection string provider for an EFDataConnection.
EFContextProvider
IsConnected Specifies whether or not the data connection is currently active.
Name Specifies the name of a data connection.
SolutionTypesProvider Specifies the solution types provider for an EFDataConnection.
StoreConnectionNameOnly Specifies whether to store connection settings in addition to the data connection name.

Methods

Name Description
Close() Closes the connection to an Entity Framework data source.
CreateConnectionString() Creates a connection string used by an Entity Framework data source to establish a connection to a data base.
CreateDataConnectionParameters() Creates the connection parameters for an Entity Framework data source.
Dispose() Releases all resources used by an EFDataConnection.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetDBSchema() Returns the schema of the data source that is connected using the current EFDataConnection.
GetDBSchema(String[]) Returns the schema of the data source that is connected using the current EFDataConnection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Open() Opens the data connection session.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also