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

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -