BLL/BLLStorehouseType.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Common;
using DA;
namespace BLL
{
public class BLLStorehouseType
{
/// <summary>
/// BLL 查询所有仓库类型的业务
/// </summary>
/// <returns></returns>
public static List<CStorehouseType> BLLStorehouseTypeQuery()
{
using (DBStorehouseType dbst = new DBStorehouseType())
{
return dbst.DBStorehouseTypeQuery();
}
}
/// <summary>
/// BLL 插入仓库类型的方法
/// </summary>
/// <param name="stName">仓库名称</param>
public static void BLLStorehouseTypeInsert(string stName)
{
using (DBStorehouseType dbst = new DBStorehouseType())
{
dbst.DBStorehouseTypeInsert(stName );
}
}
/// <summary>
/// BLL 修改仓库类型的方法
/// </summary>
/// <param name="stName">仓库名称</param>
public static void BLLStorehouseTypeUpdate(CStorehouseType st)
{
using (DBStorehouseType dbst = new DBStorehouseType())
{
dbst.DBStorehouseTypeUpdate(st );
}
}
/// <summary>
/// Bll 删除仓库类型的方法
/// </summary>
/// <param name="stid">仓库编号</param>
public static void BLLStorehouseTypeDelete(int stid)
{
using (DBStorehouseType dbst = new DBStorehouseType())
{
dbst.DBStorehouseTypeDelete(stid );
}
}
/// <summary>
后面还有 12 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。