/// <summary>
 /// 比较组织表的字段 true 代表不同 false 代表相同
 /// </summary>
 private static bool CompareOrganizationIsDifferent(DataRowView newdrv, DataRow olddr)
 {
     return(AD2DBHelper.CompareDataRowIsDifferent(newdrv, olddr,
                                                  "PARENT_GUID", "DISPLAY_NAME", "OBJ_NAME", "ALL_PATH_NAME", "SEARCH_NAME", "ORIGINAL_SORT", "GLOBAL_SORT", "CHILDREN_COUNTER"));
 }
Esempio n. 2
0
 private static bool CompareOuUserIsDifferent(DataRowView newdrv, DataRow olddr)
 {
     return(AD2DBHelper.CompareDataRowIsDifferent(newdrv, olddr,
                                                  "RANK_NAME", "DISPLAY_NAME", "OBJ_NAME", "DESCRIPTION", "ALL_PATH_NAME", "SEARCH_NAME", "STATUS", "INNER_SORT", "ORIGINAL_SORT", "GLOBAL_SORT"));
 }
 /// <summary>
 /// 查询用户表的不同
 /// </summary>
 private static bool CompareUserIsDifferent(DataRowView newdrv, DataRow olddr)
 {
     return(AD2DBHelper.CompareDataRowIsDifferent(newdrv, olddr,
                                                  "FIRST_NAME", "LAST_NAME", "LOGON_NAME", "E_MAIL"));
 }
 private static bool CompareUserExtendIsDifferent(DataRowView newdrv, DataRow olddr)
 {
     return(AD2DBHelper.CompareDataRowIsDifferent(newdrv, olddr,
                                                  "MOBILE", "OFFICE_TEL", "IM_ADDRESS"));
 }