icustomform.cs
来自「最好用的站点内容管理系统 全部源代码都有」· CS 代码 · 共 34 行
CS
34 行
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using NetCMS.Model;
namespace NetCMS.DALFactory
{
public interface ICustomForm
{
void Edit(CustomFormInfo info);
CustomFormInfo GetInfo(int id);
void DeleteForm(int id);
string GetFormName(int id);
CustomFormItemInfo GetFormItemInfo(int itemid);
int GetItemCount(int formid);
void EditFormItem(CustomFormItemInfo info);
void DeleteFormItem(int itemid);
IList<CustomFormItemInfo> GetAllInfo(int formid, out CustomFormInfo FormInfo);
void AddRecord(int formid, SQLConditionInfo[] data);
DataTable GetSubmitData(int formid, out string formname, out string tablename);
void TruncateTable(int formid);
}
public sealed partial class DataAccess
{
public static ICustomForm CreateCustomForm()
{
string className = path + ".CustomForm";
return (ICustomForm)Assembly.Load(path).CreateInstance(className);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?