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); }
public TypeMember(TypeTemplateBase template, DataRow row) : base(template.Domain, row) { this.template = template; }