You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to set int Term property on Courses table and update to Terms.Id on when termName is selected on picker.
Should be able to use a raw query assigned to a variable.
The text was updated successfully, but these errors were encountered:
Added int TermId to Courses.
Successfully set Courses.TermId to Term.Id of selected Term.
Will look for "cleaner" option, but it works.
Code:
var selectedTerm = (Terms)termPicker.SelectedItem;
var courses = conn.Table<Courses>().FirstOrDefault();
courses.TermId = selectedTerm.Id;
var termId = courses.TermId;
Need to set int Term property on Courses table and update to Terms.Id on when termName is selected on picker.
Should be able to use a raw query assigned to a variable.
The text was updated successfully, but these errors were encountered: