Initializes a new instance of the ShapeDataLayer class.


Namespace: AspMap.Data
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal providerName As String,  _ 
   ByVal connectionString As String,  _ 
   ByVal tableName As String,  _ 
   ByVal shapeDataField As String _ 
)
C#
public ShapeDataLayer(
   string providerName,
   string connectionString,
   string tableName,
   string shapeDataField
)
C++
public:
 ShapeDataLayer(
   String providerName,
   String connectionString,
   String tableName,
   String shapeDataField
) sealed 
J#
public ShapeDataLayer(
   string providerName,
   string connectionString,
   string tableName,
   string shapeDataField
)
JScript
public function ShapeDataLayer(
   providerName : String,
   connectionString : String,
   tableName : String,
   shapeDataField : String
)

Parameters

providerName
Specifes a database provider name. The provider must implement the System.Data.Common.DbProviderFactory class.
connectionString
Specifes the string used to open a database.
tableName
Specifes the table name.
shapeDataField
Specifes the name of the shape data field.

Exceptions

Exception TypeCondition
ExceptionThrown when an error occurs.

See Also