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
- ScriptMethodAttribute.cs
- ParallelActivityDesigner.cs
- ControlBuilderAttribute.cs
- ProxyGenerationError.cs
- WebPartDisplayModeEventArgs.cs
- HtmlImageAdapter.cs
- XmlC14NWriter.cs
- FilterableAttribute.cs
- BitArray.cs
- ToolBarPanel.cs
- GridViewColumnHeaderAutomationPeer.cs
- EntityDataSourceWizardForm.cs
- XPathNodeInfoAtom.cs
- CollectionMarkupSerializer.cs
- XmlUtil.cs
- ProfileGroupSettingsCollection.cs
- MemberDescriptor.cs
- filewebrequest.cs
- DataSetUtil.cs
- ExtensionWindowResizeGrip.cs
- DataPagerFieldCollection.cs
- AppSecurityManager.cs
- FrameworkElement.cs
- ObjectViewEntityCollectionData.cs
- ColumnResult.cs
- datacache.cs
- WorkBatch.cs
- TimelineClockCollection.cs
- RoutedEventConverter.cs
- UpdateManifestForBrowserApplication.cs
- GridViewRowPresenterBase.cs
- TriggerAction.cs
- EntityDataReader.cs
- BasicCellRelation.cs
- Enum.cs
- TypeConverter.cs
- WebPartDisplayModeCancelEventArgs.cs
- DataGridTableCollection.cs
- MSAANativeProvider.cs
- EllipticalNodeOperations.cs
- UnknownBitmapDecoder.cs
- PenLineCapValidation.cs
- TextEndOfParagraph.cs
- NumberFormatter.cs
- SQlBooleanStorage.cs
- MILUtilities.cs
- ReverseQueryOperator.cs
- PropertyValueUIItem.cs
- OuterGlowBitmapEffect.cs
- GridLengthConverter.cs
- MemberCollection.cs
- SoapExtensionTypeElementCollection.cs
- WindowsFormsHostAutomationPeer.cs
- XmlNavigatorStack.cs
- PersonalizationAdministration.cs
- ServiceDescription.cs
- CollectionView.cs
- WebServiceParameterData.cs
- ToolStripScrollButton.cs
- WizardStepBase.cs
- activationcontext.cs
- EnumerableRowCollection.cs
- WithParamAction.cs
- _ChunkParse.cs
- EncryptedPackageFilter.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DbBuffer.cs
- TdsEnums.cs
- ListBoxAutomationPeer.cs
- RewritingProcessor.cs
- LabelDesigner.cs
- QilChoice.cs
- ClientScriptManager.cs
- ArraySortHelper.cs
- NonBatchDirectoryCompiler.cs
- ResourcePool.cs
- CodeDelegateInvokeExpression.cs
- EncoderBestFitFallback.cs
- XsltInput.cs
- MatrixUtil.cs
- ResourcePool.cs
- CheckBoxList.cs
- SemanticKeyElement.cs
- KnownBoxes.cs
- ColorAnimationUsingKeyFrames.cs
- HelpKeywordAttribute.cs
- DesignerOptionService.cs
- CompositeScriptReferenceEventArgs.cs
- RawAppCommandInputReport.cs
- Visual3D.cs
- ClusterSafeNativeMethods.cs
- RightsManagementSuppressedStream.cs
- FormViewDeletedEventArgs.cs
- OleDbPropertySetGuid.cs
- Point3DAnimation.cs
- ScaleTransform3D.cs
- ToolStripKeyboardHandlingService.cs
- ArraySubsetEnumerator.cs
- Native.cs
- UnsafePeerToPeerMethods.cs