Ejemplo n.º 1
0
        public List <DataStructure.EnterpriseNode> Search(string filter, Enums.EnterpriseNodeType enterpriseNodeTypeId = Enums.EnterpriseNodeType.RealEnterPriseNode)
        {
            EnterpriseNodeCommandBuilder enterpriseNodeCommandBuilder = new EnterpriseNodeCommandBuilder();
            SqlCommand query = enterpriseNodeCommandBuilder.Search(filter, enterpriseNodeTypeId);

            return(DBManager.GetCollection <DataStructure.EnterpriseNode>(base.ConnectionHandler, query));
        }
Ejemplo n.º 2
0
        public List <DataStructure.EnterpriseNode> Search(DataStructure.EnterpriseNode filter)
        {
            EnterpriseNodeCommandBuilder enterpriseNodeCommandBuilder = new EnterpriseNodeCommandBuilder();
            SqlCommand query = enterpriseNodeCommandBuilder.Search(filter);

            return(DBManager.GetCollection <DataStructure.EnterpriseNode>(base.ConnectionHandler, query));
        }