[fdo-users] fdo postgis connection string

Donald Cameron donald.cameron at autodesk.com
Wed Nov 12 14:49:25 EST 2008


PostGIS Connection Parameters
Username: IsRequired: True; IsEnumerable: False; IsProtected: False; Default Value: ;
Password: IsRequired: True; IsEnumerable: False; IsProtected: True; Default Value: ;
Service: IsRequired: True; IsEnumerable: False; IsProtected: False; Default Value: ;
DataStore: IsRequired: False; IsEnumerable: False; IsProtected: False; Default Value: ;

Source_connection.ConnectionString = "Username=" + username + ";Password=" + password + ";Service=" + service + ";DataStore=" + datastore + ';';

Don

-----Original Message-----
From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of Ary.Sucaya
Sent: Wednesday, November 12, 2008 2:00 PM
To: fdo-users at lists.osgeo.org
Subject: [fdo-users] fdo postgis connection string


Dear group,

I want to know what is connection string value for postgis provider in C#? I
found a sample code for SDF file. It is something like this:
source_connection.ConnectionString = @"DataSource=" + "C:\\Program
Files\\MapGuideOpenSource2.0\\Server\\Bin\\FDO\\OSGeo.SDFProvider.dll" +
";ReadOnly=true";
Thx



--
View this message in context: http://www.nabble.com/fdo-postgis-connection-string-tp20466955p20466955.html
Sent from the FDO Users mailing list archive at Nabble.com.

_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users


More information about the fdo-users mailing list