91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 32.48MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-06-22
  • 語言: C#
  • 標簽: ASP.NET??

資源簡介

利用ASP.NET開發管理系統,包括數據與項目,經測試能正常運行,功能非常完善

資源截圖

代碼片段和文件信息

using?System;
using?System.Data;
using?System.Collections.Generic;
using?Maticsoft.Common;
using?Maticsoft.Model;
namespace?Maticsoft.BLL
{
///?
///?AddedFile
///?

public?partial?class?AddedFile
{
private?readonly?Maticsoft.DAL.AddedFile?dal=new?Maticsoft.DAL.AddedFile();
public?AddedFile()
{}
#region??BasicMethod

///?
///?得到最大ID
///?

public?int?GetMaxId()
{
return?dal.GetMaxId();
}

///?
///?是否存在該記錄
///?

public?bool?Exists(int?id)
{
return?dal.Exists(id);
}

///?
///?增加一條數據
///?

public?int??Add(Maticsoft.Model.AddedFile?model)
{
return?dal.Add(model);
}

///?
///?更新一條數據
///?

public?bool?Update(Maticsoft.Model.AddedFile?model)
{
return?dal.Update(model);
}

///?
///?刪除一條數據
///?

public?bool?Delete(int?id)
{

return?dal.Delete(id);
}
///?
///?刪除一條數據
///?

public?bool?DeleteList(string?idlist?)
{
return?dal.DeleteList(Maticsoft.Common.PageValidate.SafeLongFilter(idlist0‘‘)?);
}

///?
///?得到一個對象實體
///?

public?Maticsoft.Model.AddedFile?GetModel(int?id)
{

return?dal.GetModel(id);
}

///?
///?得到一個對象實體,從緩存中
///?

public?Maticsoft.Model.AddedFile?GetModelByCache(int?id)
{

string?CacheKey?=?“AddedFileModel-“?+?id;
object?objModel?=?Maticsoft.Common.DataCache.GetCache(CacheKey);
if?(objModel?==?null)
{
try
{
objModel?=?dal.GetModel(id);
if?(objModel?!=?null)
{
int?ModelCache?=?Maticsoft.Common.ConfigHelper.GetConfigInt(“ModelCache“);
Maticsoft.Common.DataCache.SetCache(CacheKey?objModel?DateTime.Now.AddMinutes(ModelCache)?TimeSpan.Zero);
}
}
catch{}
}
return?(Maticsoft.Model.AddedFile)objModel;
}

///?
///?獲得數據列表
///?

public?DataSet?GetList(string?strWhere)
{
return?dal.GetList(strWhere);
}
///?
///?獲得前幾行數據
///?

public?DataSet?GetList(int?Topstring?strWherestring?filedOrder)
{
return?dal.GetList(TopstrWherefiledOrder);
}
///?
///?獲得數據列表
///?

public?List?GetModelList(string?strWhere)
{
DataSet?ds?=?dal.GetList(strWhere);
return?DataTableToList(ds.Tables[0]);
}
///?
///?獲得數據列表
///?

public?List?DataTableToList(DataTable?dt)
{
List?modelList?=?new?List();
int?rowsCount?=?dt.Rows.Count;
if?(rowsCount?>?0)
{
Maticsoft.Model.AddedFile?model;
for?(int?n?=?0;?n? {
model?=?dal.DataRowToModel(dt.Rows[n]);
if?(model?!=?null)
{
modelList.Add(model);
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????9282??2014-06-17?09:27??DAL\AddedFile.cs

?????文件???????8008??2014-06-17?09:27??DAL\Admin.cs

?????文件????????623??2014-06-17?09:27??DAL\AssemblyInfo.cs

?????文件??????73728??2017-02-23?17:54??DAL\bin\Debug\Maticsoft.DAL.dll

?????文件?????179712??2017-02-23?17:54??DAL\bin\Debug\Maticsoft.DAL.pdb

?????文件??????32768??2017-01-24?16:35??DAL\bin\Debug\Maticsoft.DBUtility.dll

?????文件??????69120??2017-01-24?16:35??DAL\bin\Debug\Maticsoft.DBUtility.pdb

?????文件??????28672??2017-02-23?17:54??DAL\bin\Debug\Maticsoft.Model.dll

?????文件?????130560??2017-02-23?17:54??DAL\bin\Debug\Maticsoft.Model.pdb

?????文件??????69632??2014-06-20?14:09??DAL\bin\Release\Maticsoft.DAL.dll

?????文件??????32768??2014-06-20?14:09??DAL\bin\Release\Maticsoft.DBUtility.dll

?????文件??????24576??2014-06-20?14:09??DAL\bin\Release\Maticsoft.Model.dll

?????文件???????5613??2014-06-20?10:10??DAL\DAL.csproj

?????文件???????2165??2014-06-20?10:09??DAL\DAL.csproj.user

?????文件???????9709??2014-06-17?09:27??DAL\DownLoad.cs

?????文件???????7486??2014-06-17?09:27??DAL\DownType.cs

?????文件???????7430??2014-06-17?09:27??DAL\linkType.cs

?????文件??????10671??2017-02-23?14:41??DAL\Menu.cs

?????文件???????9697??2017-02-23?10:30??DAL\MenuImage.cs

?????文件??????12058??2017-02-23?16:24??DAL\MenuList.cs

?????文件???????7874??2014-06-17?09:27??DAL\MenuPaper.cs

?????文件???????7405??2014-06-17?09:27??DAL\MenuType.cs

?????文件???????2927??2017-01-24?16:35??DAL\obj\Debug\DAL.csproj.FileListAbsolute.txt

?????文件??????27055??2017-02-23?17:54??DAL\obj\Debug\DAL.csprojResolveAssemblyReference.cache

?????文件???????6103??2017-02-23?18:23??DAL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件??????73728??2017-02-23?17:54??DAL\obj\Debug\Maticsoft.DAL.dll

?????文件?????179712??2017-02-23?17:54??DAL\obj\Debug\Maticsoft.DAL.pdb

?????文件??????20480??2014-06-18?17:19??DAL\obj\Debug\Refactor\Maticsoft.DAL.dll

?????文件??????15686??2014-06-19?12:33??DAL\obj\Debug\ResolveAssemblyReference.cache

?????文件????????696??2014-06-20?14:09??DAL\obj\Release\DAL.csproj.FileListAbsolute.txt

............此處省略1075個文件信息

評論

共有 條評論