Latest release and Oracle business object mapping


Author
Message
John Frankewicz
John Frankewicz
StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)StrataFrame Beginner (40 reputation)
Group: Forum Members
Posts: 36, Visits: 65
Create a Strataframe project and add a business object to it.

Map the business object to an Oracle database.

You get a select oracle table, but at the root node it has SQL server, and under that it has the tables of the database instance. Should the SQL server be named oracle, it is misleading.

You build a partial class and everything is ok.

You try to build and you get the following error:

Error 1 The name 'InitializeComponent' does not exist in the current context C:\VSPrjs\MedSelect.Oncology.Login\MedSelect.Oncology.Login\LoginBusiness.cs 24 13 MedSelect.Oncology.Login

This is a new solution, not one based from previous version.

Other errors:

Error 4 The name 'LoginBusiness_CheckRulesOnCurrentRow' does not exist in the current context C:\VSPrjs\MedSelect.Oncology.Login\MedSelect.Oncology.Login\LoginBusiness.Designer.cs 42 83 MedSelect.Oncology.Login

Error 7 The type or namespace name 'OracleClient' does not exist in the namespace 'System.Data' (are you missing an assembly reference?) C:\VSPrjs\MedSelect.Oncology.Login\MedSelect.Oncology.Login\LoginBusiness.Designer.cs 1014 72 MedSelect.Oncology.Login

I just assumed all references would be placed since you selected oracle.

Am I  doing something or is it an issue that needs fixed?

Reply
Scott
Scott
StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
Did you make the required changes in the appmain.cs file in

private static void SetDataSources()

//ConnectionManager.AddRequiredDataSourceItem("", "Oracle Connection",
// DataSourceTypeOptions.Oracle, "", "This connection is used by WindowsApplication1.");

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