Exemple #1
0
        public override void UpdateFrom(EntityMetaData sourceMetaData, ISession session)
        {
            var sourceSimulation = sourceMetaData as SimulationMetaData;

            if (sourceSimulation == null)
            {
                return;
            }
            base.UpdateFrom(sourceSimulation, session);

            HistoricalResults.UpdateFrom <string, DataRepositoryMetaData>(sourceSimulation.HistoricalResults, session);
        }
Exemple #2
0
 public virtual void AddChild(EntityMetaData childToAdd)
 {
     Children.Add(childToAdd);
 }
Exemple #3
0
 /// <summary>
 /// This method is called when updating an entity that was already saved in the database
 /// </summary>
 public virtual void UpdateFrom(EntityMetaData sourceMetaData, ISession session)
 {
     UpdateContentFrom(sourceMetaData);
 }