Asp.net源码专业站
首页->尚未分类->AfritxiaWebTest2.0源码>>Net.AfritXia.Data/IEntityPropertyPutter.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:AfritxiaWebTest2.0源码
当前文件:文件类型 AfritxiaWebTest20/Net.AfritXia.Data/IEntityPropertyPutter.cs[1K,2009-6-12 11:31:34]打开代码结构图
普通视图
		            
1/* 2 * IEntityPropertyPutter.cs @Microsoft Visual Studio 2008 <.NET Framework 2.0 (or Higher)> 3 * AfritXia, Web@ZhouLang.Net 4 * 2008/6/30 5 * 6 * Copyright(c) http://www.Bincess.CN/ 7 * 8 */ 9 10using System; 11using System.Data.Common; 12 13namespace Net.AfritXia.Data 14{ 15 /// <summary> 16 /// 实体属性设置器 17 /// </summary> 18 /// <typeparam name="T"></typeparam> 19 public interface IEntityPropertyPutter<T> where T : class 20 { 21 /// <summary> 22 /// 设置实体属性 23 /// </summary> 24 /// <param name="fromEntity">实体</param> 25 /// <param name="dr">数据源</param> 26 void PutEntityProperties(T entity, DbDataReader dr); 27 28 /// <summary> 29 /// 获取实体类型名称 30 /// </summary> 31 /// <remarks> 32 /// 该属性主要用于自动生成代码的调试和跟踪出错信息。 33 /// 如果手动实现该接口,则可以直接返回 null 34 /// </remarks> 35 string EntityTypeName 36 { 37 get; 38 } 39 40 /// <summary> 41 /// 获取当前实体属性名称 42 /// </summary> 43 /// <remarks> 44 /// 该属性主要用于自动生成代码的调试和跟踪出错信息。 45 /// 如果手动实现该接口,则可以直接返回 null 46 /// </remarks> 47 string CurrentPropName 48 { 49 get; 50 } 51 52 /// <summary> 53 /// 获取当前数据库列名称 54 /// </summary> 55 /// <remarks> 56 /// 该属性主要用于自动生成代码的调试和跟踪出错信息。 57 /// 如果手动实现该接口,则可以直接返回 null 58 /// </remarks> 59 string CurrentDBColName 60 { 61 get; 62 } 63 } 64}
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:AfritxiaWebTest2.0源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146