public DbProvider( DbConnection connection, IVertexStoreRawSqlProvider vertexSqlProv, IEdgeStoreRawSqlProvider edgeSqlProv, bool useLookupTable = false) { vertexStore = new SqlVertexStore <ConcreteDbCommand>(connection, this, vertexSqlProv); edgeStore = new SqlEdgeStore <ConcreteDbCommand>(connection, this, edgeSqlProv); this.connection = connection; this.useLookupTable = useLookupTable; }
public SqlGraph(DbProvider <ConcreteCommand> p, Func <IVertex, IEnumerable <IndexedString> > indexConstructionLogic = null) : base(p.VertexStore, p.EdgeStore, indexConstructionLogic) { vertexStore = p.VertexStore; }