Interface IExportImportRepository
Assembly: DotNetNuke.SiteExportImport.Library.dll
Syntax
public interface IExportImportRepository
Methods
|
Improve this Doc
View Source
AddSingleItem<T>(T)
Declaration
T AddSingleItem<T>(T item)
where T : class
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Type Parameters
|
Improve this Doc
View Source
CleanUpLocal(String)
Declaration
void CleanUpLocal(string collectionName)
Parameters
Type |
Name |
Description |
System.String |
collectionName |
|
|
Improve this Doc
View Source
CreateItem<T>(T, Nullable<Int32>)
Declaration
T CreateItem<T>(T item, int? referenceId)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
T |
item |
|
System.Nullable<System.Int32> |
referenceId |
|
Returns
Type Parameters
|
Improve this Doc
View Source
CreateItems<T>(IEnumerable<T>, Nullable<Int32>)
Declaration
void CreateItems<T>(IEnumerable<T> items, int? referenceId = null)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
IEnumerable<T> |
items |
|
System.Nullable<System.Int32> |
referenceId |
|
Type Parameters
|
Improve this Doc
View Source
DeleteItem<T>(Int32)
Declaration
bool DeleteItem<T>(int id)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
DeleteItems<T>(Expression<Func<T, Boolean>>)
Declaration
void DeleteItems<T>(Expression<Func<T, bool>> deleteExpression)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
Expression<Func<T, System.Boolean>> |
deleteExpression |
|
Type Parameters
|
Improve this Doc
View Source
FindItems<T>(Expression<Func<T, Boolean>>)
Declaration
IEnumerable<T> FindItems<T>(Expression<Func<T, bool>> predicate)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
Expression<Func<T, System.Boolean>> |
predicate |
|
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
GetAllItems<T>(Func<T, Object>, Boolean, Nullable<Int32>, Nullable<Int32>)
Declaration
IEnumerable<T> GetAllItems<T>(Func<T, object> orderKeySelector = null, bool asc = true, int? skip = null, int? max = null)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
Func<T, System.Object> |
orderKeySelector |
|
System.Boolean |
asc |
|
System.Nullable<System.Int32> |
skip |
|
System.Nullable<System.Int32> |
max |
|
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
GetCount<T>()
Declaration
int GetCount<T>()
where T : BasicExportImportDto
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
GetCount<T>(Expression<Func<T, Boolean>>)
Declaration
int GetCount<T>(Expression<Func<T, bool>> predicate)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
Expression<Func<T, System.Boolean>> |
predicate |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters
|
Improve this Doc
View Source
GetItem<T>(Expression<Func<T, Boolean>>)
Declaration
T GetItem<T>(Expression<Func<T, bool>> predicate)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
Expression<Func<T, System.Boolean>> |
predicate |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetItem<T>(Int32)
Declaration
T GetItem<T>(int id)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetItems<T>(Expression<Func<T, Boolean>>, Func<T, Object>, Boolean, Nullable<Int32>, Nullable<Int32>)
Declaration
IEnumerable<T> GetItems<T>(Expression<Func<T, bool>> predicate, Func<T, object> orderKeySelector = null, bool asc = true, int? skip = null, int? max = null)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
Expression<Func<T, System.Boolean>> |
predicate |
|
Func<T, System.Object> |
orderKeySelector |
|
System.Boolean |
asc |
|
System.Nullable<System.Int32> |
skip |
|
System.Nullable<System.Int32> |
max |
|
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
GetItems<T>(IEnumerable<Int32>)
Declaration
IEnumerable<T> GetItems<T>(IEnumerable<int> idList)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
IEnumerable<System.Int32> |
idList |
|
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
IEnumerable<T> GetRelatedItems<T>(int referenceId)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
System.Int32 |
referenceId |
|
Returns
Type |
Description |
IEnumerable<T> |
|
Type Parameters
|
Improve this Doc
View Source
GetSingleItem<T>()
Declaration
T GetSingleItem<T>()
where T : class
Returns
Type Parameters
|
Improve this Doc
View Source
RebuildIndex<T>(Expression<Func<T, Object>>, Boolean)
Declaration
void RebuildIndex<T>(Expression<Func<T, object>> predicate, bool unique = false)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
Expression<Func<T, System.Object>> |
predicate |
|
System.Boolean |
unique |
|
Type Parameters
|
Improve this Doc
View Source
UpdateItem<T>(T)
Declaration
void UpdateItem<T>(T item)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
T |
item |
|
Type Parameters
|
Improve this Doc
View Source
UpdateItems<T>(IEnumerable<T>)
Declaration
void UpdateItems<T>(IEnumerable<T> items)
where T : BasicExportImportDto
Parameters
Type |
Name |
Description |
IEnumerable<T> |
items |
|
Type Parameters
|
Improve this Doc
View Source
UpdateSingleItem<T>(T)
Declaration
T UpdateSingleItem<T>(T item)
where T : class
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Type Parameters
Extension Methods