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