2 instantiations of StorageScalarPropertyMapping
System.Data.Entity (2)
System\Data\Mapping\StorageMappingItemLoader.cs (2)
2489
propertyMappings.Add(new
StorageScalarPropertyMapping
(property, column));
2898
StorageScalarPropertyMapping scalarPropertyMapping = new
StorageScalarPropertyMapping
(member, columnMember);
29 references to StorageScalarPropertyMapping
System.Data.Entity (29)
System\Data\Mapping\BaseMetadataMappingVisitor.cs (3)
379
else if (storagePropertyMapping.GetType() == typeof(
StorageScalarPropertyMapping
))
381
Visit((
StorageScalarPropertyMapping
)storagePropertyMapping);
401
protected virtual void Visit(
StorageScalarPropertyMapping
storageScalarPropertyMapping)
System\Data\Mapping\FunctionImportMappingComposable.cs (3)
409
Debug.Assert(mapping is
StorageScalarPropertyMapping
, "Complex property mapping is not supported in function imports.");
410
var
scalarPropertyMapping = (
StorageScalarPropertyMapping
)mapping;
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
224
protected override void Visit(
StorageScalarPropertyMapping
storageScalarPropertyMapping)
System\Data\Mapping\StorageEndPropertyMapping.cs (1)
105
return m_properties.OfType<
StorageScalarPropertyMapping
>().Select((propertyMap => propertyMap.ColumnProperty)).Cast<EdmMember>();
System\Data\Mapping\StorageMappingItemCollection.cs (4)
544
StorageScalarPropertyMapping
scalarPropMapping = propertyMapping as
StorageScalarPropertyMapping
;
604
StorageScalarPropertyMapping
childScalarPropertyMapping = propertyMapping as
StorageScalarPropertyMapping
;
System\Data\Mapping\StorageMappingItemLoader.cs (7)
2246
var
mapping = propertyMappings[entityType.Properties.IndexOf((EdmProperty)entityType.KeyMembers[i])] as
StorageScalarPropertyMapping
;
2682
StorageScalarPropertyMapping
scalarMap = LoadScalarPropertyMapping(nav.Clone(), containerType, tableType.Properties);
2833
private
StorageScalarPropertyMapping
LoadScalarPropertyMapping(XPathNavigator nav, EdmType containerType, ReadOnlyMetadataCollection<EdmProperty> tableProperties)
2898
StorageScalarPropertyMapping
scalarPropertyMapping = new StorageScalarPropertyMapping(member, columnMember);
3081
StorageScalarPropertyMapping
scalarMap =
3145
StorageScalarPropertyMapping
scalarMap = LoadScalarPropertyMapping(nav.Clone(), containerType, tableType.Properties);
System\Data\Mapping\Update\Internal\ViewLoader.cs (4)
345
foreach (
var
scalarPropertyMapping in FlattenPropertyMappings(mappingFragment.AllProperties)
346
.OfType<
StorageScalarPropertyMapping
>())
376
foreach (
var
scalarPropertyMapping in FlattenPropertyMappings(mappingFragment.AllProperties)
377
.OfType<
StorageScalarPropertyMapping
>())
System\Data\Mapping\ViewGeneration\CellCreator.cs (2)
373
StorageScalarPropertyMapping
scalarPropMap = propMap as
StorageScalarPropertyMapping
;
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (4)
229
IEnumerable<
StorageScalarPropertyMapping
> propertyMaps = foreignKeyEndMap.Properties.Cast<
StorageScalarPropertyMapping
>();
233
IEnumerable<
StorageScalarPropertyMapping
> scalarPropertyMaps = propertyMaps.Where(propMap => (propMap.EdmProperty.Equals(edmProperty)));
235
StorageScalarPropertyMapping
scalarPropertyMap = scalarPropertyMaps.First();