Beispiel #1
0
 private void Write(CollectionCountAsyncMethod method)
 {
     WriteSignature(method);
     using (_builder.IndentBraced)
     {
         _("return new DataServiceQuerySingle<long>(Context, Path + \"/$count\").GetValueAsync();");
     }
 }
Beispiel #2
0
 private void Write(CollectionCountAsyncMethod method)
 {
     WriteSignature(method);
     using (_builder.IndentBraced)
     {
         _("return new DataServiceQuerySingle<long>(Context, Path + \"/$count\").GetValueAsync();");
     }
 }