Share via


EntityTypeConfiguration<TEntityType>.DerivesFromNothing Method

Sets the base type of this entity type to null meaning that this entity type does not derive from anything.

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Function DerivesFromNothing As EntityTypeConfiguration(Of TEntityType)
'Usage
Dim instance As EntityTypeConfiguration 
Dim returnValue As EntityTypeConfiguration(Of TEntityType)

returnValue = instance.DerivesFromNothing()
public EntityTypeConfiguration<TEntityType> DerivesFromNothing()
public:
EntityTypeConfiguration<TEntityType>^ DerivesFromNothing()
member DerivesFromNothing : unit -> EntityTypeConfiguration<'TEntityType> 
public function DerivesFromNothing() : EntityTypeConfiguration<TEntityType>

Return Value

Type: System.Web.Http.OData.Builder.EntityTypeConfiguration<TEntityType>
Returns itself so that multiple calls can be chained.

See Also

Reference

EntityTypeConfiguration<TEntityType> Class

System.Web.Http.OData.Builder Namespace