Sugerir traducción
 
Otros han sugerido:

progress indicator
No hay más sugerencias.
Evaluar y enviar comentarios
Contraer todo/Expandir todo Contraer todo
Ver contenido:  en paraleloVer contenido: en paralelo
.NET Framework Class Library
EntityConnection..::.StoreConnection Property

Provides access to the underlying data source connection that is used by the EntityConnection object.

Namespace:  System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)
Visual Basic
Public ReadOnly Property StoreConnection As DbConnection
    Get
C#
public DbConnection StoreConnection { get; }
Visual C++
public:
property DbConnection^ StoreConnection {
    DbConnection^ get ();
}
F#
member StoreConnection : DbConnection

Property Value

Type: System.Data.Common..::.DbConnection
The DbConnection for the data source connection.

If the EntityConnection object is closed, the returned data source connection will be closed. If it is open, an open data source connection will be returned. If the data source connection information was set, the returned value is always non-null. If there is no data source connection information (for example, if the default constructor was used and no connection string was set afterwards), then a null reference is returned.

The same data source connection used by the Entity Framework can be shared with other parts of an application. The data source connection is returned as a DbConnection object from the Connection property of ObjectContext, or from the StoreConnection property of EntityConnection.

.NET Framework

Supported in: 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Biblioteca de clases de .NET Framework
EntityConnection..::.StoreConnection (Propiedad)

Proporciona acceso a la conexión de origen de datos subyacente usada por el objeto EntityConnection.

Espacio de nombres:  System.Data.EntityClient
Ensamblado:  System.Data.Entity (en System.Data.Entity.dll)
Visual Basic
Public ReadOnly Property StoreConnection As DbConnection
    Get
C#
public DbConnection StoreConnection { get; }
Visual C++
public:
property DbConnection^ StoreConnection {
    DbConnection^ get ();
}
F#
member StoreConnection : DbConnection

Valor de propiedad

Tipo: System.Data.Common..::.DbConnection
Objeto DbConnection de la conexión de origen de datos.

Si el objeto EntityConnection está cerrado, la conexión de origen de datos devuelta estará cerrada. Si está abierto, se devolverá una conexión de origen de datos abierta. Si se ha establecido la información de conexión de origen de datos, siempre se devuelve un valor no null. Si no hay información de conexión de origen de datos (por ejemplo, si se ha usado el constructor predeterminado y no se ha establecido después ninguna cadena de conexión), se devuelve una referencia nula.

La misma conexión de origen de datos usada por Entity Framework se puede compartir con otras partes de una aplicación. La conexión de origen de datos se devuelve como un objeto DbConnection desde la propiedad Connection de ObjectContext, o desde la propiedad StoreConnection de EntityConnection.

.NET Framework

Compatible con: 4, 3.5 SP1

.NET Framework Client Profile

Compatible con: 4

Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2

.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.
Contenido de la comunidad   ¿Qué es Community Content?
Agregar contenido nuevo RSS  Anotaciones
Processing
© 2012 Microsoft. Reservados todos los derechos. Términos de uso | Marcas Registradas | Privacidad
Page view tracker