MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgFeatureReader* MgLayerBase::InsertFeatures ( MgBatchPropertyCollection properties,
MgTransaction transaction 
) [virtual]

Inserts a set of new features into the specified feature class of the specified Feature Source.

.NET Syntax
virtual MgFeatureReader InsertFeatures(MgBatchPropertyCollection properties);
Java Syntax
virtual MgFeatureReader InsertFeatures(MgBatchPropertyCollection properties);
PHP Syntax
virtual MgFeatureReader InsertFeatures(MgBatchPropertyCollection properties);
Parameters:
properties(MgBatchPropertyCollection) The collection of property values to insert. Each MgPropertyCollection within this collection represents property values for a single feature to insert
transaction(MgTransaction) An optional transaction to execute this operation under
Returns:
Returns a feature reader object that contains the set of properties inserted into the datastore by the insert command.
Remarks:
Remember to close any feature readers returned by this method, even if you don't intend to do anything with them
Exceptions:
MgFeatureServiceException
MgInvalidArgumentException
MgInvalidOperationException
MgFdoException
Since:
3.0

Reimplemented in MgLayer.