示例#1
0
 /// <summary>
 ///     Returns an <see cref="IEnumerator" /> which when enumerated will execute the given SQL query against the
 ///     database backing this context. The results are not materialized as entities or tracked.
 /// </summary>
 /// <returns> The query results. </returns>
 public override IEnumerator GetEnumerator()
 {
     return(_internalContext.ExecuteSqlQuery(_elementType, Sql, Parameters));
 }