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
- DataServiceRequestOfT.cs
- SyndicationDeserializer.cs
- NativeMethods.cs
- HttpModulesSection.cs
- InvariantComparer.cs
- HtmlInputFile.cs
- ToolStripSplitButton.cs
- LocationSectionRecord.cs
- BoolExpressionVisitors.cs
- HtmlInputButton.cs
- UpDownEvent.cs
- XPathSelfQuery.cs
- FormsAuthenticationTicket.cs
- ResponseStream.cs
- WebSysDefaultValueAttribute.cs
- SignatureDescription.cs
- PartitionerStatic.cs
- AutoGeneratedFieldProperties.cs
- OdbcReferenceCollection.cs
- BufferModeSettings.cs
- KeyPressEvent.cs
- BindingCompleteEventArgs.cs
- StoreAnnotationsMap.cs
- FieldNameLookup.cs
- AsymmetricKeyExchangeDeformatter.cs
- AnnotationDocumentPaginator.cs
- TypedDataSetSchemaImporterExtension.cs
- WmlTextBoxAdapter.cs
- BinaryObjectReader.cs
- TemplateControl.cs
- ListBox.cs
- XpsTokenContext.cs
- ProfilePropertyNameValidator.cs
- Error.cs
- Rect3DConverter.cs
- GridViewAutomationPeer.cs
- Sql8ExpressionRewriter.cs
- ScriptingJsonSerializationSection.cs
- ADMembershipUser.cs
- Privilege.cs
- RedistVersionInfo.cs
- AccessDataSourceView.cs
- XamlBrushSerializer.cs
- ClonableStack.cs
- OpenFileDialog.cs
- Scripts.cs
- IPipelineRuntime.cs
- DialogResultConverter.cs
- SystemNetworkInterface.cs
- newinstructionaction.cs
- AuthenticateEventArgs.cs
- ScrollViewerAutomationPeer.cs
- CombinedGeometry.cs
- AutomationFocusChangedEventArgs.cs
- Effect.cs
- SmtpNegotiateAuthenticationModule.cs
- HtmlControl.cs
- ByteFacetDescriptionElement.cs
- DataView.cs
- XmlSchemaNotation.cs
- WorkflowApplicationAbortedException.cs
- DoubleLink.cs
- EventLogPropertySelector.cs
- WebConvert.cs
- MemberNameValidator.cs
- HtmlShimManager.cs
- FastEncoder.cs
- HttpWebRequestElement.cs
- CreateUserErrorEventArgs.cs
- ProtocolViolationException.cs
- DataGridAddNewRow.cs
- XmlMemberMapping.cs
- Point4DValueSerializer.cs
- AnnotationResourceCollection.cs
- QuaternionValueSerializer.cs
- UnsafeNativeMethods.cs
- Table.cs
- DbDataReader.cs
- HandlerMappingMemo.cs
- WindowsTokenRoleProvider.cs
- ProfileSettingsCollection.cs
- ProtocolViolationException.cs
- FontFamily.cs
- CngAlgorithmGroup.cs
- WindowsPen.cs
- DataServiceQueryProvider.cs
- _ConnectionGroup.cs
- SpecularMaterial.cs
- TemplateKeyConverter.cs
- IBuiltInEvidence.cs
- UserPersonalizationStateInfo.cs
- SafeCryptoKeyHandle.cs
- JapaneseLunisolarCalendar.cs
- WbemProvider.cs
- ContractInstanceProvider.cs
- AuthenticationSection.cs
- CroppedBitmap.cs
- NativeMethods.cs
- PointKeyFrameCollection.cs
- DataControlFieldCollection.cs