Compartilhar via


ComplexTypeConfiguration<TComplexType> Class

 

Represents an IEdmComplexType 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<TStructuralType>
    System.Web.Http.OData.Builder.ComplexTypeConfiguration<TComplexType>

Syntax

public class ComplexTypeConfiguration<TComplexType> : StructuralTypeConfiguration<TComplexType>
where TComplexType : class
generic<typename TComplexType>
where TComplexType : ref class
public ref class ComplexTypeConfiguration : StructuralTypeConfiguration<TComplexType>
type ComplexTypeConfiguration<'TComplexType when 'TComplexType : not struct> = 
    class
        inherit StructuralTypeConfiguration<'TComplexType>
    end
Public Class ComplexTypeConfiguration(Of TComplexType As Class)
    Inherits StructuralTypeConfiguration(Of TComplexType)

Properties

Name Description
System_CAPS_pubproperty Properties

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

Methods

Name Description
System_CAPS_pubmethod CollectionProperty<TElementType>(Expression<Func<TStructuralType, IEnumerable<TElementType>>>)

Adds a collection property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethod ComplexProperty<TComplexType>(Expression<Func<TStructuralType, TComplexType>>)

Adds a complex property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

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_pubmethod Ignore<TProperty>(Expression<Func<TStructuralType, TProperty>>)

Excludes a property from the type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Property(Expression<Func<TStructuralType, String>>)

Adds a string property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethod Property(Expression<Func<TStructuralType, String>>)

Adds a string property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethod Property(Expression<Func<TStructuralType, String>>)

Adds a string property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethod Property(Expression<Func<TStructuralType, String>>)

Adds a string property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethod Property(Expression<Func<TStructuralType, String>>)

Adds a string property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)

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