Share via


ObjectQuery<T>.IEnumerable<T>.GetEnumerator Method

Definition

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
System.Collections.Generic.IEnumerator<T> IEnumerable<T>.GetEnumerator ();
Function GetEnumerator () As IEnumerator(Of T) Implements IEnumerable(Of T).GetEnumerator

Returns

The query results.

Implements

Attributes

Applies to