[jira] [Created] (IGNITE-6900) .NET: QuerySqlEntity attribute

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-6900) .NET: QuerySqlEntity attribute

Anton Vinogradov (Jira)
Pavel Tupitsyn created IGNITE-6900:
--------------------------------------

             Summary: .NET: QuerySqlEntity attribute
                 Key: IGNITE-6900
                 URL: https://issues.apache.org/jira/browse/IGNITE-6900
             Project: Ignite
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
          Components: platforms
            Reporter: Pavel Tupitsyn


{{[QuerySqlField]}} provides easy way to add a field to the {{CacheConfiguration.QueryEntity.Fields}}. However, often entire user class is used for SQL (every field should be included).

We can simplify these scenarios in two ways:
* [QuerySqlEntity] attribute (applied to a class) includes all fields into the QueryEntity
* Constructor overload {{public QueryEntity(Type keyType, Type valueType, bool includeAllFields)}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)