Repository: ignite Updated Branches: refs/heads/ignite-2.0 d01406f26 -> 9ce099c05
IGNITE-4363: Fix QueryEntity field order for attribute-based config Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/9ce099c0 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/9ce099c0 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/9ce099c0 Branch: refs/heads/ignite-2.0 Commit: 9ce099c05f4b672fd4ce95173342335402f63039 Parents: d01406f Author: Pavel Tupitsyn <[email protected]> Authored: Thu Feb 9 13:29:40 2017 +0300 Committer: Pavel Tupitsyn <[email protected]> Committed: Thu Feb 9 13:29:40 2017 +0300 ---------------------------------------------------------------------- .../dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/9ce099c0/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs b/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs index ff9af37..2cd0295 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core/Cache/Configuration/QueryEntity.cs @@ -283,7 +283,7 @@ namespace Apache.Ignite.Core.Cache.Configuration ScanAttributes(valType, fields, indexes, null, new HashSet<Type>(), false); if (fields.Any()) - Fields = fields; + Fields = fields.OrderBy(x => x.Name).ToList(); if (indexes.Any()) Indexes = GetGroupIndexes(indexes).ToArray();
