StructuralTypeConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an IEdmStructuredType that can be built using ODataModelBuilder.
public abstract class StructuralTypeConfiguration : Microsoft.AspNet.OData.Builder.IEdmTypeConfiguration
type StructuralTypeConfiguration = class
interface IEdmTypeConfiguration
Public MustInherit Class StructuralTypeConfiguration
Implements IEdmTypeConfiguration
- Inheritance
-
StructuralTypeConfiguration
- Derived
- Implements
Constructors
StructuralTypeConfiguration() |
Initializes a new instance of the StructuralTypeConfiguration class. |
StructuralTypeConfiguration(ODataModelBuilder, Type) |
Initializes a new instance of the StructuralTypeConfiguration class. |
Properties
AddedExplicitly |
Gets or sets a value that is |
BaseTypeConfigured |
Gets a value that represents whether the base type is explicitly configured or inferred. |
BaseTypeInternal |
Gets the base type of this structural type. |
ClrType |
Gets the backing CLR Type. |
DynamicPropertyDictionary |
Gets the CLR property info of the dynamic property dictionary on this structural type. |
ExplicitProperties |
Gets the collection of explicitly added properties. |
FullName |
Gets the full name of this edm type. |
IgnoredProperties |
Gets the properties from the backing CLR type that are to be ignored on this edm type. |
InstanceAnnotationsContainer |
Gets the CLR property info of the instance annotations dictionary on this structural type. |
IsAbstract |
Gets or sets a value indicating whether this type is abstract. |
IsOpen |
Gets a value indicating whether this type is open or not. |
Kind |
Gets the EdmTypeKind of this edm type. |
ModelBuilder |
The ODataModelBuilder. |
Name |
Gets or sets the name of this EDM type. |
Namespace |
Gets or sets the namespace of this EDM type. |
NavigationProperties |
Gets the collection of NavigationPropertyConfiguration of this entity type. |
Properties |
Gets the declared properties on this edm type. |
QueryConfiguration |
Gets or sets the QueryConfiguration. |
RemovedProperties |
Gets the collection of explicitly removed properties. |
SupportsInstanceAnnotations |
Gets a value indicating whether this type has instance annotations or not. |
Methods
AddCollectionProperty(PropertyInfo) |
Adds a collection property to this edm type. |
AddComplexProperty(PropertyInfo) |
Adds a complex property to this edm type. |
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. |
AddEnumProperty(PropertyInfo) |
Adds an enum property to this edm type. |
AddInstanceAnnotationContainer(PropertyInfo) |
Adds the property info of the instanceannotation to this structural type. |
AddNavigationProperty(PropertyInfo, EdmMultiplicity) |
Adds a non-contained EDM navigation property to this entity type. |
AddProperty(PropertyInfo) |
Adds a primitive property to this edm type. |
RemoveProperty(PropertyInfo) |
Removes the given property. |