SqlDataReaderExtension SqlDataReaderExtension 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 SqlDataReaderExtensionPublic Module SqlDataReaderExtension

Inheritance Hierarchy

  • System.Object
    System.Object
  • SqlDataReaderExtension
    SqlDataReaderExtension

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>(SqlDataReader, String)
    GetValueOrDefault(Of T)(SqlDataReader, 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 SqlDataReader reader, string name)<ExtensionAttribute>
    Public Shared Function GetValueOrDefault(Of T)(reader As SqlDataReader, name As String) As T

    Parameters

    • reader
      System.Data.SqlClient.SqlDataReader
      System.Data.SqlClient.SqlDataReader
    • name
      System.String
      System.String

    Returns

    • T
      T

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.Design.dll