Not logged in : Login

About: VirtOracleEntityFrameworkUsage     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : www.openlinksw.com associated with source document(s)
QRcode icon
http://www.openlinksw.com/describe/?url=http%3A%2F%2Fwww.openlinksw.com%2Fdataspace%2Fdav%2Fwiki%2FMain%2FVirtOracleEntityFrameworkUsage

AttributesValues
has container
Date Created
maker
topic
described by
seeAlso
Date Modified
link
id
  • 74c3624b6b61856f5a9475c553f5a52a
content
  • %VOSWARNING% %META:TOPICPARENT{name="VirtAdoNet35Provider"}% ---+ Using Microsoft Entity Frameworks to Access Oracle Schema Objects with Virtuoso This document details the steps required to provide Microsoft Entity Framework access to Oracle Schema Objects using the <nop>OpenLink Virtuoso Universal Server. This is achieved by linking the required Oracle Schema objects into Virtuoso using its built in Virtual Database engine and then using the Virtuoso ADO.NET Entity Framework provider to query the remote Oracle Schema objects linked into the Virtuoso Server. %TOC% ---++ Prerequisites The following must be in place to complete this exercise. 1 <b>Microsoft Visual Studio 2008 SP1 (or later)</b>%BR% Microsoft Visual Studio 2008 Service Pack 1 (or later) is required, as previous versions do not include the necessary Entity Framework support.%BR%%BR% 1 <b>Virtuoso ADO.NET Entity Framework Provider, v5.10 or later</b>%BR% The ADO.NET Entity Framework Provider must be installed on the Visual Studio development and deployment host(s). Version 5.10.x or later is required, as previous versions do not include the necessary Entity Frameworks support.%BR%%BR% 1 <b>Virtuoso Universal Server, v5.10 or later</b>%BR% Virtuoso Universal Server Release 5.10 or later is required, as previous versions do not include the necessary Entity Frameworks support. This may be on any host which is TCP/IP accessible from the Visual Studio development and deployment host(s).%BR%%BR% 1 <b>ODBC Driver for Oracle</b>%BR% The Virtuoso Server uses an ODBC Driver for Oracle to link in the Oracle Schema Objects. The <b><nop>OpenLink Single-Tier ODBC Driver for Oracle</b> will be used in this document, and a functional ODBC Data Source Name (DSN) of "<b><code>ora10ma</code></b>" will be assumed to exist on the machine hosting the Virtuoso Server. Any ODBC compliant driver for Oracle should work.%BR%%BR% 1 <b>Oracle DBMS</b>%BR% An Oracle DBMS hosting the required Schema Objects needs to be available. This may be on any host which is TCP/IP accessible from the Virtuoso Server host. In this document, the Oracle <b>Human Resources</b> database will be used to demonstrate the process.%BR%%BR% ---++ Tasks 1 <b>Ensure Oracle Primary Keys (PKs) are not nullable</b>%BR% The Visual Studio 2008 Entity Data Model (EDM) requires that all primary keys are *NOT* Nullable. Visual Studio 2008 will fail to generate an EDM if any are. Therefore, ensure any primary keys to be used are defined as not nullable in the Oracle database schema before attempting to generate an EDM. In the case of the Oracle Human Resources database, all primary keys are non nullable. Thus, this should not be an issue in this case.%BR%%BR% 1 <b>[[http://wikis.openlinksw.com/dataspace/owiki/wiki/UdaWikiWeb/InstallConfigODBC][Install and configure the <nop>OpenLink ODBC Driver for Oracle]]</b>%BR%%BR% 1 <b>[[VirtADOClientServInstall][Install and configure <nop>OpenLink Virtuoso Universal Server]]</b>%BR%%BR% 1 <b>[[VirtOracleLinkingObjects][Link Oracle tables and other schema objects into OpenLink Virtuoso]]</b>%BR%%BR% 1 <b>[[VirtOracleEDM][Create a Visual Studio-hosted Entity Data Model (EDM)]]</b>%BR%%BR% 1 <b>[[VirtEntityFrameworkOracleDatService][Use the EDM to create an Entity Frameworks-based ADO.NET Data Service]]</b>%BR%%BR% 1 <b>[[VirtOracleVisualStudioDataGridFormsApp][Use the EDM to create an Entity Frameworks-based Windows DataGrid Form Application]]</b>%BR% CategoryDocumentation CategoryVirtuoso CategoryEntityFrameworks CategoryDotNET CategoryOracle
  • %VOSWARNING% %META:TOPICPARENT{name="VirtAdoNet35Provider"}% ---+ Using Microsoft Entity Frameworks to Access Oracle Schema Objects with Virtuoso This document details the steps required to provide Microsoft Entity Framework access to Oracle Schema Objects using the <nop>OpenLink Virtuoso Universal Server. This is achieved by linking the required Oracle Schema objects into Virtuoso using its built in Virtual Database engine and then using the Virtuoso ADO.NET Entity Framework provider to query the remote Oracle Schema objects linked into the Virtuoso Server. %TOC% ---++ Prerequisites The following must be in place to complete this exercise. 1 <b>Microsoft Visual Studio 2008 SP1 (or later)</b>%BR% Microsoft Visual Studio 2008 Service Pack 1 (or later) is required, as previous versions do not include the necessary Entity Framework support.%BR%%BR% 1 <b>Virtuoso ADO.NET Entity Framework Provider, v5.10 or later</b>%BR% The ADO.NET Entity Framework Provider must be installed on the Visual Studio development and deployment host(s). Version 5.10.x or later is required, as previous versions do not include the necessary Entity Frameworks support.%BR%%BR% 1 <b>Virtuoso Universal Server, v5.10 or later</b>%BR% Virtuoso Universal Server Release 5.10 or later is required, as previous versions do not include the necessary Entity Frameworks support. This may be on any host which is TCP/IP accessible from the Visual Studio development and deployment host(s).%BR%%BR% 1 <b>ODBC Driver for Oracle</b>%BR% The Virtuoso Server uses an ODBC Driver for Oracle to link in the Oracle Schema Objects. The <b><nop>OpenLink Multi-Tier ODBC Driver for Oracle</b> will be used in this document, and a functional ODBC Data Source Name (DSN) of "<b><code>ora10ma-hr</code></b>" will be assumed to exist on the machine hosting the Virtuoso Server. Any ODBC compliant driver for Oracle should work.%BR%%BR% 1 <b>Oracle DBMS</b>%BR% An Oracle DBMS hosting the required Schema Objects needs to be available. This may be on any host which is TCP/IP accessible from the Virtuoso Server host. In this document, the Oracle <b>Human Resources</b> database will be used to demonstrate the process.%BR%%BR% ---++ Tasks 1 <b>Ensure Oracle Primary Keys (PKs) are not nullable</b>%BR% The Visual Studio 2008 Entity Data Model (EDM) requires that all primary keys are *NOT* Nullable. Visual Studio 2008 will fail to generate an EDM if any are. Therefore, ensure any primary keys to be used are defined as not nullable in the Oracle database schema before attempting to generate an EDM. In the case of the Oracle Human Resources database, all primary keys are non nullable. Thus, this should not be an issue in this case.%BR%%BR% 1 <b>[[http://wikis.openlinksw.com/dataspace/owiki/wiki/UdaWikiWeb/InstallConfigODBC][Install and configure the <nop>OpenLink ODBC Driver for Oracle]]</b>%BR%%BR% 1 <b>[[VirtADOClientServInstall][Install and configure <nop>OpenLink Virtuoso Universal Server]]</b>%BR%%BR% 1 <b>[[VirtOracleLinkingObjects][Link Oracle tables and other schema objects into OpenLink Virtuoso]]</b>%BR%%BR% 1 <b>[[VirtOracleEDM][Create a Visual Studio-hosted Entity Data Model (EDM)]]</b>%BR%%BR% 1 <b>[[VirtEntityFrameworkOracleDatService][Use the EDM to create an Entity Frameworks-based ADO.NET Data Service]]</b>%BR%%BR% 1 <b>[[VirtOracleVisualStudioDataGridFormsApp][Use the EDM to create an Entity Frameworks-based Windows DataGrid Form Application]]</b>%BR% CategoryDocumentation CategoryVirtuoso CategoryEntityFrameworks CategoryDotNET CategoryOracle
Title
  • VirtOracleEntityFrameworkUsage
has creator
is described using
atom:source
atom:updated
  • 2014-11-04T16:02:47Z
  • 2015-07-28T19:53:28Z
atom:title
  • VirtOracleEntityFrameworkUsage
links to
atom:author
label
  • VirtOracleEntityFrameworkUsage
topic
atom:published
  • 2010-02-01T14:50:34Z
type
is topic of
Faceted Search & Find service v1.17_git63 as of Apr 23 2021


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:       RDF       ODATA       Microdata      About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3322 as of Jun 3 2021, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (30 GB total memory)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2021 OpenLink Software