Relative Content

Tag Archive for asp.netentity-framework

C# update using AutoMapper

Basically, im trying to convert a VehicleDTO, which has some properties, to my Vehicle model, which has a lot of more properties, so when i map it, the unmapped properties are null, and when its time to update it, that causes a couple of errors, like some values that cant be null, or just updates the object but clears the previous values and set them to null.