zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

4 results in tag: geospatial

Create a DbGeography Polygon from a collection of DbGeography Points

Can anyone tell me how I can create a DbGeography object of type 'Polygon' from a Collection of DbGeography objects of type 'POINT'...So far I've got this which creates the polygon but I'm missing how the initial step....1. DbGeography multipoint = DbGeog...
entity-framework geospatial
asked by Drauka

Construct DbGeography point from Latitude and Longitude doubles?

I want to construct a DbGeography point from latitude and longitude doubles....I know I can convert my doubles to strings and use the ...DbGeography.FromText... method....var latitude = 50.0d; var longitude = 30.0d; var pointString = string.Format( "...
entity-framework geospatial
asked by jcarpenter2

Entity Framework Code First truncating my decimals

I am using Entity Framework 6.x using the Code First approach on an MVC 5 application. In this particular situation my model (among other things) contains two properties named Latitude and Longitude:...[Required, Range(-90, +90)] public decimal Latitude {...
decimal ef-code-first entity-framework-6 geospatial rounding-error
asked by Lord of Scripts

LINQ to Entity does not support DbGeography conditions

I'm using .NET 4.5 and EF 6.0 (also tried with 6.1.3). I have Location ...geography... column in an Entities table (...System.Data.Entity.Spatial.DbGeography...)....using System.Data.Spatial; //also tried Entity one public class Entity { public DbGeo...
c# entity-framework-6 geospatial spatial-query
asked by deeptowncitizen

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!