Share via


Clase TSqlObject

Represents an instance of an object for a SQL Server database schema.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.Dac.Model.TSqlObject

Espacio de nombres:  Microsoft.SqlServer.Dac.Model
Ensamblado:  Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)

Sintaxis

'Declaración
Public NotInheritable Class TSqlObject
'Uso
Dim instance As TSqlObject
public sealed class TSqlObject
public ref class TSqlObject sealed
[<SealedAttribute>]
type TSqlObject =  class end
public final class TSqlObject

El tipo TSqlObject expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Item Gets the property value.
Propiedad pública Name Gets the identity of the object.
Propiedad pública ObjectType Gets the model type of the object.

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método público GetAst Generates the AST for the TSqlObject.
Método público GetChildren() Returns all TSqlObject child objects within the Default scope.
Método público GetChildren(DacQueryScopes) Returns all TSqlObject child objects within the specified DacQueryScopes scope.
Método público GetHashCode (Se hereda de Object.)
Método público GetMetadata(ModelMetadataClass) Returns the metadata property value.
Método público GetMetadata<T>(ModelMetadataClass) Returns the metadata property value.
Método público GetParent() Returns the parent TSqlObject, if it is within the Default scope and if there is only one TSqlObject that could be the parent for this object.
Método público GetParent(DacQueryScopes) Returns the parent TSqlObject, if it is within the specified DacQueryScopes scope and if there is only one TSqlObject that could be the parent for this object.
Método público GetProperty(ModelPropertyClass) Returns the property value.
Método público GetProperty<T>(ModelPropertyClass) Returns the property value.
Método público GetReferenced() Gets all referenced objects within the Default scope.
Método público GetReferenced(DacQueryScopes) Gets all referenced objects within a given DacQueryScopes scope.
Método público GetReferenced(ModelRelationshipClass) Gets referenced objects for a given ModelRelationshipClass, where objects are within the Default scope.
Método público GetReferenced(ModelRelationshipClass, DacQueryScopes) Gets referenced objects for a given ModelRelationshipClass, where objects are within a given DacQueryScopes scope.
Método público GetReferencedRelationshipInstances() For each object referenced by this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the Default scope will be returned.
Método público GetReferencedRelationshipInstances(DacExternalQueryScopes) For each object referenced by this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned. To return non-composite or system references the scope must be set to include externals. In addition, in this case only the ObjectIdentifier of the referenced object will be returned.
Método público GetReferencedRelationshipInstances(DacQueryScopes) For each object referenced by this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned. To return non-composite or system references the GetReferencedRelationshipInstances(DacExternalQueryScopes) method should be called instead.
Método público GetReferencedRelationshipInstances(ModelRelationshipClass) For objects referenced by this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the Default scope will be returned.
Método público GetReferencedRelationshipInstances(ModelRelationshipClass, DacExternalQueryScopes) For objects referenced by this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the specified DacExternalQueryScopes scope will be returned. To return non-composite or system references the scope must be set to include externals. In addition, in this case only the ObjectIdentifier of the referenced object will be returned.
Método público GetReferencedRelationshipInstances(ModelRelationshipClass, DacQueryScopes) For objects referenced by this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referenced object if it exists, the ObjectIdentifier used to identify the referenced object, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned. To return non-composite or system references the GetReferencedRelationshipInstances(DacExternalQueryScopes) method should be called instead.
Método público GetReferencing() Gets all referencing objects within the Default scope.
Método público GetReferencing(DacQueryScopes) Gets all referencing objects within a given DacQueryScopes scope.
Método público GetReferencing(ModelRelationshipClass) Gets referencing objects, where the relationship is defined by a specific ModelRelationshipClass and where objects are within the Default scope.
Método público GetReferencing(ModelRelationshipClass, DacQueryScopes) Gets referencing objects, where the relationship is defined by a specific ModelRelationshipClass and where objects are within a given DacQueryScopes scope.
Método público GetReferencingRelationshipInstances() For each object referencing this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned.
Método público GetReferencingRelationshipInstances(DacQueryScopes) For each object referencing this TSqlObject, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the Default scope will be returned.
Método público GetReferencingRelationshipInstances(ModelRelationshipClass) For each object referencing this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the Default scope will be returned.
Método público GetReferencingRelationshipInstances(ModelRelationshipClass, DacQueryScopes) For each object referencing this TSqlObject with a specific ModelRelationshipClass, returns the ModelRelationshipInstance defining the relationship data. This will include the referencing object - definedby the FromObject field, and any properties specific to this relationship. Only objects within the specified DacQueryScopes scope will be returned.
Método público GetScript Generates a CREATE script from the objects AST.
Método público GetType (Se hereda de Object.)
Método público ToString (Se hereda de Object.)
Método público TryGetAst Attempts to generate an AST for the object.
Método público TryGetScript Attempts to generate a script from the object’s AST.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dac.Model