[jira] [Updated] (IGNITE-12532) .NET: Recognize fields with KeyAttribute and set QueryField.IsKeyField
[ https://issues.apache.org/jira/browse/IGNITE-12532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-12532: Issue Type: Improvement (was: Bug) > .NET: Recognize fields with KeyAttribute and set QueryField.IsKeyField > -- > > Key: IGNITE-12532 > URL: https://issues.apache.org/jira/browse/IGNITE-12532 > Project: Ignite > Issue Type: Improvement > Components: platforms >Reporter: Pavel Tupitsyn >Assignee: Pavel Tupitsyn >Priority: Major > Labels: .NET, newbie > > Populate QueryField.IsKeyField automatically when > System.ComponentModel.DataAnnotations.KeyAttribute is present. See > {{QueryEntity.ScanAttributes}}. > This: > {code} > class Person > { > [QuerySqlField] > [Key] > public string EntityId {get; set;} > } > ... > new QueryEntity(typeof(string), typeof(Person)) > {code} > Should be equivalent to this: > {code} > > > isKeyField="true" /> > > > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-12532) .NET: Recognize fields with KeyAttribute and set QueryField.IsKeyField
[ https://issues.apache.org/jira/browse/IGNITE-12532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-12532: Description: Populate QueryField.IsKeyField automatically when System.ComponentModel.DataAnnotations.KeyAttribute is present. See {{QueryEntity.ScanAttributes}}. This: {code} class Person { [QuerySqlField] [Key] public string EntityId {get; set;} } ... new QueryEntity(typeof(string), typeof(Person)) {code} Should be equivalent to this: {code} {code} was: Populate QueryEntity.KeyFieldName automatically when System.ComponentModel.DataAnnotations.KeyAttribute is present. See {{QueryEntity.ScanAttributes}}. This: {code} class Person { [QuerySqlField] [Key] public string EntityId {get; set;} } ... new QueryEntity(typeof(string), typeof(Person)) {code} Should be equivalent to this: {code} {code} > .NET: Recognize fields with KeyAttribute and set QueryField.IsKeyField > -- > > Key: IGNITE-12532 > URL: https://issues.apache.org/jira/browse/IGNITE-12532 > Project: Ignite > Issue Type: Bug > Components: platforms >Reporter: Pavel Tupitsyn >Assignee: Pavel Tupitsyn >Priority: Major > Labels: .NET, newbie > > Populate QueryField.IsKeyField automatically when > System.ComponentModel.DataAnnotations.KeyAttribute is present. See > {{QueryEntity.ScanAttributes}}. > This: > {code} > class Person > { > [QuerySqlField] > [Key] > public string EntityId {get; set;} > } > ... > new QueryEntity(typeof(string), typeof(Person)) > {code} > Should be equivalent to this: > {code} > > > isKeyField="true" /> > > > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (IGNITE-12532) .NET: Recognize fields with KeyAttribute and set QueryField.IsKeyField
[ https://issues.apache.org/jira/browse/IGNITE-12532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-12532: Summary: .NET: Recognize fields with KeyAttribute and set QueryField.IsKeyField (was: .NET: Recognize fields with KeyAttribute and set QueryEntity.KeyFieldName) > .NET: Recognize fields with KeyAttribute and set QueryField.IsKeyField > -- > > Key: IGNITE-12532 > URL: https://issues.apache.org/jira/browse/IGNITE-12532 > Project: Ignite > Issue Type: Bug > Components: platforms >Reporter: Pavel Tupitsyn >Assignee: Pavel Tupitsyn >Priority: Major > Labels: .NET, newbie > > Populate QueryEntity.KeyFieldName automatically when > System.ComponentModel.DataAnnotations.KeyAttribute is present. See > {{QueryEntity.ScanAttributes}}. > This: > {code} > class Person > { > [QuerySqlField] > [Key] > public string EntityId {get; set;} > } > ... > new QueryEntity(typeof(string), typeof(Person)) > {code} > Should be equivalent to this: > {code} > tableName="ENTITIESTABLEINFO" valueType="ENTITIESTABLEINFO"> > > > > > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)