Exemplo n.º 1
0
        public BsFields GetObjectsByGroups()
        {
            DataTable dt = Database.DaFields.GetFieldsByGroups(
                _id,
                BsGroup.ConvertToArrayGroups(Groups)
                );

            return(addObjectsList(dt));
        }
Exemplo n.º 2
0
        public BsUsers GetObjectsByGroups()
        {
            Database.DaUsers ass = new Database.DaUsers();
            DataTable        dt  = ass.GetUsersByGroups(
                _id,
                BsGroup.ConvertToArrayGroups(Groups)
                );

            return(addObjectsList(dt));
        }
Exemplo n.º 3
0
        public BsFolders GetObjectsByGroups()
        {
            DataTable dt = Database.DaFolders.GetFoldersByGroups(
                _id,
                _idParent,
                _name,
                BsGroup.ConvertToArrayGroups(Groups)
                );

            return(addObjectsList(dt));
        }
Exemplo n.º 4
0
        public BsItensForm GetObjectsByGroups(string order, string where)
        {
            DataTable dt = Database.DaItensForms.GetItensFormByGroups(
                _id,
                Form.Id,
                Folder.Id, order, where,
                BsGroup.ConvertToArrayGroups(Groups)
                );

            return(addObjectsList(dt));
        }
Exemplo n.º 5
0
 public static int CountChild(BsFolder f, BsGroups g)
 {
     return(Database.DaFolders.CountChild(f.Id, BsGroup.ConvertToArrayGroups(g)));
 }