Edit

Share via


PrimitiveType Class

Definition

Describes the .NET 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

Properties

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.

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.

Methods

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

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)

Applies to