EntityTypeConfiguration Class
Represents an IEdmEntityType that can be built using ODataModelBuilder.
Assembly: System.Web.OData (in System.Web.OData.dll)
System.Web.OData.Builder::StructuralTypeConfiguration
System.Web.OData.Builder::EntityTypeConfiguration
| Name | Description | |
|---|---|---|
![]() | EntityTypeConfiguration() | Initializes a new instance of the EntityTypeConfiguration class. |
![]() | EntityTypeConfiguration(ODataModelBuilder^, Type^) | Initializes a new instance of the EntityTypeConfiguration class. |
| Name | Description | |
|---|---|---|
![]() | AddedExplicitly | Gets or sets a value that is true if the type's name or namespace was set by the user; false if it was inferred through conventions. (Inherited from StructuralTypeConfiguration.) |
![]() | BaseType | Gets or sets the base type of this entity type. |
![]() | BaseTypeConfigured | Gets a value that represents whether the base type is explicitly configured or inferred. (Inherited from StructuralTypeConfiguration.) |
![]() | BaseTypeInternal | Gets the base type of this structural type. (Inherited from StructuralTypeConfiguration.) |
![]() | ClrType | Gets the backing CLR Type. (Inherited from StructuralTypeConfiguration.) |
![]() | DynamicPropertyDictionary | Gets the CLR property info of the dynamic property dictionary on this structural type. (Inherited from StructuralTypeConfiguration.) |
![]() | EnumKeys | Gets the collection of enum keys for this entity type. |
![]() | ExplicitProperties | Gets the collection of explicitly added properties. (Inherited from StructuralTypeConfiguration.) |
![]() | FullName | Gets the full name of this edm type. (Inherited from StructuralTypeConfiguration.) |
![]() | HasStream | Gets or sets a value indicating whether this type is a media type. |
![]() | IgnoredProperties | Gets the properties from the backing CLR type that are to be ignored on this edm type. (Inherited from StructuralTypeConfiguration.) |
![]() | IsAbstract | Gets or sets a value indicating whether this type is abstract. (Inherited from StructuralTypeConfiguration.) |
![]() | IsOpen | Gets a value indicating whether this type is open or not. (Inherited from StructuralTypeConfiguration.) |
![]() | Keys | Gets the collection of keys for this entity type. |
![]() | Kind | Gets the EdmTypeKind of this IEdmTypeConfiguration(Overrides StructuralTypeConfiguration::Kind.) |
![]() | ModelBuilder | The ODataModelBuilder. (Inherited from StructuralTypeConfiguration.) |
![]() | Name | Gets or sets the name of this EDM type. (Inherited from StructuralTypeConfiguration.) |
![]() | Namespace | Gets or sets the namespace of this EDM type. (Inherited from StructuralTypeConfiguration.) |
![]() | NavigationProperties | Gets the collection of NavigationPropertyConfiguration of this entity type. |
![]() | Properties | Gets the declared properties on this edm type. (Inherited from StructuralTypeConfiguration.) |
![]() | RemovedProperties | Gets the collection of explicitly removed properties. (Inherited from StructuralTypeConfiguration.) |
| Name | Description | |
|---|---|---|
![]() | Abstract() | Marks this entity type as abstract. |
![]() | AddCollectionProperty(PropertyInfo^) | Adds a collection property to this edm type. (Inherited from StructuralTypeConfiguration.) |
![]() | AddComplexProperty(PropertyInfo^) | Adds a complex property to this edm type. (Inherited from StructuralTypeConfiguration.) |
![]() | AddContainedNavigationProperty(PropertyInfo^, EdmMultiplicity) | Adds a contained EDM navigation property to this entity type. |
![]() | AddDynamicPropertyDictionary(PropertyInfo^) | Adds the property info of the dynamic properties to this structural type. (Inherited from StructuralTypeConfiguration.) |
![]() | AddEnumProperty(PropertyInfo^) | Adds an enum property to this edm type. (Inherited from StructuralTypeConfiguration.) |
![]() | AddNavigationProperty(PropertyInfo^, EdmMultiplicity) | Adds a non-contained EDM navigation property to this entity type. |
![]() | AddProperty(PropertyInfo^) | Adds a primitive property to this edm type. (Inherited from StructuralTypeConfiguration.) |
![]() | DerivesFrom(EntityTypeConfiguration^) | Sets the base type of this entity type. |
![]() | DerivesFromNothing() | Sets the base type of this entity type to null meaning that this entity type does not derive from anything. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | HasKey(PropertyInfo^) | Configures the key property(s) for this entity type. |
![]() | MediaType() | Marks this entity type as media type. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RemoveKey(EnumPropertyConfiguration^) | Removes the enum property from the entity enum keys collection. |
![]() | RemoveKey(PrimitivePropertyConfiguration^) | Removes the property from the entity keys collection. |
![]() | RemoveProperty(PropertyInfo^) | Removes the property from the entity.(Overrides StructuralTypeConfiguration::RemoveProperty(PropertyInfo^).) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



