public DbObjectName[] Functions() { var sql = "SELECT specific_schema, routine_name FROM information_schema.routines WHERE type_udt_name != 'trigger' and routine_name like ? and specific_schema = ANY(?);"; return (_tenant.Fetch(sql, Transform, SchemaConstants.MartenPrefix + "%", _features.AllSchemaNames()).ToArray()); }
public DbObjectName[] Functions() { Func <DbDataReader, DbObjectName> transform = r => new DbObjectName(r.GetString(0), r.GetString(1)); var sql = "SELECT specific_schema, routine_name FROM information_schema.routines WHERE type_udt_name != 'trigger' and routine_name like ? and specific_schema = ANY(?);"; return (_tenant.Fetch(sql, transform, DocumentMapping.MartenPrefix + "%", _features.AllSchemaNames()).ToArray()); }