20 references to ConcurrencyMode
System.Data.Entity (20)
System\Data\Common\Utils\MetadataHelper.cs (7)
757
ConcurrencyMode
concurrencyMode = GetConcurrencyMode(member);
758
if (concurrencyMode ==
ConcurrencyMode
.Fixed)
768
internal static
ConcurrencyMode
GetConcurrencyMode(EdmMember member)
774
internal static
ConcurrencyMode
GetConcurrencyMode(TypeUsage typeUsage)
780
ConcurrencyMode
concurrencyMode = (
ConcurrencyMode
)concurrencyFacet.Value;
783
return
ConcurrencyMode
.None;
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (1)
453
if (property.Type is ScalarType && MetadataHelper.GetConcurrencyMode(property.TypeUsage) !=
ConcurrencyMode
.None)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (3)
613
ConcurrencyMode
concurrencyMode;
616
concurrencyMode =
ConcurrencyMode
.None;
620
concurrencyMode =
ConcurrencyMode
.Fixed;
System\Data\Mapping\StorageMappingItemCollection.cs (4)
567
else if (MetadataHelper.GetConcurrencyMode(scalarPropMapping.EdmProperty) ==
ConcurrencyMode
.Fixed)
577
MetadataHelper.GetConcurrencyMode(complexPropMapping.EdmProperty) ==
ConcurrencyMode
.Fixed || HasFixedConcurrencyModeInAnyChildProperty(complexPropMapping))
611
if (childScalarPropertyMapping != null && MetadataHelper.GetConcurrencyMode(childScalarPropertyMapping.EdmProperty) ==
ConcurrencyMode
.Fixed)
617
(MetadataHelper.GetConcurrencyMode(childComplexPropertyMapping.EdmProperty) ==
ConcurrencyMode
.Fixed
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (1)
97
if (MetadataHelper.GetConcurrencyMode(member) ==
ConcurrencyMode
.Fixed)
System\Data\Metadata\Converter.cs (4)
32
Debug.Assert(Enum.GetUnderlyingType(typeof(
ConcurrencyMode
)) == typeof(int), "Please update underlying type below accordingly.");
41
foreach (string name in Enum.GetNames(typeof(
ConcurrencyMode
)))
46
(int)Enum.Parse(typeof(
ConcurrencyMode
), name, false)));
71
ConcurrencyMode
.None);