AllPower.BLL/Content/RecommendAreaSet.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
#region 程序集引用
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using System.Data;
using System.Configuration;
using System.Reflection;
using AllPower.IDAL.Content;
using AllPower.Common;
#endregion
#region 版权注释
/*===========================================================================
// Copyright (C) 2010 华强北在线
// 作者:吴岸标
// 创建日期:2010-06-13
// 功能描述:推荐区域设置
// 更新日期 更新人 更新原因/内容
//
===========================================================================*/
#endregion
namespace AllPower.BLL.Content
{
public class RecommendAreaSet
{
#region 变量成员
private static string path = ConfigurationManager.AppSettings["WebDAL"];
private IDAL.Content.IRecommendAreaSet dal = (IDAL.Content.IRecommendAreaSet)Assembly.Load(path).CreateInstance(path + ".Content.RecommendAreaSet");
#endregion
#region 加载推荐区域信息
/// <summary>
/// 加载推荐区域信息
/// </summary>
/// <returns></returns>
public DataSet GetRecommendArea()
{
return dal.GetRecommendArea();
}
#endregion
#region 更新/添加
/// <summary>
/// 更新/添加
/// </summary>
/// <param name="modelID"></param>
/// <returns></returns>
public int Edit(string modelID)
{
string currentAreaID; // 当前选中的推荐区域
string originalAreaID; // 更新前选中的推荐区域
string allID; // 更新前后所有涉及的推荐区域
后面还有 106 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
