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
Copy file name to clipboardExpand all lines: Assets/AppServices/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ For game developers looking to use Azure App Services (previously Mobile Service
9
9
3. Create an Azure App Service [Mobile App](https://portal.azure.com)
10
10
* Create a Table (using Easy Tables) for app data.
11
11
12
-
## Unity 5 leaderboard demo
13
-
[App Services Demo project](https://github.com/Unity3dAzure/AppServicesDemo)will run inside UnityEditor on Mac or Windows. (The demo project has got everything bundled in and does not require any additional assets to work.)
14
-
For detailed instructions read my developer blog on how to [use Azure App Services with Unity project](http://www.deadlyfingers.net/azure/azure-app-services-for-unity3d/).
12
+
## Azure App Services Demos for Unity 5
13
+
Try the [Azure App Services Demos](https://github.com/Unity3dAzure/AppServicesDemo)project for Unity 5 on Mac / Windows. (The demo project has got everything already bundled in and does not require any additional assets to work. Just wire it up with your [Azure App Service](https://portal.azure.com) and run it right inside the Unity Editor.)
14
+
For detailed instructions read my developer blog on [how to setup Azure App Services and Unity demo project](http://www.deadlyfingers.net/azure/azure-app-services-for-unity3d/).
15
15
16
16
## Supported Features
17
17
### MobileServiceClient
@@ -40,9 +40,9 @@ Lookup | Get an item’s data using id property.
40
40
void Update<T>(T item, Action<IRestResponse<T>> callback = null) where T : new();
41
41
void Delete<T>(string id, Action<IRestResponse<T>> callback = null) where T : new();
42
42
void Query<T>(CustomQuery query, Action<IRestResponse<List<T>>> callback = null) where T : new();
43
+
void Query<T>(CustomQuery query, Action<IRestResponse<T>> callback = null) where T : INestedResults, new();
43
44
void Lookup<T>(string id, Action<IRestResponse<T>> callback = null) where T : new();
Copy file name to clipboardExpand all lines: Assets/AppServices/table/query/CustomQuery.cs
+73-12Lines changed: 73 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -2,20 +2,46 @@
2
2
usingSystem.Text;
3
3
usingUnityEngine;
4
4
5
+
/// <summary>
6
+
/// Query records operation https://msdn.microsoft.com/en-us/library/azure/jj677199.aspx
7
+
/// There is a maximum of 50 records returned in a query - use top and skip params to return additional pages of results.
8
+
/// NB: `$inlinecount` (which returns count of all items without paging applied) is not set here as it changes the data model and the way the REST decode callback works makes it intangible to decode.
9
+
/// Rather the '$inlinecount=allpages' param is automically set when using the table's Query method and wrapping your data model with the NestedResults object wrapper.
10
+
/// </summary>
5
11
namespaceUnity3dAzure.AppServices
6
12
{
13
+
[Flags]
14
+
publicenumMobileServiceSystemProperty
15
+
{
16
+
nil=0x0,
17
+
createdAt=0x1,
18
+
updatedAt=0x2,
19
+
version=0x4,
20
+
deleted=0x8
21
+
}
22
+
7
23
[CLSCompliant(false)]
8
24
publicclassCustomQuery
9
25
{
26
+
// query option parameters defined by the Open Data Protocol (OData)
// NB: setting __systemproperties param doesn't seem to do anything different as these properties are all included by default, but we can append values to the 'select' param.
0 commit comments