title: Entity Framework 6 Code First Trigger
body: <p>I'm using Entity Framework 6 Code First, and would like to create a Trigger.</p>
  
  <p>How do I do this?</p>
  
  <p>The reason I need the trigger is because a user may either edit the database directly or through a program I'm writing, and I need to make sure 2 columns in a table are not both null, and are not both not null.</p>
  
  <p>I've been looking and can't find a way.</p>
  
  <p>Is there any way to specify a trigger using code first?</p>