System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (23)
61CodeTypeDeclaration typeDecl = new CodeTypeDeclaration(Item.Name);
66TypeGeneratedEventArgs eventArgs = new TypeGeneratedEventArgs(Item, objectContextTypeRef);
77AddInterfaces(Item.Name, typeDecl, eventArgs.AdditionalInterfaces);
79CommentEmitter.EmitSummaryComments(Item, typeDecl.Comments);
80EmitTypeAttributes(Item.Name, typeDecl, eventArgs.AdditionalAttributes);
86foreach (EntitySetBase entitySetBase in Item.BaseEntitySets)
99foreach (EntitySetBase entitySetBase in Item.BaseEntitySets)
109foreach (EdmFunction functionImport in Item.FunctionImports)
119AddMembers(Item.Name, typeDecl, eventArgs.AdditionalMembers);
167Generator.VerifyLanguageCaseSensitiveCompatibilityForEntitySet(Item);
177foreach (EntitySetBase entitySetBase in Item.BaseEntitySets)
220emptyCtor.BaseConstructorArgs.Add(new CodePrimitiveExpression("name=" + Item.Name));
221emptyCtor.BaseConstructorArgs.Add(new CodePrimitiveExpression(Item.Name));
222CommentEmitter.EmitSummaryComments(Strings.EmptyCtorSummaryComment(Item.Name, Item.Name), emptyCtor.Comments);
240connectionStringCtor.BaseConstructorArgs.Add(new CodePrimitiveExpression(Item.Name));
241CommentEmitter.EmitSummaryComments(Strings.CtorSummaryComment(Item.Name), connectionStringCtor.Comments);
259connectionWorkspaceCtor.BaseConstructorArgs.Add(new CodePrimitiveExpression(Item.Name));
260CommentEmitter.EmitSummaryComments(Strings.CtorSummaryComment(Item.Name), connectionWorkspaceCtor.Comments);
277Generator.FixUps.Add(new FixUp(Item.Name + "." + _onContextCreatedString, FixUpType.MarkAbstractMethodAsPartial));
348throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnType(set.Name, Item.Name));
360Generator.AddError(Strings.InvalidAttributeSuppliedForProperty(Item.Name),
379Generator.AddError(Strings.InvalidGetStatementSuppliedForProperty(Item.Name),