Share via


Add Method

Adds a SqlCeParameter to the SqlCeCommand.

Overload List

  Name Description
Public method Add(Object) Adds a SqlCeParameter object to the SqlCeCommand. (Overrides DbParameterCollection. . :: . .Add(Object).)
Public method Add(SqlCeParameter) Adds the specified SqlCeParameter to the SqlCeParameterCollection.
Public method Add(String, SqlDbType) Adds a SqlCeParameter to the SqlCeParameterCollection given the parameter name and data type.
Public method Add(String, Object) Adds a SqlCeParameter to the SqlCeParameterCollection given the parameter name and value.
Public method Add(String, SqlDbType, Int32) Adds a SqlCeParameter to the SqlCeParameterCollection given the parameter name, data type, and column width.
Public method Add(String, SqlDbType, Int32, String) Adds a SqlCeParameter to the SqlCeCommand given the parameter name, data type, column width, and source column name.

Top

See Also

Reference

SqlCeParameterCollection Class

SqlCeParameterCollection Members

System.Data.SqlServerCe Namespace