MapsterMapper / Mapster

A fast, fun and stimulating object to object Mapper
MIT License
4.38k stars 331 forks source link

How to ignore virtual properties? #398

Closed mmedic closed 2 years ago

mmedic commented 2 years ago

When using EF Core and lazy loading, ignoring mapping virtual properties can be useful instead of explicitly ignoring them for every type. How can this be achieved in global configuration?

andrerav commented 2 years ago

@mmedic GitHub issues are reserved for bug reports and feature requests. Please use StackOverflow for general questions about usage.