Simple object mapping library which consists of lightweight library of mapping interfaces, attributes and helper methods with code analyser and generator for generating mapping boilerplate code. What is the difference between this mapper and other object mappers: - No reflection: code is generated and compiled along with other hand written code. - Refactoring friendly: if someone changes property which is part of mapping code, project will not compile any more. - No magic: from generated code you see exactly what gets copied and what does not. No need to run application to see result of mapping code. Features: - Generates mapping code based on mapping interfaces or mapping attribute. Detailed examples of usage are on the project site. - Generates mapping between two objects for properties that are named the same and have the same type. - Only public properties are considered and source getter and target setter must be public. - If source and target types are collections, mapping code will copy objects from one collection to another if generic type is the same. Non generic collections are not supported.
$ dotnet add package SimpleObjectMapperNo README available.