37 references to TypeSystem
System.Data.Entity (37)
System\Data\Common\Internal\Materialization\Translator.cs (5)
681
if (type.IsClass ||
TypeSystem
.IsNullableType(type))
1934
result =
TypeSystem
.GetElementType(collectionType);
2092
Type nonNullableType =
TypeSystem
.GetNonNullableType(type);
2111
Expression.Convert(Expression.Convert(result,
TypeSystem
.GetNonNullableType(DetermineClrType(columnType.EdmType))), typeof(object)));
2132
Expression.Constant(
TypeSystem
.GetDefaultValue(columnType), columnType),
System\Data\Common\Utils\MetadataHelper.cs (1)
167
Type nonNullabelType =
TypeSystem
.GetNonNullableType(type);
System\Data\Objects\CompiledQuery.cs (1)
594
Type elementType =
TypeSystem
.GetElementType(resultType);
System\Data\Objects\ELinq\ExpressionConverter.cs (5)
959
if (
TypeSystem
.IsSequenceType(type))
1017
Type nonNullableType =
TypeSystem
.GetNonNullableType(linqType);
1035
Type elementType =
TypeSystem
.GetElementType(nonNullableType);
1538
MemberInfo memberInfo =
TypeSystem
.PropertyOrField(((MemberExpression)Expression).Member, out memberName, out memberType);
1566
MemberInfo memberInfo =
TypeSystem
.PropertyOrField(((MemberExpression)Expression).Member, out memberName, out memberType);
System\Data\Objects\ELinq\Funcletizer.cs (5)
229
if (!ClrProviderManifest.Instance.TryGetPrimitiveType(
TypeSystem
.GetNonNullableType(expression.Type),
292
if (_rootContext.Perspective.TryGetTypeByName(
TypeSystem
.GetNonNullableType(type).FullName,
444
.Lambda<Func<object>>(
TypeSystem
.EnsureType(expression, typeof(object)))
576
queryExpression =
TypeSystem
.EnsureType(queryExpression, expressionType);
643
Type delegateType =
TypeSystem
.GetDelegateType(_compiledQueryParameters.Select(p => p.Type), _type);
System\Data\Objects\ELinq\InitializerFacet.cs (2)
403
TypeSystem
.GetDefaultValue(value.Type), value.Type));
422
TypeSystem
.PropertyOrField(binding.Member, out name, out memberType);
System\Data\Objects\ELinq\MethodCallTranslator.cs (7)
2213
Type elementType =
TypeSystem
.GetElementType(resultType);
2214
object defaultValue =
TypeSystem
.GetDefaultValue(elementType);
2245
Type sourceArgumentType =
TypeSystem
.GetElementType(sourceExpression.Type);
2325
object defaultValue =
TypeSystem
.GetDefaultValue(elementType);
2721
Type toClrType =
TypeSystem
.GetElementType(call.Type);
2722
Type fromClrType =
TypeSystem
.GetElementType(call.Arguments[0].Type);
2792
parent.EdmItemCollection,
TypeSystem
.GetElementType(call.Type));
System\Data\Objects\ELinq\ObjectQueryProvider.cs (1)
110
Type elementType =
TypeSystem
.GetElementType(expression.Type);
System\Data\Objects\ELinq\Translator.cs (5)
82
Type elementType =
TypeSystem
.GetElementType(linq.Type);
143
var nonNullableLinqType =
TypeSystem
.GetNonNullableType(linq.Type);
166
MemberInfo memberInfo =
TypeSystem
.PropertyOrField(linq.Member, out memberName, out memberType);
729
MemberInfo memberInfo =
TypeSystem
.PropertyOrField(linq.Members[i], out memberName, out memberType);
838
MemberInfo memberInfo =
TypeSystem
.PropertyOrField(binding.Member, out memberName, out memberType);
System\Data\Objects\ELinq\TypeSystem.cs (1)
23
private static readonly MethodInfo s_getDefaultMethod = typeof(
TypeSystem
).GetMethod(
System\Data\Objects\ObjectParameter.cs (2)
93
this._mappableType = System.Data.Objects.ELinq.
TypeSystem
.GetNonNullableType(this._type);
138
this._mappableType = System.Data.Objects.ELinq.
TypeSystem
.GetNonNullableType(this._type);
System\Data\Objects\ObjectQuery_TResultType.cs (2)
135
retExpr =
TypeSystem
.EnsureType(retExpr, objectQueryType);
143
retExpr =
TypeSystem
.EnsureType(retExpr, objectQueryType);