ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yzhda...@apache.org
Subject [06/10] ignite git commit: IGNITE-4556 .NET: DML example - clear cache before run
Date Mon, 23 Jan 2017 10:41:59 GMT
IGNITE-4556 .NET: DML example - clear cache before run


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/f41eb8d7
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/f41eb8d7
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/f41eb8d7

Branch: refs/heads/ignite-comm-balance-master
Commit: f41eb8d7e36caea319e228a6a0256d08681a2b55
Parents: 83b5bca
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Fri Jan 20 16:09:33 2017 +0300
Committer: Pavel Tupitsyn <ptupitsyn@apache.org>
Committed: Fri Jan 20 16:09:33 2017 +0300

----------------------------------------------------------------------
 .../examples/Apache.Ignite.Examples/Datagrid/QueryDmlExample.cs   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/f41eb8d7/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/QueryDmlExample.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/QueryDmlExample.cs
b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/QueryDmlExample.cs
index b264a0e..2c47c45 100644
--- a/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/QueryDmlExample.cs
+++ b/modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/QueryDmlExample.cs
@@ -60,6 +60,9 @@ namespace Apache.Ignite.Examples.Datagrid
                 var organizationCache = ignite.GetOrCreateCache<int, Organization>(new
CacheConfiguration(
                     OrganizationCacheName, new QueryEntity(typeof(int), typeof(Organization))));
 
+                employeeCache.Clear();
+                organizationCache.Clear();
+
                 Insert(organizationCache, employeeCache);
                 Select(employeeCache, "Inserted data");
 


Mime
View raw message