6 writes to _typeUsageBuilder
System.Data.Entity (6)
System\Data\EntityModel\SchemaObjectModel\ModelFunctionTypeElement.cs (1)
24
_typeUsageBuilder
= new TypeUsageBuilder(this);
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (2)
43
_typeUsageBuilder
= new TypeUsageBuilder(this);
141
parameter.
_typeUsageBuilder
= this._typeUsageBuilder;
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (2)
39
_typeUsageBuilder
= new TypeUsageBuilder(this);
104
parameter.
_typeUsageBuilder
= this._typeUsageBuilder;
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (1)
31
_typeUsageBuilder
= new TypeUsageBuilder(this);
29 references to _typeUsageBuilder
System.Data.Entity (29)
System\Data\EntityModel\SchemaObjectModel\CollectionTypeElement.cs (5)
198
_typeUsageBuilder
.ValidateAndSetTypeUsage(_type as ScalarType, false);
199
_typeUsage = TypeUsage.Create(new CollectionType(
_typeUsageBuilder
.TypeUsage));
207
_typeUsageBuilder
.ValidateAndSetTypeUsage(edmType, false); //use typeusagebuilder so dont lose facet information
208
_typeUsage = TypeUsage.Create(new CollectionType(
_typeUsageBuilder
.TypeUsage));
222
ValidationHelper.ValidateFacets(this, _type,
_typeUsageBuilder
);
System\Data\EntityModel\SchemaObjectModel\FacetEnabledSchemaElement.cs (8)
48
return
_typeUsageBuilder
.TypeUsage;
56
return
_typeUsageBuilder
;
64
return
_typeUsageBuilder
.HasUserDefinedFacets;
107
if (Schema.DataModel == SchemaDataModelOption.ProviderManifestModel &&
_typeUsageBuilder
.HasUserDefinedFacets)
110
_typeUsageBuilder
.ValidateAndSetTypeUsage((ScalarType)_type, !isInProviderManifest);
117
_typeUsageBuilder
.ValidateAndSetTypeUsage(scalar, false);
122
_typeUsageBuilder
.ValidateAndSetTypeUsage(edmType, false);
133
else if (
_typeUsageBuilder
.HandleAttribute(reader))
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (3)
141
parameter._typeUsageBuilder = this.
_typeUsageBuilder
;
171
else if (
_typeUsageBuilder
.HandleAttribute(reader))
409
ValidationHelper.ValidateFacets(this, _type,
_typeUsageBuilder
);
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (3)
104
parameter._typeUsageBuilder = this.
_typeUsageBuilder
;
133
else if (
_typeUsageBuilder
.HandleAttribute(reader))
296
ValidationHelper.ValidateFacets(this, _type,
_typeUsageBuilder
);
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (5)
205
_typeUsageBuilder
.ValidateAndSetTypeUsage(_type as ScalarType, false);
206
_typeUsage =
_typeUsageBuilder
.TypeUsage;
221
_typeUsageBuilder
.ValidateAndSetTypeUsage(edmType, false); //use typeusagebuilder so dont lose facet information
222
_typeUsage =
_typeUsageBuilder
.TypeUsage;
264
ValidationHelper.ValidateFacets(this, _type,
_typeUsageBuilder
);
System\Data\EntityModel\SchemaObjectModel\TypeRefElement.cs (5)
68
_typeUsageBuilder
.ValidateAndSetTypeUsage(_type as ScalarType, false);
69
_typeUsage =
_typeUsageBuilder
.TypeUsage;
77
_typeUsageBuilder
.ValidateAndSetTypeUsage(edmType, false); //use typeusagebuilder so dont lose facet information
78
_typeUsage =
_typeUsageBuilder
.TypeUsage;
101
ValidationHelper.ValidateFacets(this, _type,
_typeUsageBuilder
);