30 references to Item
System.Data.Services.Design (30)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
109emitter.Generator.AddError(Strings.InvalidAttributeSuppliedForProperty(emitter.Item.Name),
System\Data\EntityModel\Emitters\PropertyEmitter.cs (28)
50MemberAttributes scope = AccessibilityFromGettersAndSetters(Item); 69PropertyGeneratedEventArgs eventArgs = new PropertyGeneratedEventArgs(Item, FieldName, typeRef); 122if (HasDefault(Item)) 124memberField.InitExpression = GetDefaultValueExpression(Item); 131if (TypeSemantics.IsComplexType(Item.TypeUsage)) 150CodeTypeReference typeRef = GetType(Item, false); 172return Item.Name; 211Generator.AddError(Strings.InvalidGetStatementSuppliedForProperty(Item.Name), 220AddGetterSetterFixUp(Generator.FixUps, PropertyFQName, GetGetterAccessibility(Item), access, true); 232if (Helper.IsComplexType(Item.TypeUsage.EdmType)) 237if (GetCollectionKind(Item.TypeUsage) == CollectionKind.None) 278PrimitiveType primitiveType = Item.TypeUsage.EdmType as PrimitiveType; 324AddGetterSetterFixUp(Generator.FixUps, PropertyFQName, GetSetterAccessibility(Item), access, false); 351Generator.AddError(Strings.InvalidSetStatementSuppliedForProperty(Item.Name), 364if (Helper.IsComplexType(Item.TypeUsage.EdmType)) 366if (GetCollectionKind(Item.TypeUsage) == CollectionKind.None) 391Generator.AddError(Strings.InvalidSetStatementSuppliedForProperty(Item.Name), 476StructuralType parentBaseClass = Item.DeclaringType.BaseType as StructuralType; 814return Item.DeclaringType.FullName + "." + Item.Name; 830return Item.DeclaringType.Name; 841CommentEmitter.EmitSummaryComments(Item, memberProperty.Comments); 862if (Helper.IsCollectionType(Item.TypeUsage.EdmType) && GetCollectionKind(Item.TypeUsage) != CollectionKind.None) 866throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnTypeToNull(Item.Name, Item.DeclaringType.Name)); 882throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnType(Item.Name, Item.DeclaringType.Name));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
202if (TypeSemantics.IsComplexType(propertyEmitter.Item.TypeUsage))