sql - Query in light switch returns only one line? -


i have query called 2 parameters invoice number & company name. query returns 1 line in light switch. should returns more 1 line (depends on invoice number looking for). donot know why returning 1 line ? query connected view in sql server. tried test query in sql serve , correct lines. when call same query same parameters in light switch gives me 1 line result. idea why?

usually caused when primary key(s) table have duplicate values in data returned. @ entity (in lightswitch entity designer in server project) lightswitch created when attached view , see thinks primary key(s) are.

in order solve problem: have create or add anew primary key current keys in view.

best regards, mohamed


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -