示例#1
0
        public static async void InsertNewDevice(Device d)
        {
            try
            {
                await device.InsertAsync(d);
            }
            catch (MobileServiceInvalidOperationException e)
            {
                Debug.WriteLine(e.Message);
            }

        }
示例#2
0
 public static async void UpdateDevice(Device d)
 {
     await device.UpdateAsync(d);
 }
示例#3
0
 public static async void DeleteDevice(Device d)
 {
     await device.DeleteAsync(d);
 }