ComplexTypeConfiguration Class
Allows configuration to be performed for a complex type in a model. A ComplexTypeConfiguration can be obtained by using the method ComplexType<TComplexType>.
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
System.Web.Http.OData.Builder.ComplexTypeConfiguration
Syntax
public class ComplexTypeConfiguration : StructuralTypeConfiguration
public ref class ComplexTypeConfiguration : StructuralTypeConfiguration
type ComplexTypeConfiguration =
class
inherit StructuralTypeConfiguration
end
Public Class ComplexTypeConfiguration
Inherits StructuralTypeConfiguration
Constructors
Name | Description | |
---|---|---|
ComplexTypeConfiguration() | Initializes a new instance of the ComplexTypeConfiguration class. |
|
ComplexTypeConfiguration(ODataModelBuilder, Type) | Initializes a new instance of the ComplexTypeConfiguration class. |
Properties
Name | Description | |
---|---|---|
ClrType | Gets the backing CLR Type.(Inherited from StructuralTypeConfiguration.) |
|
ExplicitProperties | Gets the collection of explicitly added properties.(Inherited from StructuralTypeConfiguration.) |
|
FullName | Gets the full name of this edm type.(Inherited from StructuralTypeConfiguration.) |
|
IgnoredProperties | Gets the properties from the backing CLR type that are to be ignored on this edm type.(Inherited from StructuralTypeConfiguration.) |
|
Kind | (Overrides StructuralTypeConfiguration.Kind.) |
|
ModelBuilder | The ODataModelBuilder.(Inherited from StructuralTypeConfiguration.) |
|
Name | Gets the name of this edm type.(Inherited from StructuralTypeConfiguration.) |
|
Namespace | Gets the namespace of this edm type.(Inherited from StructuralTypeConfiguration.) |
|
Properties | Gets the declared properties on this edm type.(Inherited from StructuralTypeConfiguration.) |
|
RemovedProperties | Gets the collection of explicitly removed properties.(Inherited from StructuralTypeConfiguration.) |
Methods
Name | Description | |
---|---|---|
AddCollectionProperty(PropertyInfo) | Adds a collection property to this edm type.(Inherited from StructuralTypeConfiguration.) |
|
AddComplexProperty(PropertyInfo) | Adds a complex property to this edm type.(Inherited from StructuralTypeConfiguration.) |
|
AddProperty(PropertyInfo) | Adds a primitive property to this edm type.(Inherited from StructuralTypeConfiguration.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
RemoveProperty(PropertyInfo) | Removes the given property.(Inherited from StructuralTypeConfiguration.) |
|
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