Пример #1
0
        public PostgresQueryCommand(IServiceProvider serviceProvider, IDbFragment <TResult> fragment)
            : base(serviceProvider)
        {
            Check.IsNotNull(fragment, nameof(fragment));

            selectClause = serviceProvider.GetRequiredService <SelectClause>();
            selectClause.AddSelection(fragment);
        }