I am new to NestJS as a server. I have a table in DB that I am querying, and the column name is precedence, and it is boolean meaning in DB just 0 or ...
I am new to NestJS as a server. I have a table in DB that I am querying, and the column name is precedence, and it is boolean meaning in DB just 0 or ...
I have next classes where I want to use Automapper and if source property is null, then set destination property as null as well: public class Compan ...
I'm new in AutoMapper and I have problem with mapping my generic class to generic dto (using AutoMapper). I have this class: and this dto: and I ...
I'm trying to flatted out a nested object. All of the documentation and stack threads seem to suggest the solution is very simple, but it just isn't w ...
i have a class autoMapper: In model classes I was able to do this: How can i achieve that when using autoMapper ...
I'm updating an old .NET Framework application to the latest supported Automapper nuget (from v3.3.1 to v10.0.0). The original code extends automapper ...
I have a mapping profile that looks like this: Now the issue here is I have a Receival as part of the Animal class which can be null at times. Howe ...
I am trying to map an entity with a model but it's giving an error how can I check which property is causing the error? Error: AutoMapper.AutoMapp ...
I'm trying to make PUT that update a ToDo, and I wanted to preserve the old 'createdAt' field instead of overwriting the database, what's the best way ...
So my code appears as: Both Field1 are nullable decimals, I want to be able to convert the value to 2 decimal places as I'm mapping. Think my best ...
What I want to do is to get the lists (plural) in MugDTO record to the list (singular) in Mug class. They ar both exactly the same except for the "top ...
I am upgrading a .NET Framework project from Automapper 4.1.1 to Automapper 10.0.0 and I am encountering a problem that I am unable to resolve. I see ...
I am having a devil of a time attempting to translate the following piece of code from c# to VB.Net. I have little experience in VB.Net and all my sea ...
I need to map from Class<T> to Class<T> using a constructor. Even though it is a direct mapping, except whatever T is, I cannot use an emp ...
How can I keep the values in the destination object if they are not present in the source class? E.g.: I have two classes, DTOPage and PDFPage. In ...
How do I even use AutoMapper correctly in a layered architecture and where do I initialize it if my path described below is not correct? There is a s ...
I have the following Entities and DTOs: public class Endpoint { [Key] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int Port { ...
I want to map an XML fragment to a record and its nested record. I assume I have to use ConstructUsing() in order to be able to supply all required co ...
I have two classes, one of which is an entity and the other is a view model, I want to map with automapper them to each other inside the desired servi ...
Using reverse map in AutoMapper is giving me following error "System.ArgumentException: 'Type AutoMapperWorker.Context.Tenant`1[TClientKey] is a gene ...