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
- PagerSettings.cs
- PersonalizationStateQuery.cs
- ExpressionVisitor.cs
- CssClassPropertyAttribute.cs
- IndependentlyAnimatedPropertyMetadata.cs
- SecurityTokenResolver.cs
- SelectedDatesCollection.cs
- Quack.cs
- FileVersionInfo.cs
- BuildProvider.cs
- DTCTransactionManager.cs
- MultiPageTextView.cs
- XmlArrayItemAttributes.cs
- TableSectionStyle.cs
- PathGeometry.cs
- OdbcPermission.cs
- SecurityTokenResolver.cs
- ItemCollection.cs
- SafeTokenHandle.cs
- MD5CryptoServiceProvider.cs
- ZoneIdentityPermission.cs
- ContactManager.cs
- BindingManagerDataErrorEventArgs.cs
- ReadOnlyDataSource.cs
- Stylus.cs
- PerformanceCounterPermissionAttribute.cs
- MenuCommand.cs
- ChildTable.cs
- GiveFeedbackEventArgs.cs
- VisualCollection.cs
- SqlFunctionAttribute.cs
- PropertyInformation.cs
- DrawingGroupDrawingContext.cs
- DSASignatureFormatter.cs
- SqlCharStream.cs
- SnapshotChangeTrackingStrategy.cs
- ClientSideQueueItem.cs
- SmtpLoginAuthenticationModule.cs
- DataServiceResponse.cs
- NullPackagingPolicy.cs
- RightsManagementInformation.cs
- CodeIndexerExpression.cs
- Wildcard.cs
- EventEntry.cs
- BaseCodePageEncoding.cs
- ToolStripDropTargetManager.cs
- Validator.cs
- BitmapEffectCollection.cs
- GB18030Encoding.cs
- EmptyEnumerator.cs
- FrugalMap.cs
- TextViewSelectionProcessor.cs
- DbProviderManifest.cs
- SQLDateTime.cs
- Converter.cs
- Geometry3D.cs
- BitmapEffectInputConnector.cs
- UInt16Converter.cs
- WmlCommandAdapter.cs
- TextTreeExtractElementUndoUnit.cs
- PanelStyle.cs
- VectorValueSerializer.cs
- ResourceDictionaryCollection.cs
- ExternalFile.cs
- DropShadowEffect.cs
- DataGridViewColumnHeaderCell.cs
- SchemaExporter.cs
- NativeMethods.cs
- VisualCollection.cs
- AQNBuilder.cs
- CodeArrayIndexerExpression.cs
- ScriptResourceAttribute.cs
- DataRowCollection.cs
- TextParaClient.cs
- ErrorWrapper.cs
- PageAdapter.cs
- ConfigXmlCDataSection.cs
- TypefaceMap.cs
- MulticastDelegate.cs
- HotCommands.cs
- DecimalConverter.cs
- ObjectReferenceStack.cs
- hwndwrapper.cs
- FontInfo.cs
- TableRow.cs
- BitmapEffectvisualstate.cs
- SubclassTypeValidatorAttribute.cs
- TableColumn.cs
- RegexWorker.cs
- ComponentDesigner.cs
- IxmlLineInfo.cs
- HttpStreamMessageEncoderFactory.cs
- TransformerConfigurationWizardBase.cs
- CompositeControl.cs
- Permission.cs
- PathSegment.cs
- ImageAttributes.cs
- DetailsViewDeleteEventArgs.cs
- ForeignConstraint.cs
- DataObjectEventArgs.cs