年度变更建库软件5.0版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.2 KiB

6 months ago
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KGIS.Plugin.LayerProperty.Interface
{
public interface IKgisDictionary
{
int AllDictionaryItemsCount
{
get;
}
string Description
{
get;
set;
}
long Number
{
get;
}
string Key
{
get;
set;
}
string Name
{
get;
set;
}
int Type
{
get;
set;
}
DataTable DataSource
{
get;
}
List<IDictionaryItem> FirstLevelDictionaryItems
{
get;
}
IDictionaryItem CreateDictionaryItem(IDictionaryItem parentItem, string name, string code, string desc, string key);
bool DeleteDictionaryItem(IDictionaryItem item);
bool DeleteDictionaryItem(int itemId);
IDictionaryItem GetDictionaryItemByID(long ID);
IDictionaryItem GetDictionaryItemByCode(string code);
void RefreshDataSource();
void RefreshFirstLevelDictionaryItems();
bool Update();
}
}