Example #1
0
 protected override void Configure()
 {
     SourceMemberNamingConvention = new PascalCaseNamingConvention();
     DestinationMemberNamingConvention = new LowerUnderscoreNamingConvention();
     CreateMap<SchemaField, SchemaFieldDto>();
     CreateMap<Schema, SchemaDto>();
 }
Example #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>();
        }
 protected override void Configure()
 {
     base.Configure();
     SourceMemberNamingConvention = new LowerUnderscoreNamingConvention();
     DestinationMemberNamingConvention = new PascalCaseNamingConvention();
 }