Commit Graph
23 Commits
Author SHA1 Message Date
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05:00
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Marek Habersack c8e70f1fc5 2010-06-03 Marek Habersack <[email protected]>
* Parameter.cs, ControlParameter.cs, SessionParameter.cs,
	CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
	QueryStringParameter.cs: Evaluate is 'protected internal virtual'
	in 4.0.

	* RouteParameter.cs: implemented.

svn path=/trunk/mcs/; revision=158371
2010-06-02 23:12:20 +00:00
Marek Habersack 287b184544 2010-01-18 Marek Habersack <[email protected]>
* Parameter.cs: added missing 3.5 APIs - constructors taking
	DbType as one of the parameters, ConvertDbTypeToTypeCode,
	ConvertTypeCodeToDbType and GetDatabaseType. Fixes bug #567850

2010-01-18  Marek Habersack  <[email protected]>

	* ParameterTest.cs: added tests for ConvertDbTypeToTypeCode,
	ConvertTypeCodeToDbType and constructors taking DbType as one of
	the parameters.

svn path=/trunk/mcs/; revision=149778
2010-01-18 22:34:03 +00:00
Gonzalo Paniagua Javier c2aad5b0ae 2009-06-29 Gonzalo Paniagua Javier <[email protected]>
* Parameter.cs: add new DbType property.


svn path=/trunk/mcs/; revision=137117
2009-06-29 22:10:45 +00:00
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Igor Zelmanovich eaf1c58f5a 2007-03-01 Igor Zelmanovich <[email protected]>
* Parameter.cs:
	* ParameterCollection.cs:	
	fixed GetValue/s  and UpdateValue/s. 


svn path=/trunk/mcs/; revision=73586
2007-03-01 13:08:04 +00:00
Vladimir Krasnov c3ff67b287 * Parameter.cs: fixed ConvertValue to coorect handle TypeCode.Empty
* ObjectDataSourceView.cs: fixed MergeParameterValues, call Parameter.ConvertValue, fixed ConvertParameter to hanlde TypeCode.Empty
* SqlDataSourceView.cs: fixed InitializeParameters, call Parameter.ConvertValue, fixed ParameterPrefix property, fixed CreateDbParameter, added usege of ParameterPrefix

svn path=/trunk/mcs/; revision=70115
2006-12-27 10:01:17 +00:00
Igor Zelmanovich a26fb314f5 2006-11-22 Igor Zelmanovich <[email protected]>
* Parameter.cs: fixed Evaluate, ToString methods.
	* QueryStringParameter.cs: fixed Evaluate method.
	* SessionParameter.cs: fixed Evaluate method.


svn path=/trunk/mcs/; revision=68335
2006-11-22 09:59:31 +00:00
Chris Toshok 885cbe5bda 2006-02-22 Chris Toshok <[email protected]>
* ParameterCollection.cs: add an EditorAttribute to the class.

	* Parameter.cs: cleanup, fix the Value property, and implement the
	Size property.

	* SqlDataSourceView.cs: clean things up a bit, and add handling
	for parameters.


svn path=/trunk/mcs/; revision=57191
2006-02-23 02:47:50 +00:00
Sebastien Pouliot 9474837730 2005-09-15 Sebastien Pouliot <[email protected]>
* DataControlField.cs, HotSpot.cs, MenuItem.cs, Parameter.cs, 
	Style.cs, TreeNode.cs: Replace _empty_ StateBag.SetDirty () with 
	StateBag.SetDirty (true).


svn path=/trunk/mcs/; revision=50105
2005-09-15 20:56:42 +00:00
Lluis Sanchez 2ea848c73e 2005-04-14 Lluis Sanchez Gual <[email protected]>
* DetailsView.cs: Implemented support for Insert operation. 
	Added header and footer templates. Added missing style
	properties. 
	* ObjectDataSourceView.cs: Use ParameterCollection.GetValues
	to get filter values. Other minor fixes.
	* CommandField.cs: Properly render the Insert and New buttons.
	* ObjectDataSource.cs: Update the parameter collections after
	the page is loaded. This will fire the ParameterChanged event
	if needed.
	* DataBoundControl.cs: The OnDataSourceViewChanged method
	is called when the view changes, not when the datasource
	changes.
	
	* DetailsViewInsertedEventArgs.cs:
	* DetailsViewInsertEventArgs.cs: Implement Values property.
	
	* ImageField.cs:
	* AutoGeneratedField.cs
	* BoundField.cs:
	* CheckBoxField.cs:
	Take into account the Insert mode.
	
	* ParameterCollection.cs: Implemented UpdateValues and fixed
	GetValues (values can't be cached because can change).
	* Parameter.cs: Detect value changes in GetValue, and fire
	the change event if needed. Removed unused ParameterValue
	property. Other fixes.


svn path=/trunk/mcs/; revision=42997
2005-04-14 12:24:07 +00:00
Lluis Sanchez eefe5a8604 2005-04-01 Lluis Sanchez Gual <[email protected]>
* ButtonField.cs: Mostly implemented.
	* DataControlFieldHeaderCell.cs: Implemented.
	* ObjectDataSourceView.cs: Initial implementation.
	* DataControlButton.cs: Added support for real buttons.
	* Label.cs, DataControlField.cs: Flush.
	* ObjectDataSource.cs: Initial implementation.
	* HiddenField.cs: Added class stub.
	* GridView.cs: Load autogenerated field properties before
	creating the children, to make sure that column info is ready.
	* ControlParameter.cs: Implemented Evaluate method.
	* ImageField.cs: Added class stub.
	* BoundField.cs: Added HtmlEncode property.
	* DataControlFieldCell.cs: Moved AccessibleDataControlFieldCell
	to its own file.
	* CheckBoxField.cs: Mostly implemented.
	* TemplateField.cs: Added class stub.
	* ObjectDataSourceSelectingEventArgs.cs: Added missing property.
	* ObjectDataSourceMethodEventArgs.cs: Fixed base class.
	* Parameter.cs: Added internal GetValue method (Evaluate is protected)


svn path=/trunk/mcs/; revision=42469
2005-04-01 17:29:21 +00:00
Lluis Sanchez 300c4162b7 2005-02-02 Lluis Sanchez Gual <[email protected]>
* Button.cs, MonthChangedEventArgs.cs, FontInfo.cs, Xml.cs, Style.cs,
	CookieParameter.cs, HyperLinkColumn.cs, Table.cs,
	RegularExpressionValidator.cs, WizardNavigationEventArgs.cs,
	ServerValidateEventArgs.cs, Menu.cs, DataControlField.cs,
	DataGridPagerStyle.cs, Label.cs, CheckBox.cs, ListItem.cs,
	RadioButton.cs, TableStyle.cs, ListControl.cs, Image.cs,
	BaseCompareValidator.cs, FontUnit.cs, DataListCommandEventArgs.cs,
	IButtonControl.cs, BaseDataList.cs, DataList.cs, BulletedList.cs,
	RangeValidator.cs, DataBoundControl.cs, ControlParameter.cs,
	RepeaterItemEventArgs.cs, SqlDataSource.cs, BaseValidator.cs,
	CustomValidator.cs, MenuItem.cs, SessionParameter.cs, TextBox.cs,
	QueryStringParameter.cs, Content.cs, ContentPlaceHolder.cs,
	CheckBoxList.cs, RepeaterCommandEventArgs.cs, RadioButtonList.cs,
	RequiredFieldValidator.cs, AdRotator.cs, DataListItemEventArgs.cs,
	DataGridSortCommandEventArgs.cs, Repeater.cs,
	MenuItemTemplateContainer.cs, HyperLink.cs, SqlDataSourceView.cs,
	XmlDataSource.cs, MultiView.cs, DataGridCommandEventArgs.cs,
	Panel.cs, CompositeControl.cs, DataGrid.cs, ButtonColumn.cs,
	CompareValidator.cs, HierarchicalDataBoundControl.cs,
	EditCommandColumn.cs, Calendar.cs, SiteMapDataSource.cs, 
	ListBox.cs, TableCell.cs, ObjectDataSourceSelectingEventArgs.cs,
	ObjectDataSourceMethodEventArgs.cs,DataGridPageChangedEventArgs.cs,
	WebControl.cs, BaseDataBoundControl.cs, FormParameter.cs,
	ValidationSummary.cs, View.cs, ImageButton.cs, TableRow.cs,
	LinkButton.cs, DataGridColumn.cs, Parameter.cs, TableItemStyle.cs,
	AdCreatedEventArgs.cs:
	
	General 2.0 API fixes: missing attributes, incorrect inheritance,
	missing sealed keywords, wrong signatures, etc.


svn path=/trunk/mcs/; revision=39994
2005-02-02 16:24:08 +00:00
Sanja Gupta ee356822ed ChangeLog: Updated ChangeLog.
Parameter.cs: Updated and completed implementation.

svn path=/trunk/mcs/; revision=34666
2004-10-04 12:04:22 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gert Driesen 64c5bf5b67 * Parameter.cs:
* SqlDataSourceCommandEventArgs:
* XmlDataSource.cs : removed temporary workarounds for CLS
compliance as System.Data is now CLS compliant

svn path=/trunk/mcs/; revision=26983
2004-05-09 11:34:35 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Ben Maurer 2aea421381 build fixes, someone should do the correct thing...
svn path=/trunk/mcs/; revision=25062
2004-04-05 22:16:27 +00:00
Todd Berman 288f8abdd5 2003-11-18 Todd Berman <[email protected]>
* ControlParameter.cs:
        * CookieParameter.cs:
        * FormParameter.cs:
        * QueryStringParameter.cs:
        * SessionParameter.cs: added public .ctor ()
        * Parameter.cs: added public .ctor (), internal SetOwnerCollection
        and handling, as well as internal ParameterValue for easy access.
        NOTE: ParameterValue doesnt respect TreatEmptyStringAsNull yet.
        * ParameterCollection.cs: implementation redux.

svn path=/trunk/mcs/; revision=20213
2003-11-19 04:47:13 +00:00
Ben Maurer 3dafbfdc30 I am reverting todd's patch because it kills the build on the generics tree
svn path=/trunk/mcs/; revision=20204
2003-11-18 22:39:00 +00:00
Todd Berman 7e9e390ccf 2003-11-18 Todd Berman <[email protected]>
* ParameterCollection.cs: Implemented
        * Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
        ToString () now matches asp.net

svn path=/trunk/mcs/; revision=20177
2003-11-18 16:56:19 +00:00
Ben Maurer d0ac8392d4 2003-11-17 Ben Maurer <[email protected]>
* StateManagedCollection.cs: Implement.

2003-11-17 Ben Maurer  <[email protected]>

	* ControlParameter.cs:
	* CookieParameter.cs:
	* FormParameter.cs:
	* Parameter.cs:
	* QueryStringParameter.cs: New v2 files. Mostly
	implemented, still need a few methods.

svn path=/trunk/mcs/; revision=20146
2003-11-17 23:03:01 +00:00