示例#1
0
 public static void CopyPropertiesFrom <T>(this T targetItem, T dataItem, params string[] exludeProperties) where T : class
 {
     PropertyCopier <T, T> .Copy(dataItem, targetItem, exludeProperties);
 }
示例#2
0
 public static void CopyPropertiesFrom <T>(this T targetItem, T dataItem) where T : class
 {
     PropertyCopier <T, T> .Copy(dataItem, targetItem);
 }