private static int InsertUpdateDelete(RoleAccountInfo roleAccountInfo, DataProviderAction action)
        {
            int rs = DataProvider.Instance().InsertUpdateDelete(
                action,
                StoredProcedureName.InsertUpdateDelete_RoleAccount,
                "",
                roleAccountInfo.RoleID, roleAccountInfo.AccountID, roleAccountInfo.Active,
                (int)action);

            if (rs > 0 && Cache)
            {
                DataCache.RemoveCache(Key);
            }
            return(rs);
        }
 public static int Delete(RoleAccountInfo roleAccountInfo)
 {
     return(InsertUpdateDelete(roleAccountInfo, DataProviderAction.Delete));
 }