Files
2018-12-21 10:31:41 +03:00

23 lines
717 B
C#

using System;
using System.Collections;
using System.Linq;
namespace DevExpress.DevAV.Common.Utils {
/// <summary>
/// Provides the extension method for implementations of the IQueryable interface.
/// </summary>
public static class DbExtensions {
/// <summary>
/// Forces entities to be loaded locally from the IQueryable instance.
/// </summary>
/// <param name="source">An instance of the IQueryable interface from which to load entities.</param>
public static void Load(this IQueryable source) {
IEnumerator enumerator = source.GetEnumerator();
while(enumerator.MoveNext()) {
}
}
}
}