ComplexTypeConfiguration<TComplexType>.DerivesFrom<TBaseType> Method ()
Sets the base type of this complex type.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public ComplexTypeConfiguration<TComplexType> DerivesFrom<TBaseType>()
where TBaseType : class
public:
generic<typename TBaseType>
where TBaseType : ref class
ComplexTypeConfiguration<TComplexType>^ DerivesFrom()
member DerivesFrom<'TBaseType when 'TBaseType : not struct> : unit -> ComplexTypeConfiguration<'TComplexType>
Public Function DerivesFrom(Of TBaseType As Class) As ComplexTypeConfiguration(Of TComplexType)
Return Value
Type: System.Web.OData.Builder.ComplexTypeConfiguration<TComplexType>
Returns itself so that multiple calls can be chained.
Type Parameters
- TBaseType
The base complex type.
See Also
ComplexTypeConfiguration<TComplexType> Class
System.Web.OData.Builder Namespace
Return to top