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
- OutOfMemoryException.cs
- ListItemConverter.cs
- returneventsaver.cs
- SpeechRecognizer.cs
- WebSysDefaultValueAttribute.cs
- IImplicitResourceProvider.cs
- TransformGroup.cs
- CqlLexer.cs
- WindowsListView.cs
- WebReferenceOptions.cs
- LateBoundBitmapDecoder.cs
- GenericAuthenticationEventArgs.cs
- MatrixCamera.cs
- AsyncDataRequest.cs
- UnlockInstanceCommand.cs
- InvalidDataContractException.cs
- AndAlso.cs
- Pair.cs
- DbConnectionPoolIdentity.cs
- ScalarConstant.cs
- JavaScriptString.cs
- HwndStylusInputProvider.cs
- ClrProviderManifest.cs
- DatagridviewDisplayedBandsData.cs
- RootBuilder.cs
- XPathNodeIterator.cs
- WebPartMinimizeVerb.cs
- EventBookmark.cs
- RectAnimationUsingKeyFrames.cs
- CodeGenerator.cs
- Point3D.cs
- SemaphoreSecurity.cs
- CustomTypeDescriptor.cs
- Hex.cs
- FunctionUpdateCommand.cs
- GridEntryCollection.cs
- SafeCertificateStore.cs
- ICollection.cs
- PageSetupDialog.cs
- InvalidFilterCriteriaException.cs
- PersonalizableTypeEntry.cs
- RewritingSimplifier.cs
- ColumnMap.cs
- HMACMD5.cs
- TraceLevelStore.cs
- TextTreeTextBlock.cs
- XmlDictionaryReaderQuotas.cs
- RepeatBehaviorConverter.cs
- ReliableSessionBindingElementImporter.cs
- StringWriter.cs
- StickyNoteAnnotations.cs
- XmlSchemaParticle.cs
- Point3DValueSerializer.cs
- ConfigXmlComment.cs
- Privilege.cs
- CustomServiceCredentials.cs
- AstNode.cs
- __Filters.cs
- XPathExpr.cs
- InheritanceAttribute.cs
- QueryOutputWriter.cs
- BaseEntityWrapper.cs
- SerializationStore.cs
- PageContentCollection.cs
- SoapClientProtocol.cs
- FileCodeGroup.cs
- StickyNoteAnnotations.cs
- DataListComponentEditor.cs
- WizardForm.cs
- OleDbTransaction.cs
- SocketPermission.cs
- FlowLayoutPanel.cs
- DefaultShape.cs
- RegistrySecurity.cs
- SafeArrayTypeMismatchException.cs
- MembershipPasswordException.cs
- ParserContext.cs
- FontInfo.cs
- HtmlTableCellCollection.cs
- PermissionAttributes.cs
- __Filters.cs
- GridViewCellAutomationPeer.cs
- CancellationTokenRegistration.cs
- CreateDataSourceDialog.cs
- APCustomTypeDescriptor.cs
- HttpDebugHandler.cs
- MaskDescriptor.cs
- TargetConverter.cs
- PasswordPropertyTextAttribute.cs
- SuppressMergeCheckAttribute.cs
- AutomationPropertyChangedEventArgs.cs
- DeploymentExceptionMapper.cs
- PathBox.cs
- NumberSubstitution.cs
- WebProxyScriptElement.cs
- UnaryNode.cs
- TreeNodeBindingCollection.cs
- ParallelTimeline.cs
- MenuEventArgs.cs
- HoistedLocals.cs