?? customermanager.cs
字號(hào):
using System;
using System.Collections.Generic;
using System.Text;
using MyCRM.Models;
using MyCRM.DAL;
using MyCRM.IDAL;
using MyCRM.DBFactory;
namespace MyCRM.BLL
{
public class CustomerManager
{
private static ICustomer icustomer = DBAccess.CreateCustomer();
public static int AddCustomer(Cst_customer customer)
{
return icustomer.AddCustomer(customer);
}
public static int UpdateCustomer(Cst_customer customer)
{
return icustomer.UpdateCustomer(customer);
}
public static int DelCustomer(string customerid)
{
return icustomer.DelCustomer(customerid);
}
public static Cst_customer GetCustomerByCustomerId(string customer)
{
return icustomer.GetCustomerByCustomerId(customer);
}
public static List<Cst_customer> GetAllCustomer()
{
return icustomer.GetAllCustomer();
}
public static List<Cst_customer> GetCustomerSelect(string num, string name, string manager, string adr, string level)
{
return icustomer.GetCustomerSelect(num,name,manager,adr,level);
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -