Пример #1
0
        public List <CListItem> GetColumnItems(string TableName)
        {
            List <CListItem> result = new List <CListItem>();

            ICodeSetService      service = CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.GetColumnItems(TableName);
            });

            return(result);
        }
Пример #2
0
        public string GenerateTreeCode(string strParentCode, string strTableName, string strFieldName, int Layer, string ParentColumn)
        {
            string result = "";

            ICodeSetService      service = CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.GenerateTreeCode(strParentCode, strTableName, strFieldName, Layer, ParentColumn);
            });

            return(result);
        }
Пример #3
0
        public string GenerateCodeEx(string strTableName, string strBusType, string strFieldName, string strType)
        {
            string result = "";

            ICodeSetService      service = CreateSubClient();
            ICommunicationObject comm    = service as ICommunicationObject;

            comm.Using(client =>
            {
                result = service.GenerateCodeEx(strTableName, strBusType, strFieldName, strType);
            });

            return(result);
        }