Partager via


Classe ModelRelationshipInstance

Represents a reference from one TSqlObject to another, which might be unresolved.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance

Espace de noms :  Microsoft.SqlServer.Dac.Model
Assembly :  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ModelRelationshipInstance
'Utilisation
Dim instance As ModelRelationshipInstance
public sealed class ModelRelationshipInstance
public ref class ModelRelationshipInstance sealed
[<SealedAttribute>]
type ModelRelationshipInstance =  class end
public final class ModelRelationshipInstance

Le type ModelRelationshipInstance expose les membres suivants.

Propriétés

  Nom Description
Propriété publique FromObject The TSqlObject this instance is from. This is the referencing object
Propriété publique Item Retrieves properties for this relationship instance.
Propriété publique Object The TSqlObject this instance references. This is the referenced object.
Propriété publique ObjectName The ObjectIdentifier representing the name of the referenced object.
Propriété publique Relationship The ModelRelationshipClass this instance represents.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetProperty(ModelPropertyClass) Retrieves properties for this relationship instance.
Méthode publique GetProperty<T>(ModelPropertyClass) Retrieves properties for this relationship instance.
Méthode publique GetType (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

TSqlModelSchema metadata classes provide access to the structure and instance data within a TSqlModelSchema instance.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dac.Model