This is an automated email from the ASF dual-hosted git repository.

ptupitsyn pushed a commit to branch ignite-11525
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/ignite-11525 by this push:
     new 6ff3ff5  Fixing examples
6ff3ff5 is described below

commit 6ff3ff5db54ab1e4e67a476de921208940f3fa85
Author: Pavel Tupitsyn <ptupit...@apache.org>
AuthorDate: Fri Apr 5 14:56:21 2019 +0300

    Fixing examples
---
 .../examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
 
b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
index f4a5cfa..f0ae92d 100644
--- 
a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
+++ 
b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/BinaryModeExample.cs
@@ -176,7 +176,7 @@ namespace Apache.Ignite.Examples.Datagrid
             const string orgName = "Apache";
 
             var qry = cache.Query(new SqlFieldsQuery(
-                "select pers.* from Person as pers, Company as comp where 
pers.CompanyId = comp.Id and comp.Name = ?",
+                "select pers.Name from Person as pers, Company as comp where 
pers.CompanyId = comp.Id and comp.Name = ?",
                 orgName)
             {
                 EnableDistributedJoins = true,
@@ -187,7 +187,7 @@ namespace Apache.Ignite.Examples.Datagrid
             Console.WriteLine(">>> Persons working for " + orgName + ":");
 
             foreach (var entry in qry)
-                Console.WriteLine(">>>     " + entry); // TODO: What do we 
print?
+                Console.WriteLine(">>>     " + entry[0]);
         }
 
         /// <summary>

Reply via email to