Exemple #1
0
        public static Answer FindByDrug(Drug d, Question q)
        {
            if (d == null || !d.ID.HasValue || q == null || !q.ID.HasValue)
                return null;

            return FindByDrug(d.ID.Value, q.ID.Value);
        }
Exemple #2
0
        public static IList<Link> FindByDrug(Drug d, Question q)
        {
            if (d == null || d.ID == null || q == null || q.ID == null)
                return null;

            return FindByDrug(d.ID.Value, q.ID.Value);
        }
Exemple #3
0
        public static IList<Question> FindByParent(Question q)
        {
            if (q == null || !q.ID.HasValue)
                return new List<Question>();

            return FindByParent(q.ID.Value);
        }