'Declaration Public Property PassParametersByName As Boolean
public bool PassParametersByName {get; set;}
'Declaration Public Property PassParametersByName As Boolean
public bool PassParametersByName {get; set;}
With this property set to false, a procedure will be called like "Proc(:param1, :param2)" or "Proc(:param2, :param1)" subject to parameters order. If true, the statement will be like "Proc(param2 => :param2, param1 => :param1)", thus result will be the same regardless of parameters order.
This property can be used with any value of the ParameterCheck property. Ignored if CommandType is other than CommandType.StoredProcedure.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2