C# 处理实体类赋值(获取嵌套类型,支持list 自定义类型)

public static T AESEncrypt<T>(T obj) where T : class { if (obj == null) { return obj; } var properties = typeof(T).GetProperties(); foreach (System.Re
posted @ 2023-01-05 09:39  园友2288976  阅读(786)  评论(0编辑  收藏  举报