| | | 1 | | // <auto-generated /> |
| | | 2 | | #nullable enable |
| | | 3 | | namespace Api.Works.Queries |
| | | 4 | | { |
| | | 5 | | public static partial class TagMapper |
| | | 6 | | { |
| | | 7 | | [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "4.3.1.0")] |
| | | 8 | | public static partial global::Api.Works.Queries.Tag ToDto(global::Api.Works.Models.WorkTag w) |
| | 1 | 9 | | { |
| | 1 | 10 | | var target = new global::Api.Works.Queries.Tag() |
| | 1 | 11 | | { |
| | 1 | 12 | | TagNamespace = w.TagNamespace, |
| | 1 | 13 | | TagName = w.TagName, |
| | 1 | 14 | | }; |
| | 1 | 15 | | target.Id = w.Id; |
| | 1 | 16 | | target.RowVersion = w.RowVersion; |
| | 1 | 17 | | target.MetadataAddedAt = w.MetadataAddedAt; |
| | 1 | 18 | | target.MetadataUpdatedAt = w.MetadataUpdatedAt; |
| | 1 | 19 | | return target; |
| | 1 | 20 | | } |
| | | 21 | | |
| | | 22 | | [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "4.3.1.0")] |
| | | 23 | | public static partial global::System.Linq.IQueryable<global::Api.Works.Queries.Tag> ProjectToDto(this global::Sy |
| | 1 | 24 | | { |
| | | 25 | | #nullable disable |
| | 1 | 26 | | return global::System.Linq.Queryable.Select( |
| | 1 | 27 | | q, |
| | 1 | 28 | | x => new global::Api.Works.Queries.Tag() |
| | 1 | 29 | | { |
| | 1 | 30 | | Id = x.Id, |
| | 1 | 31 | | RowVersion = x.RowVersion, |
| | 1 | 32 | | MetadataAddedAt = x.MetadataAddedAt, |
| | 1 | 33 | | MetadataUpdatedAt = x.MetadataUpdatedAt, |
| | 1 | 34 | | TagNamespace = x.TagNamespace, |
| | 1 | 35 | | TagName = x.TagName, |
| | 1 | 36 | | } |
| | 1 | 37 | | ); |
| | | 38 | | #nullable enable |
| | 1 | 39 | | } |
| | | 40 | | } |
| | | 41 | | } |