コード例 #1
0
 public void Prepare()
 {
     if (compiledStatement != null && accessor != null)
     {
         return;
     }
     compiledStatement = (NodeConfiguration != null)
 ? driver.Compile(Statement, NodeConfiguration)
 : driver.Compile(Statement);
     accessor  = driver.GetDataReaderAccessor(TupleDescriptor);
     Statement = null;
 }
コード例 #2
0
 public Tuple ReadTupleWith(DbDataReaderAccessor accessor)
 {
     return(accessor.Read(reader));
 }
コード例 #3
0
 public DataReader CreateReader(DbDataReaderAccessor accessor, CancellationToken token = default) =>
 new DataReader(this, accessor, token);
コード例 #4
0
 internal Tuple ReadTupleWith(DbDataReaderAccessor accessor) => accessor.Read(reader);