public class ObjectContext extends NetObject implements java.lang.AutoCloseable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.Objects.ObjectContext
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.Objects.ObjectContext
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ObjectContext() |
ObjectContext(EntityConnection connection) |
ObjectContext(java.lang.Object instance)
Internal constructor.
|
ObjectContext(java.lang.String connectionString) |
| Modifier and Type | Method and Description |
|---|---|
void |
AcceptAllChanges() |
void |
AddObject(java.lang.String entitySetName,
NetObject entity) |
void |
addObjectMaterialized(ObjectMaterializedEventHandler handler) |
void |
addSavingChanges(EventHandler handler) |
void |
ApplyPropertyChanges(java.lang.String entitySetName,
NetObject changed) |
void |
Attach(IEntityWithKey entity) |
void |
AttachTo(java.lang.String entitySetName,
NetObject entity) |
static ObjectContext |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ObjectContext, a cast assert is made to check if types are compatible. |
void |
close() |
void |
CreateDatabase() |
java.lang.String |
CreateDatabaseScript() |
EntityKey |
CreateEntityKey(java.lang.String entitySetName,
NetObject entity) |
<TEntity extends IJCOBridgeReflected> |
CreateObjectSet() |
<TEntity extends IJCOBridgeReflected> |
CreateObjectSet(java.lang.String entitySetName) |
void |
CreateProxyTypes(IEnumerable_1 types) |
<T extends IJCOBridgeReflected> |
CreateQuery(java.lang.String queryString,
ObjectParameter... parameters) |
boolean |
DatabaseExists() |
void |
DeleteDatabase() |
void |
DeleteObject(NetObject entity) |
void |
Detach(NetObject entity) |
void |
DetectChanges() |
void |
Dispose() |
<TElement extends IJCOBridgeReflected> |
ExecuteFunction(java.lang.String functionName,
MergeOption mergeOption,
ObjectParameter... parameters) |
int |
ExecuteFunction(java.lang.String functionName,
ObjectParameter... parameters) |
int |
ExecuteStoreCommand(java.lang.String commandText,
NetObject... parameters) |
<TElement extends IJCOBridgeReflected> |
ExecuteStoreQuery(java.lang.String commandText,
NetObject... parameters) |
<TEntity extends IJCOBridgeReflected> |
ExecuteStoreQuery(java.lang.String commandText,
java.lang.String entitySetName,
MergeOption mergeOption,
NetObject... parameters) |
Nullable_1 |
getCommandTimeout() |
DbConnection |
getConnection() |
ObjectContextOptions |
getContextOptions() |
java.lang.String |
getDefaultContainerName() |
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
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
static IEnumerable_1 |
GetKnownProxyTypes() |
MetadataWorkspace |
getMetadataWorkspace() |
NetObject |
GetObjectByKey(EntityKey key) |
ObjectStateManager |
getObjectStateManager() |
static NetType |
GetObjectType(NetType type) |
void |
LoadProperty(NetObject entity,
java.lang.String navigationProperty) |
void |
LoadProperty(NetObject entity,
java.lang.String navigationProperty,
MergeOption mergeOption) |
<TEntity extends IJCOBridgeReflected> |
LoadProperty(TEntity entity,
Expression_1 selector) |
<TEntity extends IJCOBridgeReflected> |
LoadProperty(TEntity entity,
Expression_1 selector,
MergeOption mergeOption) |
void |
Refresh(RefreshMode refreshMode,
IEnumerable collection) |
void |
Refresh(RefreshMode refreshMode,
NetObject entity) |
void |
removeObjectMaterialized(ObjectMaterializedEventHandler handler) |
void |
removeSavingChanges(EventHandler handler) |
int |
SaveChanges() |
int |
SaveChanges(boolean acceptChangesDuringSave) |
int |
SaveChanges(SaveOptions options) |
void |
setCommandTimeout(Nullable_1 CommandTimeout) |
void |
setDefaultContainerName(java.lang.String DefaultContainerName) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
<TElement extends IJCOBridgeReflected> |
Translate(DbDataReader reader) |
<TEntity extends IJCOBridgeReflected> |
Translate(DbDataReader reader,
java.lang.String entitySetName,
MergeOption mergeOption) |
boolean |
TryGetObjectByKey(EntityKey key,
JCORefOut<NetObject> value) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic ObjectContext()
throws java.lang.Throwable
java.lang.Throwablepublic ObjectContext(EntityConnection connection) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, MetadataException, ArgumentOutOfRangeException, SynchronizationLockException, LockRecursionException, CultureNotFoundException, IndexOutOfRangeException, ConfigurationErrorsException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionConfigurationErrorsExceptionOutOfMemoryExceptionpublic ObjectContext(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ObjectContext(java.lang.String connectionString)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
OutOfMemoryException,
ConfigurationErrorsException,
NotSupportedException,
ConfigurationException,
ProviderIncompatibleException,
EntityException,
MulticastNotSupportedException,
MetadataException,
SynchronizationLockException,
LockRecursionException,
CultureNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionProviderIncompatibleExceptionEntityExceptionMulticastNotSupportedExceptionMetadataExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionpublic void AcceptAllChanges()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void AddObject(java.lang.String entitySetName,
NetObject entity)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
SynchronizationLockException,
LockRecursionException,
MappingException,
MetadataException,
NotSupportedException,
OutOfMemoryException,
TypeLoadException,
NullReferenceException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionSynchronizationLockExceptionLockRecursionExceptionMappingExceptionMetadataExceptionNotSupportedExceptionOutOfMemoryExceptionTypeLoadExceptionNullReferenceExceptionpublic void addObjectMaterialized(ObjectMaterializedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addSavingChanges(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void ApplyPropertyChanges(java.lang.String entitySetName,
NetObject changed)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
SynchronizationLockException,
MappingException,
MetadataException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNotSupportedExceptionpublic void Attach(IEntityWithKey entity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SynchronizationLockException, MappingException, MetadataException, NotSupportedException, NullReferenceException, LockRecursionException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNotSupportedExceptionNullReferenceExceptionLockRecursionExceptionpublic void AttachTo(java.lang.String entitySetName,
NetObject entity)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
SynchronizationLockException,
LockRecursionException,
MappingException,
MetadataException,
NotSupportedException,
NullReferenceException,
OutOfMemoryException,
TypeLoadException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionSynchronizationLockExceptionLockRecursionExceptionMappingExceptionMetadataExceptionNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionTypeLoadExceptionpublic static ObjectContext cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ObjectContext, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedObjectContext instancejava.lang.Throwable - in case of error during cast operationpublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exceptionpublic void CreateDatabase()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
MetadataException,
ArgumentOutOfRangeException,
SynchronizationLockException,
LockRecursionException,
CultureNotFoundException,
IndexOutOfRangeException,
ProviderIncompatibleException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionProviderIncompatibleExceptionpublic java.lang.String CreateDatabaseScript()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
MetadataException,
ArgumentOutOfRangeException,
SynchronizationLockException,
LockRecursionException,
CultureNotFoundException,
IndexOutOfRangeException,
ProviderIncompatibleException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionProviderIncompatibleExceptionpublic EntityKey CreateEntityKey(java.lang.String entitySetName, NetObject entity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, MappingException, MetadataException, LockRecursionException, SynchronizationLockException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionLockRecursionExceptionSynchronizationLockExceptionNotSupportedExceptionpublic <TEntity extends IJCOBridgeReflected> ObjectSet_1 CreateObjectSet() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, MappingException, InvalidOperationException, MetadataException, NotSupportedException, ObjectDisposedException, LockRecursionException, SynchronizationLockException, NotImplementedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionMappingExceptionInvalidOperationExceptionMetadataExceptionNotSupportedExceptionObjectDisposedExceptionLockRecursionExceptionSynchronizationLockExceptionNotImplementedExceptionpublic <TEntity extends IJCOBridgeReflected> ObjectSet_1 CreateObjectSet(java.lang.String entitySetName) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, MappingException, MetadataException, SynchronizationLockException, NotImplementedException, NotSupportedException
public void CreateProxyTypes(IEnumerable_1 types) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, MissingManifestResourceException, MappingException, OutOfMemoryException, InvalidOperationException, MetadataException, SynchronizationLockException, ObjectDisposedException, LockRecursionException, NotImplementedException, NotSupportedException, PlatformNotSupportedException, CryptographicException, NullReferenceException, TypeLoadException, SecurityException, MissingMethodException, TargetInvocationException, MulticastNotSupportedException, KeyNotFoundException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionMappingExceptionOutOfMemoryExceptionInvalidOperationExceptionMetadataExceptionSynchronizationLockExceptionObjectDisposedExceptionLockRecursionExceptionNotImplementedExceptionNotSupportedExceptionPlatformNotSupportedExceptionCryptographicExceptionNullReferenceExceptionTypeLoadExceptionSecurityExceptionMissingMethodExceptionTargetInvocationExceptionMulticastNotSupportedExceptionKeyNotFoundExceptionpublic <T extends IJCOBridgeReflected> ObjectQuery_1 CreateQuery(java.lang.String queryString, ObjectParameter... parameters) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, MappingException, MetadataException, ObjectDisposedException, LockRecursionException, SynchronizationLockException, NotImplementedException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionMappingExceptionMetadataExceptionObjectDisposedExceptionLockRecursionExceptionSynchronizationLockExceptionNotImplementedExceptionNotSupportedExceptionpublic boolean DatabaseExists()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
MetadataException,
ArgumentOutOfRangeException,
SynchronizationLockException,
LockRecursionException,
CultureNotFoundException,
IndexOutOfRangeException,
ProviderIncompatibleException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionProviderIncompatibleExceptionpublic void DeleteDatabase()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
MetadataException,
ArgumentOutOfRangeException,
SynchronizationLockException,
LockRecursionException,
CultureNotFoundException,
IndexOutOfRangeException,
ProviderIncompatibleException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionProviderIncompatibleExceptionpublic void DeleteObject(NetObject entity) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException
public void Detach(NetObject entity) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, MetadataException, SynchronizationLockException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionMetadataExceptionSynchronizationLockExceptionNotSupportedExceptionpublic void DetectChanges()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
SynchronizationLockException,
MetadataException,
MissingManifestResourceException,
NotSupportedException,
EntityException,
NotImplementedException,
NullReferenceException,
KeyNotFoundException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionSynchronizationLockExceptionMetadataExceptionMissingManifestResourceExceptionNotSupportedExceptionEntityExceptionNotImplementedExceptionNullReferenceExceptionKeyNotFoundExceptionpublic void Dispose()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionpublic <TElement extends IJCOBridgeReflected> ObjectResult_1 ExecuteFunction(java.lang.String functionName, MergeOption mergeOption, ObjectParameter... parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, MappingException, MetadataException, SynchronizationLockException, NotSupportedException, MulticastNotSupportedException, NullReferenceException, KeyNotFoundException, EntitySqlException, ProviderIncompatibleException, EntityCommandExecutionException, MissingMethodException, TargetInvocationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionNotSupportedExceptionMulticastNotSupportedExceptionNullReferenceExceptionKeyNotFoundExceptionEntitySqlExceptionProviderIncompatibleExceptionEntityCommandExecutionExceptionMissingMethodExceptionTargetInvocationExceptionpublic int ExecuteFunction(java.lang.String functionName,
ObjectParameter... parameters)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
MappingException,
MetadataException,
SynchronizationLockException,
NotSupportedException,
MulticastNotSupportedException,
FileNotFoundException,
PlatformNotSupportedException,
TransactionException,
TransactionManagerCommunicationException,
EntityCommandExecutionException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionNotSupportedExceptionMulticastNotSupportedExceptionFileNotFoundExceptionPlatformNotSupportedExceptionTransactionExceptionTransactionManagerCommunicationExceptionEntityCommandExecutionExceptionpublic int ExecuteStoreCommand(java.lang.String commandText,
NetObject... parameters)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
FormatException,
MappingException,
MetadataException,
SynchronizationLockException,
FileNotFoundException,
NotSupportedException,
PlatformNotSupportedException,
TransactionException,
TransactionManagerCommunicationException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionFileNotFoundExceptionNotSupportedExceptionPlatformNotSupportedExceptionTransactionExceptionTransactionManagerCommunicationExceptionpublic <TElement extends IJCOBridgeReflected> ObjectResult_1 ExecuteStoreQuery(java.lang.String commandText, NetObject... parameters) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, MappingException, MetadataException, MissingManifestResourceException, SynchronizationLockException, ObjectDisposedException, LockRecursionException, ArgumentException, NotImplementedException, FormatException, NotSupportedException, NullReferenceException, KeyNotFoundException, EntityCommandExecutionException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, ProviderIncompatibleException
java.lang.ThrowableInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionMappingExceptionMetadataExceptionMissingManifestResourceExceptionSynchronizationLockExceptionObjectDisposedExceptionLockRecursionExceptionArgumentExceptionNotImplementedExceptionFormatExceptionNotSupportedExceptionNullReferenceExceptionKeyNotFoundExceptionEntityCommandExecutionExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionProviderIncompatibleExceptionpublic <TEntity extends IJCOBridgeReflected> ObjectResult_1 ExecuteStoreQuery(java.lang.String commandText, java.lang.String entitySetName, MergeOption mergeOption, NetObject... parameters) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, MappingException, MetadataException, SynchronizationLockException, LockRecursionException, NotSupportedException, NullReferenceException, KeyNotFoundException, EntityCommandExecutionException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, ProviderIncompatibleException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionLockRecursionExceptionNotSupportedExceptionNullReferenceExceptionKeyNotFoundExceptionEntityCommandExecutionExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionProviderIncompatibleExceptionpublic Nullable_1 getCommandTimeout() throws java.lang.Throwable
java.lang.Throwablepublic DbConnection getConnection() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public ObjectContextOptions getContextOptions() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getDefaultContainerName()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static IEnumerable_1 GetKnownProxyTypes() throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, InvalidOperationException, LockRecursionException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, SynchronizationLockException
java.lang.ThrowableArgumentOutOfRangeExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionInvalidOperationExceptionLockRecursionExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionSynchronizationLockExceptionpublic MetadataWorkspace getMetadataWorkspace() throws java.lang.Throwable
java.lang.Throwablepublic NetObject GetObjectByKey(EntityKey key) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, MappingException, MetadataException, SynchronizationLockException, LockRecursionException, NotSupportedException, KeyNotFoundException, FormatException, OutOfMemoryException, ProviderIncompatibleException, EntityCommandExecutionException, ObjectNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionLockRecursionExceptionNotSupportedExceptionKeyNotFoundExceptionFormatExceptionOutOfMemoryExceptionProviderIncompatibleExceptionEntityCommandExecutionExceptionObjectNotFoundExceptionpublic ObjectStateManager getObjectStateManager() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionpublic static NetType GetObjectType(NetType type) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void LoadProperty(NetObject entity, java.lang.String navigationProperty) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SynchronizationLockException, IndexOutOfRangeException, MappingException, MetadataException, NotSupportedException
public void LoadProperty(NetObject entity, java.lang.String navigationProperty, MergeOption mergeOption) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SynchronizationLockException, IndexOutOfRangeException, MappingException, MetadataException, NotSupportedException
public <TEntity extends IJCOBridgeReflected> void LoadProperty(TEntity entity, Expression_1 selector) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, SynchronizationLockException, MappingException, MetadataException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNotSupportedExceptionpublic <TEntity extends IJCOBridgeReflected> void LoadProperty(TEntity entity, Expression_1 selector, MergeOption mergeOption) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ArgumentOutOfRangeException, IndexOutOfRangeException, SynchronizationLockException, MappingException, MetadataException, NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNotSupportedExceptionpublic void Refresh(RefreshMode refreshMode, IEnumerable collection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, SynchronizationLockException, MappingException, MetadataException, NullReferenceException, NotSupportedException, KeyNotFoundException, ProviderIncompatibleException, EntityCommandCompilationException, EntityCommandExecutionException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNullReferenceExceptionNotSupportedExceptionKeyNotFoundExceptionProviderIncompatibleExceptionEntityCommandCompilationExceptionEntityCommandExecutionExceptionpublic void Refresh(RefreshMode refreshMode, NetObject entity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, SynchronizationLockException, MappingException, MetadataException, NullReferenceException, NotSupportedException, KeyNotFoundException, ProviderIncompatibleException, EntityCommandCompilationException, EntityCommandExecutionException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNullReferenceExceptionNotSupportedExceptionKeyNotFoundExceptionProviderIncompatibleExceptionEntityCommandCompilationExceptionEntityCommandExecutionExceptionpublic void removeObjectMaterialized(ObjectMaterializedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeSavingChanges(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic int SaveChanges()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
SynchronizationLockException,
MissingManifestResourceException,
MetadataException,
EntityException,
KeyNotFoundException,
ObjectDisposedException,
NotSupportedException
public int SaveChanges(boolean acceptChangesDuringSave)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
SynchronizationLockException,
MissingManifestResourceException,
MetadataException,
EntityException,
KeyNotFoundException,
ObjectDisposedException,
NotSupportedException
public int SaveChanges(SaveOptions options) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, SynchronizationLockException, MetadataException, MissingManifestResourceException, NotSupportedException, EntityException, NotImplementedException, NullReferenceException, KeyNotFoundException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, FileNotFoundException, PlatformNotSupportedException, TransactionException, TransactionManagerCommunicationException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionSynchronizationLockExceptionMetadataExceptionMissingManifestResourceExceptionNotSupportedExceptionEntityExceptionNotImplementedExceptionNullReferenceExceptionKeyNotFoundExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionFileNotFoundExceptionPlatformNotSupportedExceptionTransactionExceptionTransactionManagerCommunicationExceptionpublic void setCommandTimeout(Nullable_1 CommandTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
public void setDefaultContainerName(java.lang.String DefaultContainerName)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
MappingException,
InvalidOperationException,
MetadataException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic <TElement extends IJCOBridgeReflected> ObjectResult_1 Translate(DbDataReader reader) throws java.lang.Throwable, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, MappingException, MetadataException, ObjectDisposedException, LockRecursionException, SynchronizationLockException, NotImplementedException, NotSupportedException, AbandonedMutexException, FileNotFoundException, KeyNotFoundException, EntityCommandExecutionException, OutOfMemoryException, MissingMethodException, TargetInvocationException, ProviderIncompatibleException
java.lang.ThrowableInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionMappingExceptionMetadataExceptionObjectDisposedExceptionLockRecursionExceptionSynchronizationLockExceptionNotImplementedExceptionNotSupportedExceptionAbandonedMutexExceptionFileNotFoundExceptionKeyNotFoundExceptionEntityCommandExecutionExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionProviderIncompatibleExceptionpublic <TEntity extends IJCOBridgeReflected> ObjectResult_1 Translate(DbDataReader reader, java.lang.String entitySetName, MergeOption mergeOption) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, MappingException, MetadataException, LockRecursionException, SynchronizationLockException, NotSupportedException, FileNotFoundException, KeyNotFoundException, EntityCommandExecutionException, OutOfMemoryException, IndexOutOfRangeException, MissingMethodException, TargetInvocationException, ProviderIncompatibleException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionLockRecursionExceptionSynchronizationLockExceptionNotSupportedExceptionFileNotFoundExceptionKeyNotFoundExceptionEntityCommandExecutionExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionProviderIncompatibleExceptionpublic boolean TryGetObjectByKey(EntityKey key, JCORefOut<NetObject> value) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, KeyNotFoundException, InvalidOperationException, IndexOutOfRangeException, MappingException, MetadataException, SynchronizationLockException, ObjectDisposedException, LockRecursionException, NotImplementedException, NotSupportedException, FormatException, ProviderIncompatibleException, EntityCommandExecutionException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionKeyNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionObjectDisposedExceptionLockRecursionExceptionNotImplementedExceptionNotSupportedExceptionFormatExceptionProviderIncompatibleExceptionEntityCommandExecutionException