public List<T> Find<T>(DataObject condition, bool fuzzy = false, string order = null, int limit = int.MaxValue, T start = null) where T : DataObject, new() { return Find<T>(new List<DataObject>() { condition }, fuzzy, order, limit, start); }
public Dictionary <String, String> Compare(DataObject comparedObject) { return(this.ToDictionary().Where(entry => comparedObject.ToDictionary()[entry.Key] != entry.Value).ToDictionary(entry => entry.Key, entry => entry.Value)); }
public int Save(DataObject o, bool fullUpdate = false) { var collection = GetCollection(o); collection.Add(o); return 1; }
public DataRelationship(DataObject local, DataObject remote, String field) : this(local, field, remote, field) { }