C# Класс Argentini.Halide.DatabaseRow

Subclass which contains all of an individual row's columns as individual DatabaseItem objects
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddColumn ( String colName, String colValue ) : System.Boolean

Add a column to the data set in memory. This is useful when stored procedures used for saving data require optional parameters.

The new column will act just like a real SQL data column, and you may want to add a faux SQL data type to its properties, as well as any other properties, so that you can manipulate it properly.

DatabaseRow ( ) : System

Initialize the DatabaseRow with an empty row.

DatabaseRow ( H3Reader reader ) : System

Initialize the DatabaseRow with a single row form a Halide.H3Reader object.

DeleteColumn ( String colName ) : System.Boolean

Delete a column from the data set in memory.

DeleteColumn ( int index ) : System.Boolean

Delete a column from the data set in memory.

this ( String columnName ) : DatabaseItem

Return the DatabaseItem of the specified name. If you try to retrieve an item that does not exist, one is created automatically.

this ( int ColumnIndex ) : DatabaseItem

Return the DatabaseItem at the specified index, or set the value.

Описание методов

AddColumn() публичный Метод

Add a column to the data set in memory. This is useful when stored procedures used for saving data require optional parameters.

The new column will act just like a real SQL data column, and you may want to add a faux SQL data type to its properties, as well as any other properties, so that you can manipulate it properly.

public AddColumn ( String colName, String colValue ) : System.Boolean
colName String Name of the new column.
colValue String Value of the new column.
Результат System.Boolean

DatabaseRow() публичный Метод

Initialize the DatabaseRow with an empty row.
public DatabaseRow ( ) : System
Результат System

DatabaseRow() публичный Метод

Initialize the DatabaseRow with a single row form a Halide.H3Reader object.
public DatabaseRow ( H3Reader reader ) : System
reader H3Reader An open Halide.H3Reader object that can be used to read a row from a database.
Результат System

DeleteColumn() публичный Метод

Delete a column from the data set in memory.
public DeleteColumn ( String colName ) : System.Boolean
colName String Name of the column to delete.
Результат System.Boolean

DeleteColumn() публичный Метод

Delete a column from the data set in memory.
public DeleteColumn ( int index ) : System.Boolean
index int Index number of the column to delete.
Результат System.Boolean

this() публичный Метод

Return the DatabaseItem of the specified name. If you try to retrieve an item that does not exist, one is created automatically.
public this ( String columnName ) : DatabaseItem
columnName String The column name of the DatabaseItem.
Результат DatabaseItem

this() публичный Метод

Return the DatabaseItem at the specified index, or set the value.
public this ( int ColumnIndex ) : DatabaseItem
ColumnIndex int The index number of the column from which to retrieve the DatabaseItem.
Результат DatabaseItem