Code:
/ FX-1434 / FX-1434 / 1.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
- UserControl.cs
- CodeMethodReturnStatement.cs
- GroupBox.cs
- CLSCompliantAttribute.cs
- SchemaEntity.cs
- CommentEmitter.cs
- PersonalizationStateQuery.cs
- DbParameterCollection.cs
- OperationPerformanceCounters.cs
- SizeF.cs
- HtmlString.cs
- SingleTagSectionHandler.cs
- SafeRightsManagementEnvironmentHandle.cs
- DataMemberFieldEditor.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- GeometryGroup.cs
- prompt.cs
- ColorPalette.cs
- BasicExpressionVisitor.cs
- SqlConnectionString.cs
- DocumentEventArgs.cs
- DataGridViewButtonColumn.cs
- GuidConverter.cs
- AttributeCollection.cs
- BitmapEffectCollection.cs
- SystemResourceHost.cs
- MenuItemBinding.cs
- SingleResultAttribute.cs
- TreeViewEvent.cs
- BinaryReader.cs
- RSAOAEPKeyExchangeFormatter.cs
- IsolatedStorageFilePermission.cs
- EntityParameterCollection.cs
- Script.cs
- AffineTransform3D.cs
- AccessDataSourceView.cs
- AssemblyBuilder.cs
- XmlUtil.cs
- DocumentPageHost.cs
- Types.cs
- OrthographicCamera.cs
- ByteStreamMessageEncoder.cs
- ConnectionManagementElement.cs
- ExtendedProperty.cs
- BooleanStorage.cs
- RegistryConfigurationProvider.cs
- SmiMetaData.cs
- FieldNameLookup.cs
- ContextMenuStripGroupCollection.cs
- XmlEntityReference.cs
- HttpProtocolImporter.cs
- InputMethod.cs
- ComplusEndpointConfigContainer.cs
- mediaclock.cs
- ServiceContractAttribute.cs
- ClientConfigPaths.cs
- UserControl.cs
- IndentedWriter.cs
- SctClaimDictionary.cs
- IndexedString.cs
- MonthCalendar.cs
- EmptyStringExpandableObjectConverter.cs
- XmlReader.cs
- sqlnorm.cs
- ClassData.cs
- TypeElementCollection.cs
- COM2IDispatchConverter.cs
- SecurityRuntime.cs
- RelationshipType.cs
- ParameterReplacerVisitor.cs
- CommandDevice.cs
- WindowsFont.cs
- PathData.cs
- CodeTypeDelegate.cs
- CommandManager.cs
- GlobalizationSection.cs
- MaskedTextProvider.cs
- TrackingAnnotationCollection.cs
- ParsedAttributeCollection.cs
- ClientTargetCollection.cs
- ParagraphResult.cs
- CodeExpressionStatement.cs
- WaitHandle.cs
- TaskForm.cs
- EDesignUtil.cs
- ProfilePropertyMetadata.cs
- TitleStyle.cs
- Command.cs
- XmlWrappingWriter.cs
- LoadWorkflowCommand.cs
- _AutoWebProxyScriptHelper.cs
- GenericXmlSecurityToken.cs
- MsmqNonTransactedPoisonHandler.cs
- Geometry3D.cs
- XmlValueConverter.cs
- Assert.cs
- UnknownBitmapEncoder.cs
- AudioFileOut.cs
- StyleBamlRecordReader.cs
- SqlDataSourceQuery.cs