EntityTypeConfiguration<TEntityType> Class
Represents an IEdmEntityType that can be built using ODataModelBuilder.
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<TStructuralType>
System.Web.Http.OData.Builder.EntityTypeConfiguration<TEntityType>
Syntax
public class EntityTypeConfiguration<TEntityType> : StructuralTypeConfiguration<TEntityType>
where TEntityType : class
generic<typename TEntityType>
where TEntityType : ref class
public ref class EntityTypeConfiguration : StructuralTypeConfiguration<TEntityType>
type EntityTypeConfiguration<'TEntityType when 'TEntityType : not struct> =
class
inherit StructuralTypeConfiguration<'TEntityType>
end
Public Class EntityTypeConfiguration(Of TEntityType As Class)
Inherits StructuralTypeConfiguration(Of TEntityType)
Type Parameters
- TEntityType
The backing CLR type for this IEdmEntityType.
Properties
Name | Description | |
---|---|---|
BaseType | Gets the base type of this entity type. |
|
Collection | Used to access a Collection of Entities throw which you can configure actions that are bindable to EntityCollections. |
|
NavigationProperties | Gets the collection of NavigationPropertyConfiguration of this entity type. |
|
Properties | Gets the collection of EDM structural properties that belong to this type. (Inherited from StructuralTypeConfiguration<TStructuralType>.) |
Methods
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