ObjectParameter::ParameterType Property
.NET Framework (current version)
Gets the parameter type.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The parameter type can only be set through a constructor.
The example in this topic is based on the AdventureWorks Sales Model. The example adds new parameters to the collection. It iterates through the ObjectParameterCollection and displays the name, type, and value of each parameter in the collection.
.NET Framework
Available since 3.5
Available since 3.5
Show: