Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaIdentityConstraint.cs / 1 / XmlSchemaIdentityConstraint.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.ComponentModel; using System.Xml.Serialization; ////// /// public class XmlSchemaIdentityConstraint : XmlSchemaAnnotated { string name; XmlSchemaXPath selector; XmlSchemaObjectCollection fields = new XmlSchemaObjectCollection(); XmlQualifiedName qualifiedName = XmlQualifiedName.Empty; CompiledIdentityConstraint compiledConstraint = null; ///[To be supplied.] ////// /// [XmlAttribute("name")] public string Name { get { return name; } set { name = value; } } ///[To be supplied.] ////// /// [XmlElement("selector", typeof(XmlSchemaXPath))] public XmlSchemaXPath Selector { get { return selector; } set { selector = value; } } ///[To be supplied.] ////// /// [XmlElement("field", typeof(XmlSchemaXPath))] public XmlSchemaObjectCollection Fields { get { return fields; } } ///[To be supplied.] ////// /// [XmlIgnore] public XmlQualifiedName QualifiedName { get { return qualifiedName; } } internal void SetQualifiedName(XmlQualifiedName value) { qualifiedName = value; } [XmlIgnore] internal CompiledIdentityConstraint CompiledConstraint { get { return compiledConstraint; } set { compiledConstraint = value; } } [XmlIgnore] internal override string NameAttribute { get { return Name; } set { Name = value; } } } ///[To be supplied.] ////// /// public class XmlSchemaXPath : XmlSchemaAnnotated { string xpath; ///[To be supplied.] ////// /// [XmlAttribute("xpath"), DefaultValue("")] public string XPath { get { return xpath; } set { xpath = value; } } } ///[To be supplied.] ////// /// public class XmlSchemaUnique : XmlSchemaIdentityConstraint { } ///[To be supplied.] ////// /// public class XmlSchemaKey : XmlSchemaIdentityConstraint { } ///[To be supplied.] ////// /// public class XmlSchemaKeyref : XmlSchemaIdentityConstraint { XmlQualifiedName refer = XmlQualifiedName.Empty; ///[To be supplied.] ////// /// [XmlAttribute("refer")] public XmlQualifiedName Refer { get { return refer; } set { refer = (value == null ? XmlQualifiedName.Empty : value); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AutoGeneratedField.cs
- CultureSpecificCharacterBufferRange.cs
- CustomTypeDescriptor.cs
- StreamInfo.cs
- TranslateTransform3D.cs
- OleDbCommandBuilder.cs
- NameTable.cs
- BaseAddressElementCollection.cs
- RuleInfoComparer.cs
- DataGridViewCellStyle.cs
- Matrix.cs
- StrongNameUtility.cs
- EventListenerClientSide.cs
- LinkClickEvent.cs
- MailMessageEventArgs.cs
- Model3DGroup.cs
- TraceInternal.cs
- DispatcherBuilder.cs
- HttpWebRequest.cs
- HttpRuntimeSection.cs
- DocumentXmlWriter.cs
- Path.cs
- QueryTaskGroupState.cs
- Quad.cs
- ConnectionStringsExpressionBuilder.cs
- QueryMatcher.cs
- DiagnosticTraceSource.cs
- WebPartsPersonalization.cs
- DefinitionBase.cs
- Rotation3DAnimationUsingKeyFrames.cs
- EncodingInfo.cs
- OrderedDictionary.cs
- Roles.cs
- XsltArgumentList.cs
- SinglePhaseEnlistment.cs
- FormClosingEvent.cs
- DataColumnMapping.cs
- SafeNativeMethods.cs
- BaseTemplateCodeDomTreeGenerator.cs
- MenuEventArgs.cs
- TypeHelper.cs
- InputReportEventArgs.cs
- WebPartDesigner.cs
- _NetRes.cs
- PageCodeDomTreeGenerator.cs
- FrameworkContentElementAutomationPeer.cs
- ReadOnlyDictionary.cs
- XsltArgumentList.cs
- FileAuthorizationModule.cs
- DataGridViewAdvancedBorderStyle.cs
- ExpressionCopier.cs
- XmlSchemaObjectCollection.cs
- WsdlInspector.cs
- ValidationResult.cs
- DropShadowBitmapEffect.cs
- UrlMapping.cs
- EventMappingSettings.cs
- ClientSettingsSection.cs
- ManagedWndProcTracker.cs
- PeerApplicationLaunchInfo.cs
- ContextMenuService.cs
- CqlLexerHelpers.cs
- RuntimeIdentifierPropertyAttribute.cs
- CLRBindingWorker.cs
- BrowsableAttribute.cs
- DataGridRowClipboardEventArgs.cs
- listitem.cs
- ApplicationSecurityManager.cs
- PathFigureCollection.cs
- HelpInfo.cs
- System.Data_BID.cs
- ExceptionValidationRule.cs
- UserInitiatedRoutedEventPermission.cs
- TemplateXamlTreeBuilder.cs
- Encoder.cs
- basemetadatamappingvisitor.cs
- WebPartConnectionCollection.cs
- ProtocolImporter.cs
- MailAddressCollection.cs
- DrawingGroup.cs
- ExpressionBuilder.cs
- StringWriter.cs
- WebPart.cs
- GridViewAutomationPeer.cs
- WSSecurityPolicy12.cs
- MD5Cng.cs
- InvalidFilterCriteriaException.cs
- BmpBitmapEncoder.cs
- CodeConstructor.cs
- XsdBuilder.cs
- XmlSchemaAny.cs
- SqlMethodCallConverter.cs
- PeerCredential.cs
- DataGridViewSelectedRowCollection.cs
- BooleanSwitch.cs
- CompilationUtil.cs
- DateBoldEvent.cs
- EntityCommandCompilationException.cs
- StringReader.cs
- ChangeBlockUndoRecord.cs