pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Royal-Code/SmartMapper

" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-ee6184595cc59cb2.css" /> GitHub - Royal-Code/SmartMapper: An object-to-object mapper. Separated into four mapping categories: adapters, mappers, selectors, and specifiers.
Skip to content

An object-to-object mapper. Separated into four mapping categories: adapters, mappers, selectors, and specifiers.

License

Notifications You must be signed in to change notification settings

Royal-Code/SmartMapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

167 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartMapper

An object-to-object mapper. Separated into thre mapping categories: commands, selectors, and specifiers.

Commands creates a handler that calls a method of the current object, reading entities, passing parameters, and returning the result.

Selectors read values from source object properties to assign to a target object's properties, where a new instance of the target object is always created.
The selectors may look like adapters, but there are big differences.
First is that selectors start from the properties of the target object to know which property of the source object to read from. This is the reverse of what happens with adapters and mappers.
Second, selectors can only assign properties, you cannot map them to constructors or methods.

Specifiers are different from the previous ones. Instead of assigning values, they apply conditions on queries.
The source of the selectors are filter objects, and the target is queryable models, such as entities.
Instead of assigning values between properties, specifiers apply the Where condition of an IQueryable, comparing the values of the filter (source) and the entity (target).

Stats

Alt

About

An object-to-object mapper. Separated into four mapping categories: adapters, mappers, selectors, and specifiers.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy