public override void Execute() { if (this.ConnectionType == ETLBox.ConnectionManager.ConnectionManagerType.SQLLite) Rows = (int)new SqlTask(this, Sql).ExecuteScalar<long>(); else Rows = new SqlTask(this, Sql).ExecuteScalar<int>(); }
public void Execute() { Rows = new SqlTask(this, Sql).ExecuteScalar <int>(); }