Qualifies a database object name to ensure that it can can be used in an SQL Statement.
Namespace:
DbNetLink.DataAssembly: DbNetLink.DbNetData (in DbNetLink.DbNetData.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public string QualifiedDbObjectName( string ObjectName ) |
| Visual Basic (Declaration) |
|---|
Public Function QualifiedDbObjectName ( _ ObjectName As String _ ) As String |
| Visual C++ |
|---|
public: String^ QualifiedDbObjectName( String^ ObjectName ) |
Parameters
- ObjectName
- Type: System..::.String
The name of the column, table, index etc
Return Value
The qualified object name. For example for a MS SQL Server connection the name "order details" would become "[order details]".
Remarks
The function only qualifies the name if necessary for example if the name contains an embeded space or is a reserved word.