IEdmStructuredTypeReference Interface

Definition

Represents references to EDM structured types.

public interface IEdmStructuredTypeReference : Microsoft.OData.Edm.IEdmTypeReference
type IEdmStructuredTypeReference = interface
    interface IEdmTypeReference
    interface IEdmElement
Public Interface IEdmStructuredTypeReference
Implements IEdmTypeReference
Derived
Implements

Properties

Definition

Gets the definition to which this type refers.

(Inherited from IEdmTypeReference)
IsNullable

Gets a value indicating whether this type is nullable.

(Inherited from IEdmTypeReference)

Extension Methods

IsEquivalentTo(IEdmTypeReference, IEdmTypeReference)

Returns true if the compared type reference is semantically equivalent to this type reference. Schema types (IEdmSchemaType) are compared by their object refs.

AsBinary(IEdmTypeReference)

If this reference is of a binary type, this will return a valid binary type reference to the type definition. Otherwise, it will return a bad binary type reference.

AsCollection(IEdmTypeReference)

If this reference is of a collection type, this will return a valid collection type reference to the type definition. Otherwise, it will return a bad collection type reference.

AsComplex(IEdmTypeReference)

If this reference is of a complex type, this will return a valid complex type reference to the type definition. Otherwise, it will return a bad complex type reference.

AsDecimal(IEdmTypeReference)

If this reference is of a decimal type, this will return a valid decimal type reference to the type definition. Otherwise, it will return a bad decimal type reference.

AsEntity(IEdmTypeReference)

If this reference is of an entity type, this will return a valid entity type reference to the type definition. Otherwise, it will return a bad entity type reference.

AsEntityReference(IEdmTypeReference)

If this reference is of an entity reference type, this will return a valid entity reference type reference to the type definition. Otherwise, it will return a bad entity reference type reference.

AsEnum(IEdmTypeReference)

If this reference is of an enumeration type, this will return a valid enumeration type reference to the type definition. Otherwise, it will return a bad enumeration type reference.

AsPath(IEdmTypeReference)

If this reference is of a path type, this will return a valid path type reference to the type definition. Otherwise, it will return a bad path type reference.

AsPrimitive(IEdmTypeReference)

If this reference is of a primitive type, this will return a valid primitive type reference to the type definition. Otherwise, it will return a bad primitive type reference.

AsSpatial(IEdmTypeReference)

If this reference is of a spatial type, this will return a valid spatial type reference to the type definition. Otherwise, it will return a bad spatial type reference.

AsString(IEdmTypeReference)

If this reference is of a string type, this will return a valid string type reference to the type definition. Otherwise, it will return a bad string type reference.

AsStructured(IEdmTypeReference)

If this reference is of a structured type, this will return a valid structured type reference to the type definition. Otherwise, it will return a bad structured type reference.

AsTemporal(IEdmTypeReference)

If this reference is of a temporal type, this will return a valid temporal type reference to the type definition. Otherwise, it will return a bad temporal type reference.

AsTypeDefinition(IEdmTypeReference)

If this reference is of a type definition, this will return a valid type definition reference to the type definition. Otherwise, it will return a bad type definition reference.

IsBinary(IEdmTypeReference)

Returns true if this reference refers to a binary type.

IsBoolean(IEdmTypeReference)

Returns true if this reference refers to a boolean type.

IsByte(IEdmTypeReference)

Returns true if this reference refers to a byte type.

IsCollection(IEdmTypeReference)

Returns true if this reference refers to a collection.

IsComplex(IEdmTypeReference)

Returns true if this reference refers to a complex type.

IsDate(IEdmTypeReference)

Returns true if this reference refers to a Date type.

IsDateTimeOffset(IEdmTypeReference)

Returns true if this reference refers to a DateTimeOffset type.

IsDecimal(IEdmTypeReference)

Returns true if this reference refers to a decimal type.

IsDouble(IEdmTypeReference)

Returns true if this reference refers to a double type.

IsDuration(IEdmTypeReference)

Returns true if this reference refers to a duration type.

IsEntity(IEdmTypeReference)

Returns true if this reference refers to an entity type.

IsEntityReference(IEdmTypeReference)

Returns true if this reference refers to an entity type.

IsEnum(IEdmTypeReference)

Returns true if this reference refers to an enumeration type.

IsFloating(IEdmTypeReference)

Returns true if this reference refers to a floating point type.

IsGeography(IEdmTypeReference)

Returns true if this reference refers to a geography type.

IsGeometry(IEdmTypeReference)

Returns true if this reference refers to a geometry type.

IsGuid(IEdmTypeReference)

Returns true if this reference refers to a GUID type.

IsInt16(IEdmTypeReference)

Returns true if this reference refers to an Int16 type.

IsInt32(IEdmTypeReference)

Returns true if this reference refers to an Int32 type.

IsInt64(IEdmTypeReference)

Returns true if this reference refers to an Int64 type.

IsIntegral(IEdmTypeReference)

Returns true if this reference refers to an integer type.

IsPath(IEdmTypeReference)

Returns true if this reference refers to a path type.

IsPrimitive(IEdmTypeReference)

Returns true if this reference refers to a primitive type.

IsSByte(IEdmTypeReference)

Returns true if this reference refers to an SByte type.

IsSignedIntegral(IEdmTypeReference)

Returns true if this reference refers to a signed integral type.

IsSingle(IEdmTypeReference)

Returns true if this reference refers to a single type.

IsSpatial(IEdmTypeReference)

Returns true if this reference refers to a spatial type.

IsStream(IEdmTypeReference)

Returns true if this reference refers to a stream type.

IsString(IEdmTypeReference)

Returns true if this reference refers to a string type.

IsStructured(IEdmTypeReference)

Returns true if this reference refers to a structured type.

IsTemporal(IEdmTypeReference)

Returns true if this reference refers to a temporal type.

IsTimeOfDay(IEdmTypeReference)

Returns true if this reference refers to a TimeOfDay type.

IsTypeDefinition(IEdmTypeReference)

Returns true if this reference refers to a type definition.

IsUntyped(IEdmTypeReference)

Returns true if this reference refers to a Edm.Untyped type.

PrimitiveKind(IEdmTypeReference)

Returns the primitive kind of the definition of this reference.

BaseType(IEdmStructuredTypeReference)

Returns the base type of the definition of this reference.

DeclaredNavigationProperties(IEdmStructuredTypeReference)

Gets the navigation properties declared in the definition of this reference.

DeclaredStructuralProperties(IEdmStructuredTypeReference)

Gets all structural properties declared in the definition of this reference.

FindNavigationProperty(IEdmStructuredTypeReference, String)

Finds a navigation property declared in the definition of this reference by name.

FindProperty(IEdmStructuredTypeReference, String)

Finds a property from the definition of this reference.

FullName(IEdmTypeReference)

Gets the full name of the definition referred to by the type reference.

IsAbstract(IEdmStructuredTypeReference)

Returns true if the definition of this reference is abstract.

IsOpen(IEdmStructuredTypeReference)

Returns true if the definition of this reference is open.

Location(IEdmElement)

Gets the location of this element.

NavigationProperties(IEdmStructuredTypeReference)

Gets the navigation properties declared in the definition of this reference and its base types.

ShortQualifiedName(IEdmTypeReference)

Gets the short qualified name of the definition referred to by the type reference.

StructuralProperties(IEdmStructuredTypeReference)

Gets all structural properties declared in the definition of this reference and all its base types.

StructuredDefinition(IEdmStructuredTypeReference)

Gets the definition of this structured type reference.

ToStructuredType(IEdmTypeReference)

Gets the structured type targeted by this structural property type reference.

TypeKind(IEdmTypeReference)

Gets the type kind of the type references definition.

ToTraceString(IEdmTypeReference)

Returns the text representation of the current object.

Errors(IEdmElement)

Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type.

IsBad(IEdmElement)

Returns true if this element contains errors returned by the Errors(IEdmElement) method.

TypeErrors(IEdmTypeReference)

Gets the errors, if any, that belong to this type reference or its definition.

Applies to