public static void CompareSql(DbContext db, DbOperateBase ope, string sql) { DbOperateBase operate = (DbOperateBase)ope; var comands = new DbOperateCommandCollection(operate.Executor); comands.NextCommand(); var generatesql = ope.GenerateSql(); CompareSql(sql, generatesql); }
/// <inheritdoc/> internal override void RegisteOperate(DbOperateBase operate) { Operate = operate; _Statement = operate.GenerateSql(); }