4 types derived from InitializerMetadata
System.Data.Entity (4)
System\Data\Objects\ELinq\InitializerFacet.cs (4)
205
private class GroupingInitializerMetadata :
InitializerMetadata
252
private class ProjectionNewMetadata :
InitializerMetadata
351
private class ProjectionInitializerMetadata :
InitializerMetadata
441
private class EntityCollectionInitializerMetadata :
InitializerMetadata
61 references to InitializerMetadata
System.Data.Entity (61)
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (2)
80
InitializerMetadata
initializer;
81
if (
InitializerMetadata
.TryGetInitializerMetadata(type, out initializer))
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
541
return method.IsGenericMethod && method.GetGenericMethodDefinition() ==
InitializerMetadata
.UserExpressionMarker;
System\Data\Common\Internal\Materialization\Translator.cs (4)
404
InitializerMetadata
initializerMetadata = ((RowType)edmType).InitializerMetadata;
1551
InitializerMetadata
initializerMetadata;
1552
if (
InitializerMetadata
.TryGetInitializerMetadata(columnMap.Type, out initializerMetadata))
1660
private Expression HandleLinqRecord(RecordColumnMap columnMap,
InitializerMetadata
initializerMetadata)
System\Data\Metadata\Edm\RowType.cs (4)
26
private readonly
InitializerMetadata
_initializerMetadata;
42
internal RowType(IEnumerable<EdmProperty> properties,
InitializerMetadata
initializerMetadata)
69
internal
InitializerMetadata
InitializerMetadata
131
private static string GetRowTypeIdentityFromProperties(IEnumerable<EdmProperty> properties,
InitializerMetadata
initializerMetadata)
System\Data\Metadata\EdmItemCollection.cs (8)
183
private Memoizer<
InitializerMetadata
,
InitializerMetadata
> _getCanonicalInitializerMetadataMemoizer;
220
internal
InitializerMetadata
GetCanonicalInitializerMetadata(
InitializerMetadata
metadata)
226
Interlocked.CompareExchange(ref _getCanonicalInitializerMetadataMemoizer, new Memoizer<
InitializerMetadata
,
InitializerMetadata
>(
227
m => m, EqualityComparer<
InitializerMetadata
>.Default), null);
231
InitializerMetadata
canonical = _getCanonicalInitializerMetadataMemoizer.Evaluate(metadata);
System\Data\Metadata\TypeHelpers.cs (1)
377
internal static RowType CreateRowType(IEnumerable<KeyValuePair<string, TypeUsage>> columns,
InitializerMetadata
initializerMetadata)
System\Data\Objects\ELinq\ExpressionConverter.cs (9)
41
private Dictionary<Type,
InitializerMetadata
> _initializers;
287
internal void ValidateInitializerMetadata(
InitializerMetadata
metadata)
290
InitializerMetadata
existingMetadata;
305
_initializers = new Dictionary<Type,
InitializerMetadata
>();
859
InitializerMetadata
initializerMetadata;
860
if (
InitializerMetadata
.TryGetInitializerMetadata(input.ResultType, out initializerMetadata))
1083
InitializerMetadata
initializerMetadata;
1084
if (!
InitializerMetadata
.TryGetInitializerMetadata(edmType, out initializerMetadata) ||
1572
private DbNewInstanceExpression CreateNewRowExpression(List<KeyValuePair<string, DbExpression>> columns,
InitializerMetadata
initializerMetadata)
System\Data\Objects\ELinq\InitializerFacet.cs (15)
30
internal abstract class InitializerMetadata : IEquatable<
InitializerMetadata
>
33
internal static readonly MethodInfo UserExpressionMarker = typeof(
InitializerMetadata
).GetMethod("MarkAsUserExpression", BindingFlags.NonPublic | BindingFlags.Static);
36
private static readonly string s_identifierPrefix = typeof(
InitializerMetadata
).Name;
49
internal static bool TryGetInitializerMetadata(TypeUsage typeUsage, out
InitializerMetadata
initializerMetadata)
61
internal static
InitializerMetadata
CreateGroupingInitializer(EdmItemCollection itemCollection, Type resultType)
67
internal static
InitializerMetadata
CreateProjectionInitializer(EdmItemCollection itemCollection, MemberInitExpression initExpression,
74
internal static
InitializerMetadata
CreateProjectionInitializer(EdmItemCollection itemCollection, NewExpression newExpression)
80
internal static
InitializerMetadata
CreateEmptyProjectionInitializer(EdmItemCollection itemCollection, NewExpression newExpression)
86
internal static
InitializerMetadata
CreateEntityCollectionInitializer(EdmItemCollection itemCollection, Type type, NavigationProperty navigationProperty)
107
return Equals(obj as
InitializerMetadata
);
110
public bool Equals(
InitializerMetadata
other)
129
protected virtual bool IsStructurallyEquivalent(
InitializerMetadata
other)
265
protected override bool IsStructurallyEquivalent(
InitializerMetadata
other)
367
protected override bool IsStructurallyEquivalent(
InitializerMetadata
other)
459
protected override bool IsStructurallyEquivalent(
InitializerMetadata
other)
System\Data\Objects\ELinq\MethodCallTranslator.cs (6)
281
out
InitializerMetadata
initializerMetadata)
311
initializerMetadata =
InitializerMetadata
.CreateProjectionInitializer(converter.EdmItemCollection, newExpression);
1592
InitializerMetadata
initializerMetadata;
2530
InitializerMetadata
initializerMetadata;
2791
InitializerMetadata
initializerMetadata =
InitializerMetadata
.CreateGroupingInitializer(
System\Data\Objects\ELinq\Translator.cs (9)
335
InitializerMetadata
initializerMetadata;
340
InitializerMetadata
.TryGetInitializerMetadata(property.Instance.ResultType, out initializerMetadata) &&
375
InitializerMetadata
.CreateEntityCollectionInitializer(parent.EdmItemCollection, ((PropertyInfo)clrMember).PropertyType, navProp));
735
InitializerMetadata
initializerMetadata;
740
initializerMetadata =
InitializerMetadata
.CreateEmptyProjectionInitializer(parent.EdmItemCollection, linq);
746
initializerMetadata =
InitializerMetadata
.CreateProjectionInitializer(parent.EdmItemCollection, linq);
846
InitializerMetadata
initializerMetadata;
852
initializerMetadata =
InitializerMetadata
.CreateEmptyProjectionInitializer(parent.EdmItemCollection, linq.NewExpression);
858
initializerMetadata =
InitializerMetadata
.CreateProjectionInitializer(parent.EdmItemCollection, linq, members);
System\Data\Query\InternalTrees\ColumnMapFactory.cs (2)
193
InitializerMetadata
initMetadata =
InitializerMetadata
.CreateProjectionInitializer(