Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Data / System / Data / Common / DBParameter.cs / 1 / DBParameter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.Common { using System; using System.ComponentModel; using System.Data; #if WINFSInternalOnly internal #else public #endif abstract class DbParameter : MarshalByRefObject, IDbDataParameter { // V1.2.3300 protected DbParameter() : base() { } [ Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), RefreshProperties(RefreshProperties.All), ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_DbType), ] abstract public DbType DbType { get; set; } [ EditorBrowsableAttribute(EditorBrowsableState.Advanced) ] public abstract void ResetDbType(); [ DefaultValue(ParameterDirection.Input), RefreshProperties(RefreshProperties.All), ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_Direction), ] abstract public ParameterDirection Direction { get; set; } [ Browsable(false), DesignOnly(true), EditorBrowsableAttribute(EditorBrowsableState.Never) ] abstract public Boolean IsNullable { get; set; } [ DefaultValue(""), ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_ParameterName), ] abstract public String ParameterName { get; set; } byte IDbDataParameter.Precision { // SqlProjectTracking 17233 get { return 0; } set { } } byte IDbDataParameter.Scale { // SqlProjectTracking 17233 get { return 0; } set { } } [ ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_Size), ] abstract public int Size { get; set; } [ DefaultValue(""), ResCategoryAttribute(Res.DataCategory_Update), ResDescriptionAttribute(Res.DbParameter_SourceColumn), ] abstract public String SourceColumn { get; set; } [ DefaultValue(false), EditorBrowsableAttribute(EditorBrowsableState.Advanced), RefreshProperties(RefreshProperties.All), ResCategoryAttribute(Res.DataCategory_Update), ResDescriptionAttribute(Res.DbParameter_SourceColumnNullMapping), ] abstract public bool SourceColumnNullMapping { get; set; } [ DefaultValue(DataRowVersion.Current), ResCategoryAttribute(Res.DataCategory_Update), ResDescriptionAttribute(Res.DbParameter_SourceVersion), ] abstract public DataRowVersion SourceVersion { get; set; } [ DefaultValue(null), RefreshProperties(RefreshProperties.All), ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_Value), ] abstract public object Value { get; set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.Common { using System; using System.ComponentModel; using System.Data; #if WINFSInternalOnly internal #else public #endif abstract class DbParameter : MarshalByRefObject, IDbDataParameter { // V1.2.3300 protected DbParameter() : base() { } [ Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden), RefreshProperties(RefreshProperties.All), ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_DbType), ] abstract public DbType DbType { get; set; } [ EditorBrowsableAttribute(EditorBrowsableState.Advanced) ] public abstract void ResetDbType(); [ DefaultValue(ParameterDirection.Input), RefreshProperties(RefreshProperties.All), ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_Direction), ] abstract public ParameterDirection Direction { get; set; } [ Browsable(false), DesignOnly(true), EditorBrowsableAttribute(EditorBrowsableState.Never) ] abstract public Boolean IsNullable { get; set; } [ DefaultValue(""), ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_ParameterName), ] abstract public String ParameterName { get; set; } byte IDbDataParameter.Precision { // SqlProjectTracking 17233 get { return 0; } set { } } byte IDbDataParameter.Scale { // SqlProjectTracking 17233 get { return 0; } set { } } [ ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_Size), ] abstract public int Size { get; set; } [ DefaultValue(""), ResCategoryAttribute(Res.DataCategory_Update), ResDescriptionAttribute(Res.DbParameter_SourceColumn), ] abstract public String SourceColumn { get; set; } [ DefaultValue(false), EditorBrowsableAttribute(EditorBrowsableState.Advanced), RefreshProperties(RefreshProperties.All), ResCategoryAttribute(Res.DataCategory_Update), ResDescriptionAttribute(Res.DbParameter_SourceColumnNullMapping), ] abstract public bool SourceColumnNullMapping { get; set; } [ DefaultValue(DataRowVersion.Current), ResCategoryAttribute(Res.DataCategory_Update), ResDescriptionAttribute(Res.DbParameter_SourceVersion), ] abstract public DataRowVersion SourceVersion { get; set; } [ DefaultValue(null), RefreshProperties(RefreshProperties.All), ResCategoryAttribute(Res.DataCategory_Data), ResDescriptionAttribute(Res.DbParameter_Value), ] abstract public object Value { get; set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Timer.cs
- ElementNotEnabledException.cs
- XamlGridLengthSerializer.cs
- HttpRuntimeSection.cs
- OpacityConverter.cs
- DBConnectionString.cs
- cookiecontainer.cs
- DisplayNameAttribute.cs
- EntityExpressionVisitor.cs
- SQLByte.cs
- EventArgs.cs
- EventEntry.cs
- PasswordRecovery.cs
- OleAutBinder.cs
- ParameterReplacerVisitor.cs
- PixelShader.cs
- GradientBrush.cs
- TransportSecurityProtocol.cs
- ConstraintEnumerator.cs
- ToolboxComponentsCreatedEventArgs.cs
- SafeEventLogWriteHandle.cs
- ClientApiGenerator.cs
- RIPEMD160Managed.cs
- PingOptions.cs
- SQLInt16.cs
- XmlElementAttributes.cs
- ProfileElement.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- AutomationPropertyChangedEventArgs.cs
- GeneralTransformGroup.cs
- Array.cs
- ToolTipService.cs
- CheckBoxFlatAdapter.cs
- ToolboxControl.cs
- HttpFileCollection.cs
- XmlKeywords.cs
- DoubleSumAggregationOperator.cs
- localization.cs
- EntityDataSourceDataSelectionPanel.cs
- SqlServices.cs
- HttpConfigurationContext.cs
- ProfileModule.cs
- BasicViewGenerator.cs
- Console.cs
- StylusTip.cs
- ParameterToken.cs
- TogglePattern.cs
- Line.cs
- InvalidEnumArgumentException.cs
- XmlAnyElementAttributes.cs
- FirstQueryOperator.cs
- VBIdentifierName.cs
- DesignerOptionService.cs
- EntityParameterCollection.cs
- WorkflowItemsPresenter.cs
- RootNamespaceAttribute.cs
- InProcStateClientManager.cs
- NetworkCredential.cs
- DelegatingHeader.cs
- RemoteDebugger.cs
- DataGridRowClipboardEventArgs.cs
- CompModSwitches.cs
- VersionedStreamOwner.cs
- DescendentsWalker.cs
- HtmlForm.cs
- DataControlLinkButton.cs
- WebBrowserUriTypeConverter.cs
- MonthCalendar.cs
- WSHttpBinding.cs
- ParserHooks.cs
- FieldNameLookup.cs
- ConnectionPoint.cs
- UpdatePanel.cs
- IsolatedStorageFile.cs
- DomNameTable.cs
- OptimisticConcurrencyException.cs
- DesignerTransactionCloseEvent.cs
- FloaterBaseParagraph.cs
- XamlTypeMapper.cs
- SiteOfOriginContainer.cs
- ControlUtil.cs
- PeerResolverBindingElement.cs
- Random.cs
- MimeTypeMapper.cs
- OpCellTreeNode.cs
- WebSysDefaultValueAttribute.cs
- AnonymousIdentificationModule.cs
- TextTreeObjectNode.cs
- WebPartTransformer.cs
- WebRequestModuleElement.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- InvalidDocumentContentsException.cs
- KeyGesture.cs
- CodeCatchClause.cs
- TreeBuilder.cs
- TemplateBindingExtension.cs
- DataGridViewCellLinkedList.cs
- ExpressionNode.cs
- SchemaSetCompiler.cs
- StorageAssociationTypeMapping.cs