Skip to content

Include And Define Extension Methods Not Working #460

@aboah

Description

@aboah

var users = r.Query("Project").Include("Contributors", q => q.From("Contributors"));

Running this query in my project generates the below error:
Error CS1061 'Query' does not contain a definition for 'Include' and no accessible extension method 'Include'

The Same Error is generated when one applies the Define Extension method

var query1 = new Query("Products")
.Select("ProductId")
.Define("@Product", "Coffee")
.WhereEnds("ProductName", Variable("@Product"));

Please what can I do to get these extension methods working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions