StructuralTypeConfiguration<TStructuralType> Class
Represents an IEdmStructuredType that can be built using ODataModelBuilder .
Inheritance Hierarchy
System.Object
System.Web.Http.OData.Builder.StructuralTypeConfiguration<TStructuralType>
System.Web.Http.OData.Builder.ComplexTypeConfiguration<TComplexType>
System.Web.Http.OData.Builder.EntityTypeConfiguration<TEntityType>
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public MustInherit Class StructuralTypeConfiguration(Of TStructuralType As Class)
'Usage
Dim instance As StructuralTypeConfiguration(Of TStructuralType)
public abstract class StructuralTypeConfiguration<TStructuralType>
where TStructuralType : class
generic<typename TStructuralType>
where TStructuralType : ref class
public ref class StructuralTypeConfiguration abstract
[<AbstractClassAttribute>]
type StructuralTypeConfiguration<'TStructuralType when 'TStructuralType : not struct> = class end
JScript does not support generic types and methods.
Type Parameters
- TStructuralType
The StructuralTypeConfiguration<TStructuralType> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
StructuralTypeConfiguration<TStructuralType> | Initializes a new instance of the StructuralTypeConfiguration<TStructuralType> class. |
Top
Properties
Name | Description | |
---|---|---|
Properties | Gets the collection of EDM structural properties that belong to this type. |
Top
Methods
Name | Description | |
---|---|---|
CollectionProperty<TElementType> | Adds a collection property to the EDM type. | |
ComplexProperty<TComplexType> | Adds a complex property to the EDM type. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Ignore<TProperty> | Excludes a property from the type. | |
MemberwiseClone | (Inherited from Object.) | |
Property(Expression<Func<TStructuralType, array<Byte[]>>) | Adds a binary property to the EDM type. | |
Property(Expression<Func<TStructuralType, Stream>>) | Adds a stream property to the EDM type. | |
Property(Expression<Func<TStructuralType, String>>) | Adds a string property to the EDM type. | |
Property<T>(Expression<Func<TStructuralType, Nullable<T>>>) | Adds an optional primitive property to the EDM type. | |
Property<T>(Expression<Func<TStructuralType, T>>) | Adds a required primitive property to the EDM type. | |
ToString | (Inherited from Object.) |
Top
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.