/// <summary> /// 创建表语句 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void Button1_Click(object sender, EventArgs e) { //d472d522-d99d-45b1-a5df-43271a800d3a 4cf34d72-1736-44dc-88cd-e9e9d901621f ETLEntity entity = new ETLEntity(); entity = (ETLEntity)DESchemaObjectAdapter.Instance.Load(txt_JobID.Text.Trim()); TextBox1.Text = ETLTools.ETLEntityConvertToSql(entity); }
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (!Request.QueryString["Code"].IsNullOrEmpty()) { //etl实体编码 string etlCode = Request.QueryString["Code"].Trim(); ETLEntity etlEntity = DESchemaObjectAdapter.Instance.Load(etlCode) as ETLEntity; if (etlEntity != null) { txt_CreateSql.Text = ETLTools.ETLEntityConvertToSql(etlEntity); } } } }