Share via


ComplexTypeConfiguration<TComplexType> Class

Represents an IEdmComplexType that can be built using ODataModelBuilder.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Builder.StructuralTypeConfiguration<TComplexType>
    System.Web.Http.OData.Builder.ComplexTypeConfiguration<TComplexType>

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

Syntax

'Declaration
Public Class ComplexTypeConfiguration(Of TComplexType As Class) _
    Inherits StructuralTypeConfiguration(Of TComplexType)
'Usage
Dim instance As ComplexTypeConfiguration(Of TComplexType)
public class ComplexTypeConfiguration<TComplexType> : StructuralTypeConfiguration<TComplexType>
where TComplexType : class
generic<typename TComplexType>
where TComplexType : ref class 
public ref class ComplexTypeConfiguration : public StructuralTypeConfiguration<TComplexType>
type ComplexTypeConfiguration<'TComplexType when 'TComplexType : not struct> =  
    class 
        inherit StructuralTypeConfiguration<'TComplexType>
    end
JScript does not support generic types and methods.

Type Parameters

  • TComplexType

The ComplexTypeConfiguration<TComplexType> type exposes the following members.

Properties

  Name Description
Public property Properties Gets the collection of EDM structural properties that belong to this type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

Top

Methods

  Name Description
Public method CollectionProperty<TElementType> Adds a collection property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)
Public method ComplexProperty<TComplexType> Adds a complex property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Ignore<TProperty> Excludes a property from the type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Property(Expression<Func<TStructuralType, String>>) Adds a string property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)
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