Sybase ESP .NET SDK  5.0 ESD#1
NetEspSchema Class Reference

List of all members.

Public Member Functions

 NetEspSchema (ESP_SDK_NAMESPACE::EspSchema *nSchema)
ESP_SDK_NAMESPACE::EspSchema * getEspSchema ()
int get_numcolumns ()
List< String^ >^ get_column_names ()
List< int32_t >^ get_column_types ()
List< bool >^ get_column_keys ()
String^ get_column_name (uint32_t column_no, NetEspError^ error)
int32_t get_column_type (uint32_t column_no, NetEspError^ error)
bool is_key (uint32_t column_no, NetEspError^ error)
int32_t get_column_index (String^ column_name, NetEspError^ error)
void set_column_names (List< String^ >^names)
void set_column_types (List< int >^types)
void set_column_keys (List< bool >^keys)

Member Function Documentation

int32_t NetEspSchema::get_column_index ( String^  column_name,
NetEspError error 
)

Retrieves the index (position) of the column with the specified name.

List< bool > NetEspSchema::get_column_keys ( )

Retrieves a list of boolean values indicating which columns are key columns.

String NetEspSchema::get_column_name ( uint32_t  column_no,
NetEspError error 
)

Retrieves the name of the column for the specified position.

List< String^ > NetEspSchema::get_column_names ( )

Retreives the list of column names for this schema.

int32_t NetEspSchema::get_column_type ( uint32_t  column_no,
NetEspError error 
)

Retrieves the type of the column for the specified position.

List< int32_t > NetEspSchema::get_column_types ( )

Retrieves the list of column types for this schema.

int NetEspSchema::get_numcolumns ( )

Retrieves the number of columns for this schema.

bool NetEspSchema::is_key ( uint32_t  column_no,
NetEspError error 
)

Returns true if the column at the specified position is a key column.