C# 클래스 Argentini.Halide.DatabaseRow

Subclass which contains all of an individual row's columns as individual DatabaseItem objects
파일 보기 프로젝트 열기: argentini/Halide 1 사용 예제들

공개 메소드들

메소드 설명
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