internal void Parse(Command cmd) { if (SqlText.Length > 0) { cmd.SqlText.Append(" where ").Append(SqlText); foreach (Parameter p in Parameters) { cmd.AddParameter(p); } } }
public static Command GetThreadCommand() { if (_threadCommand == null) _threadCommand = new Command(string.Empty); _threadCommand.Clean(); return _threadCommand; }