Package system.data.entityclient
Class EntityCommand
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DbCommand
-
- system.data.entityclient.EntityCommand
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected
public class EntityCommand extends DbCommand
The base .NET class managing System.Data.EntityClient.EntityCommand, 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.EntityClient.EntityCommand
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.EntityClient.EntityCommandstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description EntityCommand()EntityCommand(java.lang.Object instance)Internal constructor.EntityCommand(java.lang.String statement)EntityCommand(java.lang.String statement, EntityConnection connection)EntityCommand(java.lang.String statement, EntityConnection connection, EntityTransaction transaction)
-
Method Summary
-
Methods inherited from class system.data.common.DbCommand
CreateParameter, ExecuteReader, ExecuteReader, getCommandText, getCommandTimeout, getCommandType, getConnection, getDesignTimeVisible, getParameters, getTransaction, getUpdatedRowSource, setCommandText, setCommandTimeout, setCommandType, setConnection, setDesignTimeVisible, setTransaction, setUpdatedRowSource
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
-
-
-
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.EntityClient.EntityCommand- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EntityCommand
public EntityCommand(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
EntityCommand
public EntityCommand() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
EntityCommand
public EntityCommand(java.lang.String statement) throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
EntityCommand
public EntityCommand(java.lang.String statement, EntityConnection connection) throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
EntityCommand
public EntityCommand(java.lang.String statement, EntityConnection connection, EntityTransaction transaction) throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDbCommand- 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 classDbCommand- 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 classDbCommand- 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 classDbCommand- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDbCommand
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDbCommand- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static EntityCommand cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoEntityCommand, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
EntityCommandinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ExecuteNonQuery
public int ExecuteNonQuery() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ProviderIncompatibleException, EntityCommandExecutionException, SynchronizationLockException, MetadataException- Overrides:
ExecuteNonQueryin classDbCommand- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionProviderIncompatibleExceptionEntityCommandExecutionExceptionSynchronizationLockExceptionMetadataException
-
ExecuteReaderNewEntityCommand
public EntityDataReader ExecuteReaderNewEntityCommand() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ProviderIncompatibleException, EntityCommandExecutionException, MetadataException, SynchronizationLockException, CultureNotFoundException, FileNotFoundException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionProviderIncompatibleExceptionEntityCommandExecutionExceptionMetadataExceptionSynchronizationLockExceptionCultureNotFoundExceptionFileNotFoundException
-
ExecuteReaderNewEntityCommand
public EntityDataReader ExecuteReaderNewEntityCommand(CommandBehavior behavior) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, FormatException, ProviderIncompatibleException, EntityCommandExecutionException, MetadataException, SynchronizationLockException, LockRecursionException, MissingMethodException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionFormatExceptionProviderIncompatibleExceptionEntityCommandExecutionExceptionMetadataExceptionSynchronizationLockExceptionLockRecursionExceptionMissingMethodException
-
CreateParameterNewEntityCommand
public EntityParameter CreateParameterNewEntityCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ExecuteScalar
public NetObject ExecuteScalar() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ProviderIncompatibleException, EntityCommandExecutionException, SynchronizationLockException, MetadataException
- Overrides:
ExecuteScalarin classDbCommand- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionProviderIncompatibleExceptionEntityCommandExecutionExceptionSynchronizationLockExceptionMetadataException
-
ToTraceString
public java.lang.String ToTraceString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, KeyNotFoundException, SynchronizationLockException, MetadataException, EntitySqlException, ProviderIncompatibleException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionKeyNotFoundExceptionSynchronizationLockExceptionMetadataExceptionEntitySqlExceptionProviderIncompatibleExceptionNotSupportedException
-
Cancel
public void Cancel() throws java.lang.Throwable
-
Prepare
public void Prepare() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, KeyNotFoundException, SynchronizationLockException, MetadataException, EntitySqlException, ProviderIncompatibleException, NotSupportedException- Overrides:
Preparein classDbCommand- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionKeyNotFoundExceptionSynchronizationLockExceptionMetadataExceptionEntitySqlExceptionProviderIncompatibleExceptionNotSupportedException
-
getEnablePlanCaching
public boolean getEnablePlanCaching() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setEnablePlanCaching
public void setEnablePlanCaching(boolean EnablePlanCaching) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
getCommandTree
public DbCommandTree getCommandTree() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
setCommandTree
public void setCommandTree(DbCommandTree CommandTree) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
getConnectionNewEntityCommand
public EntityConnection getConnectionNewEntityCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConnection
public void setConnection(EntityConnection Connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
getParametersNewEntityCommand
public EntityParameterCollection getParametersNewEntityCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTransactionNewEntityCommand
public EntityTransaction getTransactionNewEntityCommand() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTransaction
public void setTransaction(EntityTransaction Transaction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException
-
-