replication - Writing to one db while reading from another using DevExpress XPO -


Does anyone have an experience working with DivXpress' XPO, where DB is repeated? From my one and the server to the server, I think it has been decided that there is a way to get replication.

They say that everyone needs to be on the master, and all have to come from slaves. It is understandable, but now it is a matter of setting up XPO to write this master (far away), but read from Das (local).

I have found a good at DevExpress forums how this can be done, which I intend to try, but I am thinking that anyone has done this, and they have no insights / GATECACE / REFERENCES.

edit: Because you do not like the approach first.

Here are some master-master replication links, if you have not seen them.


Some potential Wikipedia entries


(Cached, original link from Google is now dead for some reason) < / P>


Have you tried the suggested method on the DevExpress forum yet?

  1. Make a session A
  2. Call the session A.Disconect () - Set the connection string to session A and the session a. Call ()
  3. Create session B
  4. Call op.Disconect () - Set the connection string to SE and call session A.Connect ()
  5. XPCollection auxL = Load new loads from session A using XPCollection
  6. Create the object of session B using BB = new B (session B)
  7. Assign the object from the object to the field with the object. Save B Object

This approach works well with basic objects, if you have relationships, then you have to solve the references to objects in session B, session Using the information of A's object.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -