public GreyFoxEvent(string tableName, int id) { this.iD = id; this.tableName = tableName; lock (this) { isSynced = GreyFoxEventManager._fill(this); } }
/// <summary> /// Ensures that the object's fields and children are /// pre-loaded before any updates or reads. /// </summary> public void EnsurePreLoad() { if (!isPlaceHolder) { return; } lock (this) { GreyFoxEventManager._fill(this); isPlaceHolder = false; } }