38 references to IsEntityType
System.Data.Entity (38)
System\Data\Common\Internal\Materialization\Util.cs (1)
58
if (!Helper.IsPrimitiveType(ospaceType) && !Helper.
IsEntityType
(ospaceType) && !Helper.IsComplexType(ospaceType))
System\Data\Common\Utils\MetadataHelper.cs (1)
698
if (Helper.
IsEntityType
(member.DeclaringType) &&
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (1)
466
if (Helper.
IsEntityType
(edmType) || Helper.IsComplexType(edmType))
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (1)
370
if (Helper.
IsEntityType
(edmType) || Helper.IsComplexType(edmType))
System\Data\Mapping\ViewGeneration\Structures\Domain.cs (1)
156
Debug.Assert(Helper.
IsEntityType
(type) || Helper.IsComplexType(type) || Helper.IsRefType(type) || Helper.IsAssociationType(type));
System\Data\Metadata\Helper.cs (2)
233
return (IsComplexType(type) ||
IsEntityType
(type) || IsRelationshipType(type) || IsRowType(type));
298
return Helper.
IsEntityType
(edmType) ||
System\Data\Metadata\ObjectItemCollection.cs (4)
374
if (Helper.
IsEntityType
(edmType))
532
if (Helper.
IsEntityType
(objectSpaceType) || Helper.IsComplexType(objectSpaceType) || Helper.IsEnumType(objectSpaceType))
578
if (Helper.
IsEntityType
(cspaceType) || Helper.IsComplexType(cspaceType) || Helper.IsEnumType(cspaceType))
597
if (Helper.
IsEntityType
(edmType))
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (3)
349
if (Helper.
IsEntityType
(edmType))
436
if (!TryGetLoadedType(type, out edmType) || !Helper.
IsEntityType
(edmType))
508
if (Helper.
IsEntityType
(structuralType) && isEntityKeyProperty)
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (2)
161
if (Helper.
IsEntityType
(cspaceType))
751
bool isKeyMember = Helper.
IsEntityType
(cspaceType) && ((EntityType)cspaceType).KeyMemberNames.Contains(clrProperty.Name);
System\Data\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (1)
151
if (Helper.
IsEntityType
(type))
System\Data\Metadata\TypeHelpers.cs (3)
41
else if (TypeSemantics.IsStructuralType(typeUsage) && !Helper.IsComplexType(typeUsage.EdmType) && !Helper.
IsEntityType
(typeUsage.EdmType))
131
if (Helper.
IsEntityType
(typeUsage.EdmType) ||
624
Helper.
IsEntityType
(refType.ElementType))
System\Data\Metadata\TypeSemantics.cs (2)
359
return Helper.
IsEntityType
(type.EdmType);
999
if (Helper.IsPrimitiveType(edmType) || Helper.IsRefType(edmType) || Helper.
IsEntityType
(edmType) || Helper.IsEnumType(edmType))
System\Data\Objects\DataClasses\RelationshipManager.cs (1)
672
if (Helper.
IsEntityType
(objectMap.EdmType))
System\Data\Objects\ELinq\Translator.cs (1)
111
(isNullValue && Helper.
IsEntityType
(type.EdmType)))
System\Data\Objects\EntityEntry.cs (1)
886
if (Helper.
IsEntityType
(metadata.CdmMetadata.EdmType) && (null != (object)_entityKey))
System\Data\Objects\Internal\ComplexTypeMaterializer.cs (2)
39
Debug.Assert(Helper.
IsEntityType
(recordInfo.RecordType.EdmType) ||
144
Debug.Assert(!Helper.
IsEntityType
(mapping.ClrType), "Expecting complex type");
System\Data\Objects\Internal\EntitySqlQueryBuilder.cs (1)
405
Debug.Assert(Helper.
IsEntityType
(newType) || Helper.IsComplexType(newType), "OfType must be Entity or Complex type");
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (1)
370
!(Helper.
IsEntityType
(ofType) || Helper.IsComplexType(ofType)))
System\Data\Objects\ObjectStateManager.cs (3)
2996
Debug.Assert(Helper.
IsEntityType
(edmType) ||
3019
Debug.Assert(Helper.
IsEntityType
(edmType) ||
3046
Debug.Assert(Helper.
IsEntityType
(edmType) ||
System\Data\Objects\ObjectStateManagerMetadata.cs (3)
66
_isComplexType = (Helper.
IsEntityType
(_edmProperty.TypeUsage.EdmType) ||
153
Debug.Assert(Helper.
IsEntityType
(edmType) ||
170
if (Helper.
IsEntityType
(edmType))
System\Data\Query\InternalTrees\ColumnMapFactory.cs (2)
87
Debug.Assert(Helper.
IsEntityType
(edmType) || null == entitySet, "The specified non-null EntitySet is incompatible with the EDM type specified.");
111
else if (Helper.
IsEntityType
(edmType))
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
1213
Helper.
IsEntityType
(propertyExpression.Instance.ResultType.EdmType))