使用C#编写一个通用的方法,要用到设计模式思想,使用动态属性将json数据映射到对应的class类上,要求执行效率高效:{
"@odata.context": "https://hisemipoc.huamei.com/api/data/v9.1/ $metadata#hms_in_out_inventories/$entity",
"@odata.etag": "W/\"10603465\"",
"_hms_addressid_value": "9e745fea-229b-ee11-8e96-00155d040401",
"_owningbusinessunit_value": "5eaa890a-e72e-ee11-bb75-00155d01bc18",
"statuscode": 1,
"_hms_warehouseid_value": "8906dcc3-af9c-ef11-811e-00155d01060d",
"createdon": "2025-06-20T02:42:31Z",
"hms_type": 10,
"statecode": 0,
"_ownerid_value": "4fb1890a-e72e-ee11-bb75-00155d01bc18",
"modifiedon": "2025-06-20T02:44:25Z",
"versionnumber": 10603465,
"timezoneruleversionnumber": 0,
"_modifiedby_value": "4fb1890a-e72e-ee11-bb75-00155d01bc18",
"hms_remark": "12312",
"_hms_accountid_value": "20b414d0-d839-f011-8129-00155d01060d",
"hms_name": "OUT25062001000",
"_createdby_value": "4fb1890a-e72e-ee11-bb75-00155d01bc18",
"_owninguser_value": "4fb1890a-e72e-ee11-bb75-00155d01bc18",
"hms_date": "2025-06-20T02:44:22Z",
"hms_state": 20,
"hms_in_out_inventoryid": "1ed60736-804d-f011-8129-00155d01060d",
"_owningteam_value": null,
"importsequencenumber": null,
"_createdonbehalfby_value": null,
"_modifiedonbehalfby_value": null,
"overriddencreatedon": null,
"utcconversiontimezonecode": null,
"_hms_shippinginvoiceid_value": null
}