Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public virtual void AddChild(EntityMetaData childToAdd)
 {
     Children.Add(childToAdd);
 }
Ejemplo n.º 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);
 }