public void SetUp() { var session = TryConnectToCassandra(timeout: TimeSpan.FromMinutes(1), interval: TimeSpan.FromSeconds(1)); session.CreateKeyspaceIfNotExists(CqlDbConnectorFactory.Keyspace); table = new Table <TestDbSearcherObject>(session); table.CreateIfNotExists(); connector = new CqlDbConnectorFactory().CreateConnector <TestDbSearcherObject>(); }
public void SetUp() { connector = new CqlDbConnectorFactory(typeof(TConnector).GetGenericTypeDefinition()).CreateConnector <TestDbSearcherObject>(); }
public CqlSchemaConfiguration() { ConnectorsFactory = new CqlDbConnectorFactory(typeof(CqlDbConnector <>)); PropertyDescriptionBuilder = new CqlPropertyDescriptionBuilder(); }
public BusinessArrayObjectsSchemaConfiguration() { ConnectorsFactory = new CqlDbConnectorFactory(typeof(CqlDbConnector <>)); PropertyDescriptionBuilder = new CqlPropertyDescriptionBuilder(); }