Skip to content

Commit f41eb8d

Browse files
committed
IGNITE-4556 .NET: DML example - clear cache before run
1 parent 83b5bca commit f41eb8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/platforms/dotnet/examples/Apache.Ignite.Examples/Datagrid/QueryDmlExample.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ public static void Main()
6060
var organizationCache = ignite.GetOrCreateCache<int, Organization>(new CacheConfiguration(
6161
OrganizationCacheName, new QueryEntity(typeof(int), typeof(Organization))));
6262

63+
employeeCache.Clear();
64+
organizationCache.Clear();
65+
6366
Insert(organizationCache, employeeCache);
6467
Select(employeeCache, "Inserted data");
6568

0 commit comments

Comments
 (0)