8 implementations of ElementType
System.Core (1)
System\Linq\SequenceQuery.cs (1)
73
Type IQueryable.
ElementType
{
System.Data.Entity (2)
System\Data\Common\Internal\Materialization\CompensatingCollection.cs (1)
76
Type IQueryable.
ElementType
System\Data\Objects\ObjectQuery.cs (1)
93
Type IQueryable.
ElementType
System.Data.Linq (2)
DataContext.cs (1)
1135
Type IQueryable.
ElementType
{
DataQuery.cs (1)
29
Type IQueryable.
ElementType
{
System.Data.Services (2)
System\Data\Services\Internal\ProjectedWrapper.cs (1)
407
public Type
ElementType
System\Data\Services\Providers\BasicExpandProvider.cs (1)
373
public Type
ElementType
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceQueryOfT.cs (1)
65
public override Type
ElementType
76 references to ElementType
System.Data.Linq (9)
ChangeDirector.cs (3)
401
ParameterExpression p = Expression.Parameter(table.
ElementType
, "p");
403
Expression where = Expression.Call(typeof(Queryable), "Where", new Type[] { table.
ElementType
}, table.Expression, pred);
405
Expression select = Expression.Call(typeof(Queryable), "Select", new Type[] { table.
ElementType
, typeof(int?) }, where, selector);
DataContext.cs (1)
363
if (table.
ElementType
!= typeof(TEntity)) {
DataServices.cs (4)
214
ParameterExpression serverItem = Expression.Parameter(table.
ElementType
, "p");
228
return Expression.Call(typeof(Queryable), "Where", new Type[] { table.
ElementType
}, table.Expression, Expression.Lambda(whereExpression, serverItem));
509
if (elementType != t.
ElementType
)
511
MetaTable metaTable = this.metaModel.GetTable(t.
ElementType
);
SqlClient\Query\QueryConverter.cs (1)
788
MetaTable metaTable = this.services.Model.GetTable(table.
ElementType
);
System.Data.Services (34)
System\Data\Services\Internal\ProjectedWrapper.cs (1)
409
get { return this.queryable.
ElementType
; }
System\Data\Services\Parsing\RequestQueryParser.cs (3)
57
new Type[] { source.
ElementType
, selectorType },
83
LambdaExpression lambda = ParseLambdaForWhere(service, setForIt, typeForIt, source.
ElementType
, predicate);
85
Expression.Call(typeof(Queryable), "Where", new Type[] { source.
ElementType
}, source.Expression, Expression.Quote(lambda)));
System\Data\Services\Providers\BasicExpandProvider.cs (8)
148
root.AssignTypeForExpected(source.
ElementType
, false /* singleResult */);
173
if (!WebUtil.IsExpandedWrapperType(query.
ElementType
))
186
Type resultQueryable = typeof(ExpandedQueryable<>).MakeGenericType(query.
ElementType
);
239
.MakeGenericMethod(query.
ElementType
, orderer.Body.Type)
281
.MakeGenericMethod(query.
ElementType
, orderer.Body.Type)
306
.MakeGenericMethod(query.
ElementType
)
313
.MakeGenericMethod(query.
ElementType
)
375
get { return this.source.
ElementType
; }
System\Data\Services\Providers\ObjectContextServiceProvider.cs (2)
255
if (set.Value.ResourceType.InstanceType.IsAssignableFrom(source.
ElementType
))
275
includeMethod = includeMethod.MakeGenericMethod(source.
ElementType
);
System\Data\Services\RequestQueryProcessor.cs (7)
766
MethodInfo mi = countQueryResultMethodInfo.MakeGenericMethod(this.query.
ElementType
);
1000
MethodInfo mi = countQueryResultMethodInfo.MakeGenericMethod(this.query.
ElementType
);
1071
Debug.Assert(this.query.
ElementType
== rt.InstanceType, "Resource type should match query element type when in this function");
1175
Type queryElementType = this.query.
ElementType
;
1215
skipTokenTypes[0] = this.query.
ElementType
;
1291
.MakeGenericMethod(this.query.
ElementType
)
1301
.MakeGenericMethod(this.query.
ElementType
)
System\Data\Services\RequestUriProcessor.cs (13)
414
method = method.MakeGenericMethod(query.
ElementType
, projectedType);
427
MethodInfo whereMethod = InvokeWhereMethodInfo.MakeGenericMethod(query.
ElementType
);
1116
ParameterExpression parameter = Expression.Parameter(query.
ElementType
, "element");
1121
method = method.MakeGenericMethod(query.
ElementType
, property.Type);
1138
ParameterExpression parameter = Expression.Parameter(query.
ElementType
, "element");
1146
method = method.MakeGenericMethod(query.
ElementType
, enumerableElement);
1160
ParameterExpression parameter = Expression.Parameter(query.
ElementType
, "element");
1165
method = method.MakeGenericMethod(query.
ElementType
, typeof(object));
1179
ParameterExpression parameter = Expression.Parameter(query.
ElementType
, "element");
1185
method = method.MakeGenericMethod(query.
ElementType
, property.Type);
1200
ParameterExpression parameter = Expression.Parameter(query.
ElementType
, "element");
1206
method = method.MakeGenericMethod(query.
ElementType
, enumerableElement);
1236
ParameterExpression parameter = Expression.Parameter(query.
ElementType
, "element");
System.Web (2)
UI\WebControls\QueryExtensions.cs (2)
34
ParameterExpression parameter = Expression.Parameter(source.
ElementType
, String.Empty);
51
new Type[] { source.
ElementType
, property.Type },
System.Web.DynamicData (4)
DynamicData\QueryableFilterUserControl.cs (2)
148
ParameterExpression parameterExpression = Expression.Parameter(source.
ElementType
, String.Empty);
156
MethodCallExpression whereCall = Expression.Call(typeof(Queryable), "Where", new Type[] { source.
ElementType
}, source.Expression, Expression.Quote(lambda));
DynamicData\Util\Misc.cs (2)
237
var parameter = Expression.Parameter(query.
ElementType
, "row");
250
var expression = Expression.Call(typeof(Queryable), ordering, new Type[] { query.
ElementType
, lambda.Body.Type }, query.Expression, lambda);
System.Web.Entity (4)
System\Data\WebControls\EntityDataSourceView.cs (2)
284
var elementType = queryReturned.
ElementType
;
293
var newQueryBuilderCreateMethod = typeof(EntityDataSourceObjectQueryBuilder<>).MakeGenericType(queryReturned.
ElementType
).GetMethod("Create", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic, null, queryBuilderCreatorArgTypes, null);
System\Data\WebControls\OrderByBuilder.cs (2)
179
var parameter = Expression.Parameter(source.
ElementType
, String.Empty);
202
expression = Expression.Call(typeof(Queryable), methodName, new Type[] { source.
ElementType
, memberExpression.Type },
System.Web.Extensions (23)
UI\WebControls\Dynamic.cs (13)
32
LambdaExpression lambda = DynamicExpression.ParseLambda(source.
ElementType
, typeof(bool), predicate, values);
36
new Type[] { source.
ElementType
},
43
LambdaExpression lambda = DynamicExpression.ParseLambda(source.
ElementType
, null, selector, values);
47
new Type[] { source.
ElementType
, lambda.Body.Type },
59
Expression.Parameter(source.
ElementType
, "") };
68
new Type[] { source.
ElementType
, o.Selector.Type },
81
new Type[] { source.
ElementType
},
90
new Type[] { source.
ElementType
},
98
LambdaExpression keyLambda = DynamicExpression.ParseLambda(source.
ElementType
, null, keySelector, values);
99
LambdaExpression elementLambda = DynamicExpression.ParseLambda(source.
ElementType
, null, elementSelector, values);
103
new Type[] { source.
ElementType
, keyLambda.Body.Type, elementLambda.Body.Type },
112
new Type[] { source.
ElementType
}, source.Expression));
120
new Type[] { source.
ElementType
}, source.Expression));
UI\WebControls\Expressions\ExpressionHelper.cs (1)
52
return Call(source, "Where", lambda, source.
ElementType
);
UI\WebControls\Expressions\MethodExpression.cs (3)
156
if (queryable == null || !queryable.
ElementType
.IsAssignableFrom(source.
ElementType
)) {
158
source.
ElementType
.FullName));
UI\WebControls\Expressions\OrderByExpression.cs (2)
61
ParameterExpression pe = Expression.Parameter(source.
ElementType
, String.Empty);
77
source.
ElementType
,
UI\WebControls\Expressions\PropertyExpression.cs (1)
17
ParameterExpression parameterExpression = Expression.Parameter(source.
ElementType
, String.Empty);
UI\WebControls\Expressions\RangeExpression.cs (1)
58
ParameterExpression parameterExpression = Expression.Parameter(source.
ElementType
, String.Empty);
UI\WebControls\Expressions\SearchExpression.cs (1)
68
ParameterExpression parameterExpression = Expression.Parameter(source.
ElementType
, String.Empty);
UI\WebControls\QueryableDataSourceView.cs (1)
528
IList results = source.ToList(source.
ElementType
);