EdmScalarPropertyAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class EdmScalarPropertyAttribute : System.Data.Entity.Core.Objects.DataClasses.EdmPropertyAttribute
type EdmScalarPropertyAttribute = class
inherit EdmPropertyAttribute
Public NotInheritable Class EdmScalarPropertyAttribute
Inherits EdmPropertyAttribute
- Inheritance
- Attributes
Constructors
EdmScalarPropertyAttribute() |
Properties
EntityKeyProperty |
Gets or sets the value that indicates whether the property is part of the entity key. |
IsNullable |
Gets or sets the value that indicates whether the property can have a null value. |
Applies to
Entity Framework