scripts
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
namespace System.Linq
|
||||
{
|
||||
/// <summary>Defines methods to create and execute queries that are described by an <see cref="T:System.Linq.IQueryable" /> object.</summary>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x0200003C RID: 60
|
||||
public interface IQueryProvider
|
||||
{
|
||||
/// <summary>Constructs an <see cref="T:System.Linq.IQueryable" /> object that can evaluate the query represented by a specified expression tree.</summary>
|
||||
/// <returns>An <see cref="T:System.Linq.IQueryable" /> that can evaluate the query represented by the specified expression tree.</returns>
|
||||
/// <param name="expression">An expression tree that represents a LINQ query.</param>
|
||||
// Token: 0x0600038D RID: 909
|
||||
IQueryable CreateQuery(Expression expression);
|
||||
|
||||
/// <summary>Executes the query represented by a specified expression tree.</summary>
|
||||
/// <returns>The value that results from executing the specified query.</returns>
|
||||
/// <param name="expression">An expression tree that represents a LINQ query.</param>
|
||||
// Token: 0x0600038E RID: 910
|
||||
object Execute(Expression expression);
|
||||
|
||||
/// <summary>Constructs an <see cref="T:System.Linq.IQueryable`1" /> object that can evaluate the query represented by a specified expression tree.</summary>
|
||||
/// <returns>An <see cref="T:System.Linq.IQueryable`1" /> that can evaluate the query represented by the specified expression tree.</returns>
|
||||
/// <param name="expression">An expression tree that represents a LINQ query.</param>
|
||||
/// <typeparam name="TElement">The type of the elements of the <see cref="T:System.Linq.IQueryable`1" /> that is returned.</typeparam>
|
||||
// Token: 0x0600038F RID: 911
|
||||
IQueryable<TElement> CreateQuery<TElement>(Expression expression);
|
||||
|
||||
/// <summary>Executes the strongly-typed query represented by a specified expression tree.</summary>
|
||||
/// <returns>The value that results from executing the specified query.</returns>
|
||||
/// <param name="expression">An expression tree that represents a LINQ query.</param>
|
||||
/// <typeparam name="TResult">The type of the value that results from executing the query.</typeparam>
|
||||
// Token: 0x06000390 RID: 912
|
||||
TResult Execute<TResult>(Expression expression);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user