public AChildList GetChildList() { if (FieldManager.FieldExists(ChildListProperty)) { return(ReadProperty <AChildList>(ChildListProperty)); } else { return(null); } }
protected override void DataPortal_Update() { if (FieldManager.FieldExists(ManagedChildProperty)) { ManagedChild.Update(); } if (FieldManager.FieldExists(ManagedChildListProperty)) { ManagedChildList.Update(); } }
protected override void DataPortal_Insert() { //FieldManager.UpdateChildren(); if (FieldManager.FieldExists(ManagedChildProperty)) { ManagedChild.Insert(); } if (FieldManager.FieldExists(ManagedChildListProperty)) { ManagedChildList.Update(); } }
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); } }
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))); }