Streamx.Linq.SQL.EFCore by Konstantin Triger

<PackageReference Include="Streamx.Linq.SQL.EFCore" Version="6.0.0" />

 EFCoreExtensions

public static class EFCoreExtensions
ELinq extensions methods
public static int Execute(this DatabaseFacade source, Action query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static int Execute<TEntity>(this DatabaseFacade source, Action<TEntity> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static int Execute<TEntity, TEntity1>(this DatabaseFacade source, Action<TEntity, TEntity1> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static int Execute<TEntity, TEntity1, TEntity2>(this DatabaseFacade source, Action<TEntity, TEntity1, TEntity2> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static int Execute<TEntity, TEntity1, TEntity2, TEntity3>(this DatabaseFacade source, Action<TEntity, TEntity1, TEntity2, TEntity3> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static int Execute<TEntity, TEntity1, TEntity2, TEntity3, TEntity4>(this DatabaseFacade source, Action<TEntity, TEntity1, TEntity2, TEntity3, TEntity4> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static int Execute<TEntity, TEntity1, TEntity2, TEntity3, TEntity4, TEntity5>(this DatabaseFacade source, Action<TEntity, TEntity1, TEntity2, TEntity3, TEntity4, TEntity5> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static Task<int> ExecuteAsync(this DatabaseFacade source, Action query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static Task<int> ExecuteAsync<TEntity>(this DatabaseFacade source, Action<TEntity> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static Task<int> ExecuteAsync<TEntity, TEntity1>(this DatabaseFacade source, Action<TEntity, TEntity1> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static Task<int> ExecuteAsync<TEntity, TEntity1, TEntity2>(this DatabaseFacade source, Action<TEntity, TEntity1, TEntity2> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static Task<int> ExecuteAsync<TEntity, TEntity1, TEntity2, TEntity3>(this DatabaseFacade source, Action<TEntity, TEntity1, TEntity2, TEntity3> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static Task<int> ExecuteAsync<TEntity, TEntity1, TEntity2, TEntity3, TEntity4>(this DatabaseFacade source, Action<TEntity, TEntity1, TEntity2, TEntity3, TEntity4> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static Task<int> ExecuteAsync<TEntity, TEntity1, TEntity2, TEntity3, TEntity4, TEntity5>(this DatabaseFacade source, Action<TEntity, TEntity1, TEntity2, TEntity3, TEntity4, TEntity5> query)

Executes the given XLINQ query against the database and returns the number of rows affected.

public static string GetQuerySQL<TDelegate>(IInfrastructure<IServiceProvider> source, TDelegate query, out object params) where TDelegate : MulticastDelegate

Parses query and returns generated SQL and captured parameters

public static IQueryable<TEntity> Query<TEntity>(this DbSet<TEntity> source, Func<IQueryResult<TEntity>> query)

Creates a LINQ query based on XLINQ query.

If the database provider supports composing on the supplied SQL, you can compose on top of the XLINQ query using LINQ operators - context.Blogs.Query(...).OrderBy(b => b.Name).

public static IQueryable<TEntity> Query<TEntity, TEntity1>(this DbSet<TEntity> source, Func<TEntity1, IQueryResult<TEntity>> query)

Creates a LINQ query based on XLINQ query.

If the database provider supports composing on the supplied SQL, you can compose on top of the XLINQ query using LINQ operators - context.Blogs.Query(...).OrderBy(b => b.Name).

public static IQueryable<TEntity> Query<TEntity, TEntity1, TEntity2>(this DbSet<TEntity> source, Func<TEntity1, TEntity2, IQueryResult<TEntity>> query)

Creates a LINQ query based on XLINQ query.

If the database provider supports composing on the supplied SQL, you can compose on top of the XLINQ query using LINQ operators - context.Blogs.Query(...).OrderBy(b => b.Name).

public static IQueryable<TEntity> Query<TEntity, TEntity1, TEntity2, TEntity3>(this DbSet<TEntity> source, Func<TEntity1, TEntity2, TEntity3, IQueryResult<TEntity>> query)

Creates a LINQ query based on XLINQ query.

If the database provider supports composing on the supplied SQL, you can compose on top of the XLINQ query using LINQ operators - context.Blogs.Query(...).OrderBy(b => b.Name).

public static IQueryable<TEntity> Query<TEntity, TEntity1, TEntity2, TEntity3, TEntity4>(this DbSet<TEntity> source, Func<TEntity1, TEntity2, TEntity3, TEntity4, IQueryResult<TEntity>> query)

Creates a LINQ query based on XLINQ query.

If the database provider supports composing on the supplied SQL, you can compose on top of the XLINQ query using LINQ operators - context.Blogs.Query(...).OrderBy(b => b.Name).

public static IQueryable<TEntity> Query<TEntity, TEntity1, TEntity2, TEntity3, TEntity4, TEntity5>(this DbSet<TEntity> source, Func<TEntity1, TEntity2, TEntity3, TEntity4, TEntity5, IQueryResult<TEntity>> query)

Creates a LINQ query based on XLINQ query.

If the database provider supports composing on the supplied SQL, you can compose on top of the XLINQ query using LINQ operators - context.Blogs.Query(...).OrderBy(b => b.Name).

public static IQueryable<TEntity> Query<TEntity, TEntity1, TEntity2, TEntity3, TEntity4, TEntity5, TEntity6>(this DbSet<TEntity> source, Func<TEntity1, TEntity2, TEntity3, TEntity4, TEntity5, TEntity6, IQueryResult<TEntity>> query)

Creates a LINQ query based on XLINQ query.

If the database provider supports composing on the supplied SQL, you can compose on top of the XLINQ query using LINQ operators - context.Blogs.Query(...).OrderBy(b => b.Name).