public class DataReaderExtensions extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.DataReaderExtensions
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.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.DataReaderExtensions
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataReaderExtensions() |
DataReaderExtensions(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DataReaderExtensions |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataReaderExtensions, a cast assert is made to check if types are compatible. |
static boolean |
GetBoolean(DbDataReader reader,
java.lang.String name) |
static byte |
GetByte(DbDataReader reader,
java.lang.String name) |
static long |
GetBytes(DbDataReader reader,
java.lang.String name,
long dataOffset,
byte[] buffer,
int bufferOffset,
int length) |
static long |
GetBytes(DbDataReader dupParam0,
java.lang.String dupParam1,
long dupParam2,
JCORefOut dupParam3,
int dupParam4,
int dupParam5) |
static char |
GetChar(DbDataReader reader,
java.lang.String name) |
static long |
GetChars(DbDataReader reader,
java.lang.String name,
long dataOffset,
char[] buffer,
int bufferOffset,
int length) |
static long |
GetChars(DbDataReader dupParam0,
java.lang.String dupParam1,
long dupParam2,
JCORefOut dupParam3,
int dupParam4,
int dupParam5) |
static DbDataReader |
GetData(DbDataReader reader,
java.lang.String name) |
static java.lang.String |
GetDataTypeName(DbDataReader reader,
java.lang.String name) |
static DateTime |
GetDateTime(DbDataReader reader,
java.lang.String name) |
static Decimal |
GetDecimal(DbDataReader reader,
java.lang.String name) |
static double |
GetDouble(DbDataReader reader,
java.lang.String name) |
static NetType |
GetFieldType(DbDataReader reader,
java.lang.String name) |
static Single |
GetFloat(DbDataReader reader,
java.lang.String name) |
static Guid |
GetGuid(DbDataReader reader,
java.lang.String name) |
static short |
GetInt16(DbDataReader reader,
java.lang.String name) |
static int |
GetInt32(DbDataReader reader,
java.lang.String name) |
static long |
GetInt64(DbDataReader reader,
java.lang.String name) |
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
|
JCType |
getJCOType()
Returns the instantiated class Type
|
static NetType |
GetProviderSpecificFieldType(DbDataReader reader,
java.lang.String name) |
static NetObject |
GetProviderSpecificValue(DbDataReader reader,
java.lang.String name) |
static Stream |
GetStream(DbDataReader reader,
java.lang.String name) |
static java.lang.String |
GetString(DbDataReader reader,
java.lang.String name) |
static TextReader |
GetTextReader(DbDataReader reader,
java.lang.String name) |
static NetObject |
GetValue(DbDataReader reader,
java.lang.String name) |
static boolean |
IsDBNull(DbDataReader reader,
java.lang.String name) |
void |
setJCOInstance(JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DataReaderExtensions()
throws java.lang.Throwable
java.lang.Throwablepublic DataReaderExtensions(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static DataReaderExtensions cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataReaderExtensions, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataReaderExtensions instancejava.lang.Throwable - in case of error during cast operationpublic static boolean GetBoolean(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static byte GetByte(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static long GetBytes(DbDataReader reader, java.lang.String name, long dataOffset, byte[] buffer, int bufferOffset, int length) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static long GetBytes(DbDataReader dupParam0, java.lang.String dupParam1, long dupParam2, JCORefOut dupParam3, int dupParam4, int dupParam5) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static char GetChar(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static long GetChars(DbDataReader reader, java.lang.String name, long dataOffset, char[] buffer, int bufferOffset, int length) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static long GetChars(DbDataReader dupParam0, java.lang.String dupParam1, long dupParam2, JCORefOut dupParam3, int dupParam4, int dupParam5) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static DbDataReader GetData(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static java.lang.String GetDataTypeName(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static DateTime GetDateTime(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static Decimal GetDecimal(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static double GetDouble(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static NetType GetFieldType(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static Single GetFloat(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static Guid GetGuid(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static short GetInt16(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static int GetInt32(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static long GetInt64(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public 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 JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static NetType GetProviderSpecificFieldType(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static NetObject GetProviderSpecificValue(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static Stream GetStream(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static java.lang.String GetString(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static TextReader GetTextReader(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static NetObject GetValue(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static boolean IsDBNull(DbDataReader reader, java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObject