81 |
def populate (self): |
def populate (self): |
82 |
attributes = {} |
attributes = {} |
83 |
attributes ["name"] = "" |
attributes ["name"] = "" |
84 |
attributes ["database"] = self._session._database |
attributes ["database"] = self._session.database |
85 |
attributes ["table"] = self._classdef.table |
attributes ["table"] = self._classdef.table |
86 |
if self._sortColumns != []: |
if self._sortColumns != []: |
87 |
attributes ["order_by"] = string.joinfields (self._sortColumns, ",") |
attributes ["order_by"] = string.joinfields (self._sortColumns, ",") |
88 |
|
|
89 |
self._datasource = GDataSource.DataSourceWrapper ( |
self._datasource = GDataSource.DataSourceWrapper ( |
90 |
connections = self._session._connections, |
connections = self._session.connections, |
91 |
attributes = attributes, |
attributes = attributes, |
92 |
fields = self._prefColumns) |
fields = self._prefColumns) |
93 |
|
|