20 references to Item
System.Data.Entity.Design (20)
System\Data\EntityModel\Emitters\ComplexTypeEmitter.cs (1)
71
return base.
Item
as ComplexType;
System\Data\EntityModel\Emitters\EntityTypeEmitter.cs (1)
119
return base.
Item
as EntityType;
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (18)
48
TypeGeneratedEventArgs eventArgs = new TypeGeneratedEventArgs(
Item
, baseType);
52
CodeTypeDeclaration typeDecl = new CodeTypeDeclaration(
Item
.Name);
55
if (
Item
.Abstract)
62
EmitTypeAttributes(
Item
.Name, typeDecl, eventArgs.AdditionalAttributes);
67
AddInterfaces(
Item
.Name, typeDecl, eventArgs.AdditionalInterfaces);
69
CommentEmitter.EmitSummaryComments(
Item
, typeDecl.Comments);
78
this.AddMembers(
Item
.Name, typeDecl, eventArgs.AdditionalMembers);
95
if (
Item
.BaseType == null)
98
return Generator.GetLeastPossibleQualifiedTypeReference(
Item
.BaseType);
128
foreach (EdmProperty property in
Item
.GetDeclaredOnlyMembers<EdmProperty>())
168
CodeTypeReference typeRef = TypeReference.FromString(
Item
.Name);
170
string instanceName = uniqueIdentifierService.AdjustIdentifier(
Item
.Name);
174
method.Name = "Create" +
Item
.Name;
175
if (NavigationPropertyEmitter.IsNameAlreadyAMemberName(
Item
, method.Name, Generator.LanguageAppropriateStringComparer))
177
Generator.AddError(Strings.GeneratedFactoryMethodNameConflict(method.Name,
Item
.Name),
179
EdmSchemaErrorSeverity.Error,
Item
.FullName);
185
CommentEmitter.EmitSummaryComments(Strings.FactoryMethodSummaryComment(
Item
.Name), method.Comments);
284
(
Item
!= property.DeclaringType && PropertyEmitter.GetSetterAccessibility(property) == MemberAttributes.Private)