protected void btnSendFieldConfig_Click(object sender, EventArgs e)
 {
     SysFieldconfig sfc = new SysFieldconfig();
     sfc.Xsid = Guid.NewGuid().ToString();
     sfc.Tableid = txtTableID.Text;
     sfc.Fieldname = txtFieldName.Text;
     sfc.Fieldnamech = txtFieldNameCh.Text;
     sfc.Showmaxlength = Convert.ToInt32(txtShowMaxLength.Text);
     sfc.Showsort = Convert.ToInt32(txtShowSort.Text);
     sfc.Ispk = rblIsPK.SelectedValue;
     sfc.Isshow = rblIsShow.SelectedValue;
     sfc.Isselect = rblIsSelect.SelectedValue;
     sfc.Isinttype = rblIsIntType.SelectedValue;
     sfc.Isfk = rblIsFK.SelectedValue;
     sfc.Fktablename = txtFKTableName.Text;
     sfc.Fktablepk = txtFKTablePK.Text;
     sfc.Fktablefield = txtFKTableField.Text;
     sfc.Regextypeid = ddlRegexType.SelectedValue;
     sfc.Edittypeid = ddlEditType.SelectedValue;
     sfc.Regrxtext = txtRegexText.Text;
     sfc.Keytableid = ddlKeyTableID.SelectedValue;
     sfc.Isedit = rblIsEdit.SelectedValue;
     sfc.Editsort = Convert.ToInt32(txtEditSort.Text);
     sfc.Editmaxlength = Convert.ToInt32(txtEditMaxLength.Text);
     sfc.Editminlength = Convert.ToInt32(txtEditMinLength.Text);
     sfc.Ismust = rblIsMust.SelectedValue;
     BizSysFieldconfig.Insert(sfc);
     ClertTxtVal();
 }
		public static int Delete(SysFieldconfig model,object trans)
		{
			if(model != null && trans !=null )
				return baseOperate.Delete(model,trans);	
			else
				throw new ApplicationException("在dbo.sys_FieldConfig中删除一条记录时,传递的参数model,trans有错误!");
		}
		public static int Delete(SysFieldconfig model)
		{
			if(model != null)
				return baseOperate.Delete(model);	
			else
				throw new ApplicationException("在dbo.sys_FieldConfig中删除一条记录时,传递的参数model为Null!");;
		}
		public static int Insert(SysFieldconfig model)
		{
			if(model != null)
				return baseOperate.Insert(model);
			else
				throw new ApplicationException("在dbo.sys_FieldConfig中增加一条记录时,传递的参数model为Null!");
		}
		public static bool Exists(SysFieldconfig model)
		{
			if(model != null )
				return baseOperate.Exists(model);	
			else
				throw new ApplicationException("在dbo.sys_FieldConfig中查询某条记录是否存在时,传递的参数model为Null!");
					
		}
		public  static SysFieldconfig GetModel(SysFieldconfig model)
		{
			if(model != null )
				return baseOperate.GetModel(model);	
			else
				throw new ApplicationException("根据主键获取dbo.sys_FieldConfig中的一条记录时,传递的参数model为Null!");
					
		}