Restructure and refactor classes related to SQL execution within the `EnvelopeGenerator.Infrastructure` namespace. Key changes include: - Added `EnvelopeGenerator.Infrastructure.Executor` namespace. - Moved and redefined `Query`, `QueryExtension`, `SQLExecutor`, `SQLExecutorBaseEntity`, and `SQLExecutorParams` classes to the new namespace. - Maintained existing functionality while improving code organization and clarity.
9 lines
261 B
C#
9 lines
261 B
C#
namespace EnvelopeGenerator.Infrastructure.Executor;
|
|
|
|
public static class QueryExtension
|
|
{
|
|
public static Query<TEntity> ToQuery<TEntity>(this IQueryable<TEntity> queryable) where TEntity : class
|
|
{
|
|
return new Query<TEntity>(queryable);
|
|
}
|
|
} |