19 references to Item
System.Data.Services.Design (19)
System\Data\EntityModel\Emitters\ComplexTypeEmitter.cs (1)
63
return base.
Item
as ComplexType;
System\Data\EntityModel\Emitters\EntityTypeEmitter.cs (1)
116
return base.
Item
as EntityType;
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (17)
39
TypeGeneratedEventArgs eventArgs = new TypeGeneratedEventArgs(
Item
, baseType);
43
CodeTypeDeclaration typeDecl = new CodeTypeDeclaration(
Item
.Name);
46
if (
Item
.Abstract)
53
EmitTypeAttributes(
Item
.Name, typeDecl, eventArgs.AdditionalAttributes);
58
AddInterfaces(
Item
.Name, typeDecl, eventArgs.AdditionalInterfaces);
60
CommentEmitter.EmitSummaryComments(
Item
, typeDecl.Comments);
69
this.AddMembers(
Item
.Name, typeDecl, eventArgs.AdditionalMembers);
86
if (
Item
.BaseType == null)
89
return Generator.GetLeastPossibleQualifiedTypeReference(
Item
.BaseType);
118
foreach (EdmMember member in
Item
.Members)
121
if ((null != property) && (property.DeclaringType ==
Item
))
158
CodeTypeReference typeRef = TypeReference.FromString(
Item
.Name);
160
string instanceName = uniqueIdentifierService.AdjustIdentifier(Utils.CamelCase(
Item
.Name));
164
method.Name = "Create" +
Item
.Name;
165
if (NavigationPropertyEmitter.IsNameAlreadyAMemberName(
Item
, method.Name, Generator.LanguageAppropriateStringComparer))
167
Generator.AddError(Strings.GeneratedFactoryMethodNameConflict(method.Name,
Item
.Name),
176
CommentEmitter.EmitSummaryComments(Strings.FactoryMethodSummaryComment(
Item
.Name), method.Comments);