XmlConstants.cs :  » 2.6.4-mono-.net-core » System.Data » System » Data » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » 2.6.4 mono .net core » System.Data 
System.Data » System » Data » XmlConstants.cs
// 
// System.Data/XmlConstants.cs
//
// Author:
//   Stuart Caborn <stuart.caborn@virgin.net>
//
// (C) Stuart Caborn 2002

//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
// 
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//

using System.Xml;
using System.Xml.Schema;

namespace System.Data{
///<summary>
///Constants class to hold XmlSerialisation
///strings
///</summary>
internal class XmlConstants
{
  ///<summary>The namespace prefix for the xml schema namespace</summary>
  public const string SchemaPrefix = "xs";
  
  ///<summary>
  /// The w3 XmlSchema namespace
  /// </summary>
  public const string SchemaNamespace = "http://www.w3.org/2001/XMLSchema";
  
  public const string XmlnsNS = "http://www.w3.org/2000/xmlns/";
#if NET_2_0
  public const string XmlNS = "http://www.w3.org/XML/1998/namespace";
#endif
  
  //xs elements and values 
  //TODO - these must exist somwhere else???
  public const string SchemaElement = "schema";
  public const string AttributeFormDefault = "attributeFormDefault";
  public const string ElementFormDefault = "elementFormDefault";
  public const string Qualified = "qualified";
  public const string Unqualified = "unqualified";
  public const string Element = "element";
  public const string Choice = "choice";
  public const string ComplexType = "complexType";
  public const string SimpleType = "simpleType";
  public const string Restriction = "restriction";
  public const string MaxLength = "maxLength";
  public const string Sequence = "sequence";
  public const string MaxOccurs = "maxOccurs";
  public const string MinOccurs = "minOccurs";
  public const string Unbounded = "unbounded";
  public const string Name = "name";
  public const string Type = "type";
  public const string Id = "id";
  public const string TargetNamespace = "targetNamespace";
  public const string Form = "form";
  public const string Attribute = "attribute";
  public const string Default = "default";
  public const string Caption = "Caption";
  public const string Base = "base";
  public const string Value = "value";
  public const string DataType = "DataType";
  public const string AutoIncrement = "AutoIncrement";
  public const string AutoIncrementSeed = "AutoIncrementSeed";
  public const string AutoIncrementStep = "AutoIncrementStep";

  //ms schema objects  
  public const string MsdataPrefix = "msdata";  
  public const string MsdataNamespace = "urn:schemas-microsoft-com:xml-msdata";
  public const string MsdatasourceNamespace = "urn:schemas-microsoft-com:xml-msdatasource";
  public const string MspropPrefix = "msprop";  
  public const string MspropNamespace = "urn:schemas-microsoft-com:xml-msprop";
  public const string DiffgrPrefix = "diffgr";
  public const string DiffgrNamespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  public const string TnsPrefix = "mstns";
  public const string IsDataSet = "IsDataSet";
  public const string Locale = "Locale";
  public const string Ordinal = "Ordinal";
  public const string IsNested = "IsNested";
  public const string ConstraintOnly = "ConstraintOnly";
  public const string RelationName = "RelationName";
  public const string ConstraintName = "ConstraintName";
  public const string PrimaryKey = "PrimaryKey";
  public const string ColumnName = "ColumnName";
  public const string ReadOnly = "ReadOnly";
#if NET_2_0
  public const string UseCurrentCulture = "UseCurrentCulture";
#endif

  public static XmlQualifiedName QnString = new XmlQualifiedName ("string", XmlSchema.Namespace);
  public static XmlQualifiedName QnShort = new XmlQualifiedName ("short", XmlSchema.Namespace);
  public static XmlQualifiedName QnInt = new XmlQualifiedName ("int", XmlSchema.Namespace);
  public static XmlQualifiedName QnLong = new XmlQualifiedName ("long", XmlSchema.Namespace);
  public static XmlQualifiedName QnBoolean = new XmlQualifiedName ("boolean", XmlSchema.Namespace);
  public static XmlQualifiedName QnUnsignedByte = new XmlQualifiedName ("unsignedByte", XmlSchema.Namespace);
  public static XmlQualifiedName QnChar = new XmlQualifiedName ("char", XmlSchema.Namespace);
  public static XmlQualifiedName QnDateTime = new XmlQualifiedName ("dateTime", XmlSchema.Namespace);
  public static XmlQualifiedName QnDecimal = new XmlQualifiedName ("decimal", XmlSchema.Namespace);
  public static XmlQualifiedName QnDouble = new XmlQualifiedName ("double", XmlSchema.Namespace);
  public static XmlQualifiedName QnSbyte = new XmlQualifiedName ("byte", XmlSchema.Namespace);
  public static XmlQualifiedName QnFloat = new XmlQualifiedName ("float", XmlSchema.Namespace);
  public static XmlQualifiedName QnDuration = new XmlQualifiedName ("duration", XmlSchema.Namespace);
  public static XmlQualifiedName QnUnsignedShort = new XmlQualifiedName ("unsignedShort", XmlSchema.Namespace);
  public static XmlQualifiedName QnUnsignedInt = new XmlQualifiedName ("unsignedInt", XmlSchema.Namespace);
  public static XmlQualifiedName QnUnsignedLong = new XmlQualifiedName ("unsignedLong", XmlSchema.Namespace);
  public static XmlQualifiedName QnUri = new XmlQualifiedName ("anyURI", XmlSchema.Namespace);
  public static XmlQualifiedName QnBase64Binary = new XmlQualifiedName ("base64Binary", XmlSchema.Namespace);
  public static XmlQualifiedName QnXmlQualifiedName = new XmlQualifiedName ("QName", XmlSchema.Namespace);
}

}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.