Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SamlAttribute.cs
- MLangCodePageEncoding.cs
- StoragePropertyMapping.cs
- MouseBinding.cs
- XsltLoader.cs
- SQlBooleanStorage.cs
- IntegerCollectionEditor.cs
- XamlVector3DCollectionSerializer.cs
- ComplexBindingPropertiesAttribute.cs
- ProfileGroupSettingsCollection.cs
- LinqDataSourceContextEventArgs.cs
- AuthStoreRoleProvider.cs
- BitmapImage.cs
- XmlDocumentFragment.cs
- CommonDialog.cs
- DataError.cs
- TemplatePagerField.cs
- ClientUrlResolverWrapper.cs
- EmptyStringExpandableObjectConverter.cs
- ToolStripSplitStackLayout.cs
- BaseTreeIterator.cs
- SecureEnvironment.cs
- DescendentsWalker.cs
- SettingsPropertyCollection.cs
- ProcessHostServerConfig.cs
- LogicalExpr.cs
- RestClientProxyHandler.cs
- RuleSetCollection.cs
- AssemblyAttributesGoHere.cs
- CreateInstanceBinder.cs
- HashCodeCombiner.cs
- ChannelCacheDefaults.cs
- TrackBar.cs
- DataControlLinkButton.cs
- FixedSOMSemanticBox.cs
- MonitorWrapper.cs
- CurrentChangingEventManager.cs
- CorrelationKey.cs
- HttpResponse.cs
- DataList.cs
- GenericTransactionFlowAttribute.cs
- OrderToken.cs
- SqlDesignerDataSourceView.cs
- HttpStreamMessage.cs
- PolicyUnit.cs
- RadioButton.cs
- Parser.cs
- RuntimeCompatibilityAttribute.cs
- DataAdapter.cs
- PersistenceTask.cs
- FileLogRecordStream.cs
- SliderAutomationPeer.cs
- CompiledELinqQueryState.cs
- DocumentXPathNavigator.cs
- _NegotiateClient.cs
- MarkedHighlightComponent.cs
- PropertyIdentifier.cs
- StylusOverProperty.cs
- SqlDataReaderSmi.cs
- TopClause.cs
- AutoResetEvent.cs
- WebPartsSection.cs
- AutomationElement.cs
- AsymmetricSignatureFormatter.cs
- configsystem.cs
- MergePropertyDescriptor.cs
- Point3DCollectionConverter.cs
- CodeDefaultValueExpression.cs
- NameTable.cs
- Events.cs
- XmlCharacterData.cs
- Buffer.cs
- TagNameToTypeMapper.cs
- SqlIdentifier.cs
- ObjectItemLoadingSessionData.cs
- IDictionary.cs
- CachedPathData.cs
- CustomCategoryAttribute.cs
- FrameworkElement.cs
- PropertyGroupDescription.cs
- SystemInformation.cs
- ScrollChrome.cs
- ValidatingPropertiesEventArgs.cs
- SplineKeyFrames.cs
- XmlNamedNodeMap.cs
- RadioButton.cs
- CancelEventArgs.cs
- HtmlHead.cs
- SoapClientMessage.cs
- CriticalExceptions.cs
- CodeTypeParameterCollection.cs
- FlowDocument.cs
- Cursor.cs
- XomlDesignerLoader.cs
- TypeElement.cs
- BlurBitmapEffect.cs
- SqlBooleanizer.cs
- CellCreator.cs
- TemplateColumn.cs
- XsltException.cs