/// <inheritdoc /> public long Count(Search search = null, ResultOption resultOption = null) { lock (BaseTable) { return(BaseTable.Count(search, resultOption)); } }
/// <inheritdoc /> public IList <Row> GetRows(Search search = null, ResultOption resultOption = null) { lock (BaseTable) { return(BaseTable.GetRows(search, resultOption)); } }
/// <inheritdoc /> public Row GetRow(Search search = null, ResultOption resultOption = null) { lock (BaseTable) { return(BaseTable.GetRow(search, resultOption)); } }
/// <inheritdoc/> public Row GetRow(Search search = null, ResultOption resultOption = null) { var row = Table.GetRow(search, resultOption); if (resultOption.Mode != ResultOptionMode.Group) { Cache.Replace(row); } return(row); }
/// <inheritdoc/> public abstract IList <Row> GetRows(Search search = default, ResultOption resultOption = default);
/// <inheritdoc/> public abstract Row GetRow(Search search = default, ResultOption resultOption = default);
/// <inheritdoc/> public abstract long Count(Search search = default, ResultOption resultOption = default);
/// <inheritdoc /> public long Count(Search search = null, ResultOption resultOption = null) => BaseTable.Count(search, resultOption);
/// <inheritdoc /> public IList <TStruct> GetStructs(Search search = null, ResultOption resultOption = null) => GetRows(search, resultOption).Select(r => r.GetStruct <TStruct>(Layout)).ToList();
/// <inheritdoc /> public TStruct GetStruct(Search search = null, ResultOption resultOption = null) => GetRow(search, resultOption).GetStruct <TStruct>(Layout);
/// <inheritdoc /> public IList <Row> GetRows(Search search = null, ResultOption resultOption = null) => BaseTable.GetRows(search, resultOption);
/// <inheritdoc /> public Row GetRow(Search search = null, ResultOption resultOption = null) => BaseTable.GetRow(search, resultOption);
/// <inheritdoc /> public IDictionary <TKey, TStruct> GetDictionary(Search search = null, ResultOption resultOption = null) => GetRows(search, resultOption).ToDictionary(r => (TKey)r[KeyField.Index], r => r.GetStruct <TStruct>(Layout));
/// <inheritdoc /> public virtual long Count(Search search = default, ResultOption resultOption = default) => ReadLocked(() => BaseTable.Count(search, resultOption));
/// <inheritdoc /> public IList <Row> GetRows(Search search = default, ResultOption resultOption = default) => ReadLocked(() => BaseTable.GetRows(search, resultOption));
/// <inheritdoc /> public Row GetRow(Search search = default, ResultOption resultOption = default) => ReadLocked(() => BaseTable.GetRow(search, resultOption));