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 2019/03/30 19:52:37 UTC

[ignite] branch ignite-11525 created (now 354e8fe)

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

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


      at 354e8fe  Mark APIs as Obsolete

This branch includes the following new commits:

     new 354e8fe  Mark APIs as Obsolete

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[ignite] 01/01: Mark APIs as Obsolete

Posted by pt...@apache.org.
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

commit 354e8fe09a2064239895166a33c6d645389fb6d3
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Sat Mar 30 22:52:24 2019 +0300

    Mark APIs as Obsolete
---
 modules/platforms/dotnet/Apache.Ignite.Core/Cache/Query/SqlQuery.cs     | 2 ++
 .../platforms/dotnet/Apache.Ignite.Core/Client/Cache/ICacheClient.cs    | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Query/SqlQuery.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Query/SqlQuery.cs
index 4c979ed..d0e77ca 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Query/SqlQuery.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Query/SqlQuery.cs
@@ -27,6 +27,8 @@ namespace Apache.Ignite.Core.Cache.Query
     /// <summary>
     /// SQL Query.
     /// </summary>
+    [Obsolete("Use SqlFieldsQuery instead. For strongly-typed queries use Apache.Ignite.Linq. " +
+              "SqlQuery is a limited subset of SqlFieldsQuery.")]
     public class SqlQuery : QueryBase
     {
         /// <summary>
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Client/Cache/ICacheClient.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Client/Cache/ICacheClient.cs
index 818a7f6..ab98e15 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core/Client/Cache/ICacheClient.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core/Client/Cache/ICacheClient.cs
@@ -154,6 +154,8 @@ namespace Apache.Ignite.Core.Client.Cache
         /// </summary>
         /// <param name="sqlQuery">SQL query.</param>
         /// <returns>Query cursor.</returns>
+        [Obsolete("Use SqlFieldsQuery instead. For strongly-typed queries use Apache.Ignite.Linq. " +
+                  "SqlQuery is a limited subset of SqlFieldsQuery.")]
         IQueryCursor<ICacheEntry<TK, TV>> Query(SqlQuery sqlQuery);
 
         /// <summary>