Share via


StructuralTypeConfiguration Class

Represents an IEdmStructuredType that can be built using ODataModelBuilder.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public MustInherit Class StructuralTypeConfiguration _
    Implements IEdmTypeConfiguration
'Usage
Dim instance As StructuralTypeConfiguration
public abstract class StructuralTypeConfiguration : IEdmTypeConfiguration
public ref class StructuralTypeConfiguration abstract : IEdmTypeConfiguration
[<AbstractClassAttribute>]
type StructuralTypeConfiguration =  
    class 
        interface IEdmTypeConfiguration 
    end
public abstract class StructuralTypeConfiguration implements IEdmTypeConfiguration

The StructuralTypeConfiguration type exposes the following members.

Constructors

  Name Description
Protected method StructuralTypeConfiguration() Initializes a new instance of the StructuralTypeConfiguration class.
Protected method StructuralTypeConfiguration(ODataModelBuilder, Type) Initializes a new instance of the StructuralTypeConfiguration class.

Top

Properties

  Name Description
Public property ClrType Gets the backing CLR Type.
Protected property ExplicitProperties Gets the collection of explicitly added properties.
Public property FullName Gets the full name of this EDM type.
Public property IgnoredProperties Gets the properties from the backing CLR type that are to be ignored on this EDM type.
Public property Kind Gets the EdmTypeKind of this EDM type.
Public property ModelBuilder The ODataModelBuilder.
Public property Name Gets the name of this EDM type.
Public property Namespace Gets the namespace of this EDM type.
Public property Properties Gets the declared properties on this EDM type.
Protected property RemovedProperties Gets the collection of explicitly removed properties.

Top

Methods

  Name Description
Public method AddCollectionProperty Adds a collection property to this edm type.
Public method AddComplexProperty Adds a complex property to this edm type.
Public method AddProperty Adds a primitive property to this edm type.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveProperty Removes the given property.
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Web.Http.OData.Builder Namespace