Top "Mapping" questions

Corresponding every element of a given set to a unique element of another set or it may refer to a process of creating data element mappings between two distinct data models (objects)

Entity Framework options to map list of strings or list of int (List<string>)

I want to store an object that contains a List of primitives using EF. public class MyObject { public int Id {…

entity-framework list orm mapping
How to configure Automapper to automatically ignore properties with ReadOnly attribute?

Context: Let's say I have the following "destination" class: public class Destination { public String WritableProperty { get; set; } public String ReadOnlyProperty { …

c# .net asp.net-mvc mapping automapper
Map multiple source fields to same type target fields with Mapstruct

Consider the following POJOs: public class SchedulePayload { public String name; public String scheduler; public PeriodPayload notificationPeriod; public PeriodPayload schedulePeriod; } private …

java mapping mapstruct
Why should anybody put annotations on the getters or setters when using JPA to map the classes?

Subject says it all... I see no advantage of people declaring annotations on the getters and/or setters so far. …

java hibernate jpa annotations mapping
Why `additionalProperties` is the way to represent Dictionary/Map in Swagger/OpenAPI 2.0

Although I have seen the examples in the OpenAPI spec: type: object additionalProperties: $ref: '#/definitions/ComplexModel' it isn't obvious …

dictionary hash mapping swagger openapi
What the equivalent of activity life cycle in iOS?

Actually, I would say that both iOS ViewControllers and Android Activities have their lifecycle methods. For example an equivalent of …

android ios objective-c mapping android-lifecycle
Knockout.js mapping a JSON into an observable-array

I want to build a client for my REST-Service using Knockout.js. I have a lot of Repositorys i want …

mapping knockout.js revealing-module-pattern
Excel VBA - Dictionary - storing and retrieving values

I am working on below table and with help of Excel VBA - Dictionary - I am trying to capture …

excel vba dictionary mapping storing-information
Doctrine 2 ManyToOne with multiple joinColumns

I'm trying to select the matching row in the product_item_sortorder table based on a productId and toolboxItemId from …

mapping left-join doctrine-orm many-to-one
How to create map<string, class::method> in c++ and be able to search for function and call it?

I'm trying to create a map of string and method in C++, but I don't know how to do it. …

c++ mapping function-pointers