Exemplo n.º 1
0
        public static List <DfsSet> GetDfsSets()
        {
            List <DfsSet> list = new List <DfsSet>();

            foreach (DataRow row in ((DfsSetCache) new DfsSetCache().GetData()).dtDfsSet.Rows)
            {
                DfsSet dfsSet  = new DfsSet();
                DfsSet @object = DfsSetUtils.GetObject(row);
                list.Add(@object);
            }
            return(list);
        }
Exemplo n.º 2
0
        public static DfsSet GetDfsSet(string fsId)
        {
            DfsSet      dfsSet      = null;
            DfsSetCache dfsSetCache = (DfsSetCache) new DfsSetCache().GetData();
            int         index       = dfsSetCache.dvDfsSetBy_FsId.Find(fsId);
            bool        flag        = index >= 0;

            if (flag)
            {
                DfsSet dfsSet2 = new DfsSet();
                dfsSet = DfsSetUtils.GetObject(dfsSetCache.dvDfsSetBy_FsId[index].Row);
            }
            return(dfsSet);
        }
Exemplo n.º 3
0
 public static DfsSet GetMainDfsSet()
 {
     return(DfsSetUtils.GetDfsSet("DFSMAIN"));
 }