EntityTypeConfiguration<TEntityType> Class
Represents an IEdmEntityType that can be built using ODataModelBuilder.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.OData.Builder.StructuralTypeConfiguration<TStructuralType>
System.Web.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 through which you can configure actions and functions that are bindable to EntityCollections. |
|
FullName | Gets the full name of this EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.) |
|
IsOpen | Gets an indicator whether this EDM type is an open type or not. Returns true if this is an open type; false otherwise.(Inherited from StructuralTypeConfiguration<TStructuralType>.) |
|
Name | Gets and sets the name of this EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.) |
|
Namespace | Gets and sets the namespace of this EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.) |
|
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.OData.Builder Namespace
Return to top