public void Import(ate.Definitions.Module sourceModule) { this.Map(sourceModule); if (sourceModule.Entities != null) { foreach (var baseEntity in sourceModule.Entities) { if (Entities == null) { Entities = new List <Entity>(); } Entities.Add(new Entity(baseEntity)); } } }
public Module(ate.Definitions.Module baseModule) { this.Import(baseModule); }