예제 #1
0
        public void Finished()
        {
            Result = new PreparedCommand(_sb.ToString(), _parameters);

            _sb.Clear();
            _sb = null;
        }
예제 #2
0
 public static PreparedCommand Store <T>(int idx, PreparedCommand c) => PreparedCommandCache <T> .Set(idx, c);
예제 #3
0
 public static PreparedCommand Set(int idx, PreparedCommand c)
 {
     PreparedCommands[idx] = c;
     return(c);
 }