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

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

Namespace Prefixes

PrefixIRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
n12http://host/vdir/WebDataService1.svc/
foafhttp://xmlns.com/foaf/0.1/
n15http://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/
n14http://vos.openlinksw.com/dataspace/dav#
n5http://vos.openlinksw.com:80/wiki/main/VOS/VirtEntityFrameworkProgressDatService/
rdfshttp://www.w3.org/2000/01/rdf-schema#
n16http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n9http://vos.openlinksw.com/dataspace/person/dav#
n6http://vos.openlinksw.com/dataspace/owiki/wiki/
n4http://vos.openlinksw.com/wiki/main/VOS/VirtEntityFrameworkProgressDatService/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n20http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtEntityFrameworkProgressDatService/
n10http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n17http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#

Statements

Subject Item
n9:this
foaf:made
n2:VirtEntityFrameworkProgressDatService
Subject Item
n14:this
sioc:creator_of
n2:VirtEntityFrameworkProgressDatService
Subject Item
n15:item
n16:services_of
n2:VirtEntityFrameworkProgressDatService
Subject Item
n10:this
sioc:creator_of
n2:VirtEntityFrameworkProgressDatService
Subject Item
n6:VOS
sioc:container_of
n2:VirtEntityFrameworkProgressDatService
atom:entry
n2:VirtEntityFrameworkProgressDatService
atom:contains
n2:VirtEntityFrameworkProgressDatService
Subject Item
n2:VirtEntityFrameworkProgressDatService
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:41:51.593886
dcterms:modified
2017-06-13T05:41:51.593886
rdfs:label
VirtEntityFrameworkProgressDatService
foaf:maker
n9:this n17:this
dc:title
VirtEntityFrameworkProgressDatService
opl:isDescribedUsing
n20:sioc.rdf
sioc:has_creator
n10:this n14:this
sioc:attachment
n4:._.DS_Store n4:VirtAdoNetDataServices_01.png n5:._.DS_Store.mYRdNc n4:.DS_Store n4:VirtAdoNetDataServices_04.png n4:VirtAdoNetDataServices_05.png n4:VirtAdoNetDataServices_02.png n4:VirtAdoNetDataServices_03.png n5:.DS_Store n5:._.DS_Store
sioc:content
%VOSWARNING% %META:TOPICPARENT{name="VirtProgressEntityFrameworkUsage"}% ---+++Creating an ADO.Net Data Service An ADO.Net Data Service for the Progress tables can be created using the Entity Data Model created in the [[VirtProgressEDM][Creating EDM in Visual Studio 2008]] section. 1 Open the <b><nop>VirtuosoDataService</b> project created in the [[VirtProgressEDM][Creating EDM in Visual Studio 2008]] section.%BR%%BR% 1 Right click on the <b>isports</b> project name in the <b>Solution Explorer</b> pane. Then, select the <b>Add</b> -> <b>New Item</b> menu options. %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetDataServices_01.png" style="wikiautogen"/>%BR%%BR% 1 The <b>Add New Item</b> dialog will appear. Choose the <b>ADO.NET Data Service</b> template. Give it the name <b>WebDataService.svc</b> and click <b>Add</b> to create the ADO.Net Data Service. %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetDataServices_02.png" style="wikiautogen"/>%BR%%BR% 1 In the newly created <b>WebDataService1.svc.cs</b> file, add the data source class name of <b>isportsEntities</b> (note this is the name set in the Creating EDM in Visual Studio 2008 section) as the <b><nop>DataService</b> name. Then, enable access to the Data Service by adding the entry <b>config.<nop>SetEntitySetAccessRule("*", <nop>EntitySetRights.All);</b> in the <b><nop>InitializeService</b> method. <verbatim> // C# using System; using System.Web; using System.Collections.Generic; using System.ServiceModel.Web; using System.Linq; using System.Data.Services; namespace isports { public class WebDataService1 : DataService<isportsEntities> { public static void InitializeService(IDataServiceConfiguration config) { config.SetEntitySetAccessRule("*", EntitySetRights.All); } } } </verbatim> %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetDataServices_03.png" style="wikiautogen"/>%BR%%BR% 1 To test the Data Service, simply hit <b>Ctrl+F5</b> within Visual Studio. This will start the development web server, run the Data Services server inside, and load a Web browser page displaying the list of available tables/entities for the isports database catalog. %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetDataServices_04.png" style="wikiautogen"/>%BR%%BR% 1 To access a specific entity instance like the <b>Order</b> table order number <b>1</b> record, use this convention: <b>http://host/vdir/WebDataService1.svc/Order(1) </b> . %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetDataServices_05.png" style="wikiautogen"/>%BR%%BR% ---+++NOTES 1 <b>Important</b> - To view <b>Atom</b> (the default format returned by an ADO.NET Data Service) in Internet Explorer, you must first ensure that <b>Feed Reading View</b> is turned <b>off</b>. This can be done on the <b>Content tab</b> of <b>Tools<b> in <b>Internet Options</b>.%BR%%BR% 1 If a Data Services entity instance URI page fails to load, you can turn <b>Verbose</b> errors on by adding <b>config.<nop>UseVerboseErrors = true;</b> in the <b>virtuoso.svc.cs <nop>InitializeService </b> method. This enables you to obtain more detailed information from the server as to why the page failed to load: <verbatim> public static void InitializeService(IDataServiceConfiguration config) { config.UseVerboseErrors = true; config.SetEntitySetAccessRule("*", EntitySetRights.All); } </verbatim>
sioc:id
d8cb4f0fb08c405e97e82f86ce51159c
sioc:link
n2:VirtEntityFrameworkProgressDatService
sioc:has_container
n6:VOS
n16:has_services
n15:item
atom:title
VirtEntityFrameworkProgressDatService
sioc:links_to
n12:Order(1)
atom:source
n6:VOS
atom:author
n9:this
atom:published
2017-06-13T05:41:51Z
atom:updated
2017-06-13T05:41:51Z
sioc:topic
n6:VOS
Subject Item
n2:VirtProgressEntityFrameworkUsage
sioc:links_to
n2:VirtEntityFrameworkProgressDatService