Knight Data Access Layer
GetPrimaryKeyColumnsForTable Method (BaseDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class : GetPrimaryKeyColumnsForTable Method
Get the primary key columns for a table from the schema
Syntax
Protected Overridable Function GetPrimaryKeyColumnsForTable( _
   ByVal tableName As String _
) As List(Of String)
Dim instance As BaseDatabaseProvider
Dim tableName As String
Dim value As List(Of String)
 
value = instance.GetPrimaryKeyColumnsForTable(tableName)
protected virtual List<string> GetPrimaryKeyColumnsForTable( 
   string tableName
)
protected: virtual List<string*>* GetPrimaryKeyColumnsForTable( 
   string* tableName
) 
protected:
virtual List<String^>^ GetPrimaryKeyColumnsForTable( 
   String^ tableName
) 

Parameters

tableName
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