Метод | Описание | |
---|---|---|
Add ( |
Adds a DbItem to the current database.
|
|
Db ( ) : System |
Initializes a new instance of the Db class with the "master" database.
|
|
Db ( string databaseName ) : System |
Initializes a new instance of the Db class with the specified database.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
GetEnumerator ( ) : IEnumerator | ||
GetItem ( ID id ) : System.Item |
Gets an Item by id.
|
|
GetItem ( ID id, string language ) : System.Item |
Gets an Item by id and language.
|
|
GetItem ( ID id, string language, int version ) : System.Item |
Gets an Item by id, language and version number.
|
|
GetItem ( string path ) : System.Item |
Gets an Item by path.
|
|
GetItem ( string path, string language ) : System.Item |
Gets an Item by path and language.
|
|
GetItem ( string path, string language, int version ) : System.Item |
Gets an Item by path, language and version number.
|
|
WithLanguages ( ) : Db |
Specifies a list of available Database languages for the given Db context. If not called, the 'en' language is used.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
Метод | Описание | |
---|---|---|
Db ( Sitecore.FakeDb.Pipelines.PipelineWatcher pipelineWatcher ) : System | ||
GetConfiguration ( ) : |
public Db ( string databaseName ) : System | ||
databaseName | string | The database name. |
Результат | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | True if disposing, otherwise false. |
Результат | void |
public GetItem ( ID id ) : System.Item | ||
id | ID | The item id. |
Результат | System.Item |
public GetItem ( ID id, string language ) : System.Item | ||
id | ID | The item id. |
language | string | The item language. |
Результат | System.Item |
public GetItem ( ID id, string language, int version ) : System.Item | ||
id | ID | The item id. |
language | string | The item language. |
version | int | The item version. |
Результат | System.Item |
public GetItem ( string path ) : System.Item | ||
path | string | The item path. |
Результат | System.Item |
public GetItem ( string path, string language ) : System.Item | ||
path | string | The item path. |
language | string | The item language. |
Результат | System.Item |
public GetItem ( string path, string language, int version ) : System.Item | ||
path | string | The item path. |
language | string | The item language. |
version | int | The item version. |
Результат | System.Item |