AutoDto icon indicating copy to clipboard operation
AutoDto copied to clipboard

Add attibute DtoFor to use instead of DtoFrom

Open Ohorodnikov opened this issue 2 years ago • 0 comments

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 {}

Ohorodnikov avatar Sep 08 '23 11:09 Ohorodnikov