using System;
using DevExpress.ExpressApp;
using DevExpress.Xpo.Metadata;

namespace eXpand.ExpressApp.WorldCreator {
//    public class MyXpoDataStoreProvider : IXpoDataStoreProvider
//    {
//        private readonly WorldCretorDataStore proxy=new WorldCretorDataStore();
//
//        public void Initialize(XPDictionary dictionary, string connectionString) {
//            proxy.Initialize(dictionary, connectionString, connectionString.Replace("Shell", "WorldCreatorShell"));
//        }
//
//        public MyXpoDataStoreProvider() {
//            
//        }
//
//        public string ConnectionString
//        {
//            get { return ""; }
//        }
//        public DevExpress.Xpo.DB.IDataStore CreateUpdatingStore(out IDisposable[] disposableObjects)
//        {
//            disposableObjects = null;
//            return proxy;
//        }
//        public DevExpress.Xpo.DB.IDataStore CreateWorkingStore(out IDisposable[] disposableObjects)
//        {
//            disposableObjects = null;
//            return proxy;
//        }
//        public XPDictionary XPDictionary
//        {
//            get { return null; }
//        }
//
//    }
}