dbTalk Databases Forums  

saEntity model

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss saEntity model in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
gg
 
Posts: n/a

Default saEntity model - 11-09-2009 , 03:46 PM






not sure if this is the group to ask.
I setup the ado entity model for my own database in visual basic studio
2009 standard like the link
http://www.sybase.com/detail?id=1056609

tried to use a variation of
the c# sample for "Retrieve Data Using LINQ to Entities"
' // Create an ObjectContext instance based on 'SADemoModel.SADemoEntities
'var saEntities = new SQLAnyEDM.SADemoEntities();



My model file is named as myDbModel.edmx
the model name space I used was myDbModel.
<EntityContainer Name="Entities">

Dim saEntities As New myDbModel.Entities

However I got trouble as no such thing as myDbModel

what should I do instead?

( I verify that have the proper namespaces imported for the module)

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.