31 references to GetElementType
System.Data.Linq (31)
DataContext.cs (1)
1150
Type eType = System.Data.Linq.SqlClient.TypeSystem.
GetElementType
(expression.Type);
DataQuery.cs (1)
37
Type eType = System.Data.Linq.SqlClient.TypeSystem.
GetElementType
(expression.Type);
DataServices.cs (3)
257
Type elementType = System.Data.Linq.SqlClient.TypeSystem.
GetElementType
(query.Type);
290
? System.Data.Linq.SqlClient.TypeSystem.
GetElementType
(member.Type)
508
Type elementType = System.Data.Linq.SqlClient.TypeSystem.
GetElementType
(query.Type);
Mapping\AttributedMetaModel.cs (2)
892
Type elementType = TypeSystem.
GetElementType
(mi.ReturnType);
1330
Type ot = this.isMany ? TypeSystem.
GetElementType
(this.thisMember.Type) : this.thisMember.Type;
Mapping\MappedMetaModel.cs (2)
1267
Type ot = this.isMany ? TypeSystem.
GetElementType
(this.thisMember.Type) : this.thisMember.Type;
1353
Type elementType = TypeSystem.
GetElementType
(method.ReturnType);
SqlClient\Common\SqlNode.cs (1)
597
return TypeSystem.
GetElementType
(exp.ClrType);
SqlClient\Common\TypeSystem.cs (1)
131
return FindSequenceMethod(name, new Type[] {sequence.GetType()}, new Type[] {
GetElementType
(sequence.GetType())});
SqlClient\Query\QueryConverter.cs (7)
595
Type sourceType = TypeSystem.
GetElementType
(sequence.Type);
1247
Type elementType = TypeSystem.
GetElementType
(resultType);
1426
Type type = TypeSystem.
GetElementType
(source1.Type);
1450
Type type = TypeSystem.
GetElementType
(source1.Type);
1777
Type elemType = TypeSystem.
GetElementType
(sequence.Type);
1933
&& TypeSystem.
GetElementType
(mc.Method.DeclaringType).IsAssignableFrom(mc.Arguments[0].Type)
1964
Type elemType = TypeSystem.
GetElementType
(c.Type);
SqlClient\Query\Translator.cs (2)
165
Type elementType = TypeSystem.
GetElementType
(source.Type);
232
return Expression.Call(typeof(Enumerable), "Count", new Type[] {TypeSystem.
GetElementType
(exp.Type)}, exp);
SqlClient\Query\TypeSource.cs (1)
44
type = TypeSystem.
GetElementType
(type);
SqlClient\Reader\ObjectReaderCompiler.cs (4)
867
Type elemType = TypeSystem.
GetElementType
(ca.ClrType);
1371
? TypeSystem.
GetElementType
(link.Member.Type)
1421
Type clientElementType = cq.Query.NodeType == SqlNodeType.Multiset ? TypeSystem.
GetElementType
(cq.ClrType) : cq.ClrType;
1575
Type elemType = TypeSystem.
GetElementType
(actualType);
SqlClient\SqlProvider.cs (6)
828
factory = this.GetReaderFactory(qi.Query, TypeSystem.
GetElementType
(qi.ResultType));
910
factory = this.GetReaderFactory(qi.Query, TypeSystem.
GetElementType
(qi.ResultType));
970
Type clientElementType = cq.Query.NodeType == SqlNodeType.Multiset ? TypeSystem.
GetElementType
(cq.ClrType) : cq.ClrType;
1018
typeof(SequenceOfOne<>).MakeGenericType(TypeSystem.
GetElementType
(this.GetResultType(query))),
1105
typeof(OneTimeEnumerable<>).MakeGenericType(TypeSystem.
GetElementType
(queryInfo.ResultType)),
1116
typeof(SingleResult<>).MakeGenericType(TypeSystem.
GetElementType
(queryInfo.ResultType)),