1 write to TypeUsage
System.Data.Entity (1)
System\Data\Common\EntitySql\TypeResolver.cs (1)
103
TypeUsage
= typeUsage;
12 references to TypeUsage
System.Data.Entity (12)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (9)
972
if (!TypeSemantics.IsComplexType(metadataType.
TypeUsage
) &&
973
!TypeSemantics.IsEntityType(metadataType.
TypeUsage
) &&
974
!TypeSemantics.IsRelationshipType(metadataType.
TypeUsage
))
976
throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.InvalidCtorUseOnType(metadataType.
TypeUsage
.EdmType.FullName));
982
if (metadataType.
TypeUsage
.EdmType.Abstract)
984
throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.CannotInstantiateAbstractType(metadataType.
TypeUsage
.EdmType.FullName));
1007
EntityType driverEntityType = metadataType.
TypeUsage
.EdmType as EntityType;
1035
metadataType.
TypeUsage
,
2373
TypeUsage typeUsage = ((MetadataType)metadataMember).
TypeUsage
;
System\Data\Common\EntitySql\TypeResolver.cs (3)
381
if (TypeSemantics.IsEnumerationType(type.
TypeUsage
))
384
if (_perspective.TryGetEnumMember((EnumType)type.
TypeUsage
.EdmType, name, _parserOptions.NameComparisonCaseInsensitive /*ignoreCase*/, out member))
388
return new MetadataEnumMember(fullName, type.
TypeUsage
, member);