Asp.net源码专业站
首页->上传下载->香蕉Flash在线(Linq)源码>>com.bn388.BLL/FlashClass.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:香蕉Flash在线(Linq)源码
当前文件:文件类型 BNFlashLinQ/com.bn388.BLL/FlashClass.cs[1K,2009-6-12 11:34:37]打开代码结构图
普通视图
		            
1using System; 2using System.Collections.Generic; 3using System.Linq; 4using System.Text; 5 6namespace com.bn388.BLL 7{ 8 public class FlashClass 9 { 10 private static IDAL.FlashClass obj = DALFactory.DataAccess.Create_FlashClass(); 11 12 public static bool add(Model.FlashClass model) 13 { 14 if (obj.add(model) > 0) 15 { 16 return true; 17 } 18 else 19 { 20 return false; 21 } 22 } 23 24 public static bool delete(string id) 25 { 26 List<Model.View_Flash> list = BLL.Flash.get_List("clsid=" + id); 27 foreach (Model.View_Flash model in list) 28 { 29 com.bn388.Tools.Web.DeleteFile(model); 30 } 31 return obj.delete(id); 32 } 33 34 public static bool update(Model.FlashClass model) 35 { 36 if (obj.update(model) > 0) 37 { 38 return true; 39 } 40 else 41 { 42 return false; 43 } 44 } 45 46 public static List<Model.FlashClass> get_List() 47 { 48 return obj.get_List(); 49 } 50 51 public static List<Model.FlashClass> get_List(string type) 52 { 53 return obj.get_List(type); 54 } 55 56 public static Model.FlashClass get_Model(string id) 57 { 58 return obj.get_Model(id); 59 } 60 61 public static int count() 62 { 63 return obj.count(); 64 } 65 66 } 67} 68
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:香蕉Flash在线(Linq)源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146