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