title: Can I define properties in partial classes, then mark them with attributes in another partial class?
body: <p>Is there a way I can have a generated code file like so:</p>
  <pre><code>public partial class A 
  {
      public string a { get; set; }
  }
  </code></pre>
  <p>and then in another file:</p>
  <pre><code>public partial class A 
  {
      [Attribute(&quot;etc&quot;)]
      public string a { get; set; }
  }
  </code></pre>
  <p>So that I can have a class generated from the database and then use a non-generated file to mark it up?</p>