Exemplo n.º 1
0
        private List <SysDictionary> GetDictionaryList(DictionaryType type)
        {
            List <SysDictionary> list = new List <SysDictionary>();

            list.AddRange((action.Excute(SERVICE_NAME, METHOD_NAME, new object[] { ((int)type).ToString() }) as ArrayList).Cast <SysDictionary>());
            return(list);
        }
Exemplo n.º 2
0
 public IEnumerable <T> Find <T>(BipAction action, string serviceName, string methodName, object[] args)
 {
     return((action.Excute(serviceName, methodName, args) as ArrayList).Cast <T>());
 }
Exemplo n.º 3
0
 public T FindOne <T>(BipAction action, string serviceName, string methodName, object[] args)
 {
     return((T)action.Excute(serviceName, methodName, args));
 }