PrimitiveType Class

Definition

Class representing a primitive type

public class PrimitiveType : System.Data.Entity.Core.Metadata.Edm.SimpleType
type PrimitiveType = class
    inherit SimpleType
Public 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

AddAnnotation(String, Object)

Adds or updates an annotation with the specified name and value.

(Inherited from MetadataItem)
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.

RemoveAnnotation(String)

Removes an annotation with the specified name.

(Inherited from MetadataItem)
ToString()

Returns the full name of this type.

(Inherited from EdmType)

Applies to