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