Esempio n. 1
0
        protected override DbCommand CreateDbCommand()
        {
            var fakeCommand = new FakeCommand(this);

            Commands.Add(fakeCommand);
            return(fakeCommand);
        }
Esempio n. 2
0
        private static IDbCommand PrepareCommand()
        {
            var command = new FakeCommand(new FakeConnection());

            return(command);
        }