This documentation is archived and is not being maintained.
PrimitiveType Class
Visual Studio 2010
Describes the .NET Framework primitive types, conceptual model primitive types, and storage provider-specific primitive types.
System::Object
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
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
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The PrimitiveType type exposes the following members.
| 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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns the full name of this type. (Inherited from EdmType.) |
For more information, see Simple Types.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
