Get item value by name (handle DbNull as String.Empty).
Namespace: DataBaseExecutorsAssembly: DataBaseExecutors (in DataBaseExecutors.dll) Version: 1.0.1.3 (1.0.1.3)
[ObsoleteAttribute("Please use DbDataReader Extension GetStringOrDefault")]
public static string readItemSafe(
ref DbDataReader reader,
string colName
)
[ObsoleteAttribute("Please use DbDataReader Extension GetStringOrDefault")]
public static string readItemSafe(
ref DbDataReader reader,
string colName
)
<ObsoleteAttribute("Please use DbDataReader Extension GetStringOrDefault")>
Public Shared Function readItemSafe (
ByRef reader As DbDataReader,
colName As String
) As String
<ObsoleteAttribute("Please use DbDataReader Extension GetStringOrDefault")>
Public Shared Function readItemSafe (
ByRef reader As DbDataReader,
colName As String
) As String
public:
[ObsoleteAttribute(L"Please use DbDataReader Extension GetStringOrDefault")]
static String^ readItemSafe(
DbDataReader^% reader,
String^ colName
)
public:
[ObsoleteAttribute(L"Please use DbDataReader Extension GetStringOrDefault")]
static String^ readItemSafe(
DbDataReader^% reader,
String^ colName
)
Parameters
- reader
- Type: System.Data.Common DbDataReader
[Missing <param name="reader"/> documentation for "M:DataBaseExecutors.DBExecution.readItemSafe(System.Data.Common.DbDataReader@,System.String)"]
- colName
- Type: System String
[Missing <param name="colName"/> documentation for "M:DataBaseExecutors.DBExecution.readItemSafe(System.Data.Common.DbDataReader@,System.String)"]
Return Value
Type:
String[Missing <returns> documentation for "M:DataBaseExecutors.DBExecution.readItemSafe(System.Data.Common.DbDataReader@,System.String)"]