|
Qyoto
4.0.7
Qyoto is a C# language binding for Qt
|
The QSqlIndex class provides functions to manipulate and describe database indexes. More...


Public Member Functions | |
| QSqlIndex (QSqlIndex other) | |
| More... | |
| QSqlIndex (string cursorName="", string name="") | |
| More... | |
| override void | CreateProxy () |
| new void | Append (QSqlField field) |
| More... | |
| new void | Append (QSqlField field, bool desc) |
| More... | |
| new bool | IsDescending (int i) |
| More... | |
| new void | SetDescending (int i, bool desc) |
| More... | |
| new void | Dispose () |
Public Member Functions inherited from QtSql.QSqlRecord | |
| override bool | Equals (object o) |
| override int | GetHashCode () |
| QSqlRecord () | |
| More... | |
| QSqlRecord (QSqlRecord other) | |
| More... | |
| new void | Append (QSqlField field) |
| More... | |
| new void | Clear () |
| More... | |
| new void | ClearValues () |
| More... | |
| new bool | Contains (string name) |
| More... | |
| new QSqlField | Field (int i) |
| More... | |
| new QSqlField | Field (string name) |
| More... | |
| new string | FieldName (int i) |
| More... | |
| new int | IndexOf (string name) |
| More... | |
| new void | Insert (int pos, QSqlField field) |
| More... | |
| new bool | IsGenerated (int i) |
| More... | |
| new bool | IsGenerated (string name) |
| More... | |
| new bool | IsNull (int i) |
| More... | |
| new bool | IsNull (string name) |
| More... | |
| new void | Remove (int pos) |
| More... | |
| new void | Replace (int pos, QSqlField field) |
| More... | |
| new void | SetGenerated (string name, bool generated) |
| More... | |
| new void | SetGenerated (int i, bool generated) |
| More... | |
| new void | SetNull (int i) |
| More... | |
| new void | SetNull (string name) |
| More... | |
| new void | SetValue (int i, object val) |
| More... | |
| new void | SetValue (string name, object val) |
| More... | |
| new object | Value (int i) |
| More... | |
| new object | Value (string name) |
| More... | |
| new void | Dispose () |
Protected Member Functions | |
| QSqlIndex (System.Type dummy) | |
Protected Member Functions inherited from QtSql.QSqlRecord | |
| QSqlRecord (System.Type dummy) | |
Properties | |
| string | CursorName [get, set] |
| More... | |
| string | Name [get, set] |
| More... | |
Properties inherited from QtSql.QSqlRecord | |
| int | Count [get] |
| More... | |
| bool | IsEmpty [get] |
| More... | |
| virtual System.IntPtr | SmokeObject [get, set] |
Additional Inherited Members | |
Static Public Member Functions inherited from QtSql.QSqlRecord | |
| static bool | operator!= (QSqlRecord one, QSqlRecord other) |
| More... | |
| static bool | operator== (QSqlRecord one, QSqlRecord other) |
| More... | |
Protected Attributes inherited from QtSql.QSqlRecord | |
| SmokeInvocation | interceptor |
The QSqlIndex class provides functions to manipulate and describe database indexes.
An index refers to a single table or view in a database. Information about the fields that comprise the index can be used to generate SQL statements.
|
protected |
| QtSql.QSqlIndex.QSqlIndex | ( | QSqlIndex | other | ) |
Constructs a copy of other.

| QtSql.QSqlIndex.QSqlIndex | ( | string | cursorName = "", |
| string | name = "" |
||
| ) |
Constructs an empty index using the cursor name cursorname and index name name.

| new void QtSql.QSqlIndex.Append | ( | QSqlField | field | ) |
Appends the field field to the list of indexed fields. The field is appended with an ascending sort order.
| new void QtSql.QSqlIndex.Append | ( | QSqlField | field, |
| bool | desc | ||
| ) |
This is an overloaded function.
Appends the field field to the list of indexed fields. The field is appended with an ascending sort order, unless desc is true.
|
virtual |
| new void QtSql.QSqlIndex.Dispose | ( | ) |
| new bool QtSql.QSqlIndex.IsDescending | ( | int | i | ) |
Returns true if field i in the index is sorted in descending order; otherwise returns false.
| new void QtSql.QSqlIndex.SetDescending | ( | int | i, |
| bool | desc | ||
| ) |
If desc is true, field i is sorted in descending order. Otherwise, field i is sorted in ascending order (the default). If the field does not exist, nothing happens.
See also isDescending().
|
getset |
Returns the name of the cursor which the index is associated with.
Sets the name of the cursor that the index is associated with to cursorName.
|
getset |
Returns the name of the index.
Sets the name of the index to name.