PrimitiveType Class
Describes the .NET Framework primitive types, conceptual model primitive types, and storage provider-specific primitive types.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
System.Data.Metadata.Edm::MetadataItem
System.Data.Metadata.Edm::GlobalItem
System.Data.Metadata.Edm::EdmType
System.Data.Metadata.Edm::SimpleType
System.Data.Metadata.Edm::PrimitiveType
| Name | Description | |
|---|---|---|
![]() | Abstract | Gets a value indicating whether this type is abstract or not. (Inherited from EdmType.) |
![]() | BaseType | Gets the base type of this type.(Inherited from EdmType.) |
![]() | BuiltInTypeKind | Gets the built-in type kind for this PrimitiveType.(Overrides MetadataItem::BuiltInTypeKind.) |
![]() | ClrEquivalentType | Returns an equivalent common language runtime (CLR) type of this PrimitiveType. Note that the ClrEquivalentType property always returns a non-nullable type value. |
![]() | Documentation | Gets or sets the documentation associated with this type.(Inherited from MetadataItem.) |
![]() | FacetDescriptions | Gets the list of facet descriptions for this PrimitiveType. |
![]() | FullName | Gets the full name of this type.(Inherited from EdmType.) |
![]() | MetadataProperties | Gets the list of properties of the current type.(Inherited from MetadataItem.) |
![]() | Name | Gets the name of this type.(Inherited from EdmType.) |
![]() | NamespaceName | Gets the namespace of this type.(Inherited from EdmType.) |
![]() | PrimitiveTypeKind | Gets a PrimitiveTypeKind enumeration value that indicates a primitive type of this PrimitiveType. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetCollectionType() | Returns an instance of the CollectionType whose element type is this type. (Inherited from EdmType.) |
![]() | GetEdmPrimitiveType() | Returns the equivalent EdmType of this PrimitiveType. |
![]() ![]() | GetEdmPrimitiveType(PrimitiveTypeKind) | Returns the equivalent EdmType of a PrimitiveType. |
![]() ![]() | GetEdmPrimitiveTypes() | Returns the list of primitive types. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Returns the full name of this type.(Inherited from EdmType.) |
For more information, see Simple Types.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


