Using SpatialOperator (WITHIN, etc) sample with ADO.NET for FileGDB now available

2726
2
08-21-2011 07:54 AM
dotnetproviderdotnetprovider
New Contributor
Below is a sample of how to use spatial query operator (within, contains, etc) with ADO.NET for FileGDB.

Example:

http://github.com/dotnetprovider/FileGDB-.NET-provider/wiki/Querying-Sample

Use the link below to download ADO.NET for FileGDB (32 bits, 64Bits, VS2008, VS2010):

https://github.com/dotnetprovider/FileGDB-.NET-provider
0 Kudos
2 Replies
CorySchinkel
New Contributor II
Does the FileGDB .Net Provider implement DbFactory?  In other words, is there a way to get a DbFactory object for FileGDB via DbProviderFactories.GetFactory() method? 

For example, I am able to do the same for SDE (SQL Server) and Personal GDB (Access) like so:
SQL Server
DbProviderFactory factory = DbProviderFactories.GetFactory("System.Data.SqlClient");

Access
DbProviderFactory factory = DbProviderFactories.GetFactory("System.Data.OleDb");


If this isn't possible, are there any plans to implement this in the future?  It would be a nice addition to an already great library!
0 Kudos
dotnetproviderdotnetprovider
New Contributor
>If this isn't possible, are there any plans to implement this in the future?  It would be a nice >addition to an already great library!


Thanks for the feedback about the ADO.NET provider for FileGDB. This funcationality is partially implemented. We will post the support for the DBProviderFactory in the next few days.
0 Kudos