Ninja Database Pro
AddCompositeIndex<T>(BaseCompositeIndex<T>) Method



KellermanSoftware.NinjaDatabasePro Namespace > NinjaDbPro Class > AddCompositeIndex Method : AddCompositeIndex<T>(BaseCompositeIndex<T>) Method
Add a custom composite index. See the SterlingCompositeIndex in the example directory for an example implementation.
Syntax
Public Overloads Sub AddCompositeIndex(Of T As {Class, New})( _
   ByVal compositeIndex As BaseCompositeIndex(Of T) _
) 
Dim instance As NinjaDbPro
Dim compositeIndex As BaseCompositeIndex(Of T)
 
instance.AddCompositeIndex(Of T)(compositeIndex)
public void AddCompositeIndex<T>( 
   BaseCompositeIndex<T> compositeIndex
)
where T: class, new()
public:
void AddCompositeIndexgeneric<typename T>
( 
   BaseCompositeIndex<T^>^ compositeIndex
) 
where T: ref class, gcnew()

Parameters

compositeIndex

Type Parameters

T
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

NinjaDbPro Class
NinjaDbPro Members
Overload List