public static void Test1() { obj = new SchemaObject(); //obj.Subscribe(args => //{ // var xx = args.LocationName+args.Value; //}); }
public SchemaObject GetParentObject() { if (ParentObjectID == null) return null; else if (cached_ParentObject == null) { cached_ParentObject = App.Schema.GetSampleObject<SchemaObject>((Guid)ParentObjectID); } return cached_ParentObject; }
public virtual void firePropertyChanged(string propertyName) { needSave = true; // columnsByName.Clear(); cached_ParentObject = null; if (PropertyChanged != null) PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); }