コード例 #1
0
 public static async Task<TurmaDisciplina> insertTurmaDisciplina(string turmaId, string disciplinaId, string professorId)
 {
     TurmaDisciplina turmaDisciplina = new TurmaDisciplina { TurmaId = turmaId, DisciplinaId = disciplinaId, ProfessorId = professorId };
     await App.MobileService.GetTable<TurmaDisciplina>().InsertAsync(turmaDisciplina);
     return turmaDisciplina;
 }
コード例 #2
0
 public static async void updateTurmaDisciplina(TurmaDisciplina turmaDisciplina)
 {
     await App.MobileService.GetTable<TurmaDisciplina>().UpdateAsync(turmaDisciplina);
 }