[]
A hint to create and use an index on the specified data column. The hint has default action.
public static T IndexedField<T>(this DataRow row, int columnIndex)
Type | Name | Description |
---|---|---|
DataRow | row | The data row. |
int | columnIndex | The zero-based ordinal position of the column. |
Type | Description |
---|---|
T | The data column value. |
Name | Description |
---|---|
T | The type of the data column |
Hints are used declaratively. They tell LiveLinq query optimizer to create and use an index on that column, if possible. When the query is executed, the hint method IndexedField is replaced with the standard LINQ to DataSet extension method Field. See Hints for more details.
var query = from c in customersTable
where c.IndexedField<string>(0) == "ALFKI"
select c;
A hint to create and use an index on the specified data column. The hint has default action.
public static T IndexedField<T>(this DataRow row, DataColumn column)
Type | Name | Description |
---|---|---|
DataRow | row | The data row. |
DataColumn | column | The data column. |
Type | Description |
---|---|
T | The data column value. |
Name | Description |
---|---|
T | The type of the data column |
Hints are used declaratively. They tell LiveLinq query optimizer to create and use an index on that column, if possible. When the query is executed, the hint method IndexedField is replaced with the standard LINQ to DataSet extension method Field. See Hints for more details.
var query = from c in customersTable
where c.IndexedField<string>(customerColumn) == "ALFKI"
select c;
A hint to create and use an index on the specified data column. The hint has default action.
public static T IndexedField<T>(this DataRow row, string columnName)
Type | Name | Description |
---|---|---|
DataRow | row | The data row. |
string | columnName | The name of the column. |
Type | Description |
---|---|
T | The data column value. |
Name | Description |
---|---|
T | The type of the data column |
Hints are used declaratively. They tell LiveLinq query optimizer to create and use an index on that column, if possible. When the query is executed, the hint method IndexedField is replaced with the standard LINQ to DataSet extension method Field. See Hints for more details.
var query = from c in customersTable
where c.IndexedField<string>("CustomerID") == "ALFKI"
select c;
A hint to create and use an index on the specified data column. The hint has specified action.
public static T IndexedField<T>(this DataRow row, int columnIndex, IndexingHintAction action)
Type | Name | Description |
---|---|---|
DataRow | row | The data row. |
int | columnIndex | The zero-based ordinal position of the column. |
IndexingHintAction | action | The action specified by the hint. |
Type | Description |
---|---|
T | The data column value. |
Name | Description |
---|---|
T | The type of the data column |
Hints are used declaratively. They tell LiveLinq query optimizer to create and use an index on that column, if possible. When the query is executed, the hint method IndexedField is replaced with the standard LINQ to DataSet extension method Field. See Hints for more details.
var query = from c in customersTable
where c.IndexedField<string>(0, IndexingHintAction.Mandatory) == "ALFKI"
select c;
A hint to create and use an index on the specified data column. The hint has specified action.
public static T IndexedField<T>(this DataRow row, DataColumn column, IndexingHintAction action)
Type | Name | Description |
---|---|---|
DataRow | row | The data row. |
DataColumn | column | The data column. |
IndexingHintAction | action | The action specified by the hint. |
Type | Description |
---|---|
T | The data column value. |
Name | Description |
---|---|
T | The type of the data column |
Hints are used declaratively. They tell LiveLinq query optimizer to create and use an index on that column, if possible. When the query is executed, the hint method IndexedField is replaced with the standard LINQ to DataSet extension method Field. See Hints for more details.
var query =
from c in customersTable
where c.IndexedField<string>(customerColumn, IndexingHintAction.Mandatory) == "ALFKI"
select c;
A hint to create and use an index on the specified data column. The hint has specified action.
public static T IndexedField<T>(this DataRow row, string columnName, IndexingHintAction action)
Type | Name | Description |
---|---|---|
DataRow | row | The data row. |
string | columnName | The name of the column. |
IndexingHintAction | action | The action specified by the hint. |
Type | Description |
---|---|
T | The data column value. |
Name | Description |
---|---|
T | The type of the data column |
Hints are used declaratively. They tell LiveLinq query optimizer to create and use an index on that column, if possible. When the query is executed, the hint method IndexedField is replaced with the standard LINQ to DataSet extension method Field. See Hints for more details.
var query =
from c in customersTable
where c.IndexedField<string>("CustomerID", IndexingHintAction.Mandatory) == "ALFKI"
select c;