Share via


DbRawSqlQuery<TElement>.GetEnumerator Method

Definition

Returns an IEnumerator<T> which when enumerated will execute the SQL query against the database.

public virtual System.Collections.Generic.IEnumerator<TElement> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'Element>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'Element>
Public Overridable Function GetEnumerator () As IEnumerator(Of TElement)

Returns

IEnumerator<TElement>

An IEnumerator<T> object that can be used to iterate through the elements.

Implements

Applies to