Quantcast
Channel: entityframework Discussions Rss Feed
Browsing all 1793 articles
Browse latest View live
↧

New Post: is the source code for ef 5 migrate.exe available?

thanksEric Hexter blog | http://Hex.LosTechies.com info | http://www.linkedin.com/in/erichexter

View Article


New Post: update/insert/delete on views with EF6?

It will be possible when using Code-First:https://entityframework.codeplex.com/wikipage?title=Code%20First%20Insert%2fUpdate%2fDelete%20Stored%20Procedure%20Mapping regards CFI

View Article


New Post: Relationship with non-primary column

I have two tables:create table dbo.Period ( [Year] smallint not null, [Month] tinyint not null, Tariff decimal(9, 5) not null, Id smallint not null, constraint PK_Period_Year_Month primary key ([Year],...

View Article

New Post: Relationship with non-primary column

EF does not currently support relationships defined in terms of non-primary key unique constraints. The work item tracking this is https://entityframework.codeplex.com/workitem/299 You may want to vote...

View Article

New Post: Relationship with non-primary column

ajcvickers Thanks a lot! Voted! :)

View Article


New Post: Entity Framework calls AssemblyName.ReferenceMatchesDefinition...

Mono has integrated EntityFramework and developers are starting to use it. It appears to be used to Resolve an AssemblyName to a cached assembly, here: internal virtual Assembly...

View Article

New Post: EF6b1 unit testing with new DbSet

@swell These two posts cover testing with a mocking framework and creating your own test doubles:http://msdn.microsoft.com/en-US/data/dn314429http://msdn.microsoft.com/en-US/data/dn314431 Thanks, Arthur

View Article

New Post: EntityFunctions.DiffMilliseconds overflow because its only INT32 !!!

this is somewhat stupid... the return type of EntityFunctions.DiffMilliseconds is int? (nullable int32) ... but in many cases, the only reason to get milliseconds between two dates is to get a Unix...

View Article


New Post: Why is EF so useless !?? (compared to Linq2SQL)

in EF:Runtime variables / calculations has to be done outise of the Query DateTime calculations dont workGrouping by DateTime.Date isn't allowed unless using magicThe Select clause must be pure as a...

View Article


New Post: unable to backup using Ef

Hi, I have a mvc application that, for admin need, calls a stored procedure, imported in the ef 6 model, that calls internally the sql server backup stored procedure. So far it was working fine but, i...

View Article

New Post: unable to backup using Ef

Hello Luca, As part of the Connection Resiliency work we changed the default behavior of certain APIs that can produce side effects to start using transactions. We also introduced a way of opting out...

View Article

New Post: How to get generated SQL queries from DbContext

Hi, I have been using DbContext and DbSet<T> with POCO on EF5. Is there any way to get the SQL queries generated by DbContext? I know I can do a ToString on a IQueryable to get the select, but...

View Article

New Post: unable to backup using Ef

HI Diego, I'm giving a try, but seems that this require don't use the functions imported in the model, and use the ExecuteSqlCommand for the functions that give me the problem. For compatibility...

View Article


New Post: unable to backup using Ef

Hi Diego, thanks very much. I replaced __db.SP_TK_BACKUPRG(1, progettoObj.Denominazione_Db, settings.PathBackup);__ with __...

View Article

New Post: unable to backup using Ef

Thanks for confirming. Currently we don't have this for function imports. I have file a bug: http://entityframework.codeplex.com/workitem/1612.

View Article


New Post: How to get generated SQL queries from DbContext

@nvivo EF6 has SQL tracing very similar to that in LINQ to SQL. You can read about it here: http://blog.oneunicorn.com/2013/05/08/ef6-sql-logging-part-1-simple-logging/ EF6 is currently in RC on NuGet...

View Article

New Post: unable to backup using Ef

thanks, I'll follow it. If may be of need to evalutate the impact of the issue, I seen that an exception is raised when the called stored procedure uses internally istructions like restore, backup,...

View Article


New Post: How can I retrieve the value passed to the .HasMaxLength() method...

I've recently asked an SO question about this, but I thought I'd try here as well. I'm doing some integration testing for CRUD operations, and using a fixture framework to quickly create instances of...

View Article

New Post: Entity Framework calls AssemblyName.ReferenceMatchesDefinition...

I wonder if something like this would work (assuming parameters are not null):return reference.Equals(definition) || string.Equals(reference.FullName, definition.FullName,...

View Article

New Post: TransactionScope and Added Entities

I'm using TransactionScope, and inside it, I'm adding various entities to the context. When an error occurs and the transaction is not commited, these entities are not removed from the context, so if I...

View Article
Browsing all 1793 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>