/// <summary> /// Method to select an Section entity. /// </summary> /// <param name="op">Section entities select options to perform query.</param> /// <returns>An Section entity or null if not found.</returns> public SectionEntity SingleOrDefault(SectionOptionsSelect op) { using (Db.Context) { return(SectionManager.Select(op, false)); } }
/// <summary> /// Method to select an Section entity. /// </summary> /// <param name="op">Section entities select options to perform query.</param> /// <returns>An Section entity or null if not found.</returns> public SectionEntity SingleOrNull(SectionOptionsSelect op) { using (Db.Context) { return(SectionManager.Select(op, true)); } }