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).
|