From issues-return-102990-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Mon Jan 13 17:49:05 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DAB8118066C for ; Mon, 13 Jan 2020 18:49:04 +0100 (CET) Received: (qmail 25367 invoked by uid 500); 13 Jan 2020 17:49:04 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 25336 invoked by uid 99); 13 Jan 2020 17:49:04 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jan 2020 17:49:04 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E9C12E315D for ; Mon, 13 Jan 2020 17:49:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 69DFD780905 for ; Mon, 13 Jan 2020 17:49:00 +0000 (UTC) Date: Mon, 13 Jan 2020 17:49:00 +0000 (UTC) From: "Pavel Tupitsyn (Jira)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-12532) .NET: Recognize fields with KeyAttribute and set QueryEntity.KeyFieldName MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-12532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Tupitsyn updated IGNITE-12532: ------------------------------------ Labels: .NET newbie (was: .NET) > .NET: Recognize fields with KeyAttribute and set QueryEntity.KeyFieldName > ------------------------------------------------------------------------- > > 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. > 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} -- This message was sent by Atlassian Jira (v8.3.4#803005)