Advantage Database Support


Author
Message
Simon White
Simon White
StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)
Group: Forum Members
Posts: 8, Visits: 9
I see from the documentation that you have support for several database servers. I would like to add a suggestion for two other database servers: Advantage Database Server, VistaDB.



I suggest Advantage because it can handle DBF files which means a VFP developer could build net apps that access VFP data while older applications still access the same data. This creates a nice migration path for such developers.



Regards,

Simon
Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
What you'll need to do is create a new class, I'd probably call it VistaDbDataSourceItem, and have it inherit from MicroFour.StrataFrame.Data.DbDataSourceItem.  There are a few methods in there that must be overriden to provide functionality specific to VistaDb.  My recommendation is to use the source code for the SqlDataSourceItem class (or one of the others such as AccessDataSourceItem, or OracleDataSourceItem) as a template for your VistaDbDataSourceItem class.  Once you've created the class, simply add an instance of the class to the DataLayer.DataSources collection within the AppMain.vb (or program.cs) file and the SF Framework will treat it as just another data source (the business objects won't even know the difference).
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search