Example #1
0
 public void OnSelectedEntityChanged()
 {
     PrimaryKeyPropertiesIndex = -1;
     EntityPropertiesIndex     = -1;
     EntityProperties.Clear();
     PrimaryKeyProperties.Clear();
 }
 public void OnSelectedEntityChanged()
 {
     ForeignKeyPropertiesIndex = -1;
     EntityPropertiesIndex     = -1;
     EntityProperties.Clear();
     ForeignKeyProperties.Clear();
 }
 public void CollectEntityScalarProperties()
 {
     ForeignKeyProperties.Clear();
     ForeignKeyPropertiesIndex = -1;
     EntityProperties.Clear();
     EntityPropertiesIndex = -1;
     if (SelectedEntity == null)
     {
         return;
     }
     if (SelectedEntity.CodeElementRef == null)
     {
         return;
     }
     (SelectedEntity.CodeElementRef as CodeClass).
     CollectCodeClassAllMappedScalarProperties(EntityProperties);
 }