title: Override Attribute in Partial Class (DBML)
body: <p>Is it possible to override an attibute set on a partial class?</p>
  
  <p>So I have one autogenerated partial class like this:    </p>
  
  <pre><code>[Table(Name="dbo.Users")]
  public partial class MbsUser : INotifyPropertyChanging, INotifyPropertyChanged
  {
  </code></pre>
  
  <p>This is generated in my DBML. The problem is, I don't want my class to use this table. I've created a view called "dbo.ActiveUsers" and would like this to be used instead (to keep out deactivated users).</p>
  
  <p>I've tried creating another partial class with the same attribute as follows:</p>
  
  <pre><code>[Table(Name = "dbo.MbsUsersActive")]
  public partial class MbsUser : IEquatable&lt;MbsUser&gt;
  {
  </code></pre>
  
  <p>But I get the error:</p>
  
  <pre><code>Duplicate 'Table' attribute
  </code></pre>