This HTML5 document contains 40 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n7http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n6http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n8http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n14http://vos.openlinksw.com/dataspace/person/dav#
n4http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n16http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtPostgresEntityFrameworkUsage/sioc.
n10http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n12http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
n13http://wikis.openlinksw.com/dataspace/owiki/wiki/UdaWikiWeb/
Subject Item
n14:this
foaf:made
n2:VirtPostgresEntityFrameworkUsage
Subject Item
n6:this
sioc:creator_of
n2:VirtPostgresEntityFrameworkUsage
Subject Item
n7:item
n8:services_of
n2:VirtPostgresEntityFrameworkUsage
Subject Item
n10:this
sioc:creator_of
n2:VirtPostgresEntityFrameworkUsage
Subject Item
n4:VOS
sioc:container_of
n2:VirtPostgresEntityFrameworkUsage
atom:entry
n2:VirtPostgresEntityFrameworkUsage
atom:contains
n2:VirtPostgresEntityFrameworkUsage
Subject Item
n2:VirtPostgresEntityFrameworkUsage
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:41:29.200168
dcterms:modified
2017-06-29T07:39:32.011926
rdfs:label
VirtPostgresEntityFrameworkUsage
foaf:maker
n12:this n14:this
dc:title
VirtPostgresEntityFrameworkUsage
opl:isDescribedUsing
n16:rdf
sioc:has_creator
n10:this n6:this
sioc:content
%VOSWARNING% %META:TOPICPARENT{name="VirtAdoNet35Provider"}% --+ Using Microsoft Entity Frameworks to Access <nop>PostgreSQL Schema Objects with Virtuoso This document details the steps required to provide Microsoft Entity Framework access to <nop>PostgreSQL Schema Objects using the <nop>OpenLink Virtuoso Universal Server. This is achieved by linking the required <nop>PostgreSQL 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 <nop>PostgreSQL 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 <nowiki>PostgreSQL</nowiki></b>%BR% The Virtuoso Server uses an ODBC Driver for <nowiki>PostgreSQL</nowiki> to link in the <nowiki>PostgreSQL</nowiki> Schema Objects. The <b><nop>OpenLink Single-Tier ODBC Driver for <nowiki>PostgreSQL</nowiki></b> will be used in this document, and a functional ODBC Data Source Name (DSN) of "<b><code>pgr8ma</code></b>" will be assumed to exist on the machine hosting the Virtuoso Server. Any ODBC compliant driver for <nowiki>PostgreSQL</nowiki> should work.%BR%%BR% 1 <b><nowiki>PostgreSQL</nowiki> DBMS</b>%BR% A <nowiki>PostgreSQL</nowiki> 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, a <b>Northwind database imported into <nowiki>PostgreSQL</nowiki></b> database will be used to demonstrate the process.%BR%%BR% ---++ Tasks 1 <b>Ensure <nowiki>PostgreSQL</nowiki> 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 <nowiki>PostgreSQL</nowiki> database schema before attempting to generate an EDM. In the case of our <nowiki>PostgreSQL</nowiki> Northwind 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 <nowiki>PostgreSQL</nowiki>]]</b>%BR%%BR% 1 <b>[[VirtADOClientServInstall][Install and configure <nop>OpenLink Virtuoso Universal Server]]</b>%BR%%BR% 1 <b>[[VirtPGRLinkingObjects][Link <nowiki>PostgreSQL</nowiki> tables and other schema objects into OpenLink Virtuoso]]</b>%BR%%BR% 1 <b>[[VirtPGREDM][Create a Visual Studio-hosted Entity Data Model (EDM)]]</b>%BR%%BR% 1 <b>[[VirtEntityFrameworkPGRDatService][Use the EDM to create an Entity Frameworks-based ADO.NET Data Service]]</b>%BR%%BR% 1 <b>[[VirtPGRVisualStudioDataGridFormsApp][Use the EDM to create an Entity Frameworks-based Windows DataGrid Form Application]]</b>%BR% CategoryDocumentation CategoryVirtuoso CategoryEntityFrameworks CategoryDotNET CategoryPostgreSQL
sioc:id
e6889fc5ab608945643e6e99f7f048c3
sioc:link
n2:VirtPostgresEntityFrameworkUsage
sioc:has_container
n4:VOS
n8:has_services
n7:item
atom:title
VirtPostgresEntityFrameworkUsage
sioc:links_to
n2:CategoryVirtuoso n2:CategoryDotNET n2:CategoryPostgreSQL n2:VirtPGRVisualStudioDataGridFormsApp n2:CategoryDocumentation n2:VirtADOClientServInstall n2:CategoryEntityFrameworks n2:VirtEntityFrameworkPGRDatService n2:VirtPGREDM n13:InstallConfigODBC n2:VirtPGRLinkingObjects
atom:source
n4:VOS
atom:author
n14:this
atom:published
2017-06-13T05:41:29Z
atom:updated
2017-06-29T07:39:32Z
sioc:topic
n4:VOS