This HTML5 document contains 37 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/
n12http://vos.openlinksw.com/wiki/main/VOS/VirtEntityFrameworkFirebirdDatService/VirtAdoNetFirebirdDataService_01.
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n9http://vos.openlinksw.com/dataspace/services/wiki/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
n18http://vos.openlinksw.com/wiki/main/VOS/VirtEntityFrameworkFirebirdDatService/VirtAdoNetFirebirdDataService_02.
dchttp://purl.org/dc/elements/1.1/
n10http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n24http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtEntityFrameworkFirebirdDatService/sioc.
n8http://rdfs.org/sioc/services#
siocthttp://rdfs.org/sioc/types#
n19http://vos.openlinksw.com/wiki/main/VOS/VirtEntityFrameworkFirebirdDatService/VirtAdoNetFirebirdDataService_03.
n7http://vos.openlinksw.com/dataspace/person/dav#
n20http://host/vdir/WebDataService1.svc/EMPLOYEE(2)
n4http://vos.openlinksw.com/dataspace/owiki/wiki/
n14http://vos.openlinksw.com/wiki/main/VOS/VirtEntityFrameworkFirebirdDatService/VirtAdoNetFirebirdDataService_04.
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n5http://vos.openlinksw.com/dataspace/owiki#
n16http://vos.openlinksw.com/wiki/main/VOS/VirtEntityFrameworkFirebirdDatService/VirtAdoNetFirebirdDataService_05.
xsdhhttp://www.w3.org/2001/XMLSchema#
n22http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
n13http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n7:this
foaf:made
n2:VirtEntityFrameworkFirebirdDatService
Subject Item
n10:this
sioc:creator_of
n2:VirtEntityFrameworkFirebirdDatService
Subject Item
n9:item
n8:services_of
n2:VirtEntityFrameworkFirebirdDatService
Subject Item
n5:this
sioc:creator_of
n2:VirtEntityFrameworkFirebirdDatService
Subject Item
n4:VOS
sioc:container_of
n2:VirtEntityFrameworkFirebirdDatService
atom:entry
n2:VirtEntityFrameworkFirebirdDatService
atom:contains
n2:VirtEntityFrameworkFirebirdDatService
Subject Item
n2:VirtEntityFrameworkFirebirdDatService
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:37:03.050614
dcterms:modified
2017-06-13T05:37:03.050614
rdfs:label
VirtEntityFrameworkFirebirdDatService
foaf:maker
n7:this n13:this
dc:title
VirtEntityFrameworkFirebirdDatService
opl:isDescribedUsing
n24:rdf
sioc:has_creator
n5:this n10:this
sioc:attachment
n12:png n14:png n16:png n18:png n19:png
sioc:content
%META:TOPICPARENT{name="VirtFirebirdEntityFrameworkUsage"}% ---+++Creating an ADO.NET Data Service An ADO.NET Data Service for the Firebird tables can be created using the Entity Data Model created in the [[VirtFirebirdEDM][Creating EDM in Visual Studio 2008]] section. 1 Open the <b>employee</b> project created in the [[VirtFirebirdEDM][Creating EDM in Visual Studio 2008]] section.%BR%%BR% 1 Right click on the <b>employee</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%/VirtAdoNetFirebirdDataService_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>WebDataService1.svc</b>, and click <b>Add</b> to create the ADO.NET Data Service. %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetFirebirdDataService_02.png" style="wikiautogen"/>%BR%%BR% 1 In the newly created <b>WebDataService1.svc.cs</b> Data Service file, add the data source class name of <b>employeeEntities</b> (note this is the name set in the Creating EDM in Visual Studio 2008 section) as the <b><nop>DataService</b> name. Enable access to the Data Service by adding the entry <b>config.SetEntitySetAccessRule("*", 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 SimpleDataService { public class Northwind : DataService<employeeEntities> { public static void InitializeService(IDataServiceConfiguration config) { config.SetEntitySetAccessRule("*", EntitySetRights.All); } } } </verbatim> %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetFirebirdDataService_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 tables/entities for the stores_demo database catalog. %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetFirebirdDataService_04.png" style="wikiautogen"/>%BR%%BR% 1 To access a specific entity instance like the <b>EMPLOYEE</b> table employee number <b>2</b> record, use this convention <b>http://host/vdir/WebDataService1.svc/EMPLOYEE(2) </b> . %BR%%BR%<img src="%ATTACHURLPATH%/VirtAdoNetFirebirdDataService_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><code>config.UseVerboseErrors = true;</code></b> in the <b><code>virtuoso.svc.cs</code> <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
41eff177ede801094d993006a087e4e8
sioc:link
n2:VirtEntityFrameworkFirebirdDatService
sioc:has_container
n4:VOS
n8:has_services
n9:item
atom:title
VirtEntityFrameworkFirebirdDatService
sioc:links_to
n20: n22:VirtFirebirdEDM
atom:source
n4:VOS
atom:author
n7:this
atom:published
2017-06-13T05:37:03Z
atom:updated
2017-06-13T05:37:03Z
sioc:topic
n4:VOS
Subject Item
n2:VirtFirebirdEntityFrameworkUsage
sioc:links_to
n2:VirtEntityFrameworkFirebirdDatService