public MultiDataStoreProxy(IDataStore dataStore, string connectionString,XPDictionary dictionary=null) : base(dataStore){ if (dictionary==null) dictionary=XpandModuleBase.Dictiorary; _dataStoreManager = new DataStoreManager(connectionString); FillDictionaries(dictionary); }
public MultiDataStoreProxy(string connectionString, XPDictionary xpDictionary) : base(connectionString) { _dataStoreManager = new DataStoreManager(connectionString); FillDictionaries(xpDictionary); }
public IEnumerable<string> GetConnectionStrings(DataStoreManager dataStoreManager, IEnumerable<XPObjectType> xpObjectTypes, string exculdeString) { return xpObjectTypes.Select(type => dataStoreManager.GetConnectionString(ReflectionHelper.FindType(type.TypeName))).Distinct().Where(s => s != exculdeString); }
public MultiDataStore(string connectionString, XPDictionary xpDictionary) { _dataStoreManager = new DataStoreManager(connectionString); FillDictionaries(xpDictionary); }