EntityTypeConfiguration Class

 

Represents an IEdmEntityType that can be built using ODataModelBuilder.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

System::Object
  System.Web.OData.Builder::StructuralTypeConfiguration
    System.Web.OData.Builder::EntityTypeConfiguration

public ref class EntityTypeConfiguration : StructuralTypeConfiguration

NameDescription
System_CAPS_pubmethodEntityTypeConfiguration()

Initializes a new instance of the EntityTypeConfiguration class.

System_CAPS_pubmethodEntityTypeConfiguration(ODataModelBuilder^, Type^)

Initializes a new instance of the EntityTypeConfiguration class.

NameDescription
System_CAPS_pubpropertyAddedExplicitly

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.)

System_CAPS_pubpropertyBaseType

Gets or sets the base type of this entity type.

System_CAPS_pubpropertyBaseTypeConfigured

Gets a value that represents whether the base type is explicitly configured or inferred. (Inherited from StructuralTypeConfiguration.)

System_CAPS_protpropertyBaseTypeInternal

Gets the base type of this structural type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyClrType

Gets the backing CLR Type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyDynamicPropertyDictionary

Gets the CLR property info of the dynamic property dictionary on this structural type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyEnumKeys

Gets the collection of enum keys for this entity type.

System_CAPS_protpropertyExplicitProperties

Gets the collection of explicitly added properties. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyFullName

Gets the full name of this edm type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyHasStream

Gets or sets a value indicating whether this type is a media type.

System_CAPS_pubpropertyIgnoredProperties

Gets the properties from the backing CLR type that are to be ignored on this edm type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyIsAbstract

Gets or sets a value indicating whether this type is abstract. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyIsOpen

Gets a value indicating whether this type is open or not. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyKeys

Gets the collection of keys for this entity type.

System_CAPS_pubpropertyKind
System_CAPS_pubpropertyModelBuilder
System_CAPS_pubpropertyName

Gets or sets the name of this EDM type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyNamespace

Gets or sets the namespace of this EDM type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubpropertyNavigationProperties

Gets the collection of NavigationPropertyConfiguration of this entity type.

System_CAPS_pubpropertyProperties

Gets the declared properties on this edm type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_protpropertyRemovedProperties

Gets the collection of explicitly removed properties. (Inherited from StructuralTypeConfiguration.)

NameDescription
System_CAPS_pubmethodAbstract()

Marks this entity type as abstract.

System_CAPS_pubmethodAddCollectionProperty(PropertyInfo^)

Adds a collection property to this edm type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubmethodAddComplexProperty(PropertyInfo^)

Adds a complex property to this edm type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubmethodAddContainedNavigationProperty(PropertyInfo^, EdmMultiplicity)

Adds a contained EDM navigation property to this entity type.

System_CAPS_pubmethodAddDynamicPropertyDictionary(PropertyInfo^)

Adds the property info of the dynamic properties to this structural type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubmethodAddEnumProperty(PropertyInfo^)

Adds an enum property to this edm type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubmethodAddNavigationProperty(PropertyInfo^, EdmMultiplicity)

Adds a non-contained EDM navigation property to this entity type.

System_CAPS_pubmethodAddProperty(PropertyInfo^)

Adds a primitive property to this edm type. (Inherited from StructuralTypeConfiguration.)

System_CAPS_pubmethodDerivesFrom(EntityTypeConfiguration^)

Sets the base type of this entity type.

System_CAPS_pubmethodDerivesFromNothing()

Sets the base type of this entity type to null meaning that this entity type does not derive from anything.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHasKey(PropertyInfo^)

Configures the key property(s) for this entity type.

System_CAPS_pubmethodMediaType()

Marks this entity type as media type.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveKey(EnumPropertyConfiguration^)

Removes the enum property from the entity enum keys collection.

System_CAPS_pubmethodRemoveKey(PrimitivePropertyConfiguration^)

Removes the property from the entity keys collection.

System_CAPS_pubmethodRemoveProperty(PropertyInfo^)

Removes the property from the entity.(Overrides StructuralTypeConfiguration::RemoveProperty(PropertyInfo^).)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: