Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Entity Framework and Infinity

$
0
0
Hi!Working in a project using Entity Framework (Code First)...Until now the project has been connected to a (generated) SQL Server Compact 4.0 database,but now we want to connect to a SQL Server (at least 2008R2 since we will use FILESTREAM...)Our problem right now is the possibility to enter Infinity values into REAL columns in the DB...It works in the SQL Server Compact but we have not been able to get it to work in 2008R2 or 2014The insertion of Infinity values is constructed by the Entity Framework (from using float.PositiveInfinity in C#) automatically so I mainly wonder if it at all is possible in a "real" database. Maybe there are some configurations possible to get it to work?

Viewing all articles
Browse latest Browse all 3145

Trending Articles