24 references to Perspective
System.Data.Entity (24)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
678
if (!this.Context.
Perspective
.TryGetType(wrappedSource.IdentityType, out entityTypeUsage) ||
System\Data\Objects\DataClasses\RelationshipManager.cs (3)
377
Debug.Assert(wrappedOwner.Context.
Perspective
!= null, "Perspective is null");
381
if (!wrappedOwner.Context.
Perspective
.TryGetMember(entityType, navigationProperty, false, out member) ||
823
if (wrappedOwner.Context.
Perspective
.TryGetTypeByName(relationship.FullName, false/*ignoreCase*/, out associationTypeUsage))
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
132
_perspective = funcletizer.RootContext.
Perspective
;
947
if (_funcletizer.RootContext.
Perspective
.TryGetType(type, out typeUsage))
System\Data\Objects\ELinq\Funcletizer.cs (1)
292
if (_rootContext.
Perspective
.TryGetTypeByName(TypeSystem.GetNonNullableType(type).FullName,
System\Data\Objects\Internal\EntitySqlQueryBuilder.cs (2)
64
mergedParams = new ObjectParameterCollection(context.
Perspective
);
123
queryParams = new ObjectParameterCollection(sourceQuery.ObjectContext.
Perspective
);
System\Data\Objects\Internal\EntitySqlQueryState.cs (2)
244
this.ObjectContext.
Perspective
.TryGetTypeByName(
259
this.ObjectContext.
Perspective
, // Perspective
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (1)
108
QueryCacheManager cacheManager = context.
Perspective
.MetadataWorkspace.GetQueryCacheManager();
System\Data\Objects\Internal\ObjectQueryState.cs (1)
132
_parameters = new ObjectParameterCollection(ObjectContext.
Perspective
);
System\Data\Objects\ObjectContext.cs (9)
306
EntityContainer container =
Perspective
.GetDefaultContainer();
313
Perspective
.SetDefaultContainer(value);
1288
EntityContainer defaultContainer = this.
Perspective
.GetDefaultContainer();
1842
container = this.
Perspective
.GetDefaultContainer();
1892
if (context != null && String.IsNullOrEmpty(container) && (context.
Perspective
.GetDefaultContainer() == null))
1918
if (!this.
Perspective
.TryGetType(entityCLRType, out entityTypeUsage) ||
2715
System.Data.Common.QueryCache.QueryCacheManager cacheManager = this.
Perspective
.MetadataWorkspace.GetQueryCacheManager();
2809
if (!this.
Perspective
.TryGetTypeByName(objectParameter.MappableType.FullName, /*ignoreCase */ false, out typeUsage))
2812
this.
Perspective
.TryGetTypeByName(objectParameter.MappableType.FullName, /*ignoreCase */ false, out typeUsage);
System\Data\Objects\ObjectQuery.cs (1)
285
tResultType = this._state.ObjectContext.
Perspective
.MetadataWorkspace.GetOSpaceTypeUsage(tResultType);
System\Data\Objects\ObjectViewFactory.cs (1)
285
ospaceTypeUsage = objectContext.
Perspective
.MetadataWorkspace.GetOSpaceTypeUsage(typeUsage);