2015年4月29日

摘要: 1、for xml path('str')select ID,CreateTime from dbo.ArticleInfo for xml Path('mytitle')结果:(注意:如果是select ID,CreateTime from dbo.ArticleInfo for xml path... 阅读全文
posted @ 2015-04-29 11:45 yhhdream 阅读(1163) 评论(1) 推荐(0) 编辑
 
摘要: 1、通过DbContext对象的Database.SqlQuery执行sql语句string query = "SELECT EnrollmentDate, COUNT(*) AS StudentCount " + "FROM Person " ... 阅读全文
posted @ 2015-04-29 11:01 yhhdream 阅读(122) 评论(0) 推荐(0) 编辑