Gerry Seel
Gerry Seel

Reputation: 63

Windows Universal App Oracle Database Connection

i want to create a Windows Universal App for my Raspberry Pi with Windows 10. I need a access to a Oracle database.

So i add a Oracle DataAccess reference to my project.

When i create a Oracle Command like this

OracleCommand OraComm = OraConn.CreateCommand();

this error occurs:

CS0012 C# The type '' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Now i add a System.Data reference to my project again.

After that, this error occurs on the same command.

CS7069 C# Reference to type 'Component' claims it is defined in 'System', but it could not be found

Is it possible to get a database access with windows universal app? Why does this error occurs?

Upvotes: 1

Views: 1070

Answers (1)

O.O
O.O

Reputation: 11287

You could create a WCF service which in turn calls the Oracle database using the the code above.

UI <-> WCF <-> Database

Upvotes: 0

Related Questions