30 references to Single
System.Data.Entity (25)
System\Data\Common\CommandTrees\Internal\ViewSimplifier.cs (1)
310
var singleKeyNameAndValue = keyPropAndValue.
Single
();
System\Data\Common\Utils\MetadataHelper.cs (1)
291
e => !e.EdmEquals(end)).
Single
();
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (1)
290
ReferentialConstraint rc = aSet.ElementType.ReferentialConstraints.
Single
();
System\Data\Mapping\StorageMappingItemLoader.cs (5)
1424
ReferentialConstraint constraint = associationSet.ElementType.ReferentialConstraints.
Single
();
1426
if (associationSet.ElementType.ReferentialConstraints.
Single
().ToProperties.All(p => dependentKeys.Contains(p)))
1707
targetFunction = functionOverloads.
Single
();
4070
ReferentialConstraint constraint = associationSet.ElementType.ReferentialConstraints.
Single
();
4313
ReferentialConstraint constraint = associationType.ReferentialConstraints.
Single
();
System\Data\Mapping\ViewGeneration\BasicViewGenerator.cs (3)
375
if (resultIJDriverChildren == null || !resultIJDriverChildren.Contains(nodes.
Single
()))
382
extentLojNode.Add(extentInfo.Value.
Single
());
456
yield return pkFkInfo.Item1.AssociationSetEnds.Where(ase => ase.Name == pkFkInfo.Item2.ToRole.Name).
Single
().EntitySet;
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (1)
194
return this.Slots.Where(slot => slot.IsRequiredByParent).
Single
().AsCqt(row);
System\Data\Mapping\ViewGeneration\DiscriminatorMap.cs (1)
137
typeMap.Add(new KeyValuePair<object, EntityType>(discriminatorDomain.
Single
(), elseType));
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (1)
242
bool isNull = constants.Count == 1 && constants.
Single
().IsNull();
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (3)
105
cqt = cqt.Equal(domainValues.
Single
().AsCqt(row, this.RestrictedMemberSlot.MemberPath));
171
domainValues.
Single
().ToCompactString(builder);
175
domainValues.
Single
().AsEsql(builder, RestrictedMemberSlot.MemberPath, blockAlias);
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (1)
144
cqt = cqt.IsOfOnly(TypeUsage.Create(((TypeConstant)this.Domain.Values.
Single
()).EdmType));
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
675
var edmScalarPropertyAttribute = (EdmScalarPropertyAttribute)clrProperty.GetCustomAttributes(typeof(EdmScalarPropertyAttribute), false).
Single
();
System\Data\Objects\DataClasses\EntityReference.cs (1)
637
ReferentialConstraint constraint = ((AssociationType)RelationMetadata).ReferentialConstraints.
Single
();
System\Data\Objects\ELinq\Funcletizer.cs (1)
423
parameterExp = parameters.
Single
();
System\Data\Objects\ELinq\InitializerFacet.cs (1)
226
ConstructorInfo constructor = groupType.GetConstructors().
Single
();
System\Data\Objects\ELinq\ObjectQueryProvider.cs (1)
215
return (sequence) => { return Enumerable.
Single
(sequence); };
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
180
var member = memberGroup.
Single
();
System\Data\SqlClient\SqlProviderUtilities.cs (1)
196
var constraint = associationSet.ElementType.ReferentialConstraints.
Single
();
System.Data.Entity.Design (1)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1202
var tableColumn = columns.Where(c => c.ColumnName == pkColumn.Name).
Single
();
System.Data.Linq (1)
SqlClient\Query\QueryConverter.cs (1)
2703
exprs[i] = this.VisitExpression(list.Initializers[i].Arguments.
Single
());
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
114
return query.AsEnumerable().
Single
();
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
861
return entitySets.
Single
();
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
818
return (AssociationEndMember)end.DeclaringType.Members.Where(m => m != end).
Single
();