PrimitiveType Class

PrimitiveType Class

.NET Framework (current version)
 

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

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

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

public sealed class PrimitiveType : SimpleType

NameDescription
System_CAPS_pubpropertyAbstract

Gets a value indicating whether this type is abstract or not. (Inherited from EdmType.)

System_CAPS_pubpropertyBaseType

Gets the base type of this type.(Inherited from EdmType.)

System_CAPS_pubpropertyBuiltInTypeKind

Gets the built-in type kind for this PrimitiveType.(Overrides MetadataItem.BuiltInTypeKind.)

System_CAPS_pubpropertyClrEquivalentType

Returns an equivalent common language runtime (CLR) type of this PrimitiveType. Note that the ClrEquivalentType property always returns a non-nullable type value.

System_CAPS_pubpropertyDocumentation

Gets or sets the documentation associated with this type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyFacetDescriptions

Gets the list of facet descriptions for this PrimitiveType.

System_CAPS_pubpropertyFullName

Gets the full name of this type.(Inherited from EdmType.)

System_CAPS_pubpropertyMetadataProperties

Gets the list of properties of the current type.(Inherited from MetadataItem.)

System_CAPS_pubpropertyName

Gets the name of this type.(Inherited from EdmType.)

System_CAPS_pubpropertyNamespaceName

Gets the namespace of this type.(Inherited from EdmType.)

System_CAPS_pubpropertyPrimitiveTypeKind

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetCollectionType()

Returns an instance of the CollectionType whose element type is this type. (Inherited from EdmType.)

System_CAPS_pubmethodGetEdmPrimitiveType()

Returns the equivalent EdmType of this PrimitiveType.

System_CAPS_pubmethodSystem_CAPS_staticGetEdmPrimitiveType(PrimitiveTypeKind)

Returns the equivalent EdmType of a PrimitiveType.

System_CAPS_pubmethodSystem_CAPS_staticGetEdmPrimitiveTypes()

Returns the list of primitive types.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the full name of this type.(Inherited from EdmType.)

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft