You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by yz...@apache.org on 2017/01/23 10:41:59 UTC
[06/10] ignite git commit: IGNITE-4556 .NET: DML example - clear
cache before run
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 <pt...@apache.org>
Authored: Fri Jan 20 16:09:33 2017 +0300
Committer: Pavel Tupitsyn <pt...@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");