Share via


PrimitiveTypeConfiguration Class

 

Represents a PrimitiveType

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Builder.PrimitiveTypeConfiguration

Syntax

public class PrimitiveTypeConfiguration : IEdmTypeConfiguration
public ref class PrimitiveTypeConfiguration : IEdmTypeConfiguration
type PrimitiveTypeConfiguration = 
    class
        interface IEdmTypeConfiguration
    end
Public Class PrimitiveTypeConfiguration
    Implements IEdmTypeConfiguration

Constructors

Name Description
System_CAPS_pubmethod PrimitiveTypeConfiguration(ODataModelBuilder, IEdmPrimitiveType, Type)

This constructor is public only for unit testing purposes. To get a PrimitiveTypeConfiguration use ODataModelBuilder.GetTypeConfigurationOrNull(Type)

Properties

Name Description
System_CAPS_pubproperty ClrType

Gets the backing CLR type of this EDM type.

System_CAPS_pubproperty EdmPrimitiveType

Returns the IEdmPrimitiveType associated with this PrimitiveTypeConfiguration

System_CAPS_pubproperty FullName

Gets the full name of this EDM type.

System_CAPS_pubproperty Kind

Gets the EdmTypeKind of this EDM type.

System_CAPS_pubproperty ModelBuilder

Gets the ODataModelBuilder used to create this configuration.

System_CAPS_pubproperty Name

Gets the name of this EDM type.

System_CAPS_pubproperty Namespace

Gets the namespace of this EDM type.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Builder Namespace

Return to top