Initializes a new instance of the PointDataLayer class.


Namespace: ActualMap.Data
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal providerName As String,  _ 
   ByVal connectionString As String,  _ 
   ByVal tableName As String,  _ 
   ByVal xField As String,  _ 
   ByVal yField As String _ 
)
C#
public PointDataLayer(
   string providerName,
   string connectionString,
   string tableName,
   string xField,
   string yField
)
C++
public:
 PointDataLayer(
   String providerName,
   String connectionString,
   String tableName,
   String xField,
   String yField
) sealed 
J#
public PointDataLayer(
   string providerName,
   string connectionString,
   string tableName,
   string xField,
   string yField
)
JScript
public function PointDataLayer(
   providerName : String,
   connectionString : String,
   tableName : String,
   xField : String,
   yField : 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.
xField
Specifies the field that stores the X (longitude) coordinate of a point.
yField
Specifies the field that stores the Y (latitude) coordinate of a point.

Exceptions

Exception TypeCondition
ExceptionThrown when an error occurs.

See Also