mDatabaseList

Summary

Database list class. Manage the list of objects handled by mDatabaseItem. You need to specify the path above the bottom base nest. List<mDatabaseItem> Keep in the form of.

Relation

mUniSm.Core.Internal.UIDataList
mDatabaseItem
System.Collections.Generic.IEnumerable

Property

isWatching Gets a value indicating whether this instance is watching the value change.
isUpdating Gets a value indicating whether this instance is updating.
isAutomaticallyUpdated Gets a value indicating whether this instance is automatically updated.
orderBy Order for sorting
thenBy Order for sorting Apply when the first sort is equivalent
orderByKey Compare key for sorting
thenByKey Compare key for sorting Apply when the first sort is equivalent
UID UID of data (name of parent's data path).

Method

Request(System.String,mDatabaseQuery) Request to load list. If there is no query, read all the nested objects. Database list class. Manage the list of objects handled by mDatabaseItem. You need to specify the path above the bottom base nest. List<mDatabaseItem> Keep in the form of.
RequestOnce(System.String,mDatabaseQuery) Request to load list (Read once only). If there is no query, read all the nested objects. Database list class. Manage the list of objects handled by mDatabaseItem. You need to specify the path above the bottom base nest. List<mDatabaseItem> Keep in the form of.
RequestAutomaticallyUpdate(System.String,mDatabaseQuery) Request to load list (Always monitoring). If there is no query, read all the nested objects. Database list class. Manage the list of objects handled by mDatabaseItem. You need to specify the path above the bottom base nest. List<mDatabaseItem> Keep in the form of.
RequestQueries(System.String,System.Collections.Generic.List{mDatabaseQuery}) Request to load list (Loading with multiple queries). If there is no query, read all the nested objects. Database list class. Manage the list of objects handled by mDatabaseItem. You need to specify the path above the bottom base nest. List<mDatabaseItem> Keep in the form of.
SetQuery(mDatabaseQuery) Sets the query and reload data.
RequestRelated(System.String,System.Func{mDatabaseItem,System.String},mDatabaseQuery) Additional load from own elements.
RequestRelatedOnce(System.String,System.Func{mDatabaseItem,System.String},mDatabaseQuery) Additional load from own elements (One time only).
RequestRefresh( ) Reload data. Data read with RequestAutomaticallyUpdate can not be updated. Please use Request or RequestOnce.
RequestNext( ) Additional loading of elements. Data read with RequestAutomaticallyUpdate can not be updated. Please use Request or RequestOnce.
GetItemOrCreateEmpty(System.String,System.String) Obtain mDatabaseItem. If it does not exist, CreateEmpty is new.
ContainsUID(System.String) Determines whether the specified uid contains uid.
PushToServer(mDatabaseItem,System.Int64,System.Int32,System.Boolean) Push data as stack (Request to server). Fail if it is not created from empty data with path.
Peek( ) Get the peek of the list.
PopFromServer( ) Get the peek of the list and pop the stack.
RemoveFromServer(mDatabaseItem[]) Delete from server.
RemoveFromServer(System.Collections.Generic.List{mDatabaseItem}) Delete from server.
RemoveFromServer(System.String[]) Delete from server.
RemoveAllFromServer( ) Delete all the list from server.
RemoveFromServer(System.Collections.Generic.List{System.String}) Delete from server.
RemoveFromServer(System.Func{mDatabaseItem,System.Boolean}) Delete from server (Search and delete items that meet your criteria).
Dispose(System.Boolean) Destroy task
op_Addition(mDatabaseList,mDatabaseItem) Add item.
op_Subtraction(mDatabaseList,mDatabaseItem) Remove item.
OrderByAsc<T>(System.String) Sort in ascending order based on the given key
OrderByDesc<T>(System.String) Sort in descending order based on the given key
ThenByAsc<T>(System.String) Sort when the same value was set for the first sort (ascending order)
ThenByDesc<T>(System.String) Sort when the same value was set for the first sort (descending order)
OrderByAsc<T>(System.String,System.String,mListOrderBy) Sort in ascending order based on the given key
OrderByDesc<T>(System.String,System.String,mListOrderBy) Sort in descending order based on the given key
CloneEmpty<T>(System.String) Create empty. Path information and task status are cloned.
Clone<T>(System.String) Create clone. Path information and task status are cloned.
Apply(mDatabaseItem@,System.String) Search list and apply first found to value
Apply(mDatabaseItem@,System.Func{mDatabaseItem,System.Boolean}) Search list and apply first found to value
Each(System.Action{mDatabaseItem}) Foreach action like LINQ
SelectTask(System.Func{mDatabaseItem,mTask}) Create a task list in a way like the Select() method of LINQ
Select(System.Func{mDatabaseItem,mDatabaseItem}) Manipulate the list in a way like the Select() method of LINQ
Where(System.Func{mDatabaseItem,System.Boolean}) Filter the list in a way like the Where() method of LINQ
All(System.Func{mDatabaseItem,System.Boolean}) Returns true when you match all of the conditions like the All() method of LINQ
Any(System.Func{mDatabaseItem,System.Boolean}) Returns true if there is even one that meets the condition like the Any() method of LINQ
Limit(System.Int32) Filter list by number All elements above limitCount are truncated
First(System.Func{mDatabaseItem,System.Boolean}) Retrieve the first element that meets the condition
Last(System.Func{mDatabaseItem,System.Boolean}) Retrieve the last element that meets the condition
OrderByAsc(System.String) Sort in ascending order based on the given key
OrderByDesc(System.String) Sort in descending order based on the given key
ThenByAsc(System.String) Sort when the same value was set for the first sort (ascending order)
ThenByDesc(System.String) Sort when the same value was set for the first sort (descending order)
OrderByAsc(System.String,System.String,mListOrderBy) Sort in ascending order based on the given key
OrderByDesc(System.String,System.String,mListOrderBy) Sort in descending order based on the given key
Sort(System.Comparison{mDatabaseItem}) Sort according to user-defined processing
ChooseRandomly(System.String) Extract elements randomly from the list

Reference