title: MVC - data classes - only subset of properties are needed?
body: <p>for example, question class would have questionid, title, content, time posted, poster, tags, etc. This is how the fetching data looks like: </p>
  
  <pre><code> public bool LoadFromDataRow(DataRow row)
          {
              questionId = (long)row["questionId"]; 
              content = (string)row["content"];
              poster = (string)row["poster"];
              datePosted = (DateTime)row["datePosted "];
              title = (string)row["title"];
              return true;
          } 
  </code></pre>
  
  <p>however, there might be a time when I am only selecting a subset of these properties like questionid and title. Do I need to write another class to handle this? Or do I need to check for every single column before I fetch the value with something like this: </p>
  
  <pre><code>if(row.hascolumns(...)) // seems like overkill? 
  </code></pre>