DbDataReaderExtension DbDataReaderExtension Class

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.

Syntax

Declaration

public static class DbDataReaderExtensionPublic Module DbDataReaderExtension

Inheritance Hierarchy

  • System.Object
    System.Object
  • DbDataReaderExtension
    DbDataReaderExtension

Inherited Members

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

Methods summary

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.

Methods

  • GetValueOrDefault<T>(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

    Parameters

    • reader
      System.Data.Common.DbDataReader
      System.Data.Common.DbDataReader
    • name
      System.String
      System.String

    Returns

    • T
      T

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.Design.dll