c# - How to fast fill with data one poco model from other model -
does know tools (may resharper or tool) or techniques fast filling poco objects data object? mean best way that:
var some_object = new firstmodel { property1 = second_model.property1, property2 = second_model.property2, property3 = second_model.property3, //...etc. }
from question not quite clear whether want in ide auto-generate code have shown, or want object-object mapping.
automapper if want latter.
Comments
Post a Comment