Свойство | Type | Description | |
---|---|---|---|
CachePath | string | ||
ConnectionStringName | string | ||
DataRepository | ISqlDataRepository | ||
TableName | string |
Méthode | Description | |
---|---|---|
Exists ( |
Check for exist of content.
|
|
List ( |
Lists the specified content.Path
|
|
Remove ( |
Removes the specified content path or route.
|
|
Retrieve ( |
Populate or gets the content provided specific host, path, and name property.
|
|
Save ( |
Saves the specified content.
|
|
SqlContentRepository ( IMapRouteConfiguration config ) : System |
Initializes a new instance of the SqlContentRepository class.
|
|
SqlContentRepository ( ISqlDataRepository dataRepo, string connectionStringName, string tableName, string cachePath ) : System |
Initializes a new instance of the SqlContentRepository class.
|
Méthode | Description | |
---|---|---|
EnsureSchema ( ) : void |
Ensures the schema.
|
Méthode | Description | |
---|---|---|
Initialize ( ISqlDataRepository dataRepo, string connectionStringName, string tableName, string cachePath ) : void |
Initializes the specified data repo.
|
|
Save ( |
public Exists ( |
||
content | The content - requires host, path, and name property. | |
Résultat | bool |
public List ( |
||
content | The content. | |
Résultat | IQueryable |
public Remove ( |
||
content | The content - requires host, path, and name property. If name is set to "*" then removes all for host and path. | |
Résultat | void |
public Retrieve ( |
||
content | The content - requires host, path, and name property. | |
includeData | bool | if set to |
Résultat |
public Save ( |
||
content | The content - requires host, path, and name property. | |
Résultat | void |
public SqlContentRepository ( IMapRouteConfiguration config ) : System | ||
config | IMapRouteConfiguration | The config. |
Résultat | System |
public SqlContentRepository ( ISqlDataRepository dataRepo, string connectionStringName, string tableName, string cachePath ) : System | ||
dataRepo | ISqlDataRepository | The data repo. |
connectionStringName | string | Name of the connection string. |
tableName | string | Name of the table. |
cachePath | string | The cache path. |
Résultat | System |
protected ISqlDataRepository DataRepository | ||
Résultat | ISqlDataRepository |