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 | |
---|---|---|
Properties | Gets the collection of EDM structural properties that belong to this type. (Inherited from StructuralTypeConfiguration<TStructuralType>.) |
Top
Methods
Name | Description | |
---|---|---|
CollectionProperty<TElementType> | Adds a collection property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.) | |
ComplexProperty<TComplexType> | Adds a complex property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Ignore<TProperty> | Excludes a property from the type. (Inherited from StructuralTypeConfiguration<TStructuralType>.) | |
MemberwiseClone | (Inherited from Object.) | |
Property(Expression<Func<TStructuralType, String>>) | Adds a string property to the EDM type. (Inherited from StructuralTypeConfiguration<TStructuralType>.) | |
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.