Метод | Описание | |
---|---|---|
AddLimit ( string tenant, string limit ) : string | ||
AddOffset ( string tenant, string offset ) : string | ||
AddReturnInsertedKey ( string tenant, string primaryKeyName ) : string | ||
DefaultSchemaQualify ( string tenant, string input ) : string | ||
GetConnectionString ( string tenant, string database = "", string userId = "", string password = "" ) : string | ||
GetConnectionString ( string tenant, string host, string database, string username, string password, int port ) : string | ||
GetDbTimestampFunction ( string tenant ) : string | ||
GetMetaConnectionString ( string tenant ) : string | ||
GetProcedureCommand ( string tenant, string procedureName, string parameters ) : string |
Do not use this function if the any of the paramters come from user input.
|
|
GetReportUserConnectionString ( string tenant, string database = "" ) : string | ||
GetServer ( string tenant ) : IDbServer | ||
GetSuperUserConnectionString ( string tenant, string database = "" ) : string |
public static AddLimit ( string tenant, string limit ) : string | ||
tenant | string | |
limit | string | |
Результат | string |
public static AddOffset ( string tenant, string offset ) : string | ||
tenant | string | |
offset | string | |
Результат | string |
public static AddReturnInsertedKey ( string tenant, string primaryKeyName ) : string | ||
tenant | string | |
primaryKeyName | string | |
Результат | string |
public static DefaultSchemaQualify ( string tenant, string input ) : string | ||
tenant | string | |
input | string | |
Результат | string |
public static GetConnectionString ( string tenant, string database = "", string userId = "", string password = "" ) : string | ||
tenant | string | |
database | string | |
userId | string | |
password | string | |
Результат | string |
public static GetConnectionString ( string tenant, string host, string database, string username, string password, int port ) : string | ||
tenant | string | |
host | string | |
database | string | |
username | string | |
password | string | |
port | int | |
Результат | string |
public static GetDbTimestampFunction ( string tenant ) : string | ||
tenant | string | |
Результат | string |
public static GetMetaConnectionString ( string tenant ) : string | ||
tenant | string | |
Результат | string |
public static GetProcedureCommand ( string tenant, string procedureName, string parameters ) : string | ||
tenant | string | The database or tenant name. |
procedureName | string | Name of the stored procedure or function. |
parameters | string | List of parameters of the function |
Результат | string |
public static GetReportUserConnectionString ( string tenant, string database = "" ) : string | ||
tenant | string | |
database | string | |
Результат | string |
public static GetServer ( string tenant ) : IDbServer | ||
tenant | string | |
Результат | IDbServer |
public static GetSuperUserConnectionString ( string tenant, string database = "" ) : string | ||
tenant | string | |
database | string | |
Результат | string |