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 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(); } }