Пример #1
0
        public void TestService()
        {
            IntervalService service = new IntervalService();
            Interval interval = new Interval();
            interval.Description = "Hello World";

            //service.Insert(interval);
        }
Пример #2
0
        public void AllIntervals()
        {
            IntervalService service = new IntervalService();

            Interval interval = new Interval();

            //	service.Insert(interval);

            //	List<Interval> intervals = service.FindAll();

            /*	var conn = new SqliteConnection("Data Source=intervals;Version=3;Legacy Format=True;");

              			using (var cmd = conn.CreateCommand())

            {

              				conn.Open();

              			//	cmd.CommandText ="SELECT name FROM sqlite_master WHERE type='table' ORDER BY name;";

            */
        }