[
https://issues.apache.org/jira/browse/IGNITE-6900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn updated IGNITE-6900:
-----------------------------------
Description:
{{[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)}}
was:
{{[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)}}
> .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
> Labels: .NET
>
> {{[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)