title: WCF - Create custom Attribute to modify property
body: <p>After reading <a href="http://www.gitshah.com/2015/02/how-to-automatically-set-datetimekind.html" rel="nofollow noreferrer">this article</a>, I would like to use custom attribute to modify data exposed in the WCF webservice. But in the article there is a method called in EF.</p>
  
  <p>Is it possible for an attribute to alter data about property it is attached ? I would like to declare and enter in a method for each property having the annotation and set the DateTimeKind</p>
  
  <p>Here is an example of code I began to write :</p>
  
  <pre><code>[AttributeUsage(AttributeTargets.Property)]
  public class DateTimeKindAttribute : Attribute
  {
      private readonly DateTimeKind _kind;
  
      public DateTimeKindAttribute(DateTimeKind kind)
      {
          _kind = kind;
      }
  }
  </code></pre>
  
  <p>Why the <code>attribute</code> class does not exposed a method called to modify the data ?</p>