Package system.data.entityclient
Class EntityDataReader
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.data.common.DbDataReader
-
- system.data.entityclient.EntityDataReader
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
public class EntityDataReader extends DbDataReader
The base .NET class managing System.Data.EntityClient.EntityDataReader, 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.EntityDataReader
Powered by JCOBridge: more info at https://www.jcobridge.com
- Version:
- 1.14.3.0
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: System.Data.Entitystatic String
className
Qualified class name: System.Data.EntityClient.EntityDataReaderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description EntityDataReader()
EntityDataReader(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityDataReader
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoEntityDataReader
, a cast assert is made to check if types are compatible.void
Close()
boolean
GetBoolean(int ordinal)
byte
GetByte(int ordinal)
long
GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length)
long
GetBytes(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4)
char
GetChar(int ordinal)
long
GetChars(int ordinal, long dataOffset, char[] buffer, int bufferOffset, int length)
long
GetChars(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4)
DbDataReader
GetDataReader(int i)
DbDataRecord
GetDataRecord(int i)
DataRecordInfo
getDataRecordInfo()
String
GetDataTypeName(int ordinal)
DateTime
GetDateTime(int ordinal)
Decimal
GetDecimal(int ordinal)
double
GetDouble(int ordinal)
NetType
GetFieldType(int ordinal)
Single
GetFloat(int ordinal)
Guid
GetGuid(int ordinal)
short
GetInt16(int ordinal)
int
GetInt32(int ordinal)
long
GetInt64(int ordinal)
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeString
GetName(int ordinal)
int
GetOrdinal(String name)
NetType
GetProviderSpecificFieldType(int ordinal)
NetObject
GetProviderSpecificValue(int ordinal)
int
GetProviderSpecificValues(NetObject[] values)
DataTable
GetSchemaTable()
String
GetString(int ordinal)
NetObject
GetValue(int ordinal)
int
GetValues(NetObject[] values)
boolean
IsDBNull(int ordinal)
boolean
NextResult()
boolean
Read()
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.data.common.DbDataReader
close, Dispose, GetData, getDepth, getFieldCount, getHasRows, getIsClosed, getRecordsAffected, GetStream, GetTextReader, getVisibleFieldCount
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: System.Data.Entity- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Data.EntityClient.EntityDataReader- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDbDataReader
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDbDataReader
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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 classDbDataReader
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDbDataReader
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDbDataReader
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDbDataReader
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static EntityDataReader cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoEntityDataReader
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
EntityDataReader
instance- Throws:
Throwable
- in case of error during cast operation
-
GetBoolean
public boolean GetBoolean(int ordinal) throws Throwable
- Overrides:
GetBoolean
in classDbDataReader
- Throws:
Throwable
-
IsDBNull
public boolean IsDBNull(int ordinal) throws Throwable
- Overrides:
IsDBNull
in classDbDataReader
- Throws:
Throwable
-
NextResult
public boolean NextResult() throws Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, EntityCommandExecutionException
- Overrides:
NextResult
in classDbDataReader
- Throws:
Throwable
InvalidOperationException
ArgumentNullException
ArgumentException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
EntityCommandExecutionException
-
Read
public boolean Read() throws Throwable
- Overrides:
Read
in classDbDataReader
- Throws:
Throwable
-
GetByte
public byte GetByte(int ordinal) throws Throwable
- Overrides:
GetByte
in classDbDataReader
- Throws:
Throwable
-
GetChar
public char GetChar(int ordinal) throws Throwable
- Overrides:
GetChar
in classDbDataReader
- Throws:
Throwable
-
GetDouble
public double GetDouble(int ordinal) throws Throwable
- Overrides:
GetDouble
in classDbDataReader
- Throws:
Throwable
-
GetInt16
public short GetInt16(int ordinal) throws Throwable
- Overrides:
GetInt16
in classDbDataReader
- Throws:
Throwable
-
GetInt32
public int GetInt32(int ordinal) throws Throwable
- Overrides:
GetInt32
in classDbDataReader
- Throws:
Throwable
-
GetOrdinal
public int GetOrdinal(String name) throws Throwable, ArgumentNullException
- Overrides:
GetOrdinal
in classDbDataReader
- Throws:
Throwable
ArgumentNullException
-
GetProviderSpecificValues
public int GetProviderSpecificValues(NetObject[] values) throws Throwable
- Overrides:
GetProviderSpecificValues
in classDbDataReader
- Throws:
Throwable
-
GetValues
public int GetValues(NetObject[] values) throws Throwable
- Overrides:
GetValues
in classDbDataReader
- Throws:
Throwable
-
GetBytes
public long GetBytes(int ordinal, long dataOffset, byte[] buffer, int bufferOffset, int length) throws Throwable
- Overrides:
GetBytes
in classDbDataReader
- Throws:
Throwable
-
GetBytes
public long GetBytes(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws Throwable
- Overrides:
GetBytes
in classDbDataReader
- Throws:
Throwable
-
GetChars
public long GetChars(int ordinal, long dataOffset, char[] buffer, int bufferOffset, int length) throws Throwable
- Overrides:
GetChars
in classDbDataReader
- Throws:
Throwable
-
GetChars
public long GetChars(int dupParam0, long dupParam1, JCORefOut dupParam2, int dupParam3, int dupParam4) throws Throwable
- Overrides:
GetChars
in classDbDataReader
- Throws:
Throwable
-
GetInt64
public long GetInt64(int ordinal) throws Throwable
- Overrides:
GetInt64
in classDbDataReader
- Throws:
Throwable
-
GetFloat
public Single GetFloat(int ordinal) throws Throwable
- Overrides:
GetFloat
in classDbDataReader
- Throws:
Throwable
-
GetDataReader
public DbDataReader GetDataReader(int i) throws Throwable, NotSupportedException
- Throws:
Throwable
NotSupportedException
-
GetDataRecord
public DbDataRecord GetDataRecord(int i) throws Throwable, ArgumentOutOfRangeException
- Throws:
Throwable
ArgumentOutOfRangeException
-
GetSchemaTable
public DataTable GetSchemaTable() throws Throwable, NotSupportedException
- Overrides:
GetSchemaTable
in classDbDataReader
- Throws:
Throwable
NotSupportedException
-
GetDateTime
public DateTime GetDateTime(int ordinal) throws Throwable
- Overrides:
GetDateTime
in classDbDataReader
- Throws:
Throwable
-
GetDecimal
public Decimal GetDecimal(int ordinal) throws Throwable
- Overrides:
GetDecimal
in classDbDataReader
- Throws:
Throwable
-
GetGuid
public Guid GetGuid(int ordinal) throws Throwable
- Overrides:
GetGuid
in classDbDataReader
- Throws:
Throwable
-
GetProviderSpecificValue
public NetObject GetProviderSpecificValue(int ordinal) throws Throwable
- Overrides:
GetProviderSpecificValue
in classDbDataReader
- Throws:
Throwable
-
GetValue
public NetObject GetValue(int ordinal) throws Throwable
- Overrides:
GetValue
in classDbDataReader
- Throws:
Throwable
-
GetDataTypeName
public String GetDataTypeName(int ordinal) throws Throwable
- Overrides:
GetDataTypeName
in classDbDataReader
- Throws:
Throwable
-
GetName
public String GetName(int ordinal) throws Throwable
- Overrides:
GetName
in classDbDataReader
- Throws:
Throwable
-
GetString
public String GetString(int ordinal) throws Throwable
- Overrides:
GetString
in classDbDataReader
- Throws:
Throwable
-
GetFieldType
public NetType GetFieldType(int ordinal) throws Throwable
- Overrides:
GetFieldType
in classDbDataReader
- Throws:
Throwable
-
GetProviderSpecificFieldType
public NetType GetProviderSpecificFieldType(int ordinal) throws Throwable
- Overrides:
GetProviderSpecificFieldType
in classDbDataReader
- Throws:
Throwable
-
Close
public void Close() throws Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ProviderIncompatibleException, SynchronizationLockException, MetadataException
- Overrides:
Close
in classDbDataReader
- Throws:
Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
ProviderIncompatibleException
SynchronizationLockException
MetadataException
-
getDataRecordInfo
public DataRecordInfo getDataRecordInfo() throws Throwable
- Throws:
Throwable
-
-