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) |