title: Entity Framework, how do I force a default value in sub-class?
body: <p>I'm using VS2010 model designer and trying to figure out how to force a default value in a sub-class for a field that is inherited in the parent class. For example, when a Products_Hardware object is created, I want product_Typeid to be forced to a certain value. </p>
  
  <h2>Table structure:</h2>
  
  <p><strong>Parent Class:</strong></p>
  
  <p>Table Products:
  product_Typeid,
  idnumber,
  cost,
  supplyAmount</p>
  
  <p><strong>Associate table with Products-</strong></p>
  
  <p>Table productType:
  product_Typeid,
  product_Typeshort,
  product_Description</p>
  
  <p><strong>Sub-classes of Products:</strong></p>
  
  <p>Table Products_Hardware:
  weight,
  manufacturer,
  warrantytime</p>
  
  <p>Table Products_Software:
  developername,
  version number,
  release date,
  platforms,
  mediatype</p>