Knight Data Access Layer
TableIndexAttribute Constructor(Boolean,String,String,String)




KellermanSoftware.NetDataAccessLayer.Attributes Namespace > TableIndexAttribute Class > TableIndexAttribute Constructor : TableIndexAttribute Constructor(Boolean,String,String,String)
if set to true [is unique].
Name of the index.
A comma delimited list of columns
An optional where clause for the index
Initializes a new instance of the TableIndexAttribute class.
Syntax
Public Function New( _
   ByVal isUnique As Boolean, _
   ByVal indexName As String, _
   ByVal commaDelimitedListOfColumns As String, _
   ByVal whereClause As String _
)
Dim isUnique As Boolean
Dim indexName As String
Dim commaDelimitedListOfColumns As String
Dim whereClause As String
 
Dim instance As New TableIndexAttribute(isUnique, indexName, commaDelimitedListOfColumns, whereClause)
public TableIndexAttribute( 
   bool isUnique,
   string indexName,
   string commaDelimitedListOfColumns,
   string whereClause
)
public: TableIndexAttribute( 
   bool isUnique,
   string* indexName,
   string* commaDelimitedListOfColumns,
   string* whereClause
)
public:
TableIndexAttribute( 
   bool isUnique,
   String^ indexName,
   String^ commaDelimitedListOfColumns,
   String^ whereClause
)

Parameters

isUnique
if set to true [is unique].
indexName
Name of the index.
commaDelimitedListOfColumns
A comma delimited list of columns
whereClause
An optional where clause for the index
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

TableIndexAttribute Class
TableIndexAttribute Members
Overload List