Ejemplo n.º 1
0
        public Result Open(byte[] filename, out IDbHandle db, int flags, IntPtr zvfs)
        {
            ActionsTaken.Add(string.Concat(filename.ToString(), "-Opened"));
            db = new MockDbHandle();

            CreateStatementsExecuted          = new List <string> ();
            DeleteStatementsExecuted          = new List <string> ();
            InsertOrReplaceStatementsExecuted = new List <string> ();
            InsertStatementsExecuted          = new List <string> ();
            UpdateStatementsExecuted          = new List <string> ();
            DropStatementsExecuted            = new List <string> ();
            SelectStatementsExecuted          = new List <string> ();


            return(Result.OK);
        }
		public Result Open (byte[] filename, out IDbHandle db, int flags, IntPtr zvfs)
		{
			ActionsTaken.Add(string.Concat(filename.ToString(), "-Opened"));
			db = new MockDbHandle ();

			CreateStatementsExecuted = new List<string> ();
			DeleteStatementsExecuted = new List<string> ();
			InsertOrReplaceStatementsExecuted = new List<string> ();
			InsertStatementsExecuted = new List<string> ();
			UpdateStatementsExecuted = new List<string> ();
			DropStatementsExecuted = new List<string> ();
			SelectStatementsExecuted=  new List<string> ();


			return Result.OK;
		}