-
大小: 0.45M文件類型: .zip金幣: 1下載: 0 次發(fā)布日期: 2020-12-14
- 語言: C#
- 標(biāo)簽:
資源簡介
access 數(shù)據(jù)庫
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Text;
using?System.Collections;
using?Model;
using?IBatisNet.DataMapper;
using?IBatisNet.DataMapper.Configuration;
namespace?DAL
{
????public?class?DBAccess
????{
????????public?static?ISqlMapper?sqlMap;
????????private?string?fileName?=?“sqlMap.Config“;
????????public?DBAccess()
????????{
????????????DomSqlMapBuilder?builder?=?new?DomSqlMapBuilder();
????????????sqlMap?=?builder.Configure(fileName);
????????}
????????public?IList?GetAllPerson()
????????{
????????????return?Mapper.Instance().QueryForList(“SelectAllPerson“?null);???????????
????????}
????????public?IList?GetAllPersonByEntity()
????????{
????????????return?sqlMap.QueryForList(“SelectAllPerson“?null);
???????}
????}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2010-06-11?22:32??DAL\
?????目錄???????????0??2010-06-11?22:32??DAL\bin\
?????目錄???????????0??2010-06-11?22:32??DAL\bin\Debug\
?????文件????????4608??2010-06-11?19:51??DAL\bin\Debug\DAL.dll
?????文件???????11776??2010-06-11?19:51??DAL\bin\Debug\DAL.pdb
?????文件??????102400??2008-11-01?12:04??DAL\bin\Debug\IBatisNet.Common.dll
?????文件???????57344??2008-11-01?12:04??DAL\bin\Debug\IBatisNet.DataAccess.dll
?????文件??????266240??2008-11-01?12:04??DAL\bin\Debug\IBatisNet.DataMapper.dll
?????文件????????4608??2010-06-11?18:48??DAL\bin\Debug\Model.dll
?????文件????????7680??2010-06-11?18:47??DAL\bin\Debug\Model.pdb
?????文件??????102400??2008-11-01?12:04??DAL\bin\IBatisNet.Common.dll
?????文件???????57344??2008-11-01?12:04??DAL\bin\IBatisNet.DataAccess.dll
?????文件??????266240??2008-11-01?12:04??DAL\bin\IBatisNet.DataMapper.dll
?????文件????????3098??2010-06-11?19:15??DAL\DAL.csproj
?????文件?????????807??2010-06-11?20:01??DAL\DBAccess.cs
?????目錄???????????0??2010-06-11?22:32??DAL\obj\
?????目錄???????????0??2010-06-11?22:32??DAL\obj\Debug\
?????文件????????1598??2010-06-11?19:57??DAL\obj\Debug\DAL.csproj.FileListAbsolute.txt
?????文件????????4608??2010-06-11?19:51??DAL\obj\Debug\DAL.dll
?????文件???????11776??2010-06-11?19:51??DAL\obj\Debug\DAL.pdb
?????目錄???????????0??2010-06-11?19:00??DAL\obj\Debug\Refactor\
?????文件???????20229??2010-06-11?19:57??DAL\obj\Debug\ResolveAssemblyReference.cache
?????目錄???????????0??2010-06-11?18:59??DAL\obj\Debug\TempPE\
?????目錄???????????0??2010-06-11?22:32??DAL\Properties\
?????文件????????1338??2010-06-11?18:59??DAL\Properties\AssemblyInfo.cs
?????目錄???????????0??2010-06-11?22:32??Model\
?????目錄???????????0??2010-06-11?22:32??Model\bin\
?????目錄???????????0??2010-06-11?22:32??Model\bin\Debug\
?????文件????????4608??2010-06-11?18:48??Model\bin\Debug\Model.dll
?????文件????????7680??2010-06-11?18:47??Model\bin\Debug\Model.pdb
?????文件????????2107??2010-06-11?18:47??Model\Model.csproj
............此處省略44個(gè)文件信息
- 上一篇:C#抽獎(jiǎng)程序 源碼
- 下一篇:C# 拖拽控件
評(píng)論
共有 條評(píng)論