AutoDto
AutoDto copied to clipboard
Add attibute DtoFor to use instead of DtoFrom
If I want to link dto class with bl, I will use an attribute named [DtoFrom].
[DtoFrom(typeof(SomeBlType))]
public partial SomeDto {}
Add new attribute with same behaviour with name [DtoFor]. It will allow using better naming style for own dtos
[DtoFor(typeof(SomeBlType))]
public partial SomeDto {}