You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2021/05/31 13:46:24 UTC

[ignite] 01/01: IGNITE-14803 .NET: Fix deprecated API usage in streamer example

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

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

commit af52060011f4cb7baf026549546cd7c9b831ff05
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Mon May 31 16:46:03 2021 +0300

    IGNITE-14803 .NET: Fix deprecated API usage in streamer example
---
 modules/platforms/dotnet/examples/Thick/Cache/DataStreamer/Program.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/platforms/dotnet/examples/Thick/Cache/DataStreamer/Program.cs b/modules/platforms/dotnet/examples/Thick/Cache/DataStreamer/Program.cs
index 60355b3..b30f5c5 100644
--- a/modules/platforms/dotnet/examples/Thick/Cache/DataStreamer/Program.cs
+++ b/modules/platforms/dotnet/examples/Thick/Cache/DataStreamer/Program.cs
@@ -55,7 +55,7 @@ namespace Apache.Ignite.Examples.Thick.Cache.DataStreamer
 
                     for (int i = 0; i < EntryCount; i++)
                     {
-                        ldr.AddData(i, new Account(i, i));
+                        ldr.Add(i, new Account(i, i));
 
                         // Print out progress while loading cache.
                         if (i > 0 && i % 10000 == 0)