Jaa


ODataModelBuilder.AddComplexType(Type) Method

Definition

Registers an complex type as part of the model and returns an object that can be used to configure the entity. This method can be called multiple times for the same entity to perform multiple lines of configuration.

public virtual Microsoft.AspNet.OData.Builder.ComplexTypeConfiguration AddComplexType (Type type);
abstract member AddComplexType : Type -> Microsoft.AspNet.OData.Builder.ComplexTypeConfiguration
override this.AddComplexType : Type -> Microsoft.AspNet.OData.Builder.ComplexTypeConfiguration
Public Overridable Function AddComplexType (type As Type) As ComplexTypeConfiguration

Parameters

type
Type

The type to be registered or configured.

Returns

The configuration object for the specified complex type.

Applies to