EdmEntityReferenceTypeReference Class

Represents a reference to an EDM entity reference type.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.EdmElement
    Microsoft.Data.Edm.Library.EdmTypeReference
      Microsoft.Data.Edm.Library.EdmEntityReferenceTypeReference

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Class EdmEntityReferenceTypeReference _
    Inherits EdmTypeReference _
    Implements IEdmEntityReferenceTypeReference, IEdmTypeReference, IEdmElement
'Usage
Dim instance As EdmEntityReferenceTypeReference
public class EdmEntityReferenceTypeReference : EdmTypeReference, 
    IEdmEntityReferenceTypeReference, IEdmTypeReference, IEdmElement
public ref class EdmEntityReferenceTypeReference : public EdmTypeReference, 
    IEdmEntityReferenceTypeReference, IEdmTypeReference, IEdmElement
type EdmEntityReferenceTypeReference =  
    class 
        inherit EdmTypeReference 
        interface IEdmEntityReferenceTypeReference 
        interface IEdmTypeReference 
        interface IEdmElement 
    end
public class EdmEntityReferenceTypeReference extends EdmTypeReference implements IEdmEntityReferenceTypeReference, IEdmTypeReference, IEdmElement

The EdmEntityReferenceTypeReference type exposes the following members.

Constructors

  Name Description
Public method EdmEntityReferenceTypeReference Creates a new instance of the EdmEntityReferenceTypeReference class.

Top

Properties

  Name Description
Public property Definition Gets the definition to which this type refers. (Inherited from EdmTypeReference.)
Public property EntityReferenceDefinition Gets the entity reference definition to which this type refers.
Public property IsNullable Gets a value indicating whether this type is nullable. (Inherited from EdmTypeReference.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the text representation of the current object. (Inherited from EdmTypeReference.)

Top

Extension Methods

  Name Description
Public Extension Method AsBinary Returns a valid binary type reference to the type definition if this reference is of a binary type. Otherwise, it will return a bad binary type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsCollection Returns a valid collection type reference to the type definition if this reference is of a collection type. Otherwise, it will return a bad collection type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsComplex Returns a valid complex type reference to the type definition if this reference is of a complex type. Otherwise, it will return a bad complex type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsDecimal Returns a valid decimal type reference to the type definition if this reference is of a decimal type. Otherwise, it will return a bad decimal type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsEntity Returns a valid entity type reference to the type definition if this reference is of an entity type. Otherwise, it will return a bad entity type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsEntityReference Returns a valid entity reference type reference to the type definition if this reference is of an entity reference type. Otherwise, it will return a bad entity reference type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsEnum Returns a valid enumeration type reference to the type definition if this reference is of an enumeration type. Otherwise, it will return a bad enumeration type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsPrimitive Returns a valid primitive type reference to the type definition if this reference is of a primitive type. Otherwise, it will return a bad primitive type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsRow Returns a valid row type reference to the type definition if this reference is of a row type. Otherwise, it will return a bad row type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsSpatial Returns a valid spatial type reference to the type definition if this reference is of a spatial type. Otherwise, it will return a bad spatial type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsString Returns a valid string type reference to the type definition if this reference is of a string type. Otherwise, it will return a bad string type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsStructured Returns a valid structured type reference to the type definition if this reference is of a structured type. Otherwise, it will return a bad structured type reference. (Defined by EdmTypeSemantics.)
Public Extension Method AsTemporal Returns a valid temporal type reference to the type definition if this reference is of a temporal type. Otherwise, it will return a bad temporal type reference. (Defined by EdmTypeSemantics.)
Public Extension Method EntityReferenceDefinition Gets the entity reference type to which the type refers. (Defined by ExtensionMethods.)
Public Extension Method EntityType Gets the entity type. (Defined by ExtensionMethods.)
Public Extension Method Errors 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. (Defined by ValidationExtensionMethods.)
Public Extension Method FullName Gets the full name with the specified type. (Defined by ExtensionMethods.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method IsBinary Determines whether this reference refers to a binary type. (Defined by EdmTypeSemantics.)
Public Extension Method IsBoolean Determines whether this reference refers to a Boolean type. (Defined by EdmTypeSemantics.)
Public Extension Method IsByte Determines whether this reference refers to a byte type. (Defined by EdmTypeSemantics.)
Public Extension Method IsCollection Determines whether this reference refers to a collection. (Defined by EdmTypeSemantics.)
Public Extension Method IsComplex Determines whether this reference refers to a complex type. (Defined by EdmTypeSemantics.)
Public Extension Method IsDateTime Determines whether this reference refers to a DateTime type. (Defined by EdmTypeSemantics.)
Public Extension Method IsDateTimeOffset Determines whether this reference refers to a DateTimeOffset type. (Defined by EdmTypeSemantics.)
Public Extension Method IsDecimal Determines whether this reference refers to a decimal type. (Defined by EdmTypeSemantics.)
Public Extension Method IsDouble Determines whether this reference refers to a double type. (Defined by EdmTypeSemantics.)
Public Extension Method IsEntity Determines whether this reference refers to an entity type. (Defined by EdmTypeSemantics.)
Public Extension Method IsEntityReference Determines whether this reference refers to an entity type. (Defined by EdmTypeSemantics.)
Public Extension Method IsEnum Determines whether this reference refers to an enumeration type. (Defined by EdmTypeSemantics.)
Public Extension Method IsEquivalentTo Indicates whether the compared type is semantically equivalent to this type. (Defined by EdmElementComparer.)
Public Extension Method IsFloating Determines whether this reference refers to a floating point type. (Defined by EdmTypeSemantics.)
Public Extension Method IsGuid Determines whether this reference refers to a GUID type. (Defined by EdmTypeSemantics.)
Public Extension Method IsInt16 Determines whether this reference refers to an Int16 type. (Defined by EdmTypeSemantics.)
Public Extension Method IsInt32 Determines whether this reference refers to an Int32 type. (Defined by EdmTypeSemantics.)
Public Extension Method IsInt64 Determines whether this reference refers to an Int64 type. (Defined by EdmTypeSemantics.)
Public Extension Method IsIntegral Determines whether this reference refers to an integer type. (Defined by EdmTypeSemantics.)
Public Extension Method IsPrimitive Determines whether this reference refers to a primitive type. (Defined by EdmTypeSemantics.)
Public Extension Method IsRow Determines whether this reference refers to a row type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSByte Determines whether this reference refers to a SByte type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSignedIntegral Determines whether this reference refers to a signed integral type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSingle Determines whether this reference refers to a single type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSpatial Determines whether this reference refers to a spatial type. (Defined by EdmTypeSemantics.)
Public Extension Method IsStream Determines whether this reference refers to a stream type. (Defined by EdmTypeSemantics.)
Public Extension Method IsString Determines whether this reference refers to a string type. (Defined by EdmTypeSemantics.)
Public Extension Method IsStructured Determines whether this reference refers to a structured type. (Defined by EdmTypeSemantics.)
Public Extension Method IsTemporal Determines whether this reference refers to a temporal type. (Defined by EdmTypeSemantics.)
Public Extension Method IsTime Determines whether this reference refers to a time type. (Defined by EdmTypeSemantics.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method PrimitiveKind Returns the primitive kind of the definition of this reference. (Defined by EdmTypeSemantics.)
Public Extension Method ToTraceString Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method TypeErrors Gets the errors, if any, that belong to this type reference or its definition. (Defined by ValidationExtensionMethods.)
Public Extension Method TypeKind Gets the type kind of the specified type. (Defined by ExtensionMethods.)

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.

See Also

Reference

Microsoft.Data.Edm.Library Namespace