温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:燕赵宽频点播系统V1.0源码
当前文件路径:hevod/BLL/ServerPath.cs

1using System; 2
using System.Data; 3
using System.Configuration; 4
using System.Web; 5
6
namespace BLL 7
{ 8
/// <summary> 9
/// 电影服务器路径 10
/// </summary> 11
public class ServerPath 12
{ 13
private static readonly DAL.ServerPath dalServerPath = new DAL.ServerPath(); 14
/// <summary> 15
/// BLL:读取数据库中所有影片服务器列表 16
/// </summary> 17
/// <returns>DataSet</returns> 18
public static DataSet GetServerPaths() 19
{ 20
return dalServerPath.GetServerPaths(); 21
} 22
23
/// <summary> 24
/// 添加服务器路径 25
/// </summary> 26
public static bool AddServerPath(string strUrl) 27
{ 28
return dalServerPath.AddServerPath(strUrl); 29
} 30
31
/// <summary> 32
/// 根据id修改记录 33
/// </summary> 34
public static bool ModifyServerPath(int id, string strUrl) 35
{ 36
return dalServerPath.ModifyServerPath(id, strUrl); 37
} 38
39
/// <summary> 40
/// 根据id返回服务器地址 41
/// </summary> 42
public static Model.ServerPath GetServerPath(int id) 43
{ 44
return dalServerPath.GetServerPath(id); 45
} 46
/// <summary> 47
/// 删除单条记录 48
/// </summary> 49
public static bool DelServerPath(int id) 50
{ 51
return dalServerPath.DelServerPath(id); 52
} 53
} 54
} 55





}