Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / XmlDocumentFieldSchema.cs / 1 / XmlDocumentFieldSchema.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System.Collections; using System.Diagnostics; using System.Xml; using System.Xml.XPath; ////// A class to expose hierarchical schema from an XmlDocument object. /// This is used by data source designers to enable data-bound to /// traverse their schema at design time. /// internal sealed class XmlDocumentFieldSchema : IDataSourceFieldSchema { private string _name; public XmlDocumentFieldSchema(string name) { Debug.Assert(name != null && name.Length > 0); _name = name; } public Type DataType { get { return typeof(string); } } public bool Identity { get { return false; } } public bool IsReadOnly { get { return false; } } public bool IsUnique { get { return false; } } public int Length { get { return -1; } } public string Name { get { return _name; } } public bool Nullable { get { return true; } } public int Precision { get { return -1; } } public bool PrimaryKey { get { return false; } } public int Scale { get { return -1; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DefaultAsyncDataDispatcher.cs
- DNS.cs
- ContainerSelectorActiveEvent.cs
- DbParameterCollectionHelper.cs
- SecurityContext.cs
- ScrollBar.cs
- AssignDesigner.xaml.cs
- shaperfactory.cs
- IdleTimeoutMonitor.cs
- SafeFindHandle.cs
- ServicePoint.cs
- FrameworkElementFactory.cs
- SimpleBitVector32.cs
- FormatSettings.cs
- XmlSchemaComplexContentExtension.cs
- PerformanceCounterPermission.cs
- XmlRawWriterWrapper.cs
- DBNull.cs
- TextAutomationPeer.cs
- SmiContext.cs
- MetadataArtifactLoaderResource.cs
- PathGradientBrush.cs
- EqualityComparer.cs
- OdbcParameterCollection.cs
- DrawListViewSubItemEventArgs.cs
- LicenseManager.cs
- CompareValidator.cs
- SqlSupersetValidator.cs
- ImageButton.cs
- TemplateControlCodeDomTreeGenerator.cs
- DataExpression.cs
- TextElementAutomationPeer.cs
- FloaterBaseParaClient.cs
- XamlLoadErrorInfo.cs
- Point4D.cs
- ObjectDataSourceStatusEventArgs.cs
- UserControlDesigner.cs
- TimeSpanConverter.cs
- XmlTextWriter.cs
- XappLauncher.cs
- TextServicesProperty.cs
- ACL.cs
- FormsAuthenticationCredentials.cs
- ComboBoxRenderer.cs
- WebPartCollection.cs
- OleDbPermission.cs
- Line.cs
- XPathNavigatorKeyComparer.cs
- LineServicesRun.cs
- DataBoundControlHelper.cs
- ThreadInterruptedException.cs
- MdiWindowListItemConverter.cs
- LinkLabel.cs
- ConstructorArgumentAttribute.cs
- IncrementalHitTester.cs
- FormViewActionList.cs
- _HelperAsyncResults.cs
- ExtensionFile.cs
- ImageListUtils.cs
- Rect3D.cs
- XmlElementList.cs
- SystemColors.cs
- JoinSymbol.cs
- ToolBarButton.cs
- PackageRelationshipSelector.cs
- XhtmlBasicPhoneCallAdapter.cs
- XmlSerializerVersionAttribute.cs
- DataSourceXmlAttributeAttribute.cs
- TextHidden.cs
- XmlCollation.cs
- ParentQuery.cs
- IIS7UserPrincipal.cs
- MenuItem.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ColorBlend.cs
- XmlReturnReader.cs
- CodeTypeDeclaration.cs
- EntityKeyElement.cs
- HtmlInputButton.cs
- SR.Designer.cs
- FlowDocumentReader.cs
- PartialCachingControl.cs
- WebEvents.cs
- LinkConverter.cs
- Configuration.cs
- DataTable.cs
- IPEndPoint.cs
- EventRecordWrittenEventArgs.cs
- Part.cs
- ReflectPropertyDescriptor.cs
- Utils.cs
- ContractMapping.cs
- TemplateContainer.cs
- DataColumnMappingCollection.cs
- InternalControlCollection.cs
- PrintControllerWithStatusDialog.cs
- Validator.cs
- DeflateEmulationStream.cs
- PrintingPermission.cs
- WorkflowDebuggerSteppingAttribute.cs