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