some work in branches/join_models
git-svn-id: svn://ttmath.org/publicrep/morm/branches/join_models@1190 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -152,6 +152,9 @@ public:
|
||||
{
|
||||
try
|
||||
{
|
||||
if( model_data )
|
||||
model_data->current_column = 0;
|
||||
|
||||
result.model_data = model_data;
|
||||
result.before_select();
|
||||
res = select_status;
|
||||
@@ -283,6 +286,9 @@ protected:
|
||||
|
||||
try
|
||||
{
|
||||
if( model_data )
|
||||
model_data->current_column = 0;
|
||||
|
||||
added_model.set_connector(model_connector);
|
||||
added_model.clear();
|
||||
added_model.set_save_mode(Model::DO_UPDATE_ON_SAVE); // IMPROVE ME check if there is a primary key
|
||||
|
Reference in New Issue
Block a user