title: EntityFramework and Spatial Search POINT inside POLYGON
body: <p>I have an entity called Shop which has a DBGeorgpraphy column called Position</p>
  
  <p>A sample shop in the database has a Position value of POINT (145.034242 -37.825519)</p>
  
  <p>I am trying to retrieve all shops that fall within a polygon.</p>
  
  <pre><code>var polygon = DbGeography.PolygonFromText(@"POLYGON((145.2898592378906 -37.66376896413059,
                                                       145.2898592378906 -37.93504877166811, 
                                                       144.7075838472656 -37.93504877166811, 
                                                       144.7075838472656 -37.66376896413059, 
                                                       145.2898592378906 -37.66376896413059))", 
                                                       4326);
  
  var shops = db.Shops.Where(p =&gt; p.Position.Intersects(polygon));
  </code></pre>
  
  <p>I would expect the sample shop to be included in the results but it doesn't. Can anyone enlighten me?</p>