Created
          August 23, 2013 09:08 
        
      - 
      
- 
        Save OliverRC/6317136 to your computer and use it in GitHub Desktop. 
    Basic EF Query
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using (var db = new ___DBContext()) | |
| { | |
| var ___ = (from x in ___Includes(db.___) | |
| where x.Id == id | |
| select x).FirstOrDefault(); | |
| return ___; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment