close
Warning:
Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
May 10, 2013, 9:06:51 AM (12 years ago)
- Author:
-
Chakib Faghloumi
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v10
|
v11
|
|
268 | 268 | |
269 | 269 | |
270 | | ===Ejeplo de uso=== |
| 270 | ===Ejemplo de uso=== |
271 | 271 | |
272 | 272 | {{{ |
273 | 273 | #Require MMS; |
274 | | NameBlock MmsDataBase = DBConnect::Create( |
275 | | |
276 | | Text alias = "MmsDataBase", |
| 274 | NameBlock MmsDataBase_ConnectBBDD = DBConnect::Create( |
| 275 | |
| 276 | Text alias = "MmsDataBaseODBC", |
277 | 277 | Text user = <user>, |
278 | 278 | Text password = <password>, |
… |
… |
|
284 | 284 | |
285 | 285 | |
286 | | Real MmsDataBase::Store(?); |
| 286 | Real MmsDataBase_ConnectBBDD::Store(?); |
287 | 287 | |
288 | 288 | Real MMS::Network::ReplaceConnection( |
289 | | "MmsDataBase", |
| 289 | "MmsDataBase_ConnectMMS", |
290 | 290 | "pgsql", |
291 | | MmsDataBase::_.alias, |
292 | | "descriptio" |
293 | | ); |
294 | | MMS::Network::OpenConnection("MmsDataBase") |
| 291 | MmsDataBase_ConnectBBDD::_.alias, |
| 292 | "descriptión" |
| 293 | ); |
| 294 | MMS::Network::OpenConnection("MmsDataBase_ConnectMMS") |
295 | 295 | |
296 | 296 | }}} |