MsSqlModel

Creates a new mssql model.

Constructors

this
this()

Creates a new mssql model.

Members

Functions

moveToNextColumn
void moveToNextColumn()

Moves to the next column.

retrieve
T retrieve()

Retrieves a value from the model's data.

retrieveBoolImpl
bool retrieveBoolImpl()

Retrieves a boolean value.

retrieveDefaultImpl
Variant retrieveDefaultImpl()

Retrieves any kind of value.

retrieveEnumImpl
Variant retrieveEnumImpl()

Retrieves an enum value.

retrieveNullableEnumImpl
Variant retrieveNullableEnumImpl()

Retrieves a nullable enum value.

retrieveNullableImpl
Variant retrieveNullableImpl()

Retrieves a nullable value.

retrieveTextImpl
string retrieveTextImpl()

Retrieves a text value.

Properties

row
ResultSet row [@property getter]

Gets the raw mssql row.

row
ResultSet row [@property setter]

Sets the raw mssql row.

Static variables

table
string table;

The name of the table associated with the mssql model.

Inherited Members

From Model

setReader
void setReader(void delegate() reader)
Undocumented in source. Be warned that the author may not have intended to support it.
setInserter
void setInserter(void delegate() inserter)
Undocumented in source. Be warned that the author may not have intended to support it.
setUpdater
void setUpdater(void delegate() updater)
Undocumented in source. Be warned that the author may not have intended to support it.
setDeleter
void setDeleter(void delegate() deleter)
Undocumented in source. Be warned that the author may not have intended to support it.
setReaderRelationship
void setReaderRelationship(void delegate() readerRelationship)
Undocumented in source. Be warned that the author may not have intended to support it.
readModel
void readModel()

Reads the model from the reader. Called internally from readSingle & readMany

insertModel
void insertModel()

Inserts the model.

updateModel
void updateModel()

Updates the model.

deleteModel
void deleteModel()

Deletes the model.

readRelationships
void readRelationships()

Reads the relationships the model has.

Meta