zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

4 results in tag: automapper-6

Automapper and EF Navigation Properties

With ASP.NET MVC Core and Entity Framework Core I'm trying to create a simple website....I've defined my Model:...public class Club { [Key] public int Id { get; set; } public string Name { get; set; } public virtual IEnumerable<Team> Te...
asp.net-core asp.net-core-mvc automapper-6 entity-framework-core
asked by Rhapsody

C# Automapper 6.1.1 - Collection/List destination properties loses values Entity Framework 6

I have a problem when mapping collections with Automapper 6 and I can't find a solution. In the ...updatedArticle... object below I have the old ...Created... and ...Updated... values left after mapping since they do not exist on the view model. However t...
automapper automapper-6 c# entity-framework entity-framework-6
asked by Ogglas

C# Entity Framework 6 - AutoMapper 6 - Collections/List - Add and Update works but removing item throws an error

As the title says I can add and update but when it comes to deleting I get an error....The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationsh...
automapper automapper-6 c# entity-framework entity-framework-6
asked by Ogglas

AutoMapper.Collections.EntityFramework

Asking same question differently!...Its seems clear I need to elaborate on this question because I have no viable responses....Based on this AutoMapper registration code:...Mapper.Initialize(cfg => { cfg.AddCollectionMappers(); cfg.SetGenerateProper...
automapper-6 c# entity-framework entity-framework-6 generic-collections
asked by user953710

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!