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

New Post: Performance issues

Hi Arthur,Thanks for your reply. We are inserting one row at a time in a loop, the loop is in a function which is called from many threads. This is the NHibernate code while (!_isDone)                {...

View Article


New Post: Performance issues

axceler,One thing to try is disabling DetectChanges on the context using:    entities.Configuration.AutoDetectChangesEnabled = false;Beyond that, I'm not sure what else to suggest but I'll let some...

View Article


New Post: Entity's state isn't updated

Hi, Arthur! Thank you for thorough explanation!!With regards,Eugene

View Article

New Post: Bug: Update-Database –TargetMigration: $InitialDatabase Roll forward!

Try "-TargetMigration:0"

View Article

New Post: Create MigrationSqlGenerator for PostgreSQL

Darionato,Apologies for the delay, I just returned from vacation.I will get back to you early this week.Cheers,Andrew.

View Article


New Post: Adding indexed fields from the designer

Can you clarify what the "indexed field" is?Thanks, Pawel

View Article

New Post: Adding indexed fields from the designer

Another ORM tool that I've used allows me to set a boolean property for fields in the object model. This boolean property indicates whether or not a database index should be created for this...

View Article

New Post: Performance issues

Thanks Arthur, we had already tried that, it did not make any difference.

View Article


New Post: Bug: Update-Database –TargetMigration: $InitialDatabase Roll forward!

$InitialDatabase (and 0) does not necessarily mean an empty database; it is merely the state of the database before you started using Migrations. Do you have any additional information that might help...

View Article


New Post: Create MigrationSqlGenerator for PostgreSQL

Darionato,I took a look at the EDMX and it looks like that one was generated using the SQLCE provider. Can you re-attach the EDMX generated by targeting Postgres?Cheers,Andrew.

View Article

New Post: Create MigrationSqlGenerator for PostgreSQL

Hi Andrew,I hope you had a great time in your past vacation!I re-attach the EDMX model: https://dl.dropbox.com/u/6660682/model_postgres.edmxThank you so much.Cheers,Dario.

View Article

New Post: Create MigrationSqlGenerator for PostgreSQL

Taking a look into the EDMX file, I saw that in the MaxLength attribute has the value "Max" instead a number! This should be the problem. In the SqlCe EDMX model there is a "4000" value.Where i can fix...

View Article

New Post: Create MigrationSqlGenerator for PostgreSQL

I suspected this might be the problem.I will investigate this end. For now, you can try setting the length explicitly via the MaxLengthAttribute or the HasMaxLength fluent API.Cheers,Andrew.

View Article


New Post: Is it possible to extend the Migration Scaffolding to generate code...

I'd really like to be able to specify my required indexes like:[Index(Name="idx_column", IsUnique=false, IsClustered=false)]publicstring Column { get; set; }and then have the Add-Migration scaffolding...

View Article

New Post: Is it possible to extend the Migration Scaffolding to generate code...

Scott,Not easily currently, but we are working on it and this is one of the core scenarios we want to enable.The problem right now is that, although you can define your own annotation (as of EF6), it...

View Article


New Post: Entity View generation

Hi Massimiliano,We looked a bit more into view generation for EF6. Take a look at the design meeting notes from Nov 20, 2012...

View Article

New Post: Entity View generation

Hi mozzyk,i'waiting for the view API, maybe should be cool to have a pluggable code generation system so you can decide to generate what you want (generate on classes\resources\ec..)Regards Max

View Article


New Post: Create MigrationSqlGenerator for PostgreSQL

I don't understand why the "Companies" table is perfect in the edmx model but the "Users" table has set all the maxlength attribute to "max" value: // Companies table definition. It's ok CreateTable(...

View Article

New Post: Create MigrationSqlGenerator for PostgreSQL

Try setting the max length on your model itself. i.e. Use the MaxLengthAttribute on the relevant properties in the User class or do the same thing using the HasMaxLength fluent API from OnModelCreating.

View Article

New Post: Additional ObjectContext and EntityConnection constructors

Hi Tamas,We discussed this in the EF design meeting (Notes: http://entityframework.codeplex.com/wikipage?title=Design%20Meeting%20Notes) and decided that we would be happy to accept a contribution for...

View Article
Browsing all 1793 articles
Browse latest View live


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