資源簡介
一個簡單的winfrom點餐系統,修改下 app.config中 sqlite數據庫的路徑 即可使用
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?CaterDal;
using?CaterModel;
namespace?CaterBll
{
????public?partial?class?ManagerInfoBll
????{
????????//創建數據層對象
????????ManagerInfoDal?miDal?=?new?ManagerInfoDal();
????????public?List?GetList()
????????{
????????????//調用查詢方法
????????????return?miDal.GetList();
????????}
????????public?bool?Add(ManagerInfo?mi)
????????{
????????????//調用dal層的insert方法,完成插入操作
????????????return?miDal.Insert(mi)?>?0;
????????}
????????public?bool?Edit(ManagerInfo?mi)
????????{
????????????return?miDal.Update(mi)?>?0;
????????}
????????public?bool?Remove(int?id)
????????{
????????????return?miDal.Delete(id)?>?0;
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????4608??2015-05-13?17:06??ItcastCater\CaterBll\bin\Debug\CaterBll.dll
?????文件??????13824??2015-05-13?17:06??ItcastCater\CaterBll\bin\Debug\CaterBll.pdb
?????文件???????4608??2015-05-13?15:48??ItcastCater\CaterBll\bin\Debug\CaterCommon.dll
?????文件??????11776??2015-05-13?15:48??ItcastCater\CaterBll\bin\Debug\CaterCommon.pdb
?????文件???????7680??2015-05-13?17:06??ItcastCater\CaterBll\bin\Debug\CaterDal.dll
?????文件??????17920??2015-05-13?17:06??ItcastCater\CaterBll\bin\Debug\CaterDal.pdb
?????文件???????5120??2015-05-13?15:48??ItcastCater\CaterBll\bin\Debug\CaterModel.dll
?????文件???????7680??2015-05-13?15:48??ItcastCater\CaterBll\bin\Debug\CaterModel.pdb
?????文件????1068032??2013-11-24?11:35??ItcastCater\CaterBll\bin\Debug\System.Data.SQLite.dll
?????文件?????653421??2013-11-24?11:35??ItcastCater\CaterBll\bin\Debug\System.Data.SQLite.xm
?????文件???????3001??2015-05-13?14:57??ItcastCater\CaterBll\CaterBll.csproj
?????文件????????850??2015-05-13?17:03??ItcastCater\CaterBll\ManagerInfoBll.cs
?????文件????????908??2015-05-13?14:57??ItcastCater\CaterBll\obj\Debug\CaterBll.csproj.FileListAbsolute.txt
?????文件??????15310??2015-05-13?17:06??ItcastCater\CaterBll\obj\Debug\CaterBll.csprojResolveAssemblyReference.cache
?????文件???????4608??2015-05-13?17:06??ItcastCater\CaterBll\obj\Debug\CaterBll.dll
?????文件??????13824??2015-05-13?17:06??ItcastCater\CaterBll\obj\Debug\CaterBll.pdb
?????文件???????6722??2015-05-13?14:52??ItcastCater\CaterBll\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件??????????0??2015-05-13?10:35??ItcastCater\CaterBll\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
?????文件??????????0??2015-05-13?10:35??ItcastCater\CaterBll\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
?????文件??????????0??2015-05-13?10:35??ItcastCater\CaterBll\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
?????文件???????1336??2015-05-13?10:35??ItcastCater\CaterBll\Properties\AssemblyInfo.cs
?????文件???????4608??2015-05-13?15:48??ItcastCater\CaterCommon\bin\Debug\CaterCommon.dll
?????文件??????11776??2015-05-13?15:48??ItcastCater\CaterCommon\bin\Debug\CaterCommon.pdb
?????文件???????2413??2015-05-13?15:48??ItcastCater\CaterCommon\CaterCommon.csproj
?????文件???????1091??2015-05-13?15:25??ItcastCater\CaterCommon\Md5Helper.cs
?????文件????????388??2015-05-13?11:40??ItcastCater\CaterCommon\obj\Debug\CaterCommon.csproj.FileListAbsolute.txt
?????文件???????1753??2015-05-13?11:40??ItcastCater\CaterCommon\obj\Debug\CaterCommon.csprojResolveAssemblyReference.cache
?????文件???????4608??2015-05-13?15:48??ItcastCater\CaterCommon\obj\Debug\CaterCommon.dll
?????文件??????11776??2015-05-13?15:48??ItcastCater\CaterCommon\obj\Debug\CaterCommon.pdb
?????文件???????6511??2015-05-13?15:14??ItcastCater\CaterCommon\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
............此處省略132個文件信息
- 上一篇:wpf 高仿360安全衛士
- 下一篇:C# 實現程序啟動畫面(載入模塊)
評論
共有 條評論