Skip to content

For an Odata API the DataMember name is not reflecting in the API response #2443

@Vasumithra23

Description

@Vasumithra23

Hi,

I have a C# class called students.cs with the below property:

[DataMember(Name = "dept_no")]
public byte DeptNo { get; set; }

The problem is that I am getting DeptNo instead of dept_no in the API response.If I disable the pagesize its working fine else not. Can you help me with this issue?

Thanks.

Metadata

Metadata

Assignees

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