DbSqlQuery.GetEnumerator Method

Definition

Executes the query and returns an enumerator for the elements.

public System.Collections.IEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

Returns

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

Implements

Applies to