What is Opf3? Why is Opf3? How is Opf3? All these burning questions and issues discussed here.
 | |
| | FYI
I have written a little engine that you can include in your projects that does the following:
1. Reads a config file for one or more object contexts that a module or application needs. 2. Uses this information to load ANY storage into an object context 3. Stores the object context's in a dictionary collection.
Each context is stored by name and can be retrieved by a single call to the dictionary.
I have written one storage wrapper assembly for MSSQL200x. If there is enough interest, I will write some for the other storages.
Also in the config file, each context section can be application or module specific so you can use a single config file for all of your applications or just one.
Benefits include: 1. Changing storage for the project is a snap and does not require recompile of any code 2. Flexible will grow into the future as new storages are created for OPF3 it will still accept them with no recompile. 3. Works great where an organization centralizes their assemblies on a network location for one or more projects. You can now put the wrapper stroage assemblies and reference them in the config file to look for them at the speficied network folder 4. Supports loading assemblies from either the current directory or from a path. 5. If using multiple modules say DAL or BAL that are reused across multiple apps, you can use a different config file for each or the same one for all.
If interested, reply here and I will email you the source for the engine and and the source MSSQL2005x Context wrapper. Use the example context wrapper to very easially build these for other storages!
P.S. go to the announcements forum i posted an announcement on an ASP.Net demo that also uses this engine.
Regards!
|
 | |
| | Estoy interesado en tu código
Saludos
|
 | |
| | Christian will be uploading the ObjectContextCollector Project and the source code very very soon to the OPF3 web site as a contributor download. I asked him last week and he said he was planing to have it up in a few days! 
If he does not get this up to OPF3 web site soon, I will put a download and anounce it.
|
 | |
| | Hi John,
could you send him the sample. I have currently so much to do for university, that I'm not able to do everything.
Thanks Christian
|
 | |
| | ObjectContextCollector V2 is available on my web site under Downloads.
please go to www.johnpadillaweb.com and click Downloads in the main menu. Enjoy!
I will also be uploading the updated Asp.Net Demo app with latest changes and bug fixes.
Cheers!
|
 | |
| | This is great news John. Thank you for all the effort.
Christian
|