Class ExtensionMethods
Extension methods
Inheritance
System.Object
ExtensionMethods
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()
Namespace: OSGeo.MapGuide.ObjectModels.FeatureSource
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public static class ExtensionMethods
Methods
| Improve this Doc View SourceGetConfigurationContent(IFeatureSource, IServerConnection)
Gets the configuration document content
Declaration
public static string GetConfigurationContent(this IFeatureSource fs, IServerConnection conn)
Parameters
Type | Name | Description |
---|---|---|
IFeatureSource | fs | The Feature Source |
IServerConnection | conn | The Server Connection |
Returns
Type | Description |
---|---|
System.String | The configuration document XML content |
GetIdentityProperties(IFeatureSource, IServerConnection, String)
Convenience methods to get the identity properties of a given feature class (name)
Declaration
public static string[] GetIdentityProperties(this IFeatureSource fs, IServerConnection conn, string className)
Parameters
Type | Name | Description |
---|---|---|
IFeatureSource | fs | The feature source |
IServerConnection | conn | The server connection |
System.String | className | Name of the class. |
Returns
Type | Description |
---|---|
System.String[] | The array of identity properties |
SetConfigurationContent(IFeatureSource, IServerConnection, String)
Sets the configuration document content
Declaration
public static void SetConfigurationContent(this IFeatureSource fs, IServerConnection conn, string xmlContent)
Parameters
Type | Name | Description |
---|---|---|
IFeatureSource | fs | The feature source |
IServerConnection | conn | The server connection |
System.String | xmlContent | The confiugration document XML content |