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.String
assemblyFullName
Fully assembly qualified name: System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Data.Entitystatic java.lang.String
className
Qualified class name: System.Data.EntityClient.EntityCommandstatic JCType
classType
The 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.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
EntityCommand
public EntityCommand() throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
EntityCommand
public EntityCommand(java.lang.String statement) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
EntityCommand
public EntityCommand(java.lang.String statement, EntityConnection connection) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
EntityCommand
public EntityCommand(java.lang.String statement, EntityConnection connection, EntityTransaction transaction) throws java.lang.Throwable, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDbCommand
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDbCommand
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDbCommand
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDbCommand
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDbCommand
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDbCommand
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static EntityCommand cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoEntityCommand
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
EntityCommand
instance- 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:
ExecuteNonQuery
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ProviderIncompatibleException
EntityCommandExecutionException
SynchronizationLockException
MetadataException
-
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.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
NotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ProviderIncompatibleException
EntityCommandExecutionException
MetadataException
SynchronizationLockException
CultureNotFoundException
FileNotFoundException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
ArgumentOutOfRangeException
FormatException
ProviderIncompatibleException
EntityCommandExecutionException
MetadataException
SynchronizationLockException
LockRecursionException
MissingMethodException
-
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:
ExecuteScalar
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
NotSupportedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ProviderIncompatibleException
EntityCommandExecutionException
SynchronizationLockException
MetadataException
-
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.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
KeyNotFoundException
SynchronizationLockException
MetadataException
EntitySqlException
ProviderIncompatibleException
NotSupportedException
-
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:
Prepare
in classDbCommand
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
KeyNotFoundException
SynchronizationLockException
MetadataException
EntitySqlException
ProviderIncompatibleException
NotSupportedException
-
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
-
-