示例#1
0
        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));
                }
            }
        }
示例#2
0
 public Module(ate.Definitions.Module baseModule)
 {
     this.Import(baseModule);
 }