Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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;
///
///
/// [To be supplied.]
///
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NonParentingControl.cs
- CompoundFileStorageReference.cs
- Int16Animation.cs
- TreeNodeEventArgs.cs
- SqlNode.cs
- Transform3DCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- TransformGroup.cs
- _ConnectStream.cs
- CaseExpr.cs
- ProviderException.cs
- TdsParserSessionPool.cs
- TableLayoutPanelResizeGlyph.cs
- MissingFieldException.cs
- Triangle.cs
- DtdParser.cs
- UnaryExpression.cs
- TableLayoutRowStyleCollection.cs
- Attributes.cs
- ConfigurationSchemaErrors.cs
- Helpers.cs
- DocumentSequence.cs
- XslTransform.cs
- DataSourceXmlAttributeAttribute.cs
- CreateDataSourceDialog.cs
- TextDocumentView.cs
- DeviceContext.cs
- DigestTraceRecordHelper.cs
- ToolStripDropDownDesigner.cs
- QueryContinueDragEvent.cs
- DbDataReader.cs
- DataBinding.cs
- SerializationEventsCache.cs
- ButtonColumn.cs
- CheckPair.cs
- ZipIOFileItemStream.cs
- ControlCollection.cs
- DataGridItemEventArgs.cs
- Bezier.cs
- PtsContext.cs
- ControlBindingsCollection.cs
- XmlC14NWriter.cs
- ScrollEvent.cs
- SqlRewriteScalarSubqueries.cs
- BufferedGraphics.cs
- AssemblyAttributesGoHere.cs
- ToggleButtonAutomationPeer.cs
- SqlDuplicator.cs
- HttpRuntimeSection.cs
- XmlSchemaInferenceException.cs
- StrokeCollection.cs
- ApplicationCommands.cs
- XmlNamespaceDeclarationsAttribute.cs
- TextRange.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- FontFamilyConverter.cs
- TagPrefixInfo.cs
- RuntimeWrappedException.cs
- DbDataAdapter.cs
- Switch.cs
- DependencyObjectPropertyDescriptor.cs
- PrePrepareMethodAttribute.cs
- AmbiguousMatchException.cs
- WebBrowserUriTypeConverter.cs
- CollectionViewSource.cs
- SqlDuplicator.cs
- LicenseManager.cs
- OdbcEnvironmentHandle.cs
- BreakRecordTable.cs
- SubclassTypeValidatorAttribute.cs
- HtmlLabelAdapter.cs
- IPGlobalProperties.cs
- HttpSessionStateBase.cs
- SymbolEqualComparer.cs
- NameValueConfigurationElement.cs
- DataFormat.cs
- RegexCapture.cs
- CheckableControlBaseAdapter.cs
- SortDescription.cs
- PolyQuadraticBezierSegment.cs
- BigInt.cs
- Rectangle.cs
- DataGridRowsPresenter.cs
- HtmlAnchor.cs
- EdmItemError.cs
- DeflateInput.cs
- AsyncResult.cs
- CodeAttributeArgumentCollection.cs
- TextRangeEdit.cs
- CompilationSection.cs
- PeerNeighborManager.cs
- ChangeNode.cs
- InstanceDescriptor.cs
- ZipArchive.cs
- Message.cs
- AppDomainEvidenceFactory.cs
- ApplicationGesture.cs
- ApplicationFileParser.cs
- HelloOperation11AsyncResult.cs
- ConfigurationException.cs