Example #1
0
 public AChildList GetChildList()
 {
     if (FieldManager.FieldExists(ChildListProperty))
     {
         return(ReadProperty <AChildList>(ChildListProperty));
     }
     else
     {
         return(null);
     }
 }
Example #2
0
 protected override void DataPortal_Update()
 {
     if (FieldManager.FieldExists(ManagedChildProperty))
     {
         ManagedChild.Update();
     }
     if (FieldManager.FieldExists(ManagedChildListProperty))
     {
         ManagedChildList.Update();
     }
 }
Example #3
0
 protected override void DataPortal_Insert()
 {
     //FieldManager.UpdateChildren();
     if (FieldManager.FieldExists(ManagedChildProperty))
     {
         ManagedChild.Insert();
     }
     if (FieldManager.FieldExists(ManagedChildListProperty))
     {
         ManagedChildList.Update();
     }
 }
Example #4
0
 private void Child_Update(List <DataAccess.DataModels.DistinguishingFeature> list)
 {
     using (BypassPropertyChecks)
     {
         var feature = new DataAccess.DataModels.DistinguishingFeature();
         feature.Id          = Id;
         feature.Description = Description;
         if (FieldManager.FieldExists(PhotoReference))
         {
             feature.FileReference = new DataAccess.DataModels.FileReference();
             DataPortal.UpdateChild(FileReference, feature.FileReference);
         }
         list.Add(feature);
     }
 }
Example #5
0
 bool IManageProperties.FieldExists(Core.IPropertyInfo property)
 {
     return(FieldManager.FieldExists(property));
 }
        public void FieldExistsTest5()
        {
            TurnSystem.InitializeData();

            Assert.AreEqual(false, FieldManager.FieldExists(new Vector3(11, 0, 11)));
        }
        public void FieldExistsTest4()
        {
            TurnSystem.InitializeData();

            Assert.AreEqual(true, FieldManager.FieldExists(new Vector3(10, 0, 10)));
        }