public CqlConnection() { _ConnectionState = ConnectionState.Closed; _Config = new CqlConnectionConfiguration(); _CurrentKeyspace = ""; _ActualConnection = null; }
public static CqlConnectionConfiguration FromConnectionString(string connString) { var builder = new DbConnectionStringBuilder(); builder.ConnectionString = connString; var config = new CqlConnectionConfiguration(); config.ParseDefaultKeyspace(builder); config.ParseEndpoints(builder); return config; }