116 references to Name
System.Data.Entity (66)
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (3)
50if (_metadata.TryGetEntityContainer(entitySet.EntityContainer.Name, entitySet.EntityContainer.DataSpace, out container)) 60throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_EntitySetNotFound(entitySet.EntityContainer.Name, entitySet.Name)); 63throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_EntityContainerNotFound(entitySet.EntityContainer.Name));
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
709Begin("Target", "Name", e.Target.Name, "Container", e.Target.EntityContainer.Name);
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (2)
526_key.Append(e.EntitySet.EntityContainer.Name); 569_key.Append(e.Target.EntityContainer.Name);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (2)
799setNode.Text.Append(e.EntitySet.EntityContainer.Name); 856retInfo.Text.Append(e.Target.EntityContainer.Name);
System\Data\Common\EntitySql\SemanticResolver.cs (1)
675throw EntityUtil.EntitySqlError(errCtx, Strings.MemberDoesNotBelongToEntityContainer(name, entityContainer.Name));
System\Data\Common\EntityUtil.cs (1)
1520string containerName2 = entitySet.EntityContainer.Name;
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (1)
188Append(prefix, entitySet.EntityContainer.Name);
System\Data\EntityKey.cs (5)
162Debug.Assert(entitySet.EntityContainer.Name != null, "entitySet.EntityContainer.Name is null"); 166_entityContainerName = entitySet.EntityContainer.Name; 195_entityContainerName = entitySet.EntityContainer.Name; 215_entityContainerName = entitySet.EntityContainer.Name; 235_entityContainerName = entitySet.EntityContainer.Name;
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
407sb.Append(this.m_entityContainer.Name);
System\Data\Mapping\StorageMappingItemCollection.cs (1)
720return entityContainerMaps.Any(map => map.StorageEntityContainer.Name.Equals(storageEntityContainerName, StringComparison.Ordinal));
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (2)
444if (entityContainerMapping.EdmEntityContainer.Name == viewContainer.EdmEntityContainerName && 445entityContainerMapping.StorageEntityContainer.Name == viewContainer.StoreEntityContainerName)
System\Data\Mapping\StorageMappingItemLoader.cs (5)
338if (storageEntityContainerName != storageEntityContainerType.Name) 341storageEntityContainerName, storageEntityContainerType.Name, entityContainerType.Name), 440entityContainerMapping.EdmEntityContainer.Name, StorageMappingErrorCode.EmptyContainerMapping, 1735AddToSchemaErrorWithMessage(Strings.Mapping_FunctionImport_FunctionImportDoesNotExist(functionImportName, entityContainerMapping.EdmEntityContainer.Name),
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (2)
320result = StringComparer.Ordinal.Compare(this.m_processor.Table.EntityContainer.Name, other.m_processor.Table.EntityContainer.Name);
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (2)
379result = StringComparer.Ordinal.Compare(thisParent.EntitySet.EntityContainer.Name, otherParent.EntitySet.EntityContainer.Name);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
1048actualContainer.Name, actualContainer.DataSpace, out referenceContainer);
System\Data\Mapping\ViewGeneration\CellCreator.cs (2)
73m_identifiers.AddIdentifier(m_containerMapping.EdmEntityContainer.Name); 74m_identifiers.AddIdentifier(m_containerMapping.StorageEntityContainer.Name);
System\Data\Mapping\ViewGeneration\CqlGeneration\ExtentCqlBlock.cs (1)
65CqlWriter.AppendEscapedQualifiedName(builder, m_extent.EntityContainer.Name, m_extent.Name);
System\Data\Mapping\ViewGeneration\GeneratedView.cs (1)
308builder.AppendFormat("{0}.{1}", m_extent.EntityContainer.Name, m_extent.Name);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (1)
908CqlWriter.AppendEscapedQualifiedName(builder, extent.EntityContainer.Name, extent.Name);
System\Data\Mapping\ViewGeneration\Structures\TypeConstant.cs (1)
109CqlWriter.AppendEscapedQualifiedName(builder, refScopeEntitySet.EntityContainer.Name, refScopeEntitySet.Name);
System\Data\Mapping\ViewGeneration\Structures\WithStatement.cs (1)
70CqlWriter.AppendEscapedQualifiedName(builder, m_toEndEntitySet.EntityContainer.Name, m_toEndEntitySet.Name);
System\Data\Metadata\Converter.cs (1)
266entityContainer.Name,
System\Data\Metadata\Edm\EntityContainer.cs (2)
61return this.Name; 203return Name;
System\Data\Metadata\MappingMetadataHelper.cs (1)
105throw new MappingException(System.Data.Entity.Strings.Mapping_NotFound_EntityContainer(entityContainer.Name));
System\Data\Metadata\TypeHelpers.cs (1)
678return GetFullName(entitySet.EntityContainer.Name, entitySet.Name);
System\Data\Objects\DataClasses\RelatedEnd.cs (6)
513sourceBuilder.Append(_relationshipSet.EntityContainer.Name); 644sourceBuilder.Append(targetEntitySet.EntityContainer.Name); 1109throw EntityUtil.EntitySetIsNotValidForRelationship(set.EntityContainer.Name, set.Name, _navigation.To, _relationshipSet.EntityContainer.Name, _relationshipSet.Name); 2352throw EntityUtil.EntitySetIsNotValidForRelationship(entitySet.EntityContainer.Name, entitySet.Name, _navigation.From, ((AssociationSet)set).EntityContainer.Name, ((AssociationSet)set).Name);
System\Data\Objects\ObjectContext.cs (9)
307return ((null != container) ? container.Name : String.Empty); 1343throw EntityUtil.MultipleEntitySetsFoundInSingleContainer(entityCLRType.FullName, container.Name, exceptionParameterName); 1725throw EntityUtil.EntityNotInObjectSet_Delete(actualEntitySet.EntityContainer.Name, actualEntitySet.Name, expectedEntitySet.EntityContainer.Name, expectedEntitySet.Name); 1775throw EntityUtil.EntityNotInObjectSet_Detach(actualEntitySet.EntityContainer.Name, actualEntitySet.Name, expectedEntitySet.EntityContainer.Name, expectedEntitySet.Name); 1857throw EntityUtil.EntitySetNotFoundForName(TypeHelpers.GetFullName(container.Name, entitySetName)); 2510esql.AppendFormat("SELECT VALUE X FROM {0}.{1} AS X WHERE ", EntityUtil.QuoteIdentifier(entitySet.EntityContainer.Name), EntityUtil.QuoteIdentifier(entitySet.Name)); 3176throw EntityUtil.InvalidOperation(Strings.ObjectContext_InvalidEntitySetForStoreQuery(entitySet.EntityContainer.Name,
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (1)
200EntityUtil.QuoteIdentifier(entitySet.EntityContainer.Name),
System\Data\Objects\ObjectSet.cs (1)
182return string.Format(CultureInfo.InvariantCulture, "{0}.{1}", _entitySet.EntityContainer.Name, _entitySet.Name);
System\Data\Objects\ObjectStateManager.cs (2)
1471entitySetForType.EntityContainer.Name == entitySetForKey.EntityContainer.Name,
System\Data\Objects\ObjectStateManagerMetadata.cs (2)
31Debug.Assert(null != set.EntityContainer.Name, "null EntityContainer.Name"); 47obj.EntitySet.EntityContainer.Name.GetHashCode());
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
374PlanCompiler.Assert(definingQuery != null, Strings.ADP_NoQueryMappingView(entitySet.EntityContainer.Name, entitySet.Name));
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
1282builder.Append(SqlGenerator.QuoteIdentifier(entitySetBase.EntityContainer.Name));
System\Data\SqlClient\SqlProviderUtilities.cs (1)
186return entitySet.Schema ?? entitySet.EntityContainer.Name;
System.Data.Entity.Design (25)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
671_writer.WriteAttributeString(XmlConstants.Name, container.Name);
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (2)
276writer.WriteAttributeString(StorageMslConstructs.StorageEntityContainerAttribute, _storeContainer.Name); 277writer.WriteAttributeString(StorageMslConstructs.CdmEntityContainerAttribute, _modelContainer.Name);
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (3)
93throw EDesignUtil.InvalidStoreEntityContainer(storeEntityContainer.Name, "storeEntityContainer"); 115if (modelEntityContainerName == storeEntityContainer.Name) 117throw EDesignUtil.DuplicateEntityContainerName(modelEntityContainerName, storeEntityContainer.Name);
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
645return entitySet.EntityContainer.Name + EntityViewGenerationConstants.QualificationCharacter + entitySet.Name;
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
268item.Name);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (16)
61CodeTypeDeclaration typeDecl = new CodeTypeDeclaration(Item.Name); 77AddInterfaces(Item.Name, typeDecl, eventArgs.AdditionalInterfaces); 80EmitTypeAttributes(Item.Name, typeDecl, eventArgs.AdditionalAttributes); 119AddMembers(Item.Name, typeDecl, eventArgs.AdditionalMembers); 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),
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
129return TryAddNameToCache((element as EntityContainer).Name, element.BuiltInTypeKind.ToString(), cache);
System.Data.Services (8)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (8)
143string targetEntitySetName = GetEntitySetName(targetEntitySet.Name, targetEntitySet.EntityContainer.Name, this.ObjectContext.DefaultContainerName == targetEntitySet.EntityContainer.Name); 869bool defaultEntityContainer = entityContainer.Name == this.ObjectContext.DefaultContainerName; 883string entitySetName = GetEntitySetName(entitySet.Name, entitySet.EntityContainer.Name, defaultEntityContainer); 1967xmlWriter.WriteAttributeString(XmlConstants.Name, container.Name); 2380entry.EntitySet.EntityContainer.Name, 2381entry.EntitySet.EntityContainer.Name == this.ObjectContext.DefaultContainerName); 2646string containerName = container == this.defaultEntityContainer ? "" : container.Name;
System.Data.Services.Design (13)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (12)
56CodeTypeDeclaration typeDecl = new CodeTypeDeclaration(Item.Name); 73AddInterfaces(Item.Name, typeDecl, eventArgs.AdditionalInterfaces); 76EmitTypeAttributes(Item.Name, typeDecl, eventArgs.AdditionalAttributes); 119AddMembers(Item.Name, typeDecl, eventArgs.AdditionalMembers); 191CommentEmitter.EmitSummaryComments(Strings.CtorSummaryComment(Item.Name), connectionWorkspaceCtor.Comments); 239Generator.FixUps.Add(new FixUp(Item.Name + "." + _onContextCreatedString, FixUpType.MarkAbstractMethodAsPartial)); 409string vbScopedcontainerName = (string.IsNullOrEmpty(containerNamespace) || container.Name.Equals(containerNamespace, StringComparison.OrdinalIgnoreCase)) 410? container.Name : (containerNamespace + "." + container.Name); 509throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnType(set.Name, Item.Name)); 521Generator.AddError(Strings.InvalidAttributeSuppliedForProperty(Item.Name), 540Generator.AddError(Strings.InvalidGetStatementSuppliedForProperty(Item.Name),
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
179return TryAddNameToCache((element as EntityContainer).Name, element.BuiltInTypeKind.ToString(), cache);
System.Web.DynamicData (1)
DynamicData\ModelProviders\EFTableProvider.cs (1)
54return QuoteEntitySqlIdentifier(entitySet.EntityContainer.Name) + "." + QuoteEntitySqlIdentifier(entitySet.Name);
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceUtil.cs (2)
873return entitySet.EntityContainer.Name + "." + entitySet.Name; 893return QuoteEntitySqlIdentifier(set.EntityContainer.Name) + "." + QuoteEntitySqlIdentifier(set.Name);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceContainerNameItem.cs (1)
39return _entityContainer.Name;