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, 199System.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, 505if (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)); 546if (!_element.HandleIntAttribute(reader, ref size)) 566if (!_element.HandleIntAttribute(reader, ref srid)) 577if (_element.HandleBoolAttribute(reader, ref nullable)) 640if (_element.HandleByteAttribute(reader, ref precision)) 649if (_element.HandleByteAttribute(reader, ref scale)) 658if (_element.HandleBoolAttribute(reader, ref isUnicode)) 677if (_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));