This question is locked. New answers and comments are not allowed.
I write a simple query to test oql using the following statement:
"in the server side"
using (SimbadEntitiesModel sem = new SimbadEntitiesModel())
{
string queryString = "select m.NOM from IM_MALAD as m where m.NOM = 'BERNIER' and m.SEXE = 'M'";
IEnumerable<IM_MALAD> malads = sem.ExecuteQuery<IM_MALAD>(queryString);
return malads;
}
I get always ORA-00933 OracleException.
"in the client side"
public MainPage()
{
InitializeComponent();
EntityQuery<IM_MALAD> query = ctx.GetPatientByNameAndSexQuery();
LoadOperation<IM_MALAD> lo = ctx.Load<IM_MALAD>(query);
dgSearchResults.ItemsSource = lo.Entities;
}
"in the server side"
using (SimbadEntitiesModel sem = new SimbadEntitiesModel())
{
string queryString = "select m.NOM from IM_MALAD as m where m.NOM = 'BERNIER' and m.SEXE = 'M'";
IEnumerable<IM_MALAD> malads = sem.ExecuteQuery<IM_MALAD>(queryString);
return malads;
}
I get always ORA-00933 OracleException.
"in the client side"
public MainPage()
{
InitializeComponent();
EntityQuery<IM_MALAD> query = ctx.GetPatientByNameAndSexQuery();
LoadOperation<IM_MALAD> lo = ctx.Load<IM_MALAD>(query);
dgSearchResults.ItemsSource = lo.Entities;
}