title: inheritance and roles
body: <p>Let's use a quite plain example with <code>employees and company(-ies)</code>. </p>
  
  <pre><code>public abstract class Employee
  {
      // bunch of its features
  }
  
  public sealed class SalesManager : Employee
  {
  }
  
  public sealed class SEO : Employee
  {
  }
  </code></pre>
  
  <p>Employee can take different posts or play different roles. So using inheritance (maybe with factory patterns in addition) doesn't give such a flexibility for <code>concrete employee instance</code> to change its role.</p>
  
  <p>What would you advice, unfortunately I haven't seen the kind of approaches yet. And I haven't met a book which lights up the problem. </p>
  
  <h2>Edit</h2>
  
  <p>Thank you guys! In my edit I wanted to ask one more thing. Using <code>generic role</code> is it possible to transfer such a BLL to DAL. I have heard that generics are not supported in <code>Entity Framework</code>??</p>
  
  <p>Thanks!</p>