DbRawSqlQuery<TElement>.GetEnumerator Method ()

 

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

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual IEnumerator<TElement> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<TElement>

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