点击或拖拽改变大小

DataReaderEx 方法

Sweet 开发框架

DataReaderEx 类型公开以下成员。

方法
  名称说明
公共方法静态成员GetT(IDataReader, String)
Gets the record value casted to the specified data type or the data types default value.
公共方法静态成员GetT(IDataReader, String, T)
Gets the record value casted to the specified data type or the specified default value.
公共方法静态成员GetBoolean(IDataReader, String)
Gets the record value casted as bool or false.
公共方法静态成员GetBoolean(IDataReader, String, Boolean)
Gets the record value casted as bool or the specified default value.
公共方法静态成员GetBytes
Gets the record value casted as byte array.
公共方法静态成员GetDateTime(IDataReader, String)
Gets the record value casted as DateTime or DateTime.Minimum.
公共方法静态成员GetDateTime(IDataReader, String, DateTime)
Gets the record value casted as DateTime or the specified default value.
公共方法静态成员GetDateTimeOffset(IDataReader, String)
Gets the record value casted as DateTimeOffset (UTC) or DateTime.Minimum.
公共方法静态成员GetDateTimeOffset(IDataReader, String, DateTimeOffset)
Gets the record value casted as DateTimeOffset (UTC) or the specified default value.
公共方法静态成员GetDecimal(IDataReader, String)
Gets the record value casted as decimal or 0.
公共方法静态成员GetDecimal(IDataReader, String, Int64)
Gets the record value casted as decimal or the specified default value.
公共方法静态成员GetGuid
Gets the record value casted as Guid or Guid.Empty.
公共方法静态成员GetInt32(IDataReader, String)
Gets the record value casted as int or 0.
公共方法静态成员GetInt32(IDataReader, String, Int32)
Gets the record value casted as int or the specified default value.
公共方法静态成员GetInt64(IDataReader, String)
Gets the record value casted as long or 0.
公共方法静态成员GetInt64(IDataReader, String, Int32)
Gets the record value casted as long or the specified default value.
公共方法静态成员GetNullableBoolean
Gets the record value casted as bool or null.
公共方法静态成员GetNullableDateTime
Gets the record value casted as DateTime or null.
公共方法静态成员GetNullableDateTimeOffset
Gets the record value casted as DateTimeOffset (UTC) or null.
公共方法静态成员GetNullableDecimal
Gets the record value casted as decimal or null.
公共方法静态成员GetNullableGuid
Gets the record value casted as Guid? or null.
公共方法静态成员GetNullableInt32
Gets the record value casted as int or null.
公共方法静态成员GetNullableInt64
Gets the record value casted as long or null.
公共方法静态成员GetString(IDataReader, String)
Gets the record value casted as string or null.
公共方法静态成员GetString(IDataReader, String, String)
Gets the record value casted as string or the specified default value.
公共方法静态成员GetType(IDataReader, String)
Gets the record value as Type class instance or null.
公共方法静态成员GetType(IDataReader, String, Type)
Gets the record value as Type class instance or the specified default value.
公共方法静态成员GetTypeInstance(IDataReader, String)
Gets the record value as class instance from a type name or null.
公共方法静态成员GetTypeInstance(IDataReader, String, Type)
Gets the record value as class instance from a type name or the specified default type.
公共方法静态成员GetTypeInstanceT(IDataReader, String)
Gets the record value as class instance from a type name or null.
公共方法静态成员GetTypeInstanceSafeT(IDataReader, String)
Gets the record value as class instance from a type name or an instance from the specified type.
公共方法静态成员GetTypeInstanceSafeT(IDataReader, String, Type)
Gets the record value as class instance from a type name or the specified default type.
公共方法静态成员IndexOf
获取要查找的字段的索引
公共方法静态成员IsDBNull
Determines whether the record value is DBNull.Value
公共方法静态成员IsInState
Returns true if the database connection is in the specified state.
公共方法静态成员OpenIfNot
Open the Database connection if not already opened.
公共方法静态成员ReadAll
Reads all all records from a data reader and performs an action for each.
Top
参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架