메소드 | 설명 | |
---|---|---|
BlueToolbarReport ( ) : IEnumerable |
||
BlueToolbarReport ( string sort ) : IEnumerable |
||
QueryCount ( string query ) : int | ||
QueryFunctions ( CmsData.CMSDataContext db ) : System | ||
QueryFunctions ( CmsData.CMSDataContext db, object>.Dictionary |
||
QueryFunctions ( string dbname ) : System | ||
QueryList ( object query, string sort = "name" ) : IEnumerable |
||
QuerySql ( string sql ) : IEnumerable |
||
QuerySql ( string sql, object p1 ) : IEnumerable |
||
QuerySql ( string sql, object p1, string>.Dictionary |
||
QuerySqlTop1 ( string sql ) : dynamic | ||
QuerySqlTop1 ( string sql, object p1 ) : dynamic | ||
QuerySqlTop1 ( string sql, object p1, string>.Dictionary |
||
SqlDateValueArray ( string header, int numvalcols, string sql ) : string |
Function takes a sql script and then places the results into an array. The first column in the SQL results should countain Dates. This is followed by 1 to 10 columns value Each row of SQL results is processed into a row of the array by creating a DateValueRow class header: string containing the header row. (less the square brackets) numvalcols: number of columns containing values. (do not include date column) sql: string containing the sql script. Example: SqlDateValueArray("{label: 'Date', type: 'date'},{label: 'Sum', type: 'number'},{label: 'Avg', type: 'number'}", 2, '''sql string''') If there are no results from the SQL query, then a table is returned that prints "NULL" on the chart
|
|
SqlNameCountArray ( string title, string sql ) : string | ||
SqlPeopleIdsToQuery ( string sql ) : string | ||
StatusCount ( string flags ) : int | ||
TagCount ( int tagid ) : int | ||
TagQueryList ( object query ) : int |
메소드 | 설명 | |
---|---|---|
GetReadonlyConnection ( ) : |
||
SortList ( string sort, IQueryable |
public BlueToolbarReport ( string sort ) : IEnumerable |
||
sort | string | |
리턴 | IEnumerable |
public QueryFunctions ( CmsData.CMSDataContext db ) : System | ||
db | CmsData.CMSDataContext | |
리턴 | System |
public QueryFunctions ( CmsData.CMSDataContext db, object>.Dictionary |
||
db | CmsData.CMSDataContext | |
dictionary | object>.Dictionary | |
리턴 | System |
public QueryList ( object query, string sort = "name" ) : IEnumerable |
||
query | object | |
sort | string | |
리턴 | IEnumerable |
public QuerySql ( string sql, object p1 ) : IEnumerable |
||
sql | string | |
p1 | object | |
리턴 | IEnumerable |
public QuerySql ( string sql, object p1, string>.Dictionary |
||
sql | string | |
p1 | object | |
d | string>.Dictionary | |
리턴 | IEnumerable |
public QuerySqlTop1 ( string sql, object p1 ) : dynamic | ||
sql | string | |
p1 | object | |
리턴 | dynamic |
public QuerySqlTop1 ( string sql, object p1, string>.Dictionary |
||
sql | string | |
p1 | object | |
d | string>.Dictionary | |
리턴 | dynamic |
public SqlDateValueArray ( string header, int numvalcols, string sql ) : string | ||
header | string | |
numvalcols | int | |
sql | string | |
리턴 | string |
public SqlNameCountArray ( string title, string sql ) : string | ||
title | string | |
sql | string | |
리턴 | string |
public SqlPeopleIdsToQuery ( string sql ) : string | ||
sql | string | |
리턴 | string |