Property | Type | Description | |
---|---|---|---|
CachePath | string | ||
ConnectionStringName | string | ||
DataRepository | ISqlDataRepository | ||
TableName | string |
Method | 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.
|
Method | Description | |
---|---|---|
EnsureSchema ( ) : void |
Ensures the schema.
|
Method | 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. | |
return | bool |
public List ( |
||
content | The content. | |
return | IQueryable |
public Remove ( |
||
content | The content - requires host, path, and name property. If name is set to "*" then removes all for host and path. | |
return | void |
public Retrieve ( |
||
content | The content - requires host, path, and name property. | |
includeData | bool | if set to |
return |
public Save ( |
||
content | The content - requires host, path, and name property. | |
return | void |
public SqlContentRepository ( IMapRouteConfiguration config ) : System | ||
config | IMapRouteConfiguration | The config. |
return | 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. |
return | System |
protected ISqlDataRepository DataRepository | ||
return | ISqlDataRepository |