1 write to _element
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (1)
43
_element
= element;
34 references to _element
System.Data.Entity (34)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (34)
126
_element
.AddError(ErrorCode.ConstantFacetSpecifiedInSchema,
128
_element
,
144
_element
.AddError(ErrorCode.RequiredFacetMissing, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.RequiredFacetMissing(
175
_element
.AddError(ErrorCode.FacetNotAllowedByType,
199
System.Diagnostics.Trace.Assert(
_element
!= null);
210
&& !this.
_element
.Schema.UseStrongSpatialTypes)
282
_element
.AddError(ErrorCode.FacetNotAllowedByType,
387
_element
.AddError(ErrorCode.PrecisionOutOfRange,
406
_element
.AddError(ErrorCode.ScaleOutOfRange,
418
_element
.AddError(ErrorCode.BadPrecisionAndScale, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.BadPrecisionAndScale(precision, scale));
444
_element
.AddError(ErrorCode.PrecisionOutOfRange,
487
_element
.AddError(ErrorCode.InvalidSize, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidSize(length, minLength, maxLength, primitiveType.Name));
499
_element
.AddError(ErrorCode.FacetNotAllowedByType,
505
if (this.
_element
.Schema.DataModel == SchemaDataModelOption.EntityDataModel
508
_element
.AddError(ErrorCode.UnexpectedSpatialType, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.SpatialWithUseStrongSpatialTypesFalse);
530
_element
.AddError(ErrorCode.InvalidSystemReferenceId, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidSystemReferenceId(srid, minSrid, maxSrid, primitiveType.Name));
546
if (!
_element
.HandleIntAttribute(reader, ref size))
566
if (!
_element
.HandleIntAttribute(reader, ref srid))
577
if (
_element
.HandleBoolAttribute(reader, ref nullable))
640
if (
_element
.HandleByteAttribute(reader, ref precision))
649
if (
_element
.HandleByteAttribute(reader, ref scale))
658
if (
_element
.HandleBoolAttribute(reader, ref isUnicode))
677
if (
_element
.HandleBoolAttribute(reader, ref isFixedLength))
694
_element
.AddError(ErrorCode.DefaultNotAllowed, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.DefaultNotAllowed);
764
_element
.AddError(ErrorCode.DefaultNotAllowed, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.DefaultNotAllowed);
778
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, errorMessage);
784
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultBoolean(_default));
790
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultIntegral(_default, minValue, maxValue));
797
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, Strings.InvalidDefaultDateTime(_default,
806
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, Strings.InvalidDefaultTime(_default,
815
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, Strings.InvalidDefaultDateTimeOffset(_default,
827
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultDecimal(_default, 38, 38));
833
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultFloatingPoint(_default, minValue, maxValue));
839
_element
.AddError(ErrorCode.InvalidDefault, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidDefaultGuid(_default));