MagicIndex Members
The MagicIndex type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
MagicIndex(SqlDataReader) |
Initializes a new instance of the MagicIndex class.
|
|
|
MagicIndex(Int32) |
Initializes a new instance of the MagicIndex class.
|
|
|
MagicIndex(Int32, String, String) |
Initializes a new instance of the MagicIndex class.
|
|
|
MagicIndex(Int32, String) |
Initializes a new instance of the MagicIndex class.
Default language is used.
|
|
|
MagicIndex(MagicPost) |
Initializes a new instance of the MagicIndex class.
|
|
|
MagicIndex(MagicTranslation) |
Methods
| Name | Description | |
|---|---|---|
|
|
CreateMagicIndex |
Creates the title table.
|
|
|
DeletePostTitle |
Deletes a post title and its translations from the titles table.
|
|
|
Empty |
Empties the title table.
|
|
|
EncodeTitle |
Custom encoding of the title.
|
|
|
ExistsMagicIndex |
Does exists the title table?
|
|
|
GetPostId |
Gets the post identifier.
|
|
|
GetTitle |
Gets a post title indexed for a specific language. In no tile is found return Post Pk converted to string.
|
|
|
GetTitles |
Return all titles indexed for a Post. (one for every active language)
|
|
|
Populate |
Populates Title table.
|
|
|
Save |
Saves MagicIndex Entry.
|
|
|
UpdatePostTitle |
Updates or insert a post title and its translations in the titles table.
|
Properties
| Name | Description | |
|---|---|---|
|
|
LangId |
Language identifier to wich this routing name belong.
|
|
|
MagicPost_Pk |
Gets or sets the magic post pk. Unique ID of the MagicPost to which routing name is assigned.
|
|
|
Pk |
Gets or sets the pk. Unique ID of routing name.
|
|
|
Title |
Gets or sets the title. The assigned routing name
|