T[] IObjectEntity <T> .Query(T item) { IObjectEntity <T> d = this; List <T> list = new List <T>(); d.Query(item, rd => list.Add(rd)); return(list.ToArray()); }
public void Pop(IObjectEntity upper = null) { container.Append("{").Append(obj); if (PropertyName != null) { container.Append($"\"{PropertyName}\":\"{ObjId}\","); } if (upper != null && UpperPropertyName != null) { container.Append($"\"{UpperPropertyName}\":\"{upper.ObjId}\","); } container.Remove(container.Length - 1, 1).Append("},"); if (Count % defaultBlockSize == 0) { Clear(); } }
public Conditions(Conditions con, IObjectEntity <T> entity) { this.Wherer = con; this.IWherer = con; this.entity = entity; }
public Conditions(IObjectEntity <T> entity) { this.Wherer = new Conditions(); this.IWherer = this.Wherer;; this.entity = entity; }
T IObjectEntity <T> .Single() { IObjectEntity <T> d = this; return(d.Single(default(T))); }
T[] IObjectEntity <T> .Query(int start, int limit) { IObjectEntity <T> d = this; return(d.Query(default(T), start, limit)); }
T[] IObjectEntity <T> .Query() { IObjectEntity <T> d = this; return(d.Query(default(T))); }
void IObjectEntity <T> .Query(int start, int limit, DataReader <T> dr) { IObjectEntity <T> d = this; d.Query(default(T), start, limit, dr); }
void IObjectEntity <T> .Query(DataReader <T> reader) { IObjectEntity <T> d = this; d.Query(default(T), reader); }
public void Dump(IObjectEntity objectEntity) { throw new NotImplementedException(); }
public void Eat(IObjectEntity food) { throw new NotImplementedException(); }