> // Save the database key passed to this method in the dao's DatabaseKey > // property, save the database set key (if any)to the dao's DatabaseSetKey > // property, and store the associated connection string > dao.DatabaseKey = databaseKey; > dao.DatabaseSetKey = mmAppBase.DatabaseMgr.DatabaseSetKey; > if (mmAppBase.DefaultDataAccessMode == mmDataAccessMode.Local) > { > dao.ConnectionString = GetConnectionString(databaseKey); > } > dao.ParameterTranslation = this.ParameterTranslation; > dao.BusinessObject = this; >>