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




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

Parameters

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