Exemplo n.º 1
0
        public TypeMember(TypeTemplateBase template, DataTable table)
            : base(template.Domain, table)
        {
            this.template = template;
            var query = from DataRow item in table.Rows
                        select item.Field <string>("Name");

            var newName = NameUtility.GenerateNewName("Type", query);

            this.SetField(null, "Name", newName);
        }
Exemplo n.º 2
0
 public TypeMember(TypeTemplateBase template, DataRow row)
     : base(template.Domain, row)
 {
     this.template = template;
 }