📄 questiontype.cs
字号:
namespace PowerEasy.Crm
{
using PowerEasy.IDal.Crm;
using System;
using System.Collections.Generic;
public sealed class QuestionType
{
private static readonly IQuestionType dal = DataAccess.CreateQuestionType();
private QuestionType()
{
}
public static bool Add(string typeName)
{
return dal.Add(typeName);
}
public static bool Delete(int typeId)
{
return dal.Delete(typeId);
}
public static bool Exists(string typeName)
{
return dal.Exists(typeName);
}
public static int GetMaxId()
{
return dal.GetMaxId();
}
public static IDictionary<int, string> GetTypeList()
{
return dal.GetTypeList();
}
public static string GetTypeName(int typeId)
{
return dal.GetTypeName(typeId);
}
public static bool Update(int typeId, string typeName)
{
return dal.Update(typeId, typeName);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -