Package system.data.objects
Class ObjectContext
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.data.objects.ObjectContext
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class ObjectContext extends NetObject implements java.lang.AutoCloseable
The base .NET class managing System.Data.Objects.ObjectContext, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Objects.ObjectContext
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Data.Entitystatic java.lang.StringclassNameQualified class name: System.Data.Objects.ObjectContextstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ObjectContext()ObjectContext(java.lang.Object instance)Internal constructor.ObjectContext(java.lang.String connectionString)ObjectContext(EntityConnection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAcceptAllChanges()voidAddObject(java.lang.String entitySetName, NetObject entity)voidaddObjectMaterialized(ObjectMaterializedEventHandler handler)voidaddSavingChanges(EventHandler handler)voidApplyPropertyChanges(java.lang.String entitySetName, NetObject changed)voidAttach(IEntityWithKey entity)voidAttachTo(java.lang.String entitySetName, NetObject entity)static ObjectContextcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoObjectContext, a cast assert is made to check if types are compatible.voidclose()voidCreateDatabase()java.lang.StringCreateDatabaseScript()EntityKeyCreateEntityKey(java.lang.String entitySetName, NetObject entity)booleanDatabaseExists()voidDeleteDatabase()voidDeleteObject(NetObject entity)voidDetach(NetObject entity)voidDetectChanges()voidDispose()intExecuteFunction(java.lang.String functionName, ObjectParameter... parameters)intExecuteStoreCommand(java.lang.String commandText, NetObject... parameters)DbConnectiongetConnection()ObjectContextOptionsgetContextOptions()java.lang.StringgetDefaultContainerName()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeMetadataWorkspacegetMetadataWorkspace()NetObjectGetObjectByKey(EntityKey key)ObjectStateManagergetObjectStateManager()static NetTypeGetObjectType(NetType type)voidLoadProperty(NetObject entity, java.lang.String navigationProperty)voidLoadProperty(NetObject entity, java.lang.String navigationProperty, MergeOption mergeOption)voidRefresh(RefreshMode refreshMode, IEnumerable collection)voidRefresh(RefreshMode refreshMode, NetObject entity)voidremoveObjectMaterialized(ObjectMaterializedEventHandler handler)voidremoveSavingChanges(EventHandler handler)intSaveChanges()intSaveChanges(boolean acceptChangesDuringSave)intSaveChanges(SaveOptions options)voidsetDefaultContainerName(java.lang.String DefaultContainerName)voidsetJCOInstance(JCObject instance)booleanTryGetObjectByKey(EntityKey key, JCORefOut<NetObject> value)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Entity- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.Objects.ObjectContext- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectContext
public ObjectContext(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ObjectContext
public ObjectContext() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ObjectContext
public ObjectContext(EntityConnection connection) throws java.lang.Throwable, ArgumentNullException, MulticastNotSupportedException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, MetadataException, ArgumentOutOfRangeException, SynchronizationLockException, LockRecursionException, CultureNotFoundException, IndexOutOfRangeException, ConfigurationErrorsException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionMulticastNotSupportedExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionConfigurationErrorsExceptionOutOfMemoryException
-
ObjectContext
public 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- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionProviderIncompatibleExceptionEntityExceptionMulticastNotSupportedExceptionMetadataExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ObjectContext cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoObjectContext, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ObjectContextinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
DatabaseExists
public boolean DatabaseExists() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, MetadataException, ArgumentOutOfRangeException, SynchronizationLockException, LockRecursionException, CultureNotFoundException, IndexOutOfRangeException, ProviderIncompatibleException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionProviderIncompatibleException
-
TryGetObjectByKey
public 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
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionKeyNotFoundExceptionInvalidOperationExceptionIndexOutOfRangeExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionObjectDisposedExceptionLockRecursionExceptionNotImplementedExceptionNotSupportedExceptionFormatExceptionProviderIncompatibleExceptionEntityCommandExecutionException
-
ExecuteFunction
public 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- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionNotSupportedExceptionMulticastNotSupportedExceptionFileNotFoundExceptionPlatformNotSupportedExceptionTransactionExceptionTransactionManagerCommunicationExceptionEntityCommandExecutionException
-
ExecuteStoreCommand
public 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- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionFileNotFoundExceptionNotSupportedExceptionPlatformNotSupportedExceptionTransactionExceptionTransactionManagerCommunicationException
-
SaveChanges
public int SaveChanges() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, SynchronizationLockException, MissingManifestResourceException, MetadataException, EntityException, KeyNotFoundException, ObjectDisposedException, NotSupportedException
-
SaveChanges
public int SaveChanges(boolean acceptChangesDuringSave) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, SynchronizationLockException, MissingManifestResourceException, MetadataException, EntityException, KeyNotFoundException, ObjectDisposedException, NotSupportedException
-
SaveChanges
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
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionSynchronizationLockExceptionMetadataExceptionMissingManifestResourceExceptionNotSupportedExceptionEntityExceptionNotImplementedExceptionNullReferenceExceptionKeyNotFoundExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionFileNotFoundExceptionPlatformNotSupportedExceptionTransactionExceptionTransactionManagerCommunicationException
-
CreateEntityKey
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionMappingExceptionMetadataExceptionLockRecursionExceptionSynchronizationLockExceptionNotSupportedException
-
GetObjectByKey
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionMappingExceptionMetadataExceptionSynchronizationLockExceptionLockRecursionExceptionNotSupportedExceptionKeyNotFoundExceptionFormatExceptionOutOfMemoryExceptionProviderIncompatibleExceptionEntityCommandExecutionExceptionObjectNotFoundException
-
CreateDatabaseScript
public java.lang.String CreateDatabaseScript() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, MetadataException, ArgumentOutOfRangeException, SynchronizationLockException, LockRecursionException, CultureNotFoundException, IndexOutOfRangeException, ProviderIncompatibleException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionProviderIncompatibleException
-
GetObjectType
public static NetType GetObjectType(NetType type) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentNullException
-
AcceptAllChanges
public void AcceptAllChanges() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
AddObject
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- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionSynchronizationLockExceptionLockRecursionExceptionMappingExceptionMetadataExceptionNotSupportedExceptionOutOfMemoryExceptionTypeLoadExceptionNullReferenceException
-
ApplyPropertyChanges
public void ApplyPropertyChanges(java.lang.String entitySetName, NetObject changed) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, SynchronizationLockException, MappingException, MetadataException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNotSupportedException
-
Attach
public void Attach(IEntityWithKey entity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SynchronizationLockException, MappingException, MetadataException, NotSupportedException, NullReferenceException, LockRecursionException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNotSupportedExceptionNullReferenceExceptionLockRecursionException
-
AttachTo
public 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- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionSynchronizationLockExceptionLockRecursionExceptionMappingExceptionMetadataExceptionNotSupportedExceptionNullReferenceExceptionOutOfMemoryExceptionTypeLoadException
-
CreateDatabase
public void CreateDatabase() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, MetadataException, ArgumentOutOfRangeException, SynchronizationLockException, LockRecursionException, CultureNotFoundException, IndexOutOfRangeException, ProviderIncompatibleException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionProviderIncompatibleException
-
DeleteDatabase
public void DeleteDatabase() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, MetadataException, ArgumentOutOfRangeException, SynchronizationLockException, LockRecursionException, CultureNotFoundException, IndexOutOfRangeException, ProviderIncompatibleException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionMetadataExceptionArgumentOutOfRangeExceptionSynchronizationLockExceptionLockRecursionExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionProviderIncompatibleException
-
DeleteObject
public void DeleteObject(NetObject entity) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException
-
Detach
public void Detach(NetObject entity) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, NullReferenceException, MetadataException, SynchronizationLockException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionNullReferenceExceptionMetadataExceptionSynchronizationLockExceptionNotSupportedException
-
DetectChanges
public void DetectChanges() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, SynchronizationLockException, MetadataException, MissingManifestResourceException, NotSupportedException, EntityException, NotImplementedException, NullReferenceException, KeyNotFoundException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionSynchronizationLockExceptionMetadataExceptionMissingManifestResourceExceptionNotSupportedExceptionEntityExceptionNotImplementedExceptionNullReferenceExceptionKeyNotFoundException
-
Dispose
public void Dispose() throws java.lang.Throwable, ArgumentNullException, ArgumentException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentException
-
LoadProperty
public void LoadProperty(NetObject entity, java.lang.String navigationProperty) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, SynchronizationLockException, IndexOutOfRangeException, MappingException, MetadataException, NotSupportedException
-
LoadProperty
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
-
Refresh
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNullReferenceExceptionNotSupportedExceptionKeyNotFoundExceptionProviderIncompatibleExceptionEntityCommandCompilationExceptionEntityCommandExecutionException
-
Refresh
public 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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionSynchronizationLockExceptionMappingExceptionMetadataExceptionNullReferenceExceptionNotSupportedExceptionKeyNotFoundExceptionProviderIncompatibleExceptionEntityCommandCompilationExceptionEntityCommandExecutionException
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
getConnection
public DbConnection getConnection() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
getMetadataWorkspace
public MetadataWorkspace getMetadataWorkspace() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getContextOptions
public ObjectContextOptions getContextOptions() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getObjectStateManager
public ObjectStateManager getObjectStateManager() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullException
-
getDefaultContainerName
public java.lang.String getDefaultContainerName() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
setDefaultContainerName
public void setDefaultContainerName(java.lang.String DefaultContainerName) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException, MappingException, InvalidOperationException, MetadataException
-
addObjectMaterialized
public void addObjectMaterialized(ObjectMaterializedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeObjectMaterialized
public void removeObjectMaterialized(ObjectMaterializedEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addSavingChanges
public void addSavingChanges(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSavingChanges
public void removeSavingChanges(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-