예제 #1
0
 /// <inheritdoc />
 public long Count(Search search = null, ResultOption resultOption = null)
 {
     lock (BaseTable)
     {
         return(BaseTable.Count(search, resultOption));
     }
 }
예제 #2
0
 /// <inheritdoc />
 public IList <Row> GetRows(Search search = null, ResultOption resultOption = null)
 {
     lock (BaseTable)
     {
         return(BaseTable.GetRows(search, resultOption));
     }
 }
예제 #3
0
 /// <inheritdoc />
 public Row GetRow(Search search = null, ResultOption resultOption = null)
 {
     lock (BaseTable)
     {
         return(BaseTable.GetRow(search, resultOption));
     }
 }
예제 #4
0
        /// <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);
        }
예제 #5
0
 /// <inheritdoc/>
 public abstract IList <Row> GetRows(Search search = default, ResultOption resultOption = default);
예제 #6
0
 /// <inheritdoc/>
 public abstract Row GetRow(Search search = default, ResultOption resultOption = default);
예제 #7
0
 /// <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));
예제 #14
0
 /// <inheritdoc />
 public virtual long Count(Search search = default, ResultOption resultOption = default) => ReadLocked(() => BaseTable.Count(search, resultOption));
예제 #15
0
 /// <inheritdoc />
 public IList <Row> GetRows(Search search = default, ResultOption resultOption = default) => ReadLocked(() => BaseTable.GetRows(search, resultOption));
예제 #16
0
 /// <inheritdoc />
 public Row GetRow(Search search = default, ResultOption resultOption = default) => ReadLocked(() => BaseTable.GetRow(search, resultOption));