EntityTypeConfiguration.DerivesFrom 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
'Declaration
Public Overridable Function DerivesFrom ( _
baseType As EntityTypeConfiguration _
) As EntityTypeConfiguration
'Usage
Dim instance As EntityTypeConfiguration
Dim baseType As EntityTypeConfiguration
Dim returnValue As EntityTypeConfiguration
returnValue = instance.DerivesFrom(baseType)
public virtual EntityTypeConfiguration DerivesFrom(
EntityTypeConfiguration baseType
)
public:
virtual EntityTypeConfiguration^ DerivesFrom(
EntityTypeConfiguration^ baseType
)
abstract DerivesFrom :
baseType:EntityTypeConfiguration -> EntityTypeConfiguration
override DerivesFrom :
baseType:EntityTypeConfiguration -> EntityTypeConfiguration
public function DerivesFrom(
baseType : EntityTypeConfiguration
) : EntityTypeConfiguration
Parameters
- baseType
Type: System.Web.Http.OData.Builder.EntityTypeConfiguration
The base entity type.
Return Value
Type: System.Web.Http.OData.Builder.EntityTypeConfiguration
Returns itself so that multiple calls can be chained.