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

New Post: Create MigrationSqlGenerator for PostgreSQL

I have set the MaxLength attribute and it works pretty fine! Thank you so much for support me!Now I have to figure out why the application does't work fine. Using LINQ it doesn't compare strings...

View Article


New Post: ObjectContext.DetectChanges and the SavingChanges event

Hello, Thanks for pointing that out. We are indeed calling DetectChanges manually now before SaveChnages. Still worrying about the "relatively expensive call" part. Is that call still "relatively...

View Article


New Post: Create MigrationSqlGenerator for PostgreSQL

Hi Andrew,I'm asking you the last question...I need the connection string from my Sql Generator to check if the Schema is already existing.How I can get it?Thank youCheers,Dario

View Article

New Post: Create MigrationSqlGenerator for PostgreSQL

Dario,The architecture doesn't really support that approach right now. The way to do it is to generate SQL that does the check it self. i.e. For SQL Server we use "IF schema_id('Foo') IS...

View Article

New Post: Create MigrationSqlGenerator for PostgreSQL

Unfortunately, Postgres hasn't this the function "schema_id()" or something of similar, I have to query a table into the database and check it out. I hope that with the future versions of EF the...

View Article


New Post: ModelBuilder and extended MetadataProperties (DataModelAnnotation?)

I started digging in the new Code First configuration/convention system and I have encountered a bit lack of flexibility. Various elements of the EDMX schema is extensible. This allows to use...

View Article

New Post: ISSUE 599 Contribution

As a non “en-us” locale user, this item is very interesting for me and I’d like to contribute to it. Reviewing the current code of PluralizationService and related elements, I’d propose the following:...

View Article

New Post: ModelBuilder and extended MetadataProperties (DataModelAnnotation?)

Hi Tamas,We agree! There are great benefits to be had by allowing arbitrary metadata to flow through different parts of the stack. In fact, we enabled a similar thing in Migrations with the...

View Article


New Post: ModelBuilder and extended MetadataProperties (DataModelAnnotation?)

Good to hear! I might contribute this feature. However, designing a top-level API is not trivial, my main goal is to get some lower level support that would enable to write custom convention classes...

View Article


New Post: LINQ to Entities: Client-side Expressions in Final Projection

Dear Friends,There's a potential feature that is missing in LINQ to Entities that I would like to discuss here i.e. being able to resolve and materialize queries with client-side expressions in their...

View Article

New Post: ToTable overload to support multiple database joins on the same sql...

For Linq2Sql and EF database first I have been able to modify the schema.table to include a database name, in Linq2Sql I managed to make it definable at runtime so that is what I'm using for multiple...

View Article

New Post: ModelBuilder and extended MetadataProperties (DataModelAnnotation?)

1) DataModelAnnotations is fine to use for now. However, we _may_ change this at some stage because this API was added to the core metadata classes as a result of our Code First metadata unification...

View Article

New Post: EF5 to EF6 on Azure with Automatic Migration

Hi,I tested EF6 on azure using an existing database that was created by EF5. It didnt work because you drop the primary key of the __MigrationHistory table to create a new one. Is there any good...

View Article


New Post: EF5 to EF6 on Azure with Automatic Migration

Hi Sebastian,Thanks for reporting this - I will create a bug to track this issue. It is likely we will fix it before we ship EF6.For now, your workaround seems like the right one.Cheers,Andrew.

View Article

New Post: ObjectContext.DetectChanges and the SavingChanges event

DetectChanges execution time scales based on the number of tacked entities, not on the number of changes made since the last call. As always you should measure the performance of your app in a typical...

View Article


New Post: ISSUE 599 Contribution

Hi Unai,We discussed this in yesterday's design meeting. We are definitely interested in contributions in this area. The team had quite a few ideas here which are recorded in the design meeting notes....

View Article

New Post:...

This was discussed in yesterday's design meeting. The notes contain initial decisions that were made for this feature.Thanks, Arthur

View Article


New Post: AddOrUpdate

I've recently encountered this problem where I need to add an entity or update (increment a property) if it already exists. This has to work with concurrency. Unfortunately there is no way to do this...

View Article

New Post: ISSUE 599 Contribution

Hi Arthur,I will behappy tohelpin any way, however, after readingthe notesI will be discussingthe following items: Which is the mechanism with this approach for override some words-terms in the...

View Article

New Post: ModelBuilder and extended MetadataProperties (DataModelAnnotation?)

 I did some changes, I describe them here it as a proposals. Currently I only the made the changes required for annotation properties with arbitrary metadata. The following code is the modified...

View Article
Browsing all 1793 articles
Browse latest View live


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