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
484 views
1 answer
    I just started to play with the entity framework, so I decided to connect it to my existing SQL ... installation and using entity framework. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
556 views
1 answer
    Is there a way to find out whether there are unsaved changes in my entity context, in the Entity Framework? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
566 views
1 answer
    EntityFramework's documentation states that the following behavior is possible: If a foreign key on the dependent entity ... what the MSDN says? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
620 views
1 answer
    After too hastily upgrading to EF 5.0.0.0 RC and being stuck with a .NET 4.5 project that wouldn't deploy to ... 0.0.0 RC but could find none. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
461 views
1 answer
    Is there a straight forward way of retrieving a DB auto generated primary key when adding a record via Entity ... the same as on MSSQL See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
473 views
1 answer
    Below are two similar fluent API configurations: WithMany() modelBuilder.Entity<Country>() .HasRequired(cou => ... .WithOptional() operators? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
595 views
1 answer
    I have a many to many relationship and I want to store extra data in the couple-table, using Code First ... has been given correctly yet) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
475 views
1 answer
    When using the Entity Framework, does ESQL perform better than Linq to Entities? I'd prefer to use Linq to ... 's of using either method. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
660 views
1 answer
    I am using DbProviderFactories in my data layer (based on Entity Framework) and am using SQLite for my database, ... tied to the data layer. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
480 views
1 answer
    Can I make my EF objects retrieve only specific columns in the sql executed? If I am executing the ... ' to 'Entities.BatchRequest' See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
485 views
1 answer
    I really want to be able to use NodaTime in my Entity Framework Code First database projects but haven't found ... NodaTime with EF Code First? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
527 views
1 answer
    Given this extremely simple model: public class MyContext : BaseContext { public DbSet<Foo> Foos { get; set; } ... want to update an entity) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
692 views
1 answer
    I have following POCO class being used in EF 6.x. My question: Why is the navigation property of 'Posts' under 'Blog' ... Posts { get; set; } } See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
494 views
1 answer
    It seems there are different ways to do joins using linq. One is more straightforward and involves just joining ... <categorymap,category, .... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
846 views
1 answer
    Let's say I have the following entities: public class Parent { public int Id { get; set; } } ... navigation property in this particular case. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
409 views
1 answer
    Background: We have a project with many modules. We're using EntityFramework 4.2 with FluentAPI (CodeFirst). There ... token for each plugin). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
434 views
1 answer
    I recently changed an application from using the following for dev: DropCreateDatabaseIfModelChanges<Context> To using ... application launch? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
599 views
1 answer
    I have a brand new server which I installed the .NET 4.5 Beta redistributable on. I am getting a NotImplemented ... have saved a day's work. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
565 views
1 answer
    Consider: Class Client Class Project Class Ticket Class Reply Clients have a sub collection of projects, projects have a ... it work like this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
463 views
1 answer
    I'm using .net framework 3.5 SP1. After adding a column to one table in Sql Server (as well as changing an ... I'm going wrong? Thanks, TG See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
551 views
1 answer
    I am saving a Cart object to the database that has a nullable datetime. This is the error I get: The ... ) set them to nullable datetime. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
553 views
1 answer
    I have not run into this before, because I usually handled collections by them selves instead of modifying them ... do I need to manully See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
667 views
1 answer
    I'm transfering my .NET Framework (EF6) code to ASP.NET Core (EF Core), and I stumbled upon this issue. Here ... one. How do I make this work? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
505 views
1 answer
    I have the following problem: I have a generic EF repository using DbContext designed for Int or Guid entity ... primitive types. Any ideas? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
682 views
1 answer
    I am doing hierarchical data binding on a grid, and I need to have the database server perform the sorting on my ... as well in a single query? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
589 views
1 answer
    In EF projects, Is there any best practice for setting AutomaticMigrationsEnabled ? More declaration: In our team after ... . thanks in advance. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
589 views
1 answer
    If I try to delete a "child" row I always get an exception. Here is a snipset: using (var context = new ... non-nullable/ Any ideas? Thank you. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
398 views
1 answer
    Can SimpleMembership be used with EF model-first? When I try it, I get "Unable to find the ... the call to InitializeDatabaseConnection. Bob See Question&Answers more detail:os...
asked Oct 17, 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

...