public static DalHints CreateIfAbsent(DalHints hints) { if (hints == null) { return(new DalHints()); } return(hints); }
public static bool IsSet(DalHints hints, DalHint hint) { if (hints == null) { return(false); } if (hints.HintList == null || hints.HintList.Count == 0) { return(false); } return(hints.HintList.Contains(hint)); }