c# - ObjectResult<Nullable<System.DateTime>> does not getting stored procedure result -


i using stored procedure in asp mvc

i have stored procedure function return objectresult

public virtual objectresult<nullable<system.datetime>> abc() { } 

when execute in sql server return result when execute in asp mvc not return value

abccontext db = new abccontext(); objectresult<nullable<datetime>> listabc = db.abc(); 

there no compilation error not getting result please guide me.

note- piece of code

try this.

abccontext db = new abccontext(); var result = db.abc().firstordefault(); 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -