public static T ExecuteScalar <T>(QueryBuilder builder) { if (_connector == null) { throw new InvalidOperationException("No connector attached"); } return(_connector.ExecuteScalar <T>(builder)); }