SimpleORM.NET
IndexAttribute Constructor (p_name, p_unique, p_fields)
NamespacesSormIndexAttributeIndexAttribute(String, Boolean, array<String>[]()[])

[This is preliminary documentation and is subject to change.]

Setup this instance.
Declaration Syntax
C#Visual BasicVisual C++
public IndexAttribute(
	string p_name,
	bool p_unique,
	params string[] p_fields
)
Public Sub New ( _
	p_name As String, _
	p_unique As Boolean, _
	ParamArray p_fields As String() _
)
public:
IndexAttribute(
	String^ p_name, 
	bool p_unique, 
	... array<String^>^ p_fields
)
Parameters
p_name (String)
Name for index
p_unique (Boolean)
If it should be unique
p_fields (array< String >[]()[])
List of fields the is made of

Assembly: sorm (Module: sorm) Version: 1.0.0.13068