示例#1
0
文件: API.cs 项目: niiiils/taskify
        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);
        }
示例#2
0
文件: API.cs 项目: niiiils/taskify
        // 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);
        }