func (obj *ResultSet) AddEntityToResultSet(entity tgdb.TGEntity) tgdb.TGResultSet {
	obj.ResultList = append(obj.ResultList, entity)
	return obj
}
///////////////////////////////////////////////////////////////
Implement functions from Interface ==> TGResultSet
///////////////////////////////////////////////////////////////
AddEntityToResultSet adds another entity to the result set
package impl
import (
	"bytes"
	"encoding/gob"
	"fmt"
	"strconv"
	"strings"
	"tgdb"
	"time"
)
type ResultSet struct {
	conn       tgdb.TGConnection
	currPos    int
	isOpen     bool
	resultId   int
	ResultList []interface{}
	MetaData	tgdb.TGResultSetMetaData
}
func DefaultResultSet() *ResultSet {
	gob.Register(ResultSet{})
	newResults := ResultSet{
		currPos:    -1,
		isOpen:     true,
		resultId:   -1,
		ResultList: make([]interface{}, 0),
		MetaData: nil,
	}
	return &newResults
}
var _ tgdb.TGResultSet = (*ResultSet)(nil)
func NewResultSet(conn tgdb.TGConnection, resultId int) *ResultSet {
	newResults := DefaultResultSet()
	newResults.conn = conn
	newResults.resultId = resultId
	return newResults
}
func (obj *ResultSet) GetConnection() tgdb.TGConnection {
	return obj.conn
}
func (obj *ResultSet) GetCurrentPos() int {
	return obj.currPos
}
func (obj *ResultSet) GetIsOpen() bool {
	return obj.isOpen
}
func (obj *ResultSet) GetResultId() int {
	return obj.resultId
}
func (obj *ResultSet) GetResults() []interface{} {
	return obj.ResultList
}