Свойство | Тип | Описание | |
---|---|---|---|
EnsureConectionString | void |
Метод | Описание | |
---|---|---|
ActivityViewList ( ) : IEnumerable |
Gets an IEnumerable{SelectListItem} of project statuses, as a default SelectList doesn't add option value attributes.
|
|
AddNewPage ( Page page, string text, string editedBy, System.DateTime editedOn, System.DateTime projectStart, System.DateTime projectEnd, bool projectEstimatedTime, string projectStatus, string projectLanguage, int orgID ) : PageContent | ||
AddNewPageContentVersion ( Page page, string text, string editedBy, System.DateTime editedOn, int version, System.DateTime projectStart, System.DateTime projectEnd, bool projectEstimatedTime, string projectStatus, string projectLanguage, int orgID ) : PageContent | ||
AddNewRel ( Relationship rel, int reltypeid, string username, int orgID, int pageID, string reltext ) : Relationship | ||
AllOrgsCount ( ) : int | ||
AllPageContents ( ) : IEnumerable |
||
AllPages ( ) : IEnumerable |
||
AllPagesCount ( ) : int | ||
AllTags ( ) : IEnumerable |
||
AllUsers ( ) : IEnumerable |
||
AllUsersCount ( ) : int | ||
DeleteAllPages ( ) : void | ||
DeleteAllUsers ( ) : void | ||
DeletePage ( Page page ) : void | ||
DeletePageContent ( PageContent pageContent ) : void | ||
DeleteRel ( Relationship rel ) : void | ||
DeleteUser ( User user ) : void | ||
Dispose ( ) : void | ||
FindAllAdmins ( ) : IEnumerable |
||
FindAllEditors ( ) : IEnumerable |
||
FindAllOrgs ( ) : IEnumerable |
||
FindAllRelTypes ( ) : IEnumerable |
||
FindAllRels ( ) : IEnumerable |
||
FindPageContentsByPageId ( int pageId ) : IEnumerable |
||
FindPageContentsEditedBy ( string username ) : IEnumerable |
||
FindPageRelationships ( int pageID ) : List |
||
FindPagesContainingTag ( string tag ) : IEnumerable |
||
FindPagesCreatedBy ( string username ) : IEnumerable |
||
FindPagesModifiedBy ( string username ) : IEnumerable |
||
FindRelsCreatedBy ( string username ) : IEnumerable |
||
GetAdminById ( Guid id ) : User | ||
GetEditorById ( Guid id ) : User | ||
GetLatestPageContent ( int pageId ) : PageContent | ||
GetOrgByID ( int id ) : Organisation | ||
GetOrgByUser ( string username ) : Organisation | ||
GetPageById ( int id ) : Page | ||
GetPageByTitle ( string title ) : Page | ||
GetPageContentByEditedBy ( string username ) : IEnumerable |
||
GetPageContentById ( Guid id ) : PageContent | ||
GetPageContentByPageIdAndVersionNumber ( int id, int versionNumber ) : PageContent | ||
GetRelById ( int id ) : Relationship | ||
GetRelByPage ( int pageid ) : IEnumerable |
||
GetRelTypeByID ( int id ) : RelationshipType | ||
GetSiteSettings ( ) : SiteSettings | ||
GetTextPluginSettings ( Guid databaseId ) : Roadkill.Core.Plugins.Settings | ||
GetUserByActivationKey ( string key ) : User | ||
GetUserByEmail ( string email, bool isActivated = null ) : User | ||
GetUserById ( Guid id, bool isActivated = null ) : User | ||
GetUserByPasswordResetKey ( string key ) : User | ||
GetUserByUsername ( string username ) : User | ||
GetUserByUsernameOrEmail ( string username, string email ) : User | ||
Install ( DataStoreType dataStoreType, string connectionString, bool enableCache ) : void | ||
LightSpeedRepository ( ApplicationSettings settings ) : System | ||
RelToUserToPage ( int pageID, string username ) : Relationship | ||
SaveOrUpdatePage ( Page page ) : Page | ||
SaveOrUpdateRel ( Relationship rel ) : Relationship | ||
SaveOrUpdateUser ( User user ) : User | ||
SaveSiteSettings ( SiteSettings siteSettings ) : void | ||
SaveTextPluginSettings ( TextPlugin plugin ) : void | ||
Startup ( DataStoreType dataStoreType, string connectionString, bool enableCache ) : void | ||
TestConnection ( DataStoreType dataStoreType, string connectionString ) : void | ||
UpdatePageContent ( PageContent content ) : void |
This updates an existing set of text and is used for page rename updates. To add a new version of a page, use AddNewPageContentVersion
|
|
Upgrade ( ApplicationSettings settings ) : void | ||
WhatsHotList ( ) : IEnumerable |
Gets an IEnumerable{SelectListItem} of project statuses, as a default SelectList doesn't add option value attributes.
|
Метод | Описание | |
---|---|---|
EnsureConectionString ( ) : void |
public AddNewPage ( Page page, string text, string editedBy, System.DateTime editedOn, System.DateTime projectStart, System.DateTime projectEnd, bool projectEstimatedTime, string projectStatus, string projectLanguage, int orgID ) : PageContent | ||
page | Page | |
text | string | |
editedBy | string | |
editedOn | System.DateTime | |
projectStart | System.DateTime | |
projectEnd | System.DateTime | |
projectEstimatedTime | bool | |
projectStatus | string | |
projectLanguage | string | |
orgID | int | |
Результат | PageContent |
public AddNewPageContentVersion ( Page page, string text, string editedBy, System.DateTime editedOn, int version, System.DateTime projectStart, System.DateTime projectEnd, bool projectEstimatedTime, string projectStatus, string projectLanguage, int orgID ) : PageContent | ||
page | Page | |
text | string | |
editedBy | string | |
editedOn | System.DateTime | |
version | int | |
projectStart | System.DateTime | |
projectEnd | System.DateTime | |
projectEstimatedTime | bool | |
projectStatus | string | |
projectLanguage | string | |
orgID | int | |
Результат | PageContent |
public AddNewRel ( Relationship rel, int reltypeid, string username, int orgID, int pageID, string reltext ) : Relationship | ||
rel | Relationship | |
reltypeid | int | |
username | string | |
orgID | int | |
pageID | int | |
reltext | string | |
Результат | Relationship |
public DeletePageContent ( PageContent pageContent ) : void | ||
pageContent | PageContent | |
Результат | void |
public DeleteRel ( Relationship rel ) : void | ||
rel | Relationship | |
Результат | void |
public FindPageContentsByPageId ( int pageId ) : IEnumerable |
||
pageId | int | |
Результат | IEnumerable |
public FindPageContentsEditedBy ( string username ) : IEnumerable |
||
username | string | |
Результат | IEnumerable |
public FindPageRelationships ( int pageID ) : List |
||
pageID | int | |
Результат | List |
public FindPagesContainingTag ( string tag ) : IEnumerable |
||
tag | string | |
Результат | IEnumerable |
public FindPagesCreatedBy ( string username ) : IEnumerable |
||
username | string | |
Результат | IEnumerable |
public FindPagesModifiedBy ( string username ) : IEnumerable |
||
username | string | |
Результат | IEnumerable |
public FindRelsCreatedBy ( string username ) : IEnumerable |
||
username | string | |
Результат | IEnumerable |
public GetLatestPageContent ( int pageId ) : PageContent | ||
pageId | int | |
Результат | PageContent |
public GetOrgByID ( int id ) : Organisation | ||
id | int | |
Результат | Organisation |
public GetOrgByUser ( string username ) : Organisation | ||
username | string | |
Результат | Organisation |
public GetPageByTitle ( string title ) : Page | ||
title | string | |
Результат | Page |
public GetPageContentByEditedBy ( string username ) : IEnumerable |
||
username | string | |
Результат | IEnumerable |
public GetPageContentById ( Guid id ) : PageContent | ||
id | Guid | |
Результат | PageContent |
public GetPageContentByPageIdAndVersionNumber ( int id, int versionNumber ) : PageContent | ||
id | int | |
versionNumber | int | |
Результат | PageContent |
public GetRelById ( int id ) : Relationship | ||
id | int | |
Результат | Relationship |
public GetRelByPage ( int pageid ) : IEnumerable |
||
pageid | int | |
Результат | IEnumerable |
public GetRelTypeByID ( int id ) : RelationshipType | ||
id | int | |
Результат | RelationshipType |
public GetTextPluginSettings ( Guid databaseId ) : Roadkill.Core.Plugins.Settings | ||
databaseId | Guid | |
Результат | Roadkill.Core.Plugins.Settings |
public GetUserByActivationKey ( string key ) : User | ||
key | string | |
Результат | User |
public GetUserByEmail ( string email, bool isActivated = null ) : User | ||
string | ||
isActivated | bool | |
Результат | User |
public GetUserById ( Guid id, bool isActivated = null ) : User | ||
id | Guid | |
isActivated | bool | |
Результат | User |
public GetUserByPasswordResetKey ( string key ) : User | ||
key | string | |
Результат | User |
public GetUserByUsername ( string username ) : User | ||
username | string | |
Результат | User |
public GetUserByUsernameOrEmail ( string username, string email ) : User | ||
username | string | |
string | ||
Результат | User |
public Install ( DataStoreType dataStoreType, string connectionString, bool enableCache ) : void | ||
dataStoreType | DataStoreType | |
connectionString | string | |
enableCache | bool | |
Результат | void |
public LightSpeedRepository ( ApplicationSettings settings ) : System | ||
settings | ApplicationSettings | |
Результат | System |
public RelToUserToPage ( int pageID, string username ) : Relationship | ||
pageID | int | |
username | string | |
Результат | Relationship |
public SaveOrUpdatePage ( Page page ) : Page | ||
page | Page | |
Результат | Page |
public SaveOrUpdateRel ( Relationship rel ) : Relationship | ||
rel | Relationship | |
Результат | Relationship |
public SaveOrUpdateUser ( User user ) : User | ||
user | User | |
Результат | User |
public SaveSiteSettings ( SiteSettings siteSettings ) : void | ||
siteSettings | SiteSettings | |
Результат | void |
public SaveTextPluginSettings ( TextPlugin plugin ) : void | ||
plugin | TextPlugin | |
Результат | void |
public Startup ( DataStoreType dataStoreType, string connectionString, bool enableCache ) : void | ||
dataStoreType | DataStoreType | |
connectionString | string | |
enableCache | bool | |
Результат | void |
public TestConnection ( DataStoreType dataStoreType, string connectionString ) : void | ||
dataStoreType | DataStoreType | |
connectionString | string | |
Результат | void |
public UpdatePageContent ( PageContent content ) : void | ||
content | PageContent | |
Результат | void |
public Upgrade ( ApplicationSettings settings ) : void | ||
settings | ApplicationSettings | |
Результат | void |