partial void DeleteToDosTable(ToDosTable instance);
 partial void UpdateToDosTable(ToDosTable instance);
		private void detach_ToDosTables(ToDosTable entity)
		{
			this.SendPropertyChanging();
			entity.LoginInfo = null;
		}
 partial void InsertToDosTable(ToDosTable instance);
        public void InsertToDo(string p, string id)
        {
            ToDosTable t = new ToDosTable()
            {
                ToDo = p,
                ID = id
            };
            dataContext.GetTable<ToDosTable>().InsertOnSubmit(t);
            try
            {
                dataContext.SubmitChanges();
            }
            catch (Exception ex)
            {

            }
        }