5 instantiations of EnumMember
System.Data.Entity (5)
System\Data\Metadata\Converter.cs (3)
44
new
EnumMember
(
60
new
EnumMember
(
1063
var enumMember = new
EnumMember
(somEnumMember.Name, Convert.ChangeType(somEnumMember.Value, clrEnumUnderlyingType, CultureInfo.InvariantCulture));
System\Data\Metadata\Edm\EnumType.cs (1)
103
new
EnumMember
(
System\Data\Metadata\Edm\MetadataItem_Static.cs (1)
538
enumType.AddMember(new
EnumMember
(enumMemberNames[i], i));
21 references to EnumMember
System.Data.Entity (21)
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (1)
2104
foreach (
var
edmEnumTypeMember in edmEnumType.Members)
System\Data\Common\EntitySql\TypeResolver.cs (3)
117
internal MetadataEnumMember(string name, TypeUsage enumType,
EnumMember
enumMember)
130
internal readonly
EnumMember
EnumMember;
383
EnumMember
member;
System\Data\Mapping\BaseMetadataMappingVisitor.cs (2)
297
foreach (
var
member in enumType.Members)
302
protected virtual void Visit(
EnumMember
enumMember)
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
539
protected override void Visit(
EnumMember
enumMember)
System\Data\Mapping\StorageMappingItemLoader.cs (2)
3489
private static
EnumMember
GetEnumAttributeValue(XPathNavigator nav, string attributeName, EnumType enumType, string sourceLocation, IList<EdmSchemaError> parsingErrors)
3500
EnumMember
result;
System\Data\Mapping\ViewGeneration\Structures\ScalarConstant.cs (4)
112
EnumMember
enumMember = (
EnumMember
)m_scalar;
171
EnumMember
enumMember = m_scalar as
EnumMember
;
System\Data\Metadata\Converter.cs (1)
1063
var
enumMember = new EnumMember(somEnumMember.Name, Convert.ChangeType(somEnumMember.Value, clrEnumUnderlyingType, CultureInfo.InvariantCulture));
System\Data\Metadata\Edm\EnumMember.cs (1)
40
/// Initializes a new instance of the <see cref="
EnumMember
"/> type by using the specified name and value.
System\Data\Metadata\Edm\EnumType.cs (5)
26
private readonly ReadOnlyMetadataCollection<
EnumMember
> _members =
27
new ReadOnlyMetadataCollection<
EnumMember
>(new MetadataCollection<
EnumMember
>());
122
public ReadOnlyMetadataCollection<
EnumMember
> Members
165
internal void AddMember(
EnumMember
enumMember)
System\Data\Metadata\Perspective.cs (1)
63
internal bool TryGetEnumMember(EnumType type, String memberName, bool ignoreCase, out
EnumMember
outMember)