Method | Description | |
---|---|---|
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 | |
return | string |
public static AddOffset ( string tenant, string offset ) : string | ||
tenant | string | |
offset | string | |
return | string |
public static AddReturnInsertedKey ( string tenant, string primaryKeyName ) : string | ||
tenant | string | |
primaryKeyName | string | |
return | string |
public static DefaultSchemaQualify ( string tenant, string input ) : string | ||
tenant | string | |
input | string | |
return | string |
public static GetConnectionString ( string tenant, string database = "", string userId = "", string password = "" ) : string | ||
tenant | string | |
database | string | |
userId | string | |
password | string | |
return | 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 | |
return | string |
public static GetDbTimestampFunction ( string tenant ) : string | ||
tenant | string | |
return | string |
public static GetMetaConnectionString ( string tenant ) : string | ||
tenant | string | |
return | 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 |
return | string |
public static GetReportUserConnectionString ( string tenant, string database = "" ) : string | ||
tenant | string | |
database | string | |
return | string |
public static GetServer ( string tenant ) : IDbServer | ||
tenant | string | |
return | IDbServer |
public static GetSuperUserConnectionString ( string tenant, string database = "" ) : string | ||
tenant | string | |
database | string | |
return | string |