Table of Contents

Interface ITableSampleMethods

Namespace
NextORM.Core
Assembly
nextorm.core.dll

A dialect's renderer for TABLESAMPLE. The predicate and the renderer live on one object, so a sampling method the dialect reports as supported always has a rendering.

public interface ITableSampleMethods
Extension Methods

Methods

Render(TableSampleMethod, double, double?, KeywordCase)

Renders the TABLESAMPLE clause for method.

string Render(TableSampleMethod method, double percent, double? seed, KeywordCase keywordCase = KeywordCase.Lower)

Parameters

method TableSampleMethod
percent double
seed double?
keywordCase KeywordCase

Returns

string

Supports(TableSampleMethod)

True when the sampling method can be rendered.

bool Supports(TableSampleMethod method)

Parameters

method TableSampleMethod

Returns

bool