EdmScalarPropertyAttribute Class

 

Attribute for scalar properties in an IEntity. Implied default AttributeUsage properties Inherited=True, AllowMultiple=False, The metadata system expects this and will only look at the first of each of these attributes, even if there are more.

Namespace:   System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Attribute
    System.Data.Entity.Core.Objects.DataClasses.EdmPropertyAttribute
      System.Data.Entity.Core.Objects.DataClasses.EdmScalarPropertyAttribute

[AttributeUsageAttribute(AttributeTargets.Property)]
public sealed class EdmScalarPropertyAttribute : EdmPropertyAttribute

NameDescription
System_CAPS_pubmethodEdmScalarPropertyAttribute()

Initializes a new instance of the EdmScalarPropertyAttribute class.

NameDescription
System_CAPS_pubpropertyEntityKeyProperty

Gets or sets the value that indicates whether the property is part of the entity key.

System_CAPS_pubpropertyIsNullable

Gets or sets the value that indicates whether the property can have a null value.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.