3 writes to _type
System.Data.Entity (3)
System\Data\EntityModel\SchemaObjectModel\FacetEnabledSchemaElement.cs (1)
105
if (Schema.ResolveTypeName(this, UnresolvedType, out
_type
))
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (1)
139
parameter.
_type
= _type;
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (1)
102
parameter.
_type
= _type;
46 references to _type
System.Data.Entity (46)
System\Data\EntityModel\SchemaObjectModel\CollectionTypeElement.cs (6)
196
if (
_type
is ScalarType) //Create and store type usage for scalar type
198
_typeUsageBuilder.ValidateAndSetTypeUsage(
_type
as ScalarType, false);
204
EdmType edmType = (EdmType)Converter.LoadSchemaElement(
_type
,
_type
.Schema.ProviderManifest, convertedItemCache, newGlobalItems);
222
ValidationHelper.ValidateFacets(this,
_type
, _typeUsageBuilder);
223
ValidationHelper.ValidateTypeDeclaration(this,
_type
, _typeSubElement);
System\Data\EntityModel\SchemaObjectModel\FacetEnabledSchemaElement.cs (2)
40
return
_type
;
110
_typeUsageBuilder.ValidateAndSetTypeUsage((ScalarType)
_type
, !isInProviderManifest);
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (9)
104
return
_type
;
139
parameter._type =
_type
;
369
ValidationHelper.ValidateTypeDeclaration(this,
_type
, _typeSubElement);
380
if (
_type
!= null && (
_type
is ScalarType == false || (!collectionAllowed && _collectionKind != CollectionKind.None)))
383
if (
_type
!= null)
385
typeName = Function.GetTypeNameForErrorMessage(
_type
, _collectionKind, _isRefType);
409
ValidationHelper.ValidateFacets(this,
_type
, _typeUsageBuilder);
413
ValidationHelper.ValidateRefType(this,
_type
);
System\Data\EntityModel\SchemaObjectModel\ReferenceTypeElement.cs (4)
78
Debug.Assert(!(
_type
is ScalarType));
80
EdmType edmType = (EdmType)Converter.LoadSchemaElement(
_type
,
_type
.Schema.ProviderManifest, convertedItemCache, newGlobalItems);
96
ValidationHelper.ValidateRefType(this,
_type
);
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (11)
102
parameter._type =
_type
;
295
ValidationHelper.ValidateTypeDeclaration(this,
_type
, _typeSubElement);
296
ValidationHelper.ValidateFacets(this,
_type
, _typeUsageBuilder);
299
ValidationHelper.ValidateRefType(this,
_type
);
310
if (
_type
!= null && (
_type
is ScalarType == false || _collectionKind != CollectionKind.None) ||
314
if (
_type
!= null)
316
typeName = Function.GetTypeNameForErrorMessage(
_type
, _collectionKind, _isRefType);
333
if (
_type
!= null)
336
if (
_type
is ScalarType == false || _collectionKind != CollectionKind.None)
341
System.Data.Entity.Strings.FunctionWithNonPrimitiveTypeNotSupported(_isRefType ? _unresolvedType :
_type
.FQName, this.ParentElement.FQName));
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (9)
203
if (
_type
is ScalarType) //Create and store type usage for scalar type
205
_typeUsageBuilder.ValidateAndSetTypeUsage(
_type
as ScalarType, false);
210
EdmType edmType = (EdmType)Converter.LoadSchemaElement(
_type
,
_type
.Schema.ProviderManifest, convertedItemCache, newGlobalItems);
243
if (
_type
!= null)
245
if (
_type
is ScalarType == false || _isRefType || _collectionKind != CollectionKind.None)
264
ValidationHelper.ValidateFacets(this,
_type
, _typeUsageBuilder);
265
ValidationHelper.ValidateTypeDeclaration(this,
_type
, _typeSubElement);
269
ValidationHelper.ValidateRefType(this,
_type
);
System\Data\EntityModel\SchemaObjectModel\TypeRefElement.cs (5)
66
if (
_type
is ScalarType) //Create and store type usage for scalar type
68
_typeUsageBuilder.ValidateAndSetTypeUsage(
_type
as ScalarType, false);
74
EdmType edmType = (EdmType)Converter.LoadSchemaElement(
_type
,
_type
.Schema.ProviderManifest, convertedItemCache, newGlobalItems);
101
ValidationHelper.ValidateFacets(this,
_type
, _typeUsageBuilder);