public class EntityConnection extends DbConnection
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.EntityClient.EntityConnection
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Entity
|
static java.lang.String |
className
Qualified class name: System.Data.EntityClient.EntityConnection
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EntityConnection() |
EntityConnection(MetadataWorkspace workspace,
DbConnection connection) |
EntityConnection(java.lang.Object instance)
Internal constructor.
|
EntityConnection(java.lang.String connectionString) |
| Modifier and Type | Method and Description |
|---|---|
EntityTransaction |
BeginTransactionNewEntityConnection() |
EntityTransaction |
BeginTransactionNewEntityConnection(IsolationLevel isolationLevel) |
static EntityConnection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EntityConnection, a cast assert is made to check if types are compatible. |
void |
ChangeDatabase(java.lang.String databaseName) |
void |
Close() |
EntityCommand |
CreateCommandNewEntityConnection() |
void |
EnlistTransaction(Transaction transaction) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
MetadataWorkspace |
GetMetadataWorkspace() |
DbConnection |
getStoreConnection() |
void |
Open() |
void |
setJCOInstance(JCObject instance) |
addStateChange, BeginTransaction, BeginTransaction, CreateCommand, getConnectionString, getConnectionTimeout, getDatabase, getDataSource, GetSchema, GetSchema, GetSchema, GetSchema, getServerVersion, getState, OpenAsync, OpenAsync, removeStateChange, setConnectionStringaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EntityConnection()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
ArgumentException,
InvalidOperationException,
MissingManifestResourceException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
ConfigurationErrorsException,
NotSupportedException,
ConfigurationException,
ProviderIncompatibleException,
EntityException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentExceptionInvalidOperationExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionProviderIncompatibleExceptionEntityExceptionpublic EntityConnection(MetadataWorkspace workspace, DbConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, MappingException, InvalidOperationException, MetadataException
public EntityConnection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic EntityConnection(java.lang.String connectionString)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
FormatException,
ArgumentException,
InvalidOperationException,
MissingManifestResourceException,
IndexOutOfRangeException,
ObjectDisposedException,
AbandonedMutexException,
ConfigurationErrorsException,
NotImplementedException,
NotSupportedException,
ConfigurationException,
ProviderIncompatibleException,
EntityException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentExceptionInvalidOperationExceptionMissingManifestResourceExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionConfigurationErrorsExceptionNotImplementedExceptionNotSupportedExceptionConfigurationExceptionProviderIncompatibleExceptionEntityExceptionpublic EntityTransaction BeginTransactionNewEntityConnection() throws java.lang.Throwable
java.lang.Throwablepublic EntityTransaction BeginTransactionNewEntityConnection(IsolationLevel isolationLevel) throws java.lang.Throwable
java.lang.Throwablepublic static EntityConnection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EntityConnection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEntityConnection instancejava.lang.Throwable - in case of error during cast operationpublic void ChangeDatabase(java.lang.String databaseName)
throws java.lang.Throwable,
NotSupportedException
ChangeDatabase in class DbConnectionjava.lang.ThrowableNotSupportedExceptionpublic void Close()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
InvalidOperationException,
ObjectDisposedException,
ArgumentException,
EntityException
Close in class DbConnectionjava.lang.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionObjectDisposedExceptionArgumentExceptionEntityExceptionpublic EntityCommand CreateCommandNewEntityConnection() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void EnlistTransaction(Transaction transaction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, ConfigurationErrorsException, TransactionException, EntityException
EnlistTransaction in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionConfigurationErrorsExceptionTransactionExceptionEntityExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class DbConnectionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class DbConnectionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class DbConnectionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class DbConnectionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class DbConnectionJCType representing the CLR Type of the instantiated Classpublic MetadataWorkspace GetMetadataWorkspace() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, MappingException, InvalidOperationException, MetadataException, ArgumentException, ObjectDisposedException, AbandonedMutexException, LockRecursionException, SynchronizationLockException, CultureNotFoundException, NotSupportedException, FileNotFoundException, NotImplementedException, NullReferenceException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionMappingExceptionInvalidOperationExceptionMetadataExceptionArgumentExceptionObjectDisposedExceptionAbandonedMutexExceptionLockRecursionExceptionSynchronizationLockExceptionCultureNotFoundExceptionNotSupportedExceptionFileNotFoundExceptionNotImplementedExceptionNullReferenceExceptionpublic DbConnection getStoreConnection() throws java.lang.Throwable
java.lang.Throwablepublic void Open()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
EntityException,
MetadataException,
SynchronizationLockException,
LockRecursionException
Open in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionEntityExceptionMetadataExceptionSynchronizationLockExceptionLockRecursionExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class DbConnection