Beispiel #1
0
        public static void TaskCreateShort()
        {
            Data.Task task = new Data.Task {
                Title = "Laundry", Checked = true, Due_Date = DateTime.Today
            };
            Int64 taskId = task.Create();

            Debug.Print("Task created with Id:" + taskId);
        }
Beispiel #2
0
        // Create
        public static void TaskCreate()
        {
            Debug.Print("--- Task Create ---");
            // KlasseA
            Data.Task task = new Data.Task();
            task.Title       = "Finish Homework";
            task.Description = "test description";
            task.Due_Date    = DateTime.Today;
            Int64 taskID = task.Create();

            Debug.Print("Task created with Id:" + taskID);
        }