privatevoidbtnCreateEntity_Click(objectsender,EventArgse){HeaderOfEntityHeaderOfEntity=newHeaderOfEntity();DataTabledt=newDataTable();#region实例化一个实体,并为这个实体类赋值//实体类名不能为空if(txtClassName.Text==""){Message