Stored procedure execution problem
        Posted  
        
            by geeta
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by geeta
        
        
        
        Published on 2009-12-02T04:04:11Z
        Indexed on 
            2010/05/03
            3:08 UTC
        
        
        Read the original article
        Hit count: 356
        
Iam implementing entity spaces in C# application and was able to execute queries such as the below one successfully.
coll.query.where(coll.prodlineid.equal("id") if( coll.query.load())
However I need to replace all these queries in the code with Stored procedures. For this I used: coll.Load(esQuerytype.storedprocedure, "testproc", param)
At this point, Iam getting error as 'EntitySpaces.Core.esEntityCollection.Load(EntitySpaces.DynamicQuery.esQueryType, string, params object[])' is inaccessible due to its protection level
esEntityCollection is a metadata file, so I could not change the access modifier there from protected to public.
Help:-)
© Stack Overflow or respective owner