⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customermanager.cs

📁 客户关系管理系统源码 北大青鸟项目 系统采用多层模式开发 主要功能有: 营销管理:销售机会管理 客户开发计划 客户管理:客户信息管理 客户流失管理 服
💻 CS
字号:
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);
       }
       
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -