Table of Contents

Class ODataUntypedRow

Namespace
Utils.OData.Linq
Assembly
Utils.OData.dll

Represents a row projected from an OData entity set when the entity type is not known at compile time.

public sealed class ODataUntypedRow
Inheritance
ODataUntypedRow
Inherited Members
Extension Methods

Properties

this[string]

Gets the value for the specified column name. This indexer is only provided for building expression trees.

[ExcludeFromCodeCoverage]
public object? this[string columnName] { get; }

Parameters

columnName string

Name of the column to access.

Property Value

object

This member never returns because it always throws.

Exceptions

NotSupportedException

Always thrown when the indexer is evaluated.

Methods

GetValue<TValue>(string)

Retrieves the value for the provided column name. This member is only intended for use inside LINQ expressions.

[ExcludeFromCodeCoverage]
public TValue? GetValue<TValue>(string columnName)

Parameters

columnName string

Name of the column to access.

Returns

TValue

This method never returns because it always throws.

Type Parameters

TValue

Type expected for the column value.

Exceptions

NotSupportedException

Always thrown when the method is invoked directly.