#pragma warning disable 1591, 0114, 0108
// ------------------------------------------------------------------------------
//
// Generated by Xsd2Code. Version 3.3.0.33001
// OSGeo.MapGuide.ObjectModels.CapabilitiesBindingListCSharpTrueFalseTrueTrueTrueFalseTrueFalseNet20SerializeDeserializeSaveToFileLoadFromFileTrueFalseFalseFalseFalse
//
// ------------------------------------------------------------------------------
namespace OSGeo.MapGuide.ObjectModels.Capabilities {
using System;
using System.Diagnostics;
using System.Xml.Serialization;
using System.Collections;
using System.Xml.Schema;
using System.ComponentModel;
using System.IO;
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlRootAttribute("FeatureProviderCapabilities", Namespace="", IsNullable=false)]
public partial class FdoProviderCapabilities : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesProvider providerField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesConnection connectionField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesSchema schemaField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesCommand commandField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesFilter filterField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesExpression expressionField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesRaster rasterField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesTopology topologyField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesGeometry geometryField;
private static System.Xml.Serialization.XmlSerializer serializer;
public FdoProviderCapabilitiesProvider Provider {
get {
return this.providerField;
}
set {
if ((this.providerField != null)) {
if ((providerField.Equals(value) != true)) {
this.providerField = value;
this.OnPropertyChanged("Provider");
}
}
else {
this.providerField = value;
this.OnPropertyChanged("Provider");
}
}
}
public FdoProviderCapabilitiesConnection Connection {
get {
return this.connectionField;
}
set {
if ((this.connectionField != null)) {
if ((connectionField.Equals(value) != true)) {
this.connectionField = value;
this.OnPropertyChanged("Connection");
}
}
else {
this.connectionField = value;
this.OnPropertyChanged("Connection");
}
}
}
public FdoProviderCapabilitiesSchema Schema {
get {
return this.schemaField;
}
set {
if ((this.schemaField != null)) {
if ((schemaField.Equals(value) != true)) {
this.schemaField = value;
this.OnPropertyChanged("Schema");
}
}
else {
this.schemaField = value;
this.OnPropertyChanged("Schema");
}
}
}
public FdoProviderCapabilitiesCommand Command {
get {
return this.commandField;
}
set {
if ((this.commandField != null)) {
if ((commandField.Equals(value) != true)) {
this.commandField = value;
this.OnPropertyChanged("Command");
}
}
else {
this.commandField = value;
this.OnPropertyChanged("Command");
}
}
}
public FdoProviderCapabilitiesFilter Filter {
get {
return this.filterField;
}
set {
if ((this.filterField != null)) {
if ((filterField.Equals(value) != true)) {
this.filterField = value;
this.OnPropertyChanged("Filter");
}
}
else {
this.filterField = value;
this.OnPropertyChanged("Filter");
}
}
}
public FdoProviderCapabilitiesExpression Expression {
get {
return this.expressionField;
}
set {
if ((this.expressionField != null)) {
if ((expressionField.Equals(value) != true)) {
this.expressionField = value;
this.OnPropertyChanged("Expression");
}
}
else {
this.expressionField = value;
this.OnPropertyChanged("Expression");
}
}
}
public FdoProviderCapabilitiesRaster Raster {
get {
return this.rasterField;
}
set {
if ((this.rasterField != null)) {
if ((rasterField.Equals(value) != true)) {
this.rasterField = value;
this.OnPropertyChanged("Raster");
}
}
else {
this.rasterField = value;
this.OnPropertyChanged("Raster");
}
}
}
public FdoProviderCapabilitiesTopology Topology {
get {
return this.topologyField;
}
set {
if ((this.topologyField != null)) {
if ((topologyField.Equals(value) != true)) {
this.topologyField = value;
this.OnPropertyChanged("Topology");
}
}
else {
this.topologyField = value;
this.OnPropertyChanged("Topology");
}
}
}
public FdoProviderCapabilitiesGeometry Geometry {
get {
return this.geometryField;
}
set {
if ((this.geometryField != null)) {
if ((geometryField.Equals(value) != true)) {
this.geometryField = value;
this.OnPropertyChanged("Geometry");
}
}
else {
this.geometryField = value;
this.OnPropertyChanged("Geometry");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilities));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilities object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilities object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilities object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilities obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilities);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilities obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilities Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilities)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilities object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilities object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilities object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilities obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilities);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilities obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilities LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilities object
///
public virtual FdoProviderCapabilities Clone() {
return ((FdoProviderCapabilities)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesProvider : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private string nameField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string valueField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlAttributeAttribute()]
public string Name {
get {
return this.nameField;
}
set {
if ((this.nameField != null)) {
if ((nameField.Equals(value) != true)) {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
else {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
}
[System.Xml.Serialization.XmlTextAttribute()]
public string Value {
get {
return this.valueField;
}
set {
if ((this.valueField != null)) {
if ((valueField.Equals(value) != true)) {
this.valueField = value;
this.OnPropertyChanged("Value");
}
}
else {
this.valueField = value;
this.OnPropertyChanged("Value");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesProvider));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesProvider object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesProvider object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesProvider object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesProvider obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesProvider);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesProvider obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesProvider Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesProvider)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesProvider object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesProvider object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesProvider object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesProvider obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesProvider);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesProvider obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesProvider LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesProvider object
///
public virtual FdoProviderCapabilitiesProvider Clone() {
return ((FdoProviderCapabilitiesProvider)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesConnection : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesConnectionThreadCapability threadCapabilityField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList spatialContextExtentField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsLockingField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsTimeoutField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsTransactionsField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsLongTransactionsField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsSQLField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsConfigurationField;
private static System.Xml.Serialization.XmlSerializer serializer;
public FdoProviderCapabilitiesConnectionThreadCapability ThreadCapability {
get {
return this.threadCapabilityField;
}
set {
if ((threadCapabilityField.Equals(value) != true)) {
this.threadCapabilityField = value;
this.OnPropertyChanged("ThreadCapability");
}
}
}
[System.Xml.Serialization.XmlArrayItemAttribute("Type", IsNullable=false)]
public BindingList SpatialContextExtent {
get {
return this.spatialContextExtentField;
}
set {
if ((this.spatialContextExtentField != null)) {
if ((spatialContextExtentField.Equals(value) != true)) {
this.spatialContextExtentField = value;
this.OnPropertyChanged("SpatialContextExtent");
}
}
else {
this.spatialContextExtentField = value;
this.OnPropertyChanged("SpatialContextExtent");
}
}
}
public bool SupportsLocking {
get {
return this.supportsLockingField;
}
set {
if ((supportsLockingField.Equals(value) != true)) {
this.supportsLockingField = value;
this.OnPropertyChanged("SupportsLocking");
}
}
}
public bool SupportsTimeout {
get {
return this.supportsTimeoutField;
}
set {
if ((supportsTimeoutField.Equals(value) != true)) {
this.supportsTimeoutField = value;
this.OnPropertyChanged("SupportsTimeout");
}
}
}
public bool SupportsTransactions {
get {
return this.supportsTransactionsField;
}
set {
if ((supportsTransactionsField.Equals(value) != true)) {
this.supportsTransactionsField = value;
this.OnPropertyChanged("SupportsTransactions");
}
}
}
public bool SupportsLongTransactions {
get {
return this.supportsLongTransactionsField;
}
set {
if ((supportsLongTransactionsField.Equals(value) != true)) {
this.supportsLongTransactionsField = value;
this.OnPropertyChanged("SupportsLongTransactions");
}
}
}
public bool SupportsSQL {
get {
return this.supportsSQLField;
}
set {
if ((supportsSQLField.Equals(value) != true)) {
this.supportsSQLField = value;
this.OnPropertyChanged("SupportsSQL");
}
}
}
public bool SupportsConfiguration {
get {
return this.supportsConfigurationField;
}
set {
if ((supportsConfigurationField.Equals(value) != true)) {
this.supportsConfigurationField = value;
this.OnPropertyChanged("SupportsConfiguration");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesConnection));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesConnection object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesConnection object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesConnection object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesConnection obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesConnection);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesConnection obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesConnection Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesConnection)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesConnection object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesConnection object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesConnection object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesConnection obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesConnection);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesConnection obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesConnection LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesConnection object
///
public virtual FdoProviderCapabilitiesConnection Clone() {
return ((FdoProviderCapabilitiesConnection)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesConnectionThreadCapability {
///
SingleThreaded,
///
PerConnectionThreaded,
///
PerCommandThreaded,
///
MultiThreaded,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesConnectionType {
///
Static,
///
Dynamic,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesSchema : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList classField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList dataField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsInheritanceField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsMultipleSchemasField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsObjectPropertiesField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsAssociationPropertiesField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsSchemaOverridesField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsNetworkModelField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlArrayItemAttribute("Type", IsNullable=false)]
public BindingList Class {
get {
return this.classField;
}
set {
if ((this.classField != null)) {
if ((classField.Equals(value) != true)) {
this.classField = value;
this.OnPropertyChanged("Class");
}
}
else {
this.classField = value;
this.OnPropertyChanged("Class");
}
}
}
[System.Xml.Serialization.XmlArrayItemAttribute("Type", IsNullable=false)]
public BindingList Data {
get {
return this.dataField;
}
set {
if ((this.dataField != null)) {
if ((dataField.Equals(value) != true)) {
this.dataField = value;
this.OnPropertyChanged("Data");
}
}
else {
this.dataField = value;
this.OnPropertyChanged("Data");
}
}
}
public bool SupportsInheritance {
get {
return this.supportsInheritanceField;
}
set {
if ((supportsInheritanceField.Equals(value) != true)) {
this.supportsInheritanceField = value;
this.OnPropertyChanged("SupportsInheritance");
}
}
}
public bool SupportsMultipleSchemas {
get {
return this.supportsMultipleSchemasField;
}
set {
if ((supportsMultipleSchemasField.Equals(value) != true)) {
this.supportsMultipleSchemasField = value;
this.OnPropertyChanged("SupportsMultipleSchemas");
}
}
}
public bool SupportsObjectProperties {
get {
return this.supportsObjectPropertiesField;
}
set {
if ((supportsObjectPropertiesField.Equals(value) != true)) {
this.supportsObjectPropertiesField = value;
this.OnPropertyChanged("SupportsObjectProperties");
}
}
}
public bool SupportsAssociationProperties {
get {
return this.supportsAssociationPropertiesField;
}
set {
if ((supportsAssociationPropertiesField.Equals(value) != true)) {
this.supportsAssociationPropertiesField = value;
this.OnPropertyChanged("SupportsAssociationProperties");
}
}
}
public bool SupportsSchemaOverrides {
get {
return this.supportsSchemaOverridesField;
}
set {
if ((supportsSchemaOverridesField.Equals(value) != true)) {
this.supportsSchemaOverridesField = value;
this.OnPropertyChanged("SupportsSchemaOverrides");
}
}
}
public bool SupportsNetworkModel {
get {
return this.supportsNetworkModelField;
}
set {
if ((supportsNetworkModelField.Equals(value) != true)) {
this.supportsNetworkModelField = value;
this.OnPropertyChanged("SupportsNetworkModel");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesSchema));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesSchema object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesSchema object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesSchema object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesSchema obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesSchema);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesSchema obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesSchema Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesSchema)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesSchema object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesSchema object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesSchema object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesSchema obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesSchema);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesSchema obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesSchema LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesSchema object
///
public virtual FdoProviderCapabilitiesSchema Clone() {
return ((FdoProviderCapabilitiesSchema)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesSchemaType {
///
Class,
///
FeatureClass,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesSchemaType1 {
///
Boolean,
///
Byte,
///
DateTime,
///
Decimal,
///
Double,
///
Int16,
///
Int32,
///
Int64,
///
Single,
///
String,
///
BLOB,
///
CLOB,
///
UniqueID,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesCommand : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList supportedCommandsField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsParametersField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsTimeoutField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlArrayItemAttribute("Name", IsNullable=false)]
public BindingList SupportedCommands {
get {
return this.supportedCommandsField;
}
set {
if ((this.supportedCommandsField != null)) {
if ((supportedCommandsField.Equals(value) != true)) {
this.supportedCommandsField = value;
this.OnPropertyChanged("SupportedCommands");
}
}
else {
this.supportedCommandsField = value;
this.OnPropertyChanged("SupportedCommands");
}
}
}
public bool SupportsParameters {
get {
return this.supportsParametersField;
}
set {
if ((supportsParametersField.Equals(value) != true)) {
this.supportsParametersField = value;
this.OnPropertyChanged("SupportsParameters");
}
}
}
public bool SupportsTimeout {
get {
return this.supportsTimeoutField;
}
set {
if ((supportsTimeoutField.Equals(value) != true)) {
this.supportsTimeoutField = value;
this.OnPropertyChanged("SupportsTimeout");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesCommand));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesCommand object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesCommand object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesCommand object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesCommand obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesCommand);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesCommand obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesCommand Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesCommand)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesCommand object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesCommand object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesCommand object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesCommand obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesCommand);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesCommand obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesCommand LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesCommand object
///
public virtual FdoProviderCapabilitiesCommand Clone() {
return ((FdoProviderCapabilitiesCommand)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesCommandName {
///
Select,
///
Insert,
///
Delete,
///
Update,
///
DescribeSchema,
///
ApplySchema,
///
DestroySchema,
///
ActivateSpatialContext,
///
CreateSpatialContext,
///
DestroySpatialContext,
///
GetSpatialContexts,
///
CreateMeasureUnit,
///
DestroyMeasureUnit,
///
GetMeasureUnits,
///
SQLCommand,
///
AcquireLock,
///
GetLockInfo,
///
GetLockedObjects,
///
GetLockOwners,
///
ReleaseLock,
///
ActivateLongTransaction,
///
CommitLongTransaction,
///
CreateLongTransaction,
///
GetLongTransactions,
///
FreezeLongTransaction,
///
RollbackLongTransaction,
///
ActivateLongTransactionCheckpoint,
///
CreateLongTransactionCheckpoint,
///
GetLongTransactionCheckpoints,
///
RollbackLongTransactionCheckpoint,
///
ChangeLongTransactionPrivileges,
///
GetLongTransactionPrivileges,
///
ChangeLongTransactionSet,
///
GetLongTransactionsInSet,
///
FirstProviderCommand,
///
DeactivateLongTransaction,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesFilter : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList conditionField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList spatialField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList distanceField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsGeodesicDistanceField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsNonLiteralGeometricOperationsField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlArrayItemAttribute("Type", IsNullable=false)]
public BindingList Condition {
get {
return this.conditionField;
}
set {
if ((this.conditionField != null)) {
if ((conditionField.Equals(value) != true)) {
this.conditionField = value;
this.OnPropertyChanged("Condition");
}
}
else {
this.conditionField = value;
this.OnPropertyChanged("Condition");
}
}
}
[System.Xml.Serialization.XmlArrayItemAttribute("Operation", IsNullable=false)]
public BindingList Spatial {
get {
return this.spatialField;
}
set {
if ((this.spatialField != null)) {
if ((spatialField.Equals(value) != true)) {
this.spatialField = value;
this.OnPropertyChanged("Spatial");
}
}
else {
this.spatialField = value;
this.OnPropertyChanged("Spatial");
}
}
}
[System.Xml.Serialization.XmlArrayItemAttribute("Operation", IsNullable=false)]
public BindingList Distance {
get {
return this.distanceField;
}
set {
if ((this.distanceField != null)) {
if ((distanceField.Equals(value) != true)) {
this.distanceField = value;
this.OnPropertyChanged("Distance");
}
}
else {
this.distanceField = value;
this.OnPropertyChanged("Distance");
}
}
}
public bool SupportsGeodesicDistance {
get {
return this.supportsGeodesicDistanceField;
}
set {
if ((supportsGeodesicDistanceField.Equals(value) != true)) {
this.supportsGeodesicDistanceField = value;
this.OnPropertyChanged("SupportsGeodesicDistance");
}
}
}
public bool SupportsNonLiteralGeometricOperations {
get {
return this.supportsNonLiteralGeometricOperationsField;
}
set {
if ((supportsNonLiteralGeometricOperationsField.Equals(value) != true)) {
this.supportsNonLiteralGeometricOperationsField = value;
this.OnPropertyChanged("SupportsNonLiteralGeometricOperations");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesFilter));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesFilter object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesFilter object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesFilter object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesFilter obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesFilter);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesFilter obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesFilter Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesFilter)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesFilter object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesFilter object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesFilter object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesFilter obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesFilter);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesFilter obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesFilter LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesFilter object
///
public virtual FdoProviderCapabilitiesFilter Clone() {
return ((FdoProviderCapabilitiesFilter)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesFilterType {
///
Comparison,
///
Like,
///
In,
///
Null,
///
Spatial,
///
Distance,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesFilterOperation {
///
Contains,
///
Crosses,
///
Disjoint,
///
Equals,
///
Intersects,
///
Overlaps,
///
Touches,
///
Within,
///
CoveredBy,
///
Inside,
///
EnvelopeIntersects,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesFilterOperation1 {
///
Beyond,
///
Within,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesExpression : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList typeField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList functionDefinitionListField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlArrayItemAttribute("Name", IsNullable=false)]
public BindingList Type {
get {
return this.typeField;
}
set {
if ((this.typeField != null)) {
if ((typeField.Equals(value) != true)) {
this.typeField = value;
this.OnPropertyChanged("Type");
}
}
else {
this.typeField = value;
this.OnPropertyChanged("Type");
}
}
}
[System.Xml.Serialization.XmlArrayItemAttribute("FunctionDefinition", IsNullable=false)]
public BindingList FunctionDefinitionList {
get {
return this.functionDefinitionListField;
}
set {
if ((this.functionDefinitionListField != null)) {
if ((functionDefinitionListField.Equals(value) != true)) {
this.functionDefinitionListField = value;
this.OnPropertyChanged("FunctionDefinitionList");
}
}
else {
this.functionDefinitionListField = value;
this.OnPropertyChanged("FunctionDefinitionList");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesExpression));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesExpression object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesExpression object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesExpression object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesExpression obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesExpression);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesExpression obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesExpression Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesExpression)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesExpression object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesExpression object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesExpression object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesExpression obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesExpression);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesExpression obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesExpression LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesExpression object
///
public virtual FdoProviderCapabilitiesExpression Clone() {
return ((FdoProviderCapabilitiesExpression)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesExpressionName {
///
Basic,
///
Function,
///
Parameter,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesExpressionFunctionDefinition : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private string nameField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string descriptionField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string returnTypeField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList argumentDefinitionListField;
private static System.Xml.Serialization.XmlSerializer serializer;
public string Name {
get {
return this.nameField;
}
set {
if ((this.nameField != null)) {
if ((nameField.Equals(value) != true)) {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
else {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
}
public string Description {
get {
return this.descriptionField;
}
set {
if ((this.descriptionField != null)) {
if ((descriptionField.Equals(value) != true)) {
this.descriptionField = value;
this.OnPropertyChanged("Description");
}
}
else {
this.descriptionField = value;
this.OnPropertyChanged("Description");
}
}
}
public string ReturnType {
get {
return this.returnTypeField;
}
set {
if (returnTypeField != value) {
this.returnTypeField = value;
this.OnPropertyChanged("ReturnType");
}
}
}
[System.Xml.Serialization.XmlArrayItemAttribute("ArgumentDefinition", IsNullable=false)]
public BindingList ArgumentDefinitionList {
get {
return this.argumentDefinitionListField;
}
set {
if ((this.argumentDefinitionListField != null)) {
if ((argumentDefinitionListField.Equals(value) != true)) {
this.argumentDefinitionListField = value;
this.OnPropertyChanged("ArgumentDefinitionList");
}
}
else {
this.argumentDefinitionListField = value;
this.OnPropertyChanged("ArgumentDefinitionList");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesExpressionFunctionDefinition));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesExpressionFunctionDefinition object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesExpressionFunctionDefinition object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesExpressionFunctionDefinition object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesExpressionFunctionDefinition obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesExpressionFunctionDefinition);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesExpressionFunctionDefinition obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesExpressionFunctionDefinition Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesExpressionFunctionDefinition)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesExpressionFunctionDefinition object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesExpressionFunctionDefinition object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesExpressionFunctionDefinition object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesExpressionFunctionDefinition obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesExpressionFunctionDefinition);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesExpressionFunctionDefinition obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesExpressionFunctionDefinition LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesExpressionFunctionDefinition object
///
public virtual FdoProviderCapabilitiesExpressionFunctionDefinition Clone() {
return ((FdoProviderCapabilitiesExpressionFunctionDefinition)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesExpressionFunctionDefinitionReturnType {
///
Boolean,
///
Byte,
///
DateTime,
///
Decimal,
///
Double,
///
Int16,
///
Int32,
///
Int64,
///
Single,
///
String,
///
BLOB,
///
CLOB,
///
UniqueID,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private string nameField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string descriptionField;
[EditorBrowsable(EditorBrowsableState.Never)]
private FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinitionDataType dataTypeField;
private static System.Xml.Serialization.XmlSerializer serializer;
public string Name {
get {
return this.nameField;
}
set {
if ((this.nameField != null)) {
if ((nameField.Equals(value) != true)) {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
else {
this.nameField = value;
this.OnPropertyChanged("Name");
}
}
}
public string Description {
get {
return this.descriptionField;
}
set {
if ((this.descriptionField != null)) {
if ((descriptionField.Equals(value) != true)) {
this.descriptionField = value;
this.OnPropertyChanged("Description");
}
}
else {
this.descriptionField = value;
this.OnPropertyChanged("Description");
}
}
}
public FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinitionDataType DataType {
get {
return this.dataTypeField;
}
set {
if ((dataTypeField.Equals(value) != true)) {
this.dataTypeField = value;
this.OnPropertyChanged("DataType");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition object
///
public virtual FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition Clone() {
return ((FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinition)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesExpressionFunctionDefinitionArgumentDefinitionDataType {
///
Boolean,
///
Byte,
///
DateTime,
///
Decimal,
///
Double,
///
Int16,
///
Int32,
///
Int64,
///
Single,
///
String,
///
BLOB,
///
CLOB,
///
UniqueID,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesRaster : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsRasterField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsStitchingField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsSubsamplingField;
private static System.Xml.Serialization.XmlSerializer serializer;
public bool SupportsRaster {
get {
return this.supportsRasterField;
}
set {
if ((supportsRasterField.Equals(value) != true)) {
this.supportsRasterField = value;
this.OnPropertyChanged("SupportsRaster");
}
}
}
public bool SupportsStitching {
get {
return this.supportsStitchingField;
}
set {
if ((supportsStitchingField.Equals(value) != true)) {
this.supportsStitchingField = value;
this.OnPropertyChanged("SupportsStitching");
}
}
}
public bool SupportsSubsampling {
get {
return this.supportsSubsamplingField;
}
set {
if ((supportsSubsamplingField.Equals(value) != true)) {
this.supportsSubsamplingField = value;
this.OnPropertyChanged("SupportsSubsampling");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesRaster));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesRaster object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesRaster object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesRaster object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesRaster obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesRaster);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesRaster obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesRaster Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesRaster)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesRaster object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesRaster object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesRaster object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesRaster obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesRaster);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesRaster obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesRaster LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesRaster object
///
public virtual FdoProviderCapabilitiesRaster Clone() {
return ((FdoProviderCapabilitiesRaster)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesTopology : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsTopologyField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool supportsTopologicalHierarchyField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool breaksCurveCrossingsAutomaticallyField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool activatesTopologyByAreaField;
[EditorBrowsable(EditorBrowsableState.Never)]
private bool constrainsFeatureMovementsField;
private static System.Xml.Serialization.XmlSerializer serializer;
public bool SupportsTopology {
get {
return this.supportsTopologyField;
}
set {
if ((supportsTopologyField.Equals(value) != true)) {
this.supportsTopologyField = value;
this.OnPropertyChanged("SupportsTopology");
}
}
}
public bool SupportsTopologicalHierarchy {
get {
return this.supportsTopologicalHierarchyField;
}
set {
if ((supportsTopologicalHierarchyField.Equals(value) != true)) {
this.supportsTopologicalHierarchyField = value;
this.OnPropertyChanged("SupportsTopologicalHierarchy");
}
}
}
public bool BreaksCurveCrossingsAutomatically {
get {
return this.breaksCurveCrossingsAutomaticallyField;
}
set {
if ((breaksCurveCrossingsAutomaticallyField.Equals(value) != true)) {
this.breaksCurveCrossingsAutomaticallyField = value;
this.OnPropertyChanged("BreaksCurveCrossingsAutomatically");
}
}
}
public bool ActivatesTopologyByArea {
get {
return this.activatesTopologyByAreaField;
}
set {
if ((activatesTopologyByAreaField.Equals(value) != true)) {
this.activatesTopologyByAreaField = value;
this.OnPropertyChanged("ActivatesTopologyByArea");
}
}
}
public bool ConstrainsFeatureMovements {
get {
return this.constrainsFeatureMovementsField;
}
set {
if ((constrainsFeatureMovementsField.Equals(value) != true)) {
this.constrainsFeatureMovementsField = value;
this.OnPropertyChanged("ConstrainsFeatureMovements");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesTopology));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesTopology object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesTopology object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesTopology object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesTopology obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesTopology);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesTopology obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesTopology Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesTopology)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesTopology object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesTopology object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesTopology object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesTopology obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesTopology);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesTopology obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesTopology LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesTopology object
///
public virtual FdoProviderCapabilitiesTopology Clone() {
return ((FdoProviderCapabilitiesTopology)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class FdoProviderCapabilitiesGeometry : System.ComponentModel.INotifyPropertyChanged {
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList typesField;
[EditorBrowsable(EditorBrowsableState.Never)]
private BindingList componentsField;
[EditorBrowsable(EditorBrowsableState.Never)]
private string dimensionalityField;
private static System.Xml.Serialization.XmlSerializer serializer;
[System.Xml.Serialization.XmlArrayItemAttribute("Type", IsNullable=false)]
public BindingList Types {
get {
return this.typesField;
}
set {
if ((this.typesField != null)) {
if ((typesField.Equals(value) != true)) {
this.typesField = value;
this.OnPropertyChanged("Types");
}
}
else {
this.typesField = value;
this.OnPropertyChanged("Types");
}
}
}
[System.Xml.Serialization.XmlArrayItemAttribute("Type", IsNullable=false)]
public BindingList Components {
get {
return this.componentsField;
}
set {
if ((this.componentsField != null)) {
if ((componentsField.Equals(value) != true)) {
this.componentsField = value;
this.OnPropertyChanged("Components");
}
}
else {
this.componentsField = value;
this.OnPropertyChanged("Components");
}
}
}
[System.Xml.Serialization.XmlElementAttribute(DataType="integer")]
public string Dimensionality {
get {
return this.dimensionalityField;
}
set {
if ((this.dimensionalityField != null)) {
if ((dimensionalityField.Equals(value) != true)) {
this.dimensionalityField = value;
this.OnPropertyChanged("Dimensionality");
}
}
else {
this.dimensionalityField = value;
this.OnPropertyChanged("Dimensionality");
}
}
}
private static System.Xml.Serialization.XmlSerializer Serializer {
get {
if ((serializer == null)) {
serializer = new System.Xml.Serialization.XmlSerializer(typeof(FdoProviderCapabilitiesGeometry));
}
return serializer;
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
public virtual void OnPropertyChanged(string info) {
System.ComponentModel.PropertyChangedEventHandler handler = this.PropertyChanged;
if ((handler != null)) {
handler(this, new System.ComponentModel.PropertyChangedEventArgs(info));
}
}
#region Serialize/Deserialize
///
/// Serializes current FdoProviderCapabilitiesGeometry object into an XML document
///
/// string XML value
public virtual string Serialize() {
System.IO.StreamReader streamReader = null;
System.IO.MemoryStream memoryStream = null;
try {
memoryStream = new System.IO.MemoryStream();
Serializer.Serialize(memoryStream, this);
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);
streamReader = new System.IO.StreamReader(memoryStream);
return streamReader.ReadToEnd();
}
finally {
if ((streamReader != null)) {
streamReader.Dispose();
}
if ((memoryStream != null)) {
memoryStream.Dispose();
}
}
}
///
/// Deserializes workflow markup into an FdoProviderCapabilitiesGeometry object
///
/// string workflow markup to deserialize
/// Output FdoProviderCapabilitiesGeometry object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool Deserialize(string xml, out FdoProviderCapabilitiesGeometry obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesGeometry);
try {
obj = Deserialize(xml);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool Deserialize(string xml, out FdoProviderCapabilitiesGeometry obj) {
System.Exception exception = null;
return Deserialize(xml, out obj, out exception);
}
public static FdoProviderCapabilitiesGeometry Deserialize(string xml) {
System.IO.StringReader stringReader = null;
try {
stringReader = new System.IO.StringReader(xml);
return ((FdoProviderCapabilitiesGeometry)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
}
finally {
if ((stringReader != null)) {
stringReader.Dispose();
}
}
}
///
/// Serializes current FdoProviderCapabilitiesGeometry object into file
///
/// full path of outupt xml file
/// output Exception value if failed
/// true if can serialize and save into file; otherwise, false
public virtual bool SaveToFile(string fileName, out System.Exception exception) {
exception = null;
try {
SaveToFile(fileName);
return true;
}
catch (System.Exception e) {
exception = e;
return false;
}
}
public virtual void SaveToFile(string fileName) {
System.IO.StreamWriter streamWriter = null;
try {
string xmlString = Serialize();
System.IO.FileInfo xmlFile = new System.IO.FileInfo(fileName);
streamWriter = xmlFile.CreateText();
streamWriter.WriteLine(xmlString);
streamWriter.Close();
}
finally {
if ((streamWriter != null)) {
streamWriter.Dispose();
}
}
}
///
/// Deserializes xml markup from file into an FdoProviderCapabilitiesGeometry object
///
/// string xml file to load and deserialize
/// Output FdoProviderCapabilitiesGeometry object
/// output Exception value if deserialize failed
/// true if this XmlSerializer can deserialize the object; otherwise, false
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesGeometry obj, out System.Exception exception) {
exception = null;
obj = default(FdoProviderCapabilitiesGeometry);
try {
obj = LoadFromFile(fileName);
return true;
}
catch (System.Exception ex) {
exception = ex;
return false;
}
}
public static bool LoadFromFile(string fileName, out FdoProviderCapabilitiesGeometry obj) {
System.Exception exception = null;
return LoadFromFile(fileName, out obj, out exception);
}
public static FdoProviderCapabilitiesGeometry LoadFromFile(string fileName) {
System.IO.FileStream file = null;
System.IO.StreamReader sr = null;
try {
file = new System.IO.FileStream(fileName, FileMode.Open, FileAccess.Read);
sr = new System.IO.StreamReader(file);
string xmlString = sr.ReadToEnd();
sr.Close();
file.Close();
return Deserialize(xmlString);
}
finally {
if ((file != null)) {
file.Dispose();
}
if ((sr != null)) {
sr.Dispose();
}
}
}
#endregion
#region Clone method
///
/// Create a clone of this FdoProviderCapabilitiesGeometry object
///
public virtual FdoProviderCapabilitiesGeometry Clone() {
return ((FdoProviderCapabilitiesGeometry)(this.MemberwiseClone()));
}
#endregion
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesGeometryType {
///
None,
///
Point,
///
LineString,
///
Polygon,
///
MultiPoint,
///
MultiLineString,
///
MultiPolygon,
///
MultiGeometry,
///
CurveString,
///
CurvePolygon,
///
MultiCurveString,
///
MultiCurvePolygon,
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "3.3.0.33572")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public enum FdoProviderCapabilitiesGeometryType1 {
///
LinearRing,
///
ArcSegment,
///
LinearSegment,
///
CurveRing,
}
}