PrimitiveType PrimitiveType PrimitiveType PrimitiveType Class

Definition

Describes the .NET Framework primitive types, conceptual model primitive types, and storage provider-specific primitive types.

public ref class PrimitiveType sealed : System::Data::Metadata::Edm::SimpleType
public sealed class PrimitiveType : System.Data.Metadata.Edm.SimpleType
type PrimitiveType = class
    inherit SimpleType
Public NotInheritable Class PrimitiveType
Inherits SimpleType
Inheritance

Remarks

For more information, see Simple Types.

Properties

Abstract Abstract Abstract Abstract

Gets a value indicating whether this type is abstract or not.

(Inherited from EdmType)
BaseType BaseType BaseType BaseType

Gets the base type of this type.

(Inherited from EdmType)
BuiltInTypeKind BuiltInTypeKind BuiltInTypeKind BuiltInTypeKind

Gets the built-in type kind for this PrimitiveType.

ClrEquivalentType ClrEquivalentType ClrEquivalentType 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 Documentation Documentation Documentation

Gets or sets the documentation associated with this type.

(Inherited from MetadataItem)
FacetDescriptions FacetDescriptions FacetDescriptions FacetDescriptions

Gets the list of facet descriptions for this PrimitiveType.

FullName FullName FullName FullName

Gets the full name of this type.

(Inherited from EdmType)
MetadataProperties MetadataProperties MetadataProperties MetadataProperties

Gets the list of properties of the current type.

(Inherited from MetadataItem)
Name Name Name Name

Gets the name of this type.

(Inherited from EdmType)
NamespaceName NamespaceName NamespaceName NamespaceName

Gets the namespace of this type.

(Inherited from EdmType)
PrimitiveTypeKind PrimitiveTypeKind PrimitiveTypeKind PrimitiveTypeKind

Gets a PrimitiveTypeKind enumeration value that indicates a primitive type of this PrimitiveType.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetCollectionType() GetCollectionType() GetCollectionType() GetCollectionType()

Returns an instance of the CollectionType whose element type is this type.

(Inherited from EdmType)
GetEdmPrimitiveType() GetEdmPrimitiveType() GetEdmPrimitiveType() GetEdmPrimitiveType()

Returns the equivalent EdmType of this PrimitiveType.

GetEdmPrimitiveType(PrimitiveTypeKind) GetEdmPrimitiveType(PrimitiveTypeKind) GetEdmPrimitiveType(PrimitiveTypeKind) GetEdmPrimitiveType(PrimitiveTypeKind)

Returns the equivalent EdmType of a PrimitiveType.

GetEdmPrimitiveTypes() GetEdmPrimitiveTypes() GetEdmPrimitiveTypes() GetEdmPrimitiveTypes()

Returns the list of primitive types.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns the full name of this type.

(Inherited from EdmType)

Applies to