e9d2886280ccdf04999ceadaba3af0319f2f0e70
[mono.git] / mcs / class / referencesource / System.Data.Entity / System / Data / Objects / DataClasses / EdmPropertyAttribute.cs
1 //---------------------------------------------------------------------
2 // <copyright file="EdmPropertyAttribute.cs" company="Microsoft">
3 //      Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //
6 // @owner       Microsoft
7 // @backupOwner Microsoft
8 //---------------------------------------------------------------------
9
10 namespace System.Data.Objects.DataClasses
11 {
12     using System;
13
14 #pragma warning disable 3015 // no accessible constructors which use only CLS-compliant types
15
16     /// <summary>
17     /// Base attribute for properties mapped to store elements.
18     /// Implied default AttributeUsage properties Inherited=True, AllowMultiple=False,
19     /// The metadata system expects this and will only look at the first of each of these attributes, even if there are more.
20     /// </summary>
21     [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")]
22     [AttributeUsage(AttributeTargets.Property)]
23     public abstract class EdmPropertyAttribute: System.Attribute
24     {
25         /// <summary>
26         /// Only allow derived attributes from this assembly
27         /// </summary>
28         internal EdmPropertyAttribute()
29         {
30         }
31     }
32 }