Class FeatureSchema
Contains all of the classes and relationships that make up a particular data model. This class is used to
represent the internal logical structure of a Feature Source
Inheritance
System.Object
FeatureSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class FeatureSchema : SchemaElement, IFdoSerializable
Constructors
|
Improve this Doc
View Source
FeatureSchema(String, String)
Declaration
public FeatureSchema(string name, string description)
Parameters
Type |
Name |
Description |
System.String |
name |
The name.
|
System.String |
description |
The description.
|
Properties
|
Improve this Doc
View Source
Classes
Gets the class definitions
Declaration
public ReadOnlyCollection<ClassDefinition> Classes { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ReadOnlyCollection<ClassDefinition> |
|
|
Improve this Doc
View Source
Item[Int32]
Gets the class definition at the specified index
Declaration
public ClassDefinition this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Methods
|
Improve this Doc
View Source
AddClass(ClassDefinition)
Adds the specified class definition
Declaration
public void AddClass(ClassDefinition cls)
Parameters
|
Improve this Doc
View Source
Clone(FeatureSchema)
Creates a clone of the specified instance
Declaration
public static FeatureSchema Clone(FeatureSchema fs)
Parameters
Returns
|
Improve this Doc
View Source
GetClass(String)
Returns the Class Definition by its name
Declaration
public ClassDefinition GetClass(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
ClassDefinition |
The matching Class Definition. null if it doesn't exist
|
|
Improve this Doc
View Source
GetItem(Int32)
Gets the class definition at the specified index
Declaration
public ClassDefinition GetItem(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
|
Improve this Doc
View Source
IndexOf(ClassDefinition)
Gets the index of the specified class definition
Declaration
public int IndexOf(ClassDefinition cls)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ReadXml(XmlNode, XmlNamespaceManager)
Set the current element's content from the current XML node
Declaration
public void ReadXml(XmlNode node, XmlNamespaceManager mgr)
Parameters
Type |
Name |
Description |
System.Xml.XmlNode |
node |
|
System.Xml.XmlNamespaceManager |
mgr |
|
|
Improve this Doc
View Source
RemoveClass(ClassDefinition)
Removes the specified class definition
Declaration
public bool RemoveClass(ClassDefinition cls)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveClass(String)
Removes a class definition by its name
Declaration
public void RemoveClass(string className)
Parameters
Type |
Name |
Description |
System.String |
className |
|
|
Improve this Doc
View Source
WriteXml(XmlDocument, XmlNode)
Writes the current element's content
Declaration
public void WriteXml(XmlDocument doc, XmlNode currentNode)
Parameters
Type |
Name |
Description |
System.Xml.XmlDocument |
doc |
|
System.Xml.XmlNode |
currentNode |
|
Implements