EdmProperty Class

 

In conceptual-space, EdmProperty represents a property on an Entity. In store-space, EdmProperty represents a column in a table.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)


public class EdmProperty : EdmMember

NameDescription
System_CAPS_pubpropertyBuiltInTypeKind

Gets the built-in type kind for this EdmProperty.(Overrides MetadataItem.BuiltInTypeKind.)

System_CAPS_pubpropertyCollectionKind

Gets or sets the kind of collection for this model.

System_CAPS_pubpropertyComplexType

Gets the complex type information for this property.

System_CAPS_pubpropertyConcurrencyMode

Gets or sets the concurrency mode for the property.

System_CAPS_pubpropertyDeclaringType

Gets the type on which this member is declared.(Inherited from EdmMember.)

System_CAPS_pubpropertyDefaultValue

Gets the default value for this EdmProperty.

System_CAPS_pubpropertyDocumentation

Gets or sets the documentation associated with this type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyEnumType

Gets the enumeration type information for this property.

System_CAPS_pubpropertyIsCollectionType

Gets whether the property is a collection type property.

System_CAPS_pubpropertyIsComplexType

Gets whether this property is a complex type property.

System_CAPS_pubpropertyIsEnumType

Gets whether this property is an enumeration type property.

System_CAPS_pubpropertyIsFixedLength

Gets or sets whether the length of this property is fixed.

System_CAPS_pubpropertyIsFixedLengthConstant

Gets whether the fixed length facet is constant for the database provider.

System_CAPS_pubpropertyIsMaxLength

Gets or sets whether this property uses the maximum length supported by the provider.

System_CAPS_pubpropertyIsMaxLengthConstant

Gets whether the maximum length facet is constant for the database provider.

System_CAPS_pubpropertyIsPrecisionConstant

Gets whether the precision facet is constant for the database provider.

System_CAPS_pubpropertyIsPrimitiveType

Gets whether this property is a primitive type.

System_CAPS_pubpropertyIsScaleConstant

Gets whether the scale facet is constant for the database provider.

System_CAPS_pubpropertyIsStoreGeneratedComputed

Tells whether this member is marked as a Computed member in the EDM definition(Inherited from EdmMember.)

System_CAPS_pubpropertyIsStoreGeneratedIdentity

Tells whether this member's Store generated pattern is marked as Identity in the EDM definition(Inherited from EdmMember.)

System_CAPS_pubpropertyIsUnderlyingPrimitiveType

Gets whether this property is an underlying primitive type.

System_CAPS_pubpropertyIsUnicode

Gets or sets whether this property is a Unicode property.

System_CAPS_pubpropertyIsUnicodeConstant

Gets whether the Unicode facet is constant for the database provider.

System_CAPS_pubpropertyMaxLength

Gets or sets the maximum length of the property.

System_CAPS_pubpropertyMetadataProperties

Gets the list of properties of the current type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyName

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.)

System_CAPS_pubpropertyNullable

Gets a value indicating whether this EdmProperty can have a null value.

System_CAPS_pubpropertyPrecision

Gets or sets the precision of this property.

System_CAPS_pubpropertyPrimitiveType

Gets the primitive type information for this property.

System_CAPS_pubpropertyScale

Gets or sets the scale of this property.

System_CAPS_pubpropertyStoreGeneratedPattern

Gets or sets the database generation method for the database column associated with this property

System_CAPS_pubpropertyTypeName

Gets the type name of the property.

System_CAPS_pubpropertyTypeUsage

Gets the instance of the TypeUsage class that contains both the type of the member and facets for the type.(Inherited from EdmMember.)

System_CAPS_pubpropertyUnderlyingPrimitiveType

Gets the underlying primitive type information for this property.

NameDescription
System_CAPS_pubmethodAddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.(Inherited from MetadataItem.)

System_CAPS_pubmethodSystem_CAPS_staticCreate(String, TypeUsage)

Creates a new instance of EdmProperty type.

System_CAPS_pubmethodSystem_CAPS_staticCreateComplex(String, ComplexType)

Creates a new complex property.

System_CAPS_pubmethodSystem_CAPS_staticCreateEnum(String, EnumType)

Creates a new enum property.

System_CAPS_pubmethodSystem_CAPS_staticCreatePrimitive(String, PrimitiveType)

Creates a new primitive property.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveAnnotation(String)

Removes an annotation with the specified name.(Inherited from MetadataItem.)

System_CAPS_pubmethodSetMetadataProperties(IEnumerable<MetadataProperty>)

Sets the metadata properties.

System_CAPS_pubmethodToString()

Returns the name of this member.(Inherited from EdmMember.)

NameDescription
System_CAPS_pubmethodGetDependentProperty(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.)

System_CAPS_pubmethodGetStoreGeneratedPatternValue(Version, DataSpace)

Obtains the StoreGeneratedPattern value of an EdmProperty, given a target version and DataSpace(Defined by MetadataWorkspaceExtensions.)

System_CAPS_pubmethodGetStoreType(DbProviderManifest)

Get the StoreType from an EdmMember's EdmType through the DbProviderManifest(Defined by MetadataWorkspaceExtensions.)

System_CAPS_pubmethodInferSsdlFacetsForCsdlProperty(DbProviderManifest)

Infer SSDL facets from a CSDL property(Defined by MetadataWorkspaceExtensions.)

System_CAPS_pubmethodIsComplexProperty()

Determines if this property is a ComplexProperty; that is, its type is a ComplexType(Defined by MetadataWorkspaceExtensions.)

System_CAPS_pubmethodToStoreType()

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.