1 write to ClrType
System.Data.Entity (1)
System\Data\Objects\ELinq\InitializerFacet.cs (1)
41ClrType = clrType;
22 references to ClrType
System.Data.Entity (22)
System\Data\Common\Internal\Materialization\Translator.cs (1)
407result = initializerMetadata.ClrType;
System\Data\Objects\ELinq\ExpressionConverter.cs (3)
291if (_initializers != null && _initializers.TryGetValue(metadata.ClrType, out existingMetadata)) 297ExpressionConverter.DescribeClrType(metadata.ClrType))); 307_initializers.Add(metadata.ClrType, metadata);
System\Data\Objects\ELinq\InitializerFacet.cs (16)
101builder.Append("CLR-", this.ClrType); 115if (!this.ClrType.Equals(other.ClrType)) { return false; } 122return ClrType.GetHashCode(); 220Debug.Assert(ClrType.IsGenericType && 221typeof(IGrouping<,>).Equals(ClrType.GetGenericTypeDefinition())); 223Type keyType = this.ClrType.GetGenericArguments()[0]; 224Type groupElementType = this.ClrType.GetGenericArguments()[1]; 229Expression newGrouping = Expression.Convert(Expression.New(constructor, GetPropertyReaders(propertyTranslatorResults)), this.ClrType); 237Debug.Assert(ClrType.IsGenericType && 238typeof(IGrouping<,>).Equals(ClrType.GetGenericTypeDefinition())); 239Type keyType = this.ClrType.GetGenericArguments()[0]; 240Type groupElementType = this.ClrType.GetGenericArguments()[1]; 303Expression nullProjection = Expression.Constant(null, this.ClrType); 527if (!EntityUtil.TryGetICollectionElementType(ClrType, out elementType)) 532ClrType));
System\Data\Objects\ObjectViewFactory.cs (2)
324if (itemRowType.InitializerMetadata != null && itemRowType.InitializerMetadata.ClrType != null) 326clrType = itemRowType.InitializerMetadata.ClrType;