title: How can one reuse similar but different class properties
body: <p>I would like to know the best practice to handle the below situation in C#.NET:</p>
  
  <p>I have a Table Client</p>
  
  <pre><code>ClientId
  LastUpdatedBy
  LastUpdatedOn
  </code></pre>
  
  <p>So I created a class having properties</p>
  
  <pre><code>class Client
  {      
      Guid ClientId {get; set;}    
      Guid LastUpdatedBy {get; set;}  
      DateTime LastUpdatedOn {get; set;}
  }
  </code></pre>
  
  <p>Similarly, I have a Table Project</p>
  
  <pre><code>ProjectId 
  LastUpdatedBy   
  LastUpdatedOn
  </code></pre>
  
  <p>So I created a Project class having properties:</p>
  
  <pre><code>class Project
  {     
      Guid ProjectId {get; set;}    
      Guid LastUpdatedBy {get; set;}  
      DateTime LastUpdatedOn {get; set;}
  }
  </code></pre>
  
  <p>Likewise, I have around 100 more table and all possess these <code>LastUpdatedBy</code> and <code>LastUpdatedOn</code> columns. </p>
  
  <p>In the code, is it right to create a property of these columns in each class or is there a way, I can generalize these properties and utilize those in each class? If so, An example would be highly appreciated.</p>