Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Represents an instance of an object for a SQL Server database schema.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Dac.Model.TSqlObject
Spazio dei nomi Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class TSqlObject
'Utilizzo
Dim instance As TSqlObject
public sealed class TSqlObject
public ref class TSqlObject sealed
[<SealedAttribute>]
type TSqlObject = class end
public final class TSqlObject
Nel tipo TSqlObject sono esposti i membri seguenti.
Proprietà
| Nome | Descrizione | |
|---|---|---|
![]() |
Item | Gets the property value. |
![]() |
Name | Gets the identity of the object. |
![]() |
ObjectType | Gets the model type of the object. |
In alto
Metodi
| Nome | Descrizione | |
|---|---|---|
![]() |
Equals | Ereditato da Object. |
![]() |
GetAst | Generates the AST for the TSqlObject. |
![]() |
GetChildren() | Returns all TSqlObject child objects within the Default scope. |
![]() |
GetChildren(DacQueryScopes) | Returns all TSqlObject child objects within the specified DacQueryScopes scope. |
![]() |
GetHashCode | Ereditato da Object. |
![]() |
GetMetadata(ModelMetadataClass) | Returns the metadata property value. |
![]() |
GetMetadata<T>(ModelMetadataClass) | Returns the metadata property value. |
![]() |
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. |
![]() |
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. |
![]() |
GetProperty(ModelPropertyClass) | Returns the property value. |
![]() |
GetProperty<T>(ModelPropertyClass) | Returns the property value. |
![]() |
GetReferenced() | Gets all referenced objects within the Default scope. |
![]() |
GetReferenced(DacQueryScopes) | Gets all referenced objects within a given DacQueryScopes scope. |
![]() |
GetReferenced(ModelRelationshipClass) | Gets referenced objects for a given ModelRelationshipClass, where objects are within the Default scope. |
![]() |
GetReferenced(ModelRelationshipClass, DacQueryScopes) | Gets referenced objects for a given ModelRelationshipClass, where objects are within a given DacQueryScopes scope. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
GetReferencing() | Gets all referencing objects within the Default scope. |
![]() |
GetReferencing(DacQueryScopes) | Gets all referencing objects within a given DacQueryScopes scope. |
![]() |
GetReferencing(ModelRelationshipClass) | Gets referencing objects, where the relationship is defined by a specific ModelRelationshipClass and where objects are within the Default scope. |
![]() |
GetReferencing(ModelRelationshipClass, DacQueryScopes) | Gets referencing objects, where the relationship is defined by a specific ModelRelationshipClass and where objects are within a given DacQueryScopes scope. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
GetScript | Generates a CREATE script from the objects AST. |
![]() |
GetType | Ereditato da Object. |
![]() |
ToString | Ereditato da Object. |
![]() |
TryGetAst | Attempts to generate an AST for the object. |
![]() |
TryGetScript | Attempts to generate a script from the object’s AST. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
.gif)
.gif)