Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Entity

0 votes
921 views
1 answer
    I'm in the midst of upgrading from v1-3 to v4, but I've run into a few problems. My understanding is that ... } This isn't valid in EF. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
821 views
1 answer
    I have been using an AutoMapper and it seems that it gets me all the child entities (even if I don't ... I specify them. Thank you, Jakub See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
689 views
1 answer
    I was working with RIA services where ObjectContext has RejectChanges() method. However, I am now working with EF ... doing something (IsBusy)? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
650 views
1 answer
    Our add-migrations are failing routinely but not consistently. The migration always gets to the scaffolding step and ... and SQL Server 2012. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
813 views
1 answer
    In Entity Framework Core I have the following Entity: public class File { public Int32 Id { get; set; } public Byte[ ... as it is big in size. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
873 views
1 answer
    When I add-migration i got this warning: The EF Core tools version '2.1.1-rtm-30846' is older than that of ... but this hasn't worked for me. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
579 views
1 answer
    Let say we have a class Category { ID, Name, ParentID } and a List 1, 'Item 1', 0 2, 'Item 2', 0 3 ... Item 3 Item 3.1 Any help is appreciated! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
690 views
1 answer
    I am building an ASP.Net MVC 3 application with Entity Framework 4. When the two pieces of code below are ... it to execute? Thanks Everyone. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
904 views
1 answer
    class Cat { public int CatID; public string Name; public ICollection<Post> Posts; } class Post { public int ... m using EntityFramework 4.3.1 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
647 views
1 answer
    EF 4.1 RC. I want to run some code after an entity has been added/attached to the DBContext. Is there an ... do some stuff with it. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
687 views
1 answer
    EF has generated for me some partial classes, each with a constructor, but it says not to touch them (example below), now ... Log>(); } ... } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
595 views
1 answer
    I am trying to create a record in the db that has a predefined primary key value. I know how to do this ... a stored proc for the inserts. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
573 views
1 answer
    I have several columns that I changed from Int to BigInt. I opened up my EF model and did an 'Update Model ... it need to be manually applied? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
997 views
1 answer
    Below code works fine at EF Core 2.2 bu not working on EF core 3.0 var items = (from asset in ... more detailed information. need help please See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
695 views
1 answer
    I was wondering if EF4 support cross-databse relationships? For instance: db1 Author Id Name db2 Posts Id Content ... guys have any idea? Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
675 views
1 answer
    All, There has been a lot of posts about Unity Lifetime Managers but I have yet to find someone state ... across several types with Unity See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
754 views
1 answer
    I am using Entity Framework 5.0 Data migrations along with code first. When i add a new field to my model ... a sql script with the changes. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
793 views
1 answer
    I am trying to determine the number of days between 2 dates using LINQ with Entity Framework. It is ... the entity framework? thanks Michael See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
618 views
1 answer
    I have classes like: Person { Name Address } Employee : Person { Compensation - object } Visitor : Person { ... good workaround for this issue? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
2.1k views
1 answer
    This is my model public string Content { get; set; } public Faq Reply { set; get; } public int? ... requirements, or store-generated values. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
821 views
1 answer
    I am using Linq to entities and would like to know if I can get a limited number of records when i query. ... get the top N using foreach loop? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
619 views
1 answer
    I have multiple repositories in my application. Where should I put the ObjectContext? Right now, I have a reference ... way to go about this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
636 views
1 answer
    I want to load an entity and it's children conditionally (I only want to eager load the children when the ... return an anonymous type. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
544 views
1 answer
    I have two table News and NewsComments. I followed the rules of naming structure NewsComments public class NewsComment : ... get; set; } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
520 views
1 answer
    I have EF 4 implemented in the project. Within it, there are tables customer and order. Which has ... populated with the correct reference? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
498 views
1 answer
    I cannot find EntityConfiguration. The same question for RC was here but I thought that it would make it to the RTM version. Is it there? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
729 views
1 answer
    I've spent decent amount of time on this problem and still can't figure out why EF team makes the life so hard ... do I deal with this thing? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
635 views
1 answer
    I'm having ASP.NET MVC 3 project that uses Entity Framwork 4.3 and its migrations. Now I want Entity ... their creation order. Thanks. :) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...