Skip to content

Object 'this' properties #20

@xzaz

Description

@xzaz

I got the following dynamic object:

PERSON_NAME
DEPARTMENT_NAME

With the classes:

class Person
{
public string Name {get;set;}
public Department Department {get;set;
}

class Department
{
public string Name {get;set;}
}

When using the Automapper the Department object is created and the name is filled. Due the PERSON_ prefix for this object the Person.Name is not filled. Is there any way to achieve this without editing the raw dynamic data?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions