예제 #1
0
 protected static ISession CreateSession(CassandraCqlSessionManager sessionManager, ICassandraConfiguration cassandraConfiguration)
 {
     return(sessionManager.GetSession(cassandraConfiguration));
 }
예제 #2
0
 public CqlDataContext(CassandraCqlSessionManager sessionManager, TConfig cassandraConfiguration)
     : this(CreateSession(sessionManager, cassandraConfiguration))
 {
 }