How can we fine tune the command object when we are expecting a single row or a single value ?

Again CommandBehaviour enumeration provides two values SingleResult and SingleRow.If you are expecting a single value then pass “CommandBehaviour.SingleResult” and the query is optimized accordingly, if you are expecting single row then pass“CommandBehaviour.SingleRow” and query is optimized according to single row.

Questions by robindas   answers by robindas


This Question is not yet answered!


Related Answered Questions


Related Open Questions