コード例 #1
0
 public static async Task<ResponsavelAluno> insertResponsavelAluno(string responsavelId, string alunoId)
 {
     ResponsavelAluno responsavelAluno = new ResponsavelAluno { ResponsavelId = responsavelId, AlunoId = alunoId };
     await App.MobileService.GetTable<ResponsavelAluno>().InsertAsync(responsavelAluno);
     return responsavelAluno;
 }
コード例 #2
0
 public static async void updateResponsavelAluno(ResponsavelAluno responsavelAluno)
 {
     await App.MobileService.GetTable<ResponsavelAluno>().UpdateAsync(responsavelAluno);
 }