Interface IEntitySet
Assembly: LemonEdge.Database.Connector.dll
Syntax
public interface IEntitySet
Methods
DeleteItem(IBaseEntity)
Declaration
Task<IBaseEntity> DeleteItem(IBaseEntity item)
Parameters
Returns
DeleteItem(IBaseEntity, UserInfo)
Declaration
Task<IBaseEntity> DeleteItem(IBaseEntity item, UserInfo user)
Parameters
Returns
DeleteSubItems(IEnumerable<IBaseEntity>)
Declaration
Task DeleteSubItems(IEnumerable<IBaseEntity> parentItems)
Parameters
Returns
ExecuteQuery(IQueryable)
Declaration
Task<IEnumerable<IBaseEntity>> ExecuteQuery(IQueryable query)
Parameters
Returns
ExecuteQueryCount(IQueryable)
Declaration
Task<int> ExecuteQueryCount(IQueryable query)
Parameters
Returns
GetCreationRecord(long, Guid)
Declaration
Task<(DateTimeOffset LastUpdated, Guid ModifiedBy)> GetCreationRecord(long accountID, Guid id)
Parameters
Type |
Name |
Description |
long |
accountID |
|
Guid |
id |
|
Returns
GetDistinctModifiedBys(long, Guid)
Declaration
Task<IEnumerable<Guid>> GetDistinctModifiedBys(long accountID, Guid id)
Parameters
Type |
Name |
Description |
long |
accountID |
|
Guid |
id |
|
Returns
GetFromSQL(string)
Declaration
IQueryable GetFromSQL(string sql)
Parameters
Type |
Name |
Description |
string |
sql |
|
Returns
GetItems(long, Guid?, Guid, bool)
Declaration
IQueryable GetItems(long accountID, Guid? canvasID, Guid teamID, bool useLabels)
Parameters
Returns
GetItemsAsOf(long, Guid?, Guid, bool, DateTimeOffset)
Declaration
IQueryable GetItemsAsOf(long accountID, Guid? canvasID, Guid teamID, bool useLabels, DateTimeOffset asOfDate)
Parameters
Returns
GetItemsFromRawSQL(string)
Declaration
Task<IBaseEntity[]> GetItemsFromRawSQL(string sql)
Parameters
Type |
Name |
Description |
string |
sql |
|
Returns
InsertItem(IBaseEntity)
Declaration
Task InsertItem(IBaseEntity item)
Parameters
Returns
InsertItem(IBaseEntity, UserInfo)
Declaration
Task InsertItem(IBaseEntity item, UserInfo user)
Parameters
Returns
UpdateItem(IBaseEntity)
Declaration
Task UpdateItem(IBaseEntity item)
Parameters
Returns
UpdateItem(IBaseEntity, UserInfo)
Declaration
Task UpdateItem(IBaseEntity item, UserInfo user)
Parameters
Returns
Extension Methods