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
1.3k views
1 answer
    I would like know what is the best possible way to implement transactions with DBContext. In particular, Does ... transaction can be achieved? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    This looks like a really common task, but I can't find an easy way to do it. I want to undo the last applied ... ...) Is there an easier way? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Any idea why the LINQ OrderBy is not working in following code, (have no errors but method does not sort ... ... be appreciated thanks a lot :-) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I felt like the following should be possible I'm just not sure what approach to take. What I'd like to ... grateful for any advice or guidance See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Simplest example of this, I get a collection and try to output it via Web API: // GET api/items public ... do. Is there a better way? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I started off my project by using Entity Framework Code First. When I was ready I uploaded my database and code to ... . What am I doing wrong? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    Basically, I have a table which contains a few properties for a company. This is the "master" table and their ... way of going around this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Is it possible to set type to just date (NOT datetime) via entity framework designer? I had a look around and the ... I rather not do that... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
998 views
1 answer
    As i know optionality means the minimum cardinality of a relationship which is denoted as optional to optional, ... what is the difference.. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm doing a project sample by using ASP.Net Core RC2 with Microsoft.EntityFramework.Core and SQLite. I' ... %publish:FullTargetFramework%" ] } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Let's just suppose I have a valid need for directly executing a sql command in Entity Framework. I am ... query. How do I specify the parameters correctly? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Update-Database failed from Package Manager Console. I've used Entity Framework 6.x and code-first approach. Error is ... named 'AboutUs' in the database. PM> Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
987 views
1 answer
    I'm using Entity Framework 5 with Visual Studio with Entity Framework Power Tools Beta 2 to reverse engineer ... Contact SalesContactIDContact { get; set; } } Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I am using EF Code First with EF 5 in VS 2012. I use PM update-database command and I have a simple seed ... to reset the all thing. How can I accomplish this? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    When I create a context with a default connection string (as read from the app.config) the database is created and ... : 5.0, DB: SQL Server Express 2008 Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I have a table in my database called SEntries (see below the CREATE TABLE statement). It has a ... dbo].[SEntries] CHECK CONSTRAINT [FK_SEntries_SourceApps] GO Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    Assume having these models first: Method that has one OriginalCode OriginalCode that has many Mutants Mutant that has ... reference"! Where is my mistake! TG. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I got a exception while implementing the following statements. DateTime result; if (!DateTime.TryParse(rule.data, out result) ... to get rid of it. Any help? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    What is the best way to deal with batch updates using (Entity Framework) EF5? I have 2 particular cases I'm ... Users) in a single go. Any good advice? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I can't believe I couldn't find a working solution to this after an hour of searching. I'm following ... to connect Visual Studio Server Explorer to LocalDB? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have this linq query: private void GetReceivedInvoiceTasks(User user, List<Task> tasks) { var areaIds = user.Areas. ... way of doing this to make it work? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm using EF Code-First to an existing database method and have a IsActive field in my database. The ... this: https://stackoverflow.com/a/6709186/1053611 Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I've researched some information about techniques I could use to unit test a DbContext. I would like to add ... to some problems that I'm not anticipating? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am currently writing unit tests for my repository implementation in an MVC4 application. In order to mock the ... of IQueryable? Thanks for your ideas, Tim. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Apologies if this has already been answered, but how do you guarantee one Entity Framework DbContext per request ... storage of my DbContext to reduce overhead. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have a query like this (from u in DataContext.Users where u.Division == strUserDiv && u.Age > 18 && u.Height ... condition. Is there a better way to do this? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I know some differences of LINQ to Entities and LINQ to Objects which the first implements IQueryable and the ... ).AsQueryable() instead of .AsQueryable()? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    As i dig deeper in to the DbContext, DbSet and associated interfaces, I am wondering why you would need to ... adding another layer of dependency for no reason. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...