Share via


StructuralTypeConfiguration Class

 

Represents an IEdmStructuredType that can be built using ODataModelBuilder.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Builder.StructuralTypeConfiguration
    System.Web.Http.OData.Builder.ComplexTypeConfiguration
    System.Web.Http.OData.Builder.EntityTypeConfiguration

Syntax

public abstract class StructuralTypeConfiguration : IEdmTypeConfiguration
public ref class StructuralTypeConfiguration abstract : IEdmTypeConfiguration
[<AbstractClass>]
type StructuralTypeConfiguration = 
    class
        interface IEdmTypeConfiguration
    end
Public MustInherit Class StructuralTypeConfiguration
    Implements IEdmTypeConfiguration

Constructors

Name Description
System_CAPS_protmethod StructuralTypeConfiguration()

Initializes a new instance of the StructuralTypeConfiguration class.

System_CAPS_protmethod StructuralTypeConfiguration(ODataModelBuilder, Type)

Initializes a new instance of the StructuralTypeConfiguration class.

Properties

Name Description
System_CAPS_pubproperty ClrType

Gets the backing CLR Type.

System_CAPS_protproperty ExplicitProperties

Gets the collection of explicitly added properties.

System_CAPS_pubproperty FullName

Gets the full name of this edm type.

System_CAPS_pubproperty IgnoredProperties

Gets the properties from the backing CLR type that are to be ignored on this edm type.

System_CAPS_pubproperty Kind

Gets the EdmTypeKind of this edm type.

System_CAPS_pubproperty ModelBuilder

The ODataModelBuilder.

System_CAPS_pubproperty Name

Gets the name of this edm type.

System_CAPS_pubproperty Namespace

Gets the namespace of this edm type.

System_CAPS_pubproperty Properties

Gets the declared properties on this edm type.

System_CAPS_protproperty RemovedProperties

Gets the collection of explicitly removed properties.

Methods

Name Description
System_CAPS_pubmethod AddCollectionProperty(PropertyInfo)

Adds a collection property to this edm type.

System_CAPS_pubmethod AddComplexProperty(PropertyInfo)

Adds a complex property to this edm type.

System_CAPS_pubmethod AddProperty(PropertyInfo)

Adds a primitive property to this edm type.

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

Removes the given property.

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.Http.OData.Builder Namespace

Return to top