예제 #1
0
 protected override void Configure()
 {
     SourceMemberNamingConvention = new PascalCaseNamingConvention();
     DestinationMemberNamingConvention = new LowerUnderscoreNamingConvention();
     CreateMap<SchemaField, SchemaFieldDto>();
     CreateMap<Schema, SchemaDto>();
 }
예제 #2
0
        protected override void Configure()
        {
            SourceMemberNamingConvention = new LowerUnderscoreNamingConvention();
            DestinationMemberNamingConvention = new PascalCaseNamingConvention();
            CreateMap<TrueVaultResponseDto, TrueVaultResponse>();
            CreateMap<InnerErrorDto, InnerError>();
            CreateMap<ErrorResponseDto, ErrorResponse>();
            #region JSON Store
            CreateMap<DocumentSaveSuccessResponseDto, DocumentSaveSuccessResponse>();
            CreateMap<DocumentGetResponseDto, DocumentResponse>();
            CreateMap<MultiDocumentGetResponseDto, MultiDocumentResponse>();
            CreateMap<DocumentGetListResponseDto, DocumentGetListResponse>();
            CreateMap<DocumentGetListDataDto, DocumentGetListData>();
            CreateMap<DocumentGetListItemDto, DocumentGetListItem>();
            #endregion

            CreateMap<SchemaFieldDto, SchemaField>();
            //CreateMap<SchemaDto, Schema>();
            //CreateMap<SchemaGetResponseDto, SchemaGetResponse>();
            //CreateMap<SchemaGetListResponseDto, SchemaGetListResponse>();
            //CreateMap<SchemaSaveResponseDto, SchemaSaveResponse>();
            //CreateMap<SchemaSaveSuccessResponseDto, SchemaSaveSuccessResponse>();
        }
예제 #3
0
 protected override void Configure()
 {
     base.Configure();
     SourceMemberNamingConvention = new LowerUnderscoreNamingConvention();
     DestinationMemberNamingConvention = new PascalCaseNamingConvention();
 }