entity-framework-6.1 Questions
3
I am not sure I am approaching wrong way or it is a default behaviour but it is not working the way I am expecting ...
Here are two sample classes ...
public class Person
{
public string FirstNa...
Chardin asked 4/6, 2014 at 1:57
3
Solved
I have a view model that encapsulates only some of the database model properties. These properties contained by the view model are the only properties I want to update. I want the other properties ...
Denyse asked 9/5, 2014 at 14:11
2
Solved
I wasn't expecting a generated query like this...
let go back, if I keep one include, the query look good, it does a simple left join
Query:
using (var db = new Context())
{
var data = db.MainT...
Jaymejaymee asked 12/5, 2014 at 21:44
1
Solved
I successfully updated my application from MVC4-EF5 to MVC5-EF6.
I then migrated my database from Simplemebership to Identity 2.0.
I can login but User.IsInRole always returns false. All the prop...
Lenten asked 2/5, 2014 at 18:2
1
Solved
I am using EF 6.1 and I use code first approach with an existing database with data in a production environment.
Is it possible at all to migrate model changes and keep the existing customer`s dat...
Bag asked 1/5, 2014 at 20:21
1
Solved
This question has evolved so I've updated the title.
This was the original title:
Identity 2 UserManager.Find throws "Invalid object name 'dbo.ApplicationUser'" error
I'm converting from SimpleMe...
Precious asked 28/4, 2014 at 16:31
1
Solved
Let's make a case to explain my problem.
MyTable1
+id
+myTable2Id
MyTable2
+id
MyView1
+id
+myTable2Id
MyView1 exists in the case, from data from the MyTable1. Now i want to creat...
Bortz asked 10/4, 2014 at 20:32
1
Solved
I just changed my application from Database first to code first! What a great improvement in deploying!. But now i have the following problem. I generated my Code-first model from my database, but ...
Soupspoon asked 9/4, 2014 at 13:55
© 2022 - 2024 — McMap. All rights reserved.