SqlModelFactory Class

Definition

Model factory for creating instances of Sql models. Use these factory methods to construct model instances in tests and scenarios where output-only properties (with init-only setters) need to be populated.

public static class SqlModelFactory
type SqlModelFactory = class
Public Class SqlModelFactory
Inheritance
SqlModelFactory

Methods

Name Description
Database(String, String, Nullable<JsonElement>, List<Table>)

Creates a new instance of Database(String, String, Nullable<JsonElement>, List<Table>).

DatabasesList(List<Database>)

Creates a new instance of DatabasesList(List<Database>).

DataWithSensitivityLabelInfo(String, List<SensitivityLabelMetadata>)

Creates a new instance of DataWithSensitivityLabelInfo(String, List<SensitivityLabelMetadata>).

GetItemsResponse(List<DataWithSensitivityLabelInfo>, List<SqlItem>)

Creates a new instance of GetItemsResponse(List<DataWithSensitivityLabelInfo>, List<SqlItem>).

GetTablesResponse(List<DataWithSensitivityLabelInfo>, List<Table>)

Creates a new instance of GetTablesResponse(List<DataWithSensitivityLabelInfo>, List<Table>).

ODataServersList(List<Server>)

Creates a new instance of ODataServersList(List<Server>).

PassThroughNativeQueryMetadata(String, String, ObjectEntity)

Creates a new instance of PassThroughNativeQueryMetadata(String, String, ObjectEntity).

Procedure(String, String)

Creates a new instance of Procedure(String, String).

ProcedureMetadata(String, String, ObjectEntity)

Creates a new instance of ProcedureMetadata(String, String, ObjectEntity).

ProceduresList(List<Procedure>)

Creates a new instance of ProceduresList(List<Procedure>).

SensitivityLabelMetadata(String, String, String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String)

Creates a new instance of SensitivityLabelMetadata(String, String, String, String, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String).

Server(String, String, Nullable<JsonElement>, List<Database>)

Creates a new instance of Server(String, String, Nullable<JsonElement>, List<Database>).

SqlItem(Nullable<JsonElement>)

Creates a new instance of SqlItem(Nullable<JsonElement>).

SqlItemsList(List<SqlItem>)

Creates a new instance of SqlItemsList(List<SqlItem>).

SqlPassThroughNativeQueryBody(Nullable<JsonElement>, String, Nullable<JsonElement>)

Creates a new instance of SqlPassThroughNativeQueryBody(Nullable<JsonElement>, String, Nullable<JsonElement>).

Table(String, String, Nullable<JsonElement>)

Creates a new instance of Table(String, String, Nullable<JsonElement>).

TableCapabilitiesMetadata(TableSortRestrictionsMetadata, TableFilterRestrictionsMetadata, TableSelectRestrictionsMetadata, TableCountRestrictionsMetadata, Nullable<Boolean>, List<String>, List<String>)

Creates a new instance of TableCapabilitiesMetadata(TableSortRestrictionsMetadata, TableFilterRestrictionsMetadata, TableSelectRestrictionsMetadata, TableCountRestrictionsMetadata, Nullable<Boolean>, List<String>, List<String>).

TableCountRestrictionsMetadata(Nullable<Boolean>)

Creates a new instance of TableCountRestrictionsMetadata(Nullable<Boolean>).

TableFilterRestrictionsMetadata(Nullable<Boolean>, List<String>, List<String>)

Creates a new instance of TableFilterRestrictionsMetadata(Nullable<Boolean>, List<String>, List<String>).

TableMetadata(String, String, String, TableCapabilitiesMetadata, ObjectEntity, ObjectEntity, String)

Creates a new instance of TableMetadata(String, String, String, TableCapabilitiesMetadata, ObjectEntity, ObjectEntity, String).

TableSelectRestrictionsMetadata(Nullable<Boolean>)

Creates a new instance of TableSelectRestrictionsMetadata(Nullable<Boolean>).

TablesList(List<Table>)

Creates a new instance of TablesList(List<Table>).

TableSortRestrictionsMetadata(Nullable<Boolean>, List<String>, List<String>)

Creates a new instance of TableSortRestrictionsMetadata(Nullable<Boolean>, List<String>, List<String>).

Applies to