메소드 | 설명 | |
---|---|---|
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 |