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)

System::Object
  System.Web.OData.Builder::StructuralTypeConfiguration<TStructuralType>
    System.Web.OData.Builder::EntityTypeConfiguration<TEntityType>

generic<typename TEntityType>
where TEntityType : ref class
public ref class EntityTypeConfiguration : StructuralTypeConfiguration<TEntityType>

Type Parameters

TEntityType

The backing CLR type for this IEdmEntityType.

NameDescription
System_CAPS_pubpropertyBaseType

Gets the base type of this entity type.

System_CAPS_pubpropertyCollection

Used to access a Collection of Entities through which you can configure actions and functions that are bindable to EntityCollections.

System_CAPS_pubpropertyFullName

Gets the full name of this EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubpropertyIsOpen

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

System_CAPS_pubpropertyName

Gets and sets the name of this EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubpropertyNamespace

Gets and sets the namespace of this EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubpropertyNavigationProperties

Gets the collection of NavigationPropertyConfiguration of this entity type.

System_CAPS_pubpropertyProperties

Gets the collection of EDM structural properties that belong to this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

NameDescription
System_CAPS_pubmethodAbstract()

Marks this entity type as abstract.

System_CAPS_pubmethodAction(String^)

Create an Action that binds to this EntityType.

System_CAPS_pubmethodCollectionProperty<TElementType>(Expression<Func<TStructuralType, IEnumerable<TElementType>^>^>^)

Adds a collection property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodComplexProperty<TComplexType>(Expression<Func<TStructuralType, TComplexType>^>^)

Adds a complex property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodContainsMany<TTargetEntity>(Expression<Func<TEntityType, IEnumerable<TTargetEntity>^>^>^)

Configures a relationship from this entity type to a contained collection navigation property.

System_CAPS_pubmethodContainsOptional<TTargetEntity>(Expression<Func<TEntityType, TTargetEntity>^>^)

Configures an optional relationship from this entity type to a single contained navigation property.

System_CAPS_pubmethodContainsRequired<TTargetEntity>(Expression<Func<TEntityType, TTargetEntity>^>^)

Configures a required relationship from this entity type to a single contained navigation property.

System_CAPS_pubmethodDerivesFrom<TBaseType>()

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_pubmethodEnumProperty<T>(Expression<Func<TStructuralType, Nullable<T>>^>^)

Adds an optional enum property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodEnumProperty<T>(Expression<Func<TStructuralType, Nullable<T>>^>^)

Adds an optional enum property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFunction(String^)

Create a Function that binds to this EntityType.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHasDynamicProperties(Expression<Func<TStructuralType, IDictionary<String^, Object^>^>^>^)

Adds a dynamic property dictionary property.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodHasKey<TKey>(Expression<Func<TEntityType, TKey>^>^)

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

System_CAPS_pubmethodHasMany<TTargetEntity>(Expression<Func<TEntityType, IEnumerable<TTargetEntity>^>^>^)

Configures a many relationship from this entity type.

System_CAPS_pubmethodHasOptional<TTargetEntity>(Expression<Func<TEntityType, TTargetEntity>^>^)

Configures an optional relationship from this entity type.

System_CAPS_pubmethodHasOptional<TTargetEntity>(Expression<Func<TEntityType, TTargetEntity>^>^, Expression<Func<TEntityType, TTargetEntity, Boolean>^>^)

Configures an optional relationship with referential constraint from this entity type.

System_CAPS_pubmethodHasRequired<TTargetEntity>(Expression<Func<TEntityType, TTargetEntity>^>^)

Configures a required relationship from this entity type.

System_CAPS_pubmethodHasRequired<TTargetEntity>(Expression<Func<TEntityType, TTargetEntity>^>^, Expression<Func<TEntityType, TTargetEntity, Boolean>^>^)

Configures a required relationship with referential constraint from this entity type.

System_CAPS_pubmethodIgnore<TProperty>(Expression<Func<TStructuralType, TProperty>^>^)

Excludes a property from the type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodMediaType()

Marks this entity type as media type.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, String^>^>^)

Adds a string property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, String^>^>^)

Adds a string property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, String^>^>^)

Adds a string property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, String^>^>^)

Adds a string property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty(Expression<Func<TStructuralType, String^>^>^)

Adds a string property to the EDM type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

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: