using System; using System.Collections.Generic; using System.Linq; using System.Text; using CY.IDAL.Inquiry; using AbstractFactory; using CY.Model; namespace CY.BLL.Inquiry { public class StrangeCustomerInfoBLL { IStrangeCustomerInfoDAL _iStrangeCustomerInfoDAL = null; public StrangeCustomerInfoBLL() { _iStrangeCustomerInfoDAL = Factory.GetDALByInterfaceName(DALInterface.IStrangeCustomerInfoDAL) as IStrangeCustomerInfoDAL; } /// /// 新增陌生客户资料 /// /// /// public bool InsertModel(Inquiry_StrangeCustomerInfo model) { return _iStrangeCustomerInfoDAL.InserModel(model); } /// /// 修改陌生客户资料 /// /// /// public bool UpdateModel(Inquiry_StrangeCustomerInfo model) { return _iStrangeCustomerInfoDAL.UpdateModel(model); } /// /// 根据主键获取实体 /// /// /// public Inquiry_StrangeCustomerInfo GetModel(Guid key) { return _iStrangeCustomerInfoDAL.GetModel(key); } } }