tag:blogger.com,1999:blog-1944926148473713281.post7327507189027100124..comments2024-03-11T04:42:50.934-07:00Comments on News, tips, tricks and more about DevExpress Application Framework (XAF) directly from the lab: How to customize the underlying database provider options and data access behavior in XAFDennis Garavskyhttp://www.blogger.com/profile/05439634942797151905noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-1944926148473713281.post-34751111338537955262014-07-29T07:50:36.068-07:002014-07-29T07:50:36.068-07:00If you are talking about the application server, t...If you are talking about the application server, then it should be configured the same way and using the same CreateCustomObjectSpaceProvider event or the CreateDefaultObjectSpaceProvider override, as long as ServerApplication (a descendant of the XafApplication class) is used there.Dennis Garavskyhttps://www.blogger.com/profile/05439634942797151905noreply@blogger.comtag:blogger.com,1999:blog-1944926148473713281.post-24848064075606351482014-07-21T12:00:25.754-07:002014-07-21T12:00:25.754-07:00Hi, thanks for your replay
about those example i&#...Hi, thanks for your replay<br />about those example i've examined them well, they work fine for me but in a single machine scenario, so for me what i want is the same behavior of many data-stores to many databases in server - client mode..UnKnOwNhttps://www.blogger.com/profile/02536338710003631395noreply@blogger.comtag:blogger.com,1999:blog-1944926148473713281.post-20256270569534038792014-07-21T09:05:49.616-07:002014-07-21T09:05:49.616-07:00@UnKnOwN: Thank you for your feedback. An example ...@UnKnOwN: Thank you for your feedback. An example of a provider that can connect to several databases is given at https://www.devexpress.com/Support/Center/Example/Details/E1150<br />There is also an alternative solution that does not require creating a custom provider at all: https://www.devexpress.com/Support/Center/Example/Details/E4896<br />As for connecting to services, this is a bit more work and the best example I can give you is to check out our built-in implementations of IEntityStore, ITypeInfoSource, IObjectSpaceProvider, etc. in the DevExpress.ExpressApp.EF or DevExpress.ExpressApp.Xpo libraries, because basically it is similar to supporting yet another ORM layer, of course if you want it to be naturally integrated into the framework. In general, it would be great to know more on your concrete scenario, environment and other requirements before suggesting a final solution, because there may be different technical solutions. Feel free to create a ticket in the Support Center and detail your scenario there: https://www.devexpress.com/Support/Center/Question/Create - we will be glad to help you realize it.Dennis Garavskyhttps://www.blogger.com/profile/05439634942797151905noreply@blogger.comtag:blogger.com,1999:blog-1944926148473713281.post-20168142654014800332014-07-20T21:33:08.109-07:002014-07-20T21:33:08.109-07:00Hi, Dennis
great post to read,
just i wonder if ...Hi, Dennis <br />great post to read, <br />just i wonder if you can make a post or give us an example of how to implement a custom multi-datastore provider with simultaneous connections to different sources (databases, services..) especially in server-client fashion, it'll be of great help since data could come from many sources today.<br />thanks and great post again :)<br /><br />UnKnOwNhttps://www.blogger.com/profile/02536338710003631395noreply@blogger.com