Share via


DbSqlQuery<TEntity>.GetEnumerator Method

Definition

Executes the query and returns an enumerator for the elements.

public System.Collections.Generic.IEnumerator<TEntity> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'Entity (requires 'Entity : null)>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<'Entity (requires 'Entity : null)>
Public Function GetEnumerator () As IEnumerator(Of TEntity)

Returns

IEnumerator<TEntity>

Implements

Applies to