摘要:
模型图:针对一张表DepartMentTB查询://实体映射[Table(Name="DepartMentTB")]publicclassDepartMentTB{[Column]publicintID;[Column]publicstringCode;[Column]publicstringName;}publicvoidQuery(){ DataContextdc=newDataContext("Password=4280;UserID=sa;InitialCatalog=ZhangzsTest;DataSource=192.168.200.156" 阅读全文
posted @ 2011-03-08 11:11 小二哥 阅读(455) 评论(0) 推荐(0) 编辑