Knight Data Access Layer
Wrap Method (BaseDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class : Wrap Method
Table name or field name
Wrap a table name or field name in square brackets
Syntax
Public Overridable Function Wrap( _
   ByVal tableNameOrFieldName As String _
) As String
Dim instance As BaseDatabaseProvider
Dim tableNameOrFieldName As String
Dim value As String
 
value = instance.Wrap(tableNameOrFieldName)
public virtual string Wrap( 
   string tableNameOrFieldName
)
public: virtual string* Wrap( 
   string* tableNameOrFieldName
) 
public:
virtual String^ Wrap( 
   String^ tableNameOrFieldName
) 

Parameters

tableNameOrFieldName
Table name or field name

Return Value

Table name or field name wrapped in square brackets
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseDatabaseProvider Class
BaseDatabaseProvider Members