This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Device | |
{ | |
public string Id { get; set; } | |
public string UserId { get; set; } | |
public virtual User User { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void onCompleted(Bill entity, Exception exception, ServiceFilterResponse response) { | |
Log.i(TAG, "Called insert"); | |
if (exception == null){ | |
Log.i(TAG, "Azure insert succeeded ID: " + entity.Id); | |
} else { | |
Log.i(TAG, "Azure insert failed again " + exception); | |
Throwable t = exception.getCause(); | |
while (t != null) { | |
Log.i(TAG, "Cause of error: " + t); | |
t = t.getCause(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page | |
x:Class="StackOverflow_25246280_App1.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:StackOverflow_25246280_App1" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var table = MobileService.GetTable<TodoItem>(); | |
var items = await table | |
.Take(PageSize) | |
.Skip(this.currentIndex) | |
.OrderBy(t => t.Text) | |
.IncludeTotalCount() | |
.ToListAsync(); | |
int totalCount = (int)((ITotalCountProvider)items).TotalCount; | |
this.lblStatus.Text = string.Format( | |
"Showing items from position {0} to {1} (of {2})", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Page | |
x:Class="App9.MainPage" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:local="using:App9" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d"> | |
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}"> | |
<Grid.RowDefinitions> | |
<RowDefinition Height="100"/> | |
<RowDefinition Height="*"/> | |
</Grid.RowDefinitions> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition Width="*"/> | |
<ColumnDefinition Width="*"/> | |
</Grid.ColumnDefinitions> | |
<Button Name="btnLogin" Content="Log in" Margin="10" FontSize="30" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"statusMessage":"","status":0,"service":{"method":"GET","originalURI":"/exercises/collect-api/items/289121/sections/GDMEF%20Cases/data_rows?token=fgfrtr-g1o7GxSZddN57Jkc42eo-cas\u0026service=https://gdsfsd.com/exercises/collect-api/\u0026app_user_session_id=13598577\u0026param1=deep\u0026findBy=columns\u0026columns=GDMEF%20Case%20ID\u0026values=250","service":"https://gdsfsd.com/exercises/collect-api/","handler":"/exercises/collect-api/items/289121/sections/GDMEF%20Cases/data_rows?token=ST-148706-g1o7GxSZddN57Jkc42eo-cas\u0026service=https://gdsfsd.com/exercises/collect-api/\u0026app_user_session_id=13598577\u0026param1=deep\u0026findBy=columns\u0026columns=GDMEF%20Case%20ID\u0026values=250","section_id":"GDMEF Cases","controller":"section_data","app_user_session_id":"13598577","findBy":"columns","token":"ST-148706-g1o7GxSZddN57Jkc42eo-cas","param1":"deep","columns":"GDMEF Case ID","action":"index","item_id":"289121","values":"250","version":"1.0.0"},"results":[{"section":{"data":[{"Final Action Descrip":{"c |