public DBConnection.IQuery PrepareQuery(object data)
        {
            var query = new SecondDBQuery(new string[] {
                "an image was aded"
            });

            return(query);
        }
        public IQuery PrepareQuery(object data)
        {
            var Data = data as GPSDeviceSimulatorData;

            if (Data == null)
            {
                throw new Exception("Data passed was not of the required type");
            }

            // TODO: create query for remote db
            var query = new SecondDBQuery(new string[] { string.Concat("N", ((Data.GetPositionLat()).ToString())), string.Concat("E", ((Data.GetPositionLong()).ToString())) });

            return(query);
        }
        public DBConnection.IQuery PrepareQuery(object data)
        {
            var dummyData = data as DummyDeviceData;

            if (dummyData == null)
            {
                throw new Exception("Data passed was not of the required type");
            }

            var query = new SecondDBQuery(new string[] {
                dummyData.GetX().ToString(),
                dummyData.GetY().ToString(),
                dummyData.GetZ().ToString()
            });

            return(query);
        }