/// <summary> /// Creates the data store provider. /// </summary> /// <param name="connection">The connection.</param> /// <param name="connectionString"></param> /// <returns></returns> public IXpoDataStoreProvider CreateDataStoreProvider(IDbConnection connection, string connectionString) { IXpoDataStoreProvider dataStoreProvider = null; var multiDatabase = !string.IsNullOrEmpty(ssConnectionString); if (multiDatabase) { provider = new XafDeltaDataStoreProvider(); dataStoreProvider = provider; } return dataStoreProvider; }
/// <summary> /// Creates the data store provider. /// </summary> /// <param name="connection">The connection.</param> /// <param name="connectionString"></param> /// <returns></returns> public IXpoDataStoreProvider CreateDataStoreProvider(IDbConnection connection, string connectionString) { IXpoDataStoreProvider dataStoreProvider = null; var multiDatabase = !string.IsNullOrEmpty(ssConnectionString); if (multiDatabase) { provider = new XafDeltaDataStoreProvider(); dataStoreProvider = provider; } return(dataStoreProvider); }