摘要: public virtual string GetSqlCommand() { string key =this.GetGuid(); StringBuilder sb = new StringBuilder(" if exists (select * from "+this.GetTableName()+" where "+key+" = '"+this.GetPropertyValue(key)+"')"); sb.AppendLine().Append("Begin"); 阅读全文