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

New Post: EF7: ObjectContext and Async

I have gone through videos about Entity Framework and I have downloaded source code and am trying to clarify following breaking changes, please reply,Will there be no support for ObjectContext API?...

View Article


New Post: EF 6.1.1 not generating storeType of smalldatetime properly

I'm using Entity Framework 6.1.1 Code First and ASP.NET MVC 5.2 and I've just noticed an issue when I generate a migration. I have a number of fields with the data annotations like this:...

View Article


New Post: EF Model First - Handle SQL Server Schema - Please... Oh Please....

Yes this is sorely needed for updating versions of live tables! Meanwhile, is there a workaround to create a DbContext using a different schema name?

View Article

New Post: EF 6.1.1 not generating storeType of smalldatetime properly

@bradwfulton: I wasn't able to repro based on the situation you described. Could you please file a new bug and provide detailed steps or a repro project? Note that it is very unlikely that the version...

View Article

New Post: EF 6.1.1 not generating storeType of smalldatetime properly

Thanks for the advice. It made me realize that I should just try working with my EF code-first model by itself -- it's actually in its own project, although I've been working with it as part of a...

View Article


New Post: PropertyChange at DbContext in EF 6

Hi Arthur! I'm sorry for my very late answer. We had too much work after a longer illness. In the meantime we tried all ways and decided: ____The migration from ObjectContext to DbContext ist too much...

View Article

New Post: EF 7. Xamarin Support

Hi! Will Entity Framework 7 support Xamarin.iOS, Xamarin.Mac and Xamarin.Android platforms? Thanks for the answer.

View Article

New Post: Issue migrating from VS2010 to VS2013

I had this problem but when i restart my VS, this problem solved !

View Article


New Post: Multi-Tenant With Code First

I faced exactly the same problem as described here (many contexts having the same model), and could solve it with the help of this thread - at least partially. The main problem I am facing is that in...

View Article


New Post: Multi-Tenancy based on schema separation

Hi, based on this thread I implemented a multi-tenant DbContext with Schema Separation. Quite easy so far, except a few Details: 1) Are you considering an Option to allow the migrations to handle...

View Article

New Post: EF 6 - Can an option be set to store Enums as Strings?

@realstrategos : this is the right approach as of now (6.1.1). The only "issue" with your code is that you parse every time you get the value, even if it has not been changed. To avoid this you can use...

View Article

New Post: foreign key column naming convention

@kszczesny I don't believe that there is an existing convention for this, and if I remember correctly this also something for which there isn't DbModelBuilder convention API. Probably the best approach...

View Article

New Post: Implementation of UTC DateTime

@brantheman DbContext is lazy in that when you create an instance it does very little work. It is when you use it the first time to add an entity, perform a query, etc., that it actually does its...

View Article


New Post: Implementation of UTC DateTime

@brantheman: Just to add to what Arthur said, an idea that we have discussed is to have a first-class ObjectMaterialized-like event on DbContext itself. Subscribing to such event would not trigger...

View Article

New Post: EF7: ObjectContext and Async

@neurospeech [The best place to discuss EF7 is on https://github.com/aspnet/EntityFramework by creating issues. (Github doesn't have a discussion board so we have to use issues.)] 1 & 2. There will...

View Article


New Post: Running 'sp_configure' when seeding database - "cannot be used...

@Athalhard I think this thread contains the info you are looking for: https://entityframework.codeplex.com/discussions/454994

View Article

New Post: foreign key column naming convention

Thanks for the link.

View Article


New Post: Feature: Support DbFunctionExpression DbArithmeticExpression in...

Hi, First of all, I can't really thank you guys enough for developing such an amazing ORM and making it better everyday. After watching Rowan Millers great demonstration here and seeing that by using...

View Article

New Post: foreign key column naming convention

I've used the following class to rename all of my foreign keys in snake case (so FooBar_ID -> foo_bar_id) and it has worked wonderfully for me.public class ForeignKeyNamingConvention :...

View Article

New Post: foreign key column naming convention

I just realized after I posted, that I based my answer on the link provided.

View Article
Browsing all 1793 articles
Browse latest View live


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