DbDataReaderExtension DbDataReaderExtension Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static class DbDataReaderExtension
Public Module DbDataReaderExtension
Inheritance
System.ObjectSystem.Object
DbDataReaderExtensionDbDataReaderExtension

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

GetValueOrDefault(DbDataReader, String) GetValueOrDefault(Of T)(DbDataReader, String)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static T GetValueOrDefault<T>(this DbDataReader reader, string name)
<ExtensionAttribute>
Public Shared Function GetValueOrDefault(Of T)(reader As DbDataReader, name As String) As T
Type Parameters
T
Parameters
reader
System.Data.Common.DbDataReader System.Data.Common.DbDataReader
name
System.String System.String
Returns
T T