34 references to EdmItemErrors
System.Data.Entity (34)
System\Data\Metadata\ObjectLayer\AssemblyCache.cs (4)
55
if (loadingData.
EdmItemErrors
.Count == 0)
61
validator.Validate(loadingData.TypesInLoading.Values, loadingData.
EdmItemErrors
);
63
if (loadingData.
EdmItemErrors
.Count == 0)
90
errors = loadingData.
EdmItemErrors
;
System\Data\Metadata\ObjectLayer\ObjectItemAssemblyLoader.cs (1)
83
sessionData.
EdmItemErrors
.Add(new EdmItemError(Strings.Validator_OSpace_Convention_AttributeAssemblyReferenced(assembly.FullName), null));
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (21)
94
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NewTypeConflictsWithExistingType(
140
Debug.Assert(SessionData.
EdmItemErrors
.Count > 0 || // had an error during loading
182
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.GenericTypeNotSupported(type.FullName), null));
222
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.SameRoleNameOnRelationshipAttribute(roleAttribute.RelationshipName, roleAttribute.Role2Name),
261
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.RoleTypeInEdmRelationshipAttributeIsInvalidType(associationType.Name, roleName, clrType),
290
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NestedClassNotSupported(clrType.FullName, clrType.Assembly.FullName), null));
297
SessionData.
EdmItemErrors
.Add(new EdmItemError(Strings.Validator_TypeHasNoNamespace, edmType));
321
SessionData.
EdmItemErrors
.Add(
382
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NullRelationshipNameforEdmRelationshipAttribute(SourceAssembly.FullName), null));
390
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
397
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
404
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
411
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
418
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NullParameterForEdmRelationshipAttribute(
540
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_InvalidNavPropReturnType(propertyInfo.Name, propertyInfo.DeclaringType.FullName, propertyInfo.PropertyType.FullName), null));
575
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.TargetRoleNameInNavigationPropertyNotValid(
583
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.NavigationPropertyRelationshipEndTypeMismatch(
595
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.RelationshipNameInNavigationPropertyNotValid(
630
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ScalarPropertyNotPrimitive(property.Name, property.DeclaringType.FullName, property.PropertyType.FullName), null));
666
SessionData.
EdmItemErrors
.Add(
703
SessionData.
EdmItemErrors
.Add(new EdmItemError(System.Data.Entity.Strings.Validator_OSpace_ComplexPropertyNotComplex(clrProperty.Name, clrProperty.DeclaringType.FullName, clrProperty.PropertyType.FullName), null));
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (8)
64
SessionData.
EdmItemErrors
.Add(
101
SessionData.
EdmItemErrors
.Add(new EdmItemError(Strings.Validator_OSpace_Convention_MultipleTypesWithSameName(type.Name), pair.Key));
345
SessionData.
EdmItemErrors
.Add(new EdmItemError(message, ospaceType));
501
SessionData.
EdmItemErrors
.Add(new EdmItemError(message, ospaceType));
557
SessionData.
EdmItemErrors
.Add(new EdmItemError(message, ospaceType));
654
SessionData.
EdmItemErrors
.Add(new EdmItemError(message, ospaceType));
664
SessionData.
EdmItemErrors
.Add(new EdmItemError(message, ospaceType));
782
sessionData.
EdmItemErrors
.Add(new EdmItemError(Strings.Validator_OSpace_Convention_AttributeAssemblyReferenced(assembly.FullName), null));