Class DefaultInsertCommand<TConn>
A default implementation of IInsertFeatures. This class is reserved for connection provider use
Inheritance
System.Object
DefaultCommand<TConn>
DefaultFeatureCommand<TConn>
DefaultInsertCommand<TConn>
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.MaestroAPI.Commands
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public abstract class DefaultInsertCommand<TConn> : DefaultFeatureCommand<TConn>, IInsertFeatures, IFeatureCommand, ICommand where TConn : IServerConnection
Type Parameters
Name | Description |
---|---|
TConn | The type of the conn. |
Constructors
| Improve this Doc View SourceDefaultInsertCommand(TConn)
Initializes a new instance of the
Declaration
protected DefaultInsertCommand(TConn conn)
Parameters
Type | Name | Description |
---|---|---|
TConn | conn | The conn. |
Properties
| Improve this Doc View SourceRecordToInsert
Gets or sets the record to insert.
Declaration
public IMutableRecord RecordToInsert { get; set; }
Property Value
Type | Description |
---|---|
IMutableRecord | The record to insert. |
Methods
| Improve this Doc View SourceExecute()
Executes this instance.
Declaration
public InsertResult Execute()
Returns
Type | Description |
---|---|
InsertResult |
ExecuteInternal()
Performs the actual command execution
Declaration
protected abstract void ExecuteInternal()