EdmProperty Class
In conceptual-space, EdmProperty represents a property on an Entity. In store-space, EdmProperty represents a column in a table.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Core.Metadata.Edm.MetadataItem
System.Data.Entity.Core.Metadata.Edm.EdmMember
System.Data.Entity.Core.Metadata.Edm.EdmProperty
Name | Description | |
---|---|---|
![]() | BuiltInTypeKind | Gets the built-in type kind for this EdmProperty.(Overrides MetadataItem.BuiltInTypeKind.) |
![]() | CollectionKind | Gets or sets the kind of collection for this model. |
![]() | ComplexType | Gets the complex type information for this property. |
![]() | ConcurrencyMode | Gets or sets the concurrency mode for the property. |
![]() | DeclaringType | Gets the type on which this member is declared.(Inherited from EdmMember.) |
![]() | DefaultValue | Gets the default value for this EdmProperty. |
![]() | Documentation | Gets or sets the documentation associated with this type.(Inherited from MetadataItem.) |
![]() | EnumType | Gets the enumeration type information for this property. |
![]() | IsCollectionType | Gets whether the property is a collection type property. |
![]() | IsComplexType | Gets whether this property is a complex type property. |
![]() | IsEnumType | Gets whether this property is an enumeration type property. |
![]() | IsFixedLength | Gets or sets whether the length of this property is fixed. |
![]() | IsFixedLengthConstant | Gets whether the fixed length facet is constant for the database provider. |
![]() | IsMaxLength | Gets or sets whether this property uses the maximum length supported by the provider. |
![]() | IsMaxLengthConstant | Gets whether the maximum length facet is constant for the database provider. |
![]() | IsPrecisionConstant | Gets whether the precision facet is constant for the database provider. |
![]() | IsPrimitiveType | Gets whether this property is a primitive type. |
![]() | IsScaleConstant | Gets whether the scale facet is constant for the database provider. |
![]() | IsStoreGeneratedComputed | Tells whether this member is marked as a Computed member in the EDM definition(Inherited from EdmMember.) |
![]() | IsStoreGeneratedIdentity | Tells whether this member's Store generated pattern is marked as Identity in the EDM definition(Inherited from EdmMember.) |
![]() | IsUnderlyingPrimitiveType | Gets whether this property is an underlying primitive type. |
![]() | IsUnicode | Gets or sets whether this property is a Unicode property. |
![]() | IsUnicodeConstant | Gets whether the Unicode facet is constant for the database provider. |
![]() | MaxLength | Gets or sets the maximum length of the property. |
![]() | MetadataProperties | Gets the list of properties of the current type.(Inherited from MetadataItem.) |
![]() | Name | Gets or sets the name of the property. Setting this from a store-space model-convention will change the name of the database column for this property. In the conceptual model, this should align with the corresponding property from the entity class and should not be changed.(Inherited from EdmMember.) |
![]() | Nullable | Gets a value indicating whether this EdmProperty can have a null value. |
![]() | Precision | Gets or sets the precision of this property. |
![]() | PrimitiveType | Gets the primitive type information for this property. |
![]() | Scale | Gets or sets the scale of this property. |
![]() | StoreGeneratedPattern | Gets or sets the database generation method for the database column associated with this property |
![]() | TypeName | Gets the type name of the property. |
![]() | TypeUsage | |
![]() | UnderlyingPrimitiveType | Gets the underlying primitive type information for this property. |
Name | Description | |
---|---|---|
![]() | AddAnnotation(String, Object) | Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.) |
![]() ![]() | Create(String, TypeUsage) | Creates a new instance of EdmProperty type. |
![]() ![]() | CreateComplex(String, ComplexType) | Creates a new complex property. |
![]() ![]() | CreateEnum(String, EnumType) | Creates a new enum property. |
![]() ![]() | CreatePrimitive(String, PrimitiveType) | Creates a new primitive property. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RemoveAnnotation(String) | Removes an annotation with the specified name.(Inherited from MetadataItem.) |
![]() | SetMetadataProperties(IEnumerable<MetadataProperty>) | Sets the metadata properties. |
![]() | ToString() | Returns the name of this member.(Inherited from EdmMember.) |
Name | Description | |
---|---|---|
![]() | GetDependentProperty(ReferentialConstraint) | If this is a property that participates in the principal end of a referential constraint, this method will return the corresponding property on the dependent end.(Defined by MetadataWorkspaceExtensions.) |
![]() | GetStoreGeneratedPatternValue(Version, DataSpace) | Obtains the StoreGeneratedPattern value of an EdmProperty, given a target version and DataSpace(Defined by MetadataWorkspaceExtensions.) |
![]() | GetStoreType(DbProviderManifest) | Get the StoreType from an EdmMember's EdmType through the DbProviderManifest(Defined by MetadataWorkspaceExtensions.) |
![]() | InferSsdlFacetsForCsdlProperty(DbProviderManifest) | Infer SSDL facets from a CSDL property(Defined by MetadataWorkspaceExtensions.) |
![]() | IsComplexProperty() | Determines if this property is a ComplexProperty; that is, its type is a ComplexType(Defined by MetadataWorkspaceExtensions.) |
![]() | ToStoreType() | Translate an EDM Type to a SQL type, taking into account facets. Note that certain facets were already taken into account when we obtained them from the DbProviderManifest (FixedLength, Unicode)(Defined by MetadataWorkspaceExtensions.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.