Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
// [....]
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CreateUserErrorEventArgs.cs
- KnownTypeAttribute.cs
- GACMembershipCondition.cs
- TraceProvider.cs
- ObjectFullSpanRewriter.cs
- FocusWithinProperty.cs
- ValidationEventArgs.cs
- WebPartDescriptionCollection.cs
- CreateRefExpr.cs
- ConsumerConnectionPointCollection.cs
- UnsafeNativeMethods.cs
- FormViewRow.cs
- TreeViewItemAutomationPeer.cs
- Registry.cs
- MeasureData.cs
- JsonUriDataContract.cs
- RuntimeHelpers.cs
- MouseGestureValueSerializer.cs
- FixedHighlight.cs
- ApplicationDirectory.cs
- SelectionItemProviderWrapper.cs
- WebScriptMetadataMessageEncoderFactory.cs
- ItemCollection.cs
- VirtualDirectoryMapping.cs
- BookmarkList.cs
- DecoderFallback.cs
- CellTreeNode.cs
- DetailsView.cs
- ScaleTransform.cs
- SinglePhaseEnlistment.cs
- DeferredElementTreeState.cs
- ProviderBase.cs
- PenCursorManager.cs
- InputLangChangeEvent.cs
- ModuleBuilderData.cs
- Viewport2DVisual3D.cs
- SpinWait.cs
- BlurBitmapEffect.cs
- LoginUtil.cs
- _LocalDataStoreMgr.cs
- TemplatedAdorner.cs
- VersionedStream.cs
- WpfKnownTypeInvoker.cs
- TableHeaderCell.cs
- TTSVoice.cs
- ParallelDesigner.cs
- DataGridTextBoxColumn.cs
- Vector3DCollectionConverter.cs
- Regex.cs
- CodeChecksumPragma.cs
- UnicastIPAddressInformationCollection.cs
- EmptyReadOnlyDictionaryInternal.cs
- SiteMapNodeItemEventArgs.cs
- SortableBindingList.cs
- LeaseManager.cs
- HtmlInputControl.cs
- TextTreeObjectNode.cs
- ObjectFullSpanRewriter.cs
- BlurBitmapEffect.cs
- ReadOnlyDataSourceView.cs
- StartUpEventArgs.cs
- sqlmetadatafactory.cs
- SqlConnectionStringBuilder.cs
- ProxyFragment.cs
- MultiByteCodec.cs
- ReservationCollection.cs
- SqlConnectionStringBuilder.cs
- CodeParameterDeclarationExpression.cs
- LayoutTable.cs
- ConnectionPointGlyph.cs
- altserialization.cs
- SqlParameterCollection.cs
- BindableTemplateBuilder.cs
- ObjectDataSourceStatusEventArgs.cs
- SqlRecordBuffer.cs
- ToolStripLocationCancelEventArgs.cs
- RPIdentityRequirement.cs
- RNGCryptoServiceProvider.cs
- base64Transforms.cs
- XmlDigitalSignatureProcessor.cs
- ClientSettingsStore.cs
- AnnotationHighlightLayer.cs
- CheckBox.cs
- DodSequenceMerge.cs
- LinqExpressionNormalizer.cs
- CodeRegionDirective.cs
- SubMenuStyleCollection.cs
- FontClient.cs
- TableDesigner.cs
- XmlEnumAttribute.cs
- SqlRewriteScalarSubqueries.cs
- ComboBoxRenderer.cs
- CodeIterationStatement.cs
- PerfCounterSection.cs
- ArrayList.cs
- CompilerState.cs
- FixedTextBuilder.cs
- DataKeyCollection.cs
- MarkupCompilePass1.cs
- SqlParameter.cs