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
- PreviewPrintController.cs
- MessageDirection.cs
- ParenthesizePropertyNameAttribute.cs
- OneOfElement.cs
- LinqDataSourceInsertEventArgs.cs
- StatusCommandUI.cs
- SaveFileDialog.cs
- ToRequest.cs
- SchemaCollectionCompiler.cs
- OleDbRowUpdatingEvent.cs
- EntityStoreSchemaGenerator.cs
- IPEndPoint.cs
- CommandValueSerializer.cs
- FileDialogPermission.cs
- BindingUtils.cs
- ConstraintConverter.cs
- ArrayItemValue.cs
- InternalBufferOverflowException.cs
- ButtonChrome.cs
- VirtualPathProvider.cs
- HandlerFactoryWrapper.cs
- SamlSubject.cs
- ReadOnlyTernaryTree.cs
- SID.cs
- TabletCollection.cs
- WebException.cs
- TdsParserSessionPool.cs
- ElementsClipboardData.cs
- PrintDialog.cs
- ExpressionEditorAttribute.cs
- OleDbParameterCollection.cs
- EventMappingSettingsCollection.cs
- Pens.cs
- RsaElement.cs
- ConfigXmlDocument.cs
- HttpConfigurationContext.cs
- PolygonHotSpot.cs
- DataGridViewCheckBoxCell.cs
- SeverityFilter.cs
- ComplexTypeEmitter.cs
- AnnotationAdorner.cs
- XsltLoader.cs
- FacetValueContainer.cs
- ThreadStaticAttribute.cs
- DrawingContextDrawingContextWalker.cs
- TreeNodeSelectionProcessor.cs
- RowParagraph.cs
- CompiledIdentityConstraint.cs
- DnsElement.cs
- UriSection.cs
- WorkflowServiceHost.cs
- RegexWorker.cs
- InsufficientMemoryException.cs
- SecUtil.cs
- ReadWriteControlDesigner.cs
- HashMembershipCondition.cs
- DynamicArgumentDialog.cs
- TextTreeInsertUndoUnit.cs
- HostProtectionPermission.cs
- SecurityMode.cs
- DesignTimeTemplateParser.cs
- GenericWebPart.cs
- Point3DAnimationBase.cs
- Int64AnimationBase.cs
- TextViewSelectionProcessor.cs
- ToolStripItemTextRenderEventArgs.cs
- TemplateField.cs
- BlurBitmapEffect.cs
- DataSourceControl.cs
- shaperfactoryquerycacheentry.cs
- SID.cs
- EmbeddedObject.cs
- AgileSafeNativeMemoryHandle.cs
- SystemEvents.cs
- CfgSemanticTag.cs
- RoutedEventValueSerializer.cs
- DataGridViewColumnHeaderCell.cs
- ExeContext.cs
- UIElementPropertyUndoUnit.cs
- ConditionalAttribute.cs
- PagerStyle.cs
- TimeSpanStorage.cs
- CachedCompositeFamily.cs
- SettingsPropertyIsReadOnlyException.cs
- HTTPNotFoundHandler.cs
- FamilyCollection.cs
- CqlErrorHelper.cs
- RectangleConverter.cs
- CodeIdentifier.cs
- DrawingVisual.cs
- MachineKeySection.cs
- XmlDocumentFieldSchema.cs
- DeclarativeCatalogPart.cs
- AdornerDecorator.cs
- ToolboxItemAttribute.cs
- InternalDispatchObject.cs
- ConfigurationManagerInternal.cs
- XmlWriterSettings.cs
- TabItemWrapperAutomationPeer.cs
- ProfileModule.cs